1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DelegateAccessControl
  5. getDelegationControls
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

oci.DelegateAccessControl.getDelegationControls

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

    This data source provides the list of Delegation Controls in Oracle Cloud Infrastructure Delegate Access Control service.

    Lists the Delegation Controls in the compartment.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testDelegationControls = oci.DelegateAccessControl.getDelegationControls({
        compartmentId: compartmentId,
        displayName: delegationControlDisplayName,
        resourceId: testResource.id,
        resourceType: delegationControlResourceType,
        state: delegationControlState,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_delegation_controls = oci.DelegateAccessControl.get_delegation_controls(compartment_id=compartment_id,
        display_name=delegation_control_display_name,
        resource_id=test_resource["id"],
        resource_type=delegation_control_resource_type,
        state=delegation_control_state)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DelegateAccessControl"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := DelegateAccessControl.GetDelegationControls(ctx, &delegateaccesscontrol.GetDelegationControlsArgs{
    			CompartmentId: compartmentId,
    			DisplayName:   pulumi.StringRef(delegationControlDisplayName),
    			ResourceId:    pulumi.StringRef(testResource.Id),
    			ResourceType:  pulumi.StringRef(delegationControlResourceType),
    			State:         pulumi.StringRef(delegationControlState),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testDelegationControls = Oci.DelegateAccessControl.GetDelegationControls.Invoke(new()
        {
            CompartmentId = compartmentId,
            DisplayName = delegationControlDisplayName,
            ResourceId = testResource.Id,
            ResourceType = delegationControlResourceType,
            State = delegationControlState,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.DelegateAccessControl.DelegateAccessControlFunctions;
    import com.pulumi.oci.DelegateAccessControl.inputs.GetDelegationControlsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var testDelegationControls = DelegateAccessControlFunctions.getDelegationControls(GetDelegationControlsArgs.builder()
                .compartmentId(compartmentId)
                .displayName(delegationControlDisplayName)
                .resourceId(testResource.id())
                .resourceType(delegationControlResourceType)
                .state(delegationControlState)
                .build());
    
        }
    }
    
    variables:
      testDelegationControls:
        fn::invoke:
          Function: oci:DelegateAccessControl:getDelegationControls
          Arguments:
            compartmentId: ${compartmentId}
            displayName: ${delegationControlDisplayName}
            resourceId: ${testResource.id}
            resourceType: ${delegationControlResourceType}
            state: ${delegationControlState}
    

    Using getDelegationControls

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getDelegationControls(args: GetDelegationControlsArgs, opts?: InvokeOptions): Promise<GetDelegationControlsResult>
    function getDelegationControlsOutput(args: GetDelegationControlsOutputArgs, opts?: InvokeOptions): Output<GetDelegationControlsResult>
    def get_delegation_controls(compartment_id: Optional[str] = None,
                                display_name: Optional[str] = None,
                                filters: Optional[Sequence[_delegateaccesscontrol.GetDelegationControlsFilter]] = None,
                                resource_id: Optional[str] = None,
                                resource_type: Optional[str] = None,
                                state: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetDelegationControlsResult
    def get_delegation_controls_output(compartment_id: Optional[pulumi.Input[str]] = None,
                                display_name: Optional[pulumi.Input[str]] = None,
                                filters: Optional[pulumi.Input[Sequence[pulumi.Input[_delegateaccesscontrol.GetDelegationControlsFilterArgs]]]] = None,
                                resource_id: Optional[pulumi.Input[str]] = None,
                                resource_type: Optional[pulumi.Input[str]] = None,
                                state: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetDelegationControlsResult]
    func GetDelegationControls(ctx *Context, args *GetDelegationControlsArgs, opts ...InvokeOption) (*GetDelegationControlsResult, error)
    func GetDelegationControlsOutput(ctx *Context, args *GetDelegationControlsOutputArgs, opts ...InvokeOption) GetDelegationControlsResultOutput

    > Note: This function is named GetDelegationControls in the Go SDK.

    public static class GetDelegationControls 
    {
        public static Task<GetDelegationControlsResult> InvokeAsync(GetDelegationControlsArgs args, InvokeOptions? opts = null)
        public static Output<GetDelegationControlsResult> Invoke(GetDelegationControlsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDelegationControlsResult> getDelegationControls(GetDelegationControlsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:DelegateAccessControl/getDelegationControls:getDelegationControls
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CompartmentId string
    The OCID of the compartment.
    DisplayName string
    A filter to return Delegation Control resources that match the given display name.
    Filters List<GetDelegationControlsFilter>
    ResourceId string
    A filter to return Delegation Control resources that match the given resource ID.
    ResourceType string
    A filter to return only resources that match the given resource type.
    State string
    A filter to return only Delegation Control resources whose lifecycleState matches the given Delegation Control lifecycle state.
    CompartmentId string
    The OCID of the compartment.
    DisplayName string
    A filter to return Delegation Control resources that match the given display name.
    Filters []GetDelegationControlsFilter
    ResourceId string
    A filter to return Delegation Control resources that match the given resource ID.
    ResourceType string
    A filter to return only resources that match the given resource type.
    State string
    A filter to return only Delegation Control resources whose lifecycleState matches the given Delegation Control lifecycle state.
    compartmentId String
    The OCID of the compartment.
    displayName String
    A filter to return Delegation Control resources that match the given display name.
    filters List<GetDelegationControlsFilter>
    resourceId String
    A filter to return Delegation Control resources that match the given resource ID.
    resourceType String
    A filter to return only resources that match the given resource type.
    state String
    A filter to return only Delegation Control resources whose lifecycleState matches the given Delegation Control lifecycle state.
    compartmentId string
    The OCID of the compartment.
    displayName string
    A filter to return Delegation Control resources that match the given display name.
    filters GetDelegationControlsFilter[]
    resourceId string
    A filter to return Delegation Control resources that match the given resource ID.
    resourceType string
    A filter to return only resources that match the given resource type.
    state string
    A filter to return only Delegation Control resources whose lifecycleState matches the given Delegation Control lifecycle state.
    compartment_id str
    The OCID of the compartment.
    display_name str
    A filter to return Delegation Control resources that match the given display name.
    filters Sequence[delegateaccesscontrol.GetDelegationControlsFilter]
    resource_id str
    A filter to return Delegation Control resources that match the given resource ID.
    resource_type str
    A filter to return only resources that match the given resource type.
    state str
    A filter to return only Delegation Control resources whose lifecycleState matches the given Delegation Control lifecycle state.
    compartmentId String
    The OCID of the compartment.
    displayName String
    A filter to return Delegation Control resources that match the given display name.
    filters List<Property Map>
    resourceId String
    A filter to return Delegation Control resources that match the given resource ID.
    resourceType String
    A filter to return only resources that match the given resource type.
    state String
    A filter to return only Delegation Control resources whose lifecycleState matches the given Delegation Control lifecycle state.

    getDelegationControls Result

    The following output properties are available:

    CompartmentId string
    The OCID of the compartment that contains the Delegation Control.
    DelegationControlSummaryCollections List<GetDelegationControlsDelegationControlSummaryCollection>
    The list of delegation_control_summary_collection.
    Id string
    The provider-assigned unique ID for this managed resource.
    DisplayName string
    Name of the Delegation Control. The name does not need to be unique.
    Filters List<GetDelegationControlsFilter>
    ResourceId string
    ResourceType string
    Resource type for which the Delegation Control is applicable to.
    State string
    The current lifecycle state of the Delegation Control.
    CompartmentId string
    The OCID of the compartment that contains the Delegation Control.
    DelegationControlSummaryCollections []GetDelegationControlsDelegationControlSummaryCollection
    The list of delegation_control_summary_collection.
    Id string
    The provider-assigned unique ID for this managed resource.
    DisplayName string
    Name of the Delegation Control. The name does not need to be unique.
    Filters []GetDelegationControlsFilter
    ResourceId string
    ResourceType string
    Resource type for which the Delegation Control is applicable to.
    State string
    The current lifecycle state of the Delegation Control.
    compartmentId String
    The OCID of the compartment that contains the Delegation Control.
    delegationControlSummaryCollections List<GetDelegationControlsDelegationControlSummaryCollection>
    The list of delegation_control_summary_collection.
    id String
    The provider-assigned unique ID for this managed resource.
    displayName String
    Name of the Delegation Control. The name does not need to be unique.
    filters List<GetDelegationControlsFilter>
    resourceId String
    resourceType String
    Resource type for which the Delegation Control is applicable to.
    state String
    The current lifecycle state of the Delegation Control.
    compartmentId string
    The OCID of the compartment that contains the Delegation Control.
    delegationControlSummaryCollections GetDelegationControlsDelegationControlSummaryCollection[]
    The list of delegation_control_summary_collection.
    id string
    The provider-assigned unique ID for this managed resource.
    displayName string
    Name of the Delegation Control. The name does not need to be unique.
    filters GetDelegationControlsFilter[]
    resourceId string
    resourceType string
    Resource type for which the Delegation Control is applicable to.
    state string
    The current lifecycle state of the Delegation Control.
    compartment_id str
    The OCID of the compartment that contains the Delegation Control.
    delegation_control_summary_collections Sequence[delegateaccesscontrol.GetDelegationControlsDelegationControlSummaryCollection]
    The list of delegation_control_summary_collection.
    id str
    The provider-assigned unique ID for this managed resource.
    display_name str
    Name of the Delegation Control. The name does not need to be unique.
    filters Sequence[delegateaccesscontrol.GetDelegationControlsFilter]
    resource_id str
    resource_type str
    Resource type for which the Delegation Control is applicable to.
    state str
    The current lifecycle state of the Delegation Control.
    compartmentId String
    The OCID of the compartment that contains the Delegation Control.
    delegationControlSummaryCollections List<Property Map>
    The list of delegation_control_summary_collection.
    id String
    The provider-assigned unique ID for this managed resource.
    displayName String
    Name of the Delegation Control. The name does not need to be unique.
    filters List<Property Map>
    resourceId String
    resourceType String
    Resource type for which the Delegation Control is applicable to.
    state String
    The current lifecycle state of the Delegation Control.

    Supporting Types

    GetDelegationControlsDelegationControlSummaryCollection

    GetDelegationControlsDelegationControlSummaryCollectionItem

    CompartmentId string
    The OCID of the compartment.
    DefinedTags Dictionary<string, string>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    DelegationSubscriptionIds List<string>
    List of Delegation Subscription OCID that are allowed for this Delegation Control. The allowed subscriptions will determine the available Service Provider Actions. Only support operators for the allowed subscriptions are allowed to create Delegated Resource Access Request.
    Description string
    Description of the Delegation Control.
    DisplayName string
    A filter to return Delegation Control resources that match the given display name.
    FreeformTags Dictionary<string, string>
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    Id string
    The OCID of the Delegation Control.
    IsAutoApproveDuringMaintenance bool
    Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance.
    LifecycleStateDetails string
    Description of the current lifecycle state in more detail.
    NotificationMessageFormat string
    The format of the Oracle Cloud Infrastructure Notification messages for this Delegation Control.
    NotificationTopicId string
    The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control.
    NumApprovalsRequired int
    number of approvals required.
    PreApprovedServiceProviderActionNames List<string>
    List of pre-approved Service Provider Action names. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. Delegated Resource Access Requests associated with a resource governed by this Delegation Control will be automatically approved if the Delegated Resource Access Request only contain Service Provider Actions in the pre-approved list.
    ResourceIds List<string>
    The OCID of the selected resources that this Delegation Control is applicable to.
    ResourceType string
    A filter to return only resources that match the given resource type.
    State string
    A filter to return only Delegation Control resources whose lifecycleState matches the given Delegation Control lifecycle state.
    SystemTags Dictionary<string, string>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    Time when the Delegation Control was created expressed in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
    TimeDeleted string
    Time when the Delegation Control was deleted expressed in RFC 3339timestamp format, e.g. '2020-05-22T21:10:29.600Z'. Note a deleted Delegation Control still stays in the system, so that you can still audit Service Provider Actions associated with Delegated Resource Access Requests raised on target resources governed by the deleted Delegation Control.
    TimeUpdated string
    Time when the Delegation Control was last modified expressed in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
    VaultId string
    The OCID of the Oracle Cloud Infrastructure Vault that will store the secrets containing the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. Delegate Access Control Service will generate the SSH keys and store them as secrets in the Oracle Cloud Infrastructure Vault.
    VaultKeyId string
    The OCID of the Master Encryption Key in the Oracle Cloud Infrastructure Vault specified by vaultId. This key will be used to encrypt the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER.
    CompartmentId string
    The OCID of the compartment.
    DefinedTags map[string]string
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    DelegationSubscriptionIds []string
    List of Delegation Subscription OCID that are allowed for this Delegation Control. The allowed subscriptions will determine the available Service Provider Actions. Only support operators for the allowed subscriptions are allowed to create Delegated Resource Access Request.
    Description string
    Description of the Delegation Control.
    DisplayName string
    A filter to return Delegation Control resources that match the given display name.
    FreeformTags map[string]string
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    Id string
    The OCID of the Delegation Control.
    IsAutoApproveDuringMaintenance bool
    Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance.
    LifecycleStateDetails string
    Description of the current lifecycle state in more detail.
    NotificationMessageFormat string
    The format of the Oracle Cloud Infrastructure Notification messages for this Delegation Control.
    NotificationTopicId string
    The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control.
    NumApprovalsRequired int
    number of approvals required.
    PreApprovedServiceProviderActionNames []string
    List of pre-approved Service Provider Action names. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. Delegated Resource Access Requests associated with a resource governed by this Delegation Control will be automatically approved if the Delegated Resource Access Request only contain Service Provider Actions in the pre-approved list.
    ResourceIds []string
    The OCID of the selected resources that this Delegation Control is applicable to.
    ResourceType string
    A filter to return only resources that match the given resource type.
    State string
    A filter to return only Delegation Control resources whose lifecycleState matches the given Delegation Control lifecycle state.
    SystemTags map[string]string
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    Time when the Delegation Control was created expressed in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
    TimeDeleted string
    Time when the Delegation Control was deleted expressed in RFC 3339timestamp format, e.g. '2020-05-22T21:10:29.600Z'. Note a deleted Delegation Control still stays in the system, so that you can still audit Service Provider Actions associated with Delegated Resource Access Requests raised on target resources governed by the deleted Delegation Control.
    TimeUpdated string
    Time when the Delegation Control was last modified expressed in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
    VaultId string
    The OCID of the Oracle Cloud Infrastructure Vault that will store the secrets containing the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. Delegate Access Control Service will generate the SSH keys and store them as secrets in the Oracle Cloud Infrastructure Vault.
    VaultKeyId string
    The OCID of the Master Encryption Key in the Oracle Cloud Infrastructure Vault specified by vaultId. This key will be used to encrypt the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER.
    compartmentId String
    The OCID of the compartment.
    definedTags Map<String,String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    delegationSubscriptionIds List<String>
    List of Delegation Subscription OCID that are allowed for this Delegation Control. The allowed subscriptions will determine the available Service Provider Actions. Only support operators for the allowed subscriptions are allowed to create Delegated Resource Access Request.
    description String
    Description of the Delegation Control.
    displayName String
    A filter to return Delegation Control resources that match the given display name.
    freeformTags Map<String,String>
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    id String
    The OCID of the Delegation Control.
    isAutoApproveDuringMaintenance Boolean
    Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance.
    lifecycleStateDetails String
    Description of the current lifecycle state in more detail.
    notificationMessageFormat String
    The format of the Oracle Cloud Infrastructure Notification messages for this Delegation Control.
    notificationTopicId String
    The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control.
    numApprovalsRequired Integer
    number of approvals required.
    preApprovedServiceProviderActionNames List<String>
    List of pre-approved Service Provider Action names. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. Delegated Resource Access Requests associated with a resource governed by this Delegation Control will be automatically approved if the Delegated Resource Access Request only contain Service Provider Actions in the pre-approved list.
    resourceIds List<String>
    The OCID of the selected resources that this Delegation Control is applicable to.
    resourceType String
    A filter to return only resources that match the given resource type.
    state String
    A filter to return only Delegation Control resources whose lifecycleState matches the given Delegation Control lifecycle state.
    systemTags Map<String,String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    Time when the Delegation Control was created expressed in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
    timeDeleted String
    Time when the Delegation Control was deleted expressed in RFC 3339timestamp format, e.g. '2020-05-22T21:10:29.600Z'. Note a deleted Delegation Control still stays in the system, so that you can still audit Service Provider Actions associated with Delegated Resource Access Requests raised on target resources governed by the deleted Delegation Control.
    timeUpdated String
    Time when the Delegation Control was last modified expressed in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
    vaultId String
    The OCID of the Oracle Cloud Infrastructure Vault that will store the secrets containing the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. Delegate Access Control Service will generate the SSH keys and store them as secrets in the Oracle Cloud Infrastructure Vault.
    vaultKeyId String
    The OCID of the Master Encryption Key in the Oracle Cloud Infrastructure Vault specified by vaultId. This key will be used to encrypt the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER.
    compartmentId string
    The OCID of the compartment.
    definedTags {[key: string]: string}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    delegationSubscriptionIds string[]
    List of Delegation Subscription OCID that are allowed for this Delegation Control. The allowed subscriptions will determine the available Service Provider Actions. Only support operators for the allowed subscriptions are allowed to create Delegated Resource Access Request.
    description string
    Description of the Delegation Control.
    displayName string
    A filter to return Delegation Control resources that match the given display name.
    freeformTags {[key: string]: string}
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    id string
    The OCID of the Delegation Control.
    isAutoApproveDuringMaintenance boolean
    Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance.
    lifecycleStateDetails string
    Description of the current lifecycle state in more detail.
    notificationMessageFormat string
    The format of the Oracle Cloud Infrastructure Notification messages for this Delegation Control.
    notificationTopicId string
    The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control.
    numApprovalsRequired number
    number of approvals required.
    preApprovedServiceProviderActionNames string[]
    List of pre-approved Service Provider Action names. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. Delegated Resource Access Requests associated with a resource governed by this Delegation Control will be automatically approved if the Delegated Resource Access Request only contain Service Provider Actions in the pre-approved list.
    resourceIds string[]
    The OCID of the selected resources that this Delegation Control is applicable to.
    resourceType string
    A filter to return only resources that match the given resource type.
    state string
    A filter to return only Delegation Control resources whose lifecycleState matches the given Delegation Control lifecycle state.
    systemTags {[key: string]: string}
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    Time when the Delegation Control was created expressed in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
    timeDeleted string
    Time when the Delegation Control was deleted expressed in RFC 3339timestamp format, e.g. '2020-05-22T21:10:29.600Z'. Note a deleted Delegation Control still stays in the system, so that you can still audit Service Provider Actions associated with Delegated Resource Access Requests raised on target resources governed by the deleted Delegation Control.
    timeUpdated string
    Time when the Delegation Control was last modified expressed in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
    vaultId string
    The OCID of the Oracle Cloud Infrastructure Vault that will store the secrets containing the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. Delegate Access Control Service will generate the SSH keys and store them as secrets in the Oracle Cloud Infrastructure Vault.
    vaultKeyId string
    The OCID of the Master Encryption Key in the Oracle Cloud Infrastructure Vault specified by vaultId. This key will be used to encrypt the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER.
    compartment_id str
    The OCID of the compartment.
    defined_tags Mapping[str, str]
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    delegation_subscription_ids Sequence[str]
    List of Delegation Subscription OCID that are allowed for this Delegation Control. The allowed subscriptions will determine the available Service Provider Actions. Only support operators for the allowed subscriptions are allowed to create Delegated Resource Access Request.
    description str
    Description of the Delegation Control.
    display_name str
    A filter to return Delegation Control resources that match the given display name.
    freeform_tags Mapping[str, str]
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    id str
    The OCID of the Delegation Control.
    is_auto_approve_during_maintenance bool
    Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance.
    lifecycle_state_details str
    Description of the current lifecycle state in more detail.
    notification_message_format str
    The format of the Oracle Cloud Infrastructure Notification messages for this Delegation Control.
    notification_topic_id str
    The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control.
    num_approvals_required int
    number of approvals required.
    pre_approved_service_provider_action_names Sequence[str]
    List of pre-approved Service Provider Action names. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. Delegated Resource Access Requests associated with a resource governed by this Delegation Control will be automatically approved if the Delegated Resource Access Request only contain Service Provider Actions in the pre-approved list.
    resource_ids Sequence[str]
    The OCID of the selected resources that this Delegation Control is applicable to.
    resource_type str
    A filter to return only resources that match the given resource type.
    state str
    A filter to return only Delegation Control resources whose lifecycleState matches the given Delegation Control lifecycle state.
    system_tags Mapping[str, str]
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    Time when the Delegation Control was created expressed in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
    time_deleted str
    Time when the Delegation Control was deleted expressed in RFC 3339timestamp format, e.g. '2020-05-22T21:10:29.600Z'. Note a deleted Delegation Control still stays in the system, so that you can still audit Service Provider Actions associated with Delegated Resource Access Requests raised on target resources governed by the deleted Delegation Control.
    time_updated str
    Time when the Delegation Control was last modified expressed in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
    vault_id str
    The OCID of the Oracle Cloud Infrastructure Vault that will store the secrets containing the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. Delegate Access Control Service will generate the SSH keys and store them as secrets in the Oracle Cloud Infrastructure Vault.
    vault_key_id str
    The OCID of the Master Encryption Key in the Oracle Cloud Infrastructure Vault specified by vaultId. This key will be used to encrypt the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER.
    compartmentId String
    The OCID of the compartment.
    definedTags Map<String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    delegationSubscriptionIds List<String>
    List of Delegation Subscription OCID that are allowed for this Delegation Control. The allowed subscriptions will determine the available Service Provider Actions. Only support operators for the allowed subscriptions are allowed to create Delegated Resource Access Request.
    description String
    Description of the Delegation Control.
    displayName String
    A filter to return Delegation Control resources that match the given display name.
    freeformTags Map<String>
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    id String
    The OCID of the Delegation Control.
    isAutoApproveDuringMaintenance Boolean
    Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance.
    lifecycleStateDetails String
    Description of the current lifecycle state in more detail.
    notificationMessageFormat String
    The format of the Oracle Cloud Infrastructure Notification messages for this Delegation Control.
    notificationTopicId String
    The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control.
    numApprovalsRequired Number
    number of approvals required.
    preApprovedServiceProviderActionNames List<String>
    List of pre-approved Service Provider Action names. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. Delegated Resource Access Requests associated with a resource governed by this Delegation Control will be automatically approved if the Delegated Resource Access Request only contain Service Provider Actions in the pre-approved list.
    resourceIds List<String>
    The OCID of the selected resources that this Delegation Control is applicable to.
    resourceType String
    A filter to return only resources that match the given resource type.
    state String
    A filter to return only Delegation Control resources whose lifecycleState matches the given Delegation Control lifecycle state.
    systemTags Map<String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    Time when the Delegation Control was created expressed in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
    timeDeleted String
    Time when the Delegation Control was deleted expressed in RFC 3339timestamp format, e.g. '2020-05-22T21:10:29.600Z'. Note a deleted Delegation Control still stays in the system, so that you can still audit Service Provider Actions associated with Delegated Resource Access Requests raised on target resources governed by the deleted Delegation Control.
    timeUpdated String
    Time when the Delegation Control was last modified expressed in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
    vaultId String
    The OCID of the Oracle Cloud Infrastructure Vault that will store the secrets containing the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. Delegate Access Control Service will generate the SSH keys and store them as secrets in the Oracle Cloud Infrastructure Vault.
    vaultKeyId String
    The OCID of the Master Encryption Key in the Oracle Cloud Infrastructure Vault specified by vaultId. This key will be used to encrypt the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER.

    GetDelegationControlsFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi