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

oci.DelegateAccessControl.DelegationSubscription

Explore with Pulumi AI

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

    This resource provides the Delegation Subscription resource in Oracle Cloud Infrastructure Delegate Access Control service.

    Creates Delegation Subscription in Delegation Control.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testDelegationSubscription = new oci.delegateaccesscontrol.DelegationSubscription("test_delegation_subscription", {
        compartmentId: compartmentId,
        serviceProviderId: testServiceProvider.id,
        subscribedServiceType: delegationSubscriptionSubscribedServiceType,
        definedTags: {
            "Operations.CostCenter": "42",
        },
        description: delegationSubscriptionDescription,
        freeformTags: {
            Department: "Finance",
        },
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_delegation_subscription = oci.delegate_access_control.DelegationSubscription("test_delegation_subscription",
        compartment_id=compartment_id,
        service_provider_id=test_service_provider["id"],
        subscribed_service_type=delegation_subscription_subscribed_service_type,
        defined_tags={
            "Operations.CostCenter": "42",
        },
        description=delegation_subscription_description,
        freeform_tags={
            "Department": "Finance",
        })
    
    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.NewDelegationSubscription(ctx, "test_delegation_subscription", &DelegateAccessControl.DelegationSubscriptionArgs{
    			CompartmentId:         pulumi.Any(compartmentId),
    			ServiceProviderId:     pulumi.Any(testServiceProvider.Id),
    			SubscribedServiceType: pulumi.Any(delegationSubscriptionSubscribedServiceType),
    			DefinedTags: pulumi.StringMap{
    				"Operations.CostCenter": pulumi.String("42"),
    			},
    			Description: pulumi.Any(delegationSubscriptionDescription),
    			FreeformTags: pulumi.StringMap{
    				"Department": pulumi.String("Finance"),
    			},
    		})
    		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 testDelegationSubscription = new Oci.DelegateAccessControl.DelegationSubscription("test_delegation_subscription", new()
        {
            CompartmentId = compartmentId,
            ServiceProviderId = testServiceProvider.Id,
            SubscribedServiceType = delegationSubscriptionSubscribedServiceType,
            DefinedTags = 
            {
                { "Operations.CostCenter", "42" },
            },
            Description = delegationSubscriptionDescription,
            FreeformTags = 
            {
                { "Department", "Finance" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.DelegateAccessControl.DelegationSubscription;
    import com.pulumi.oci.DelegateAccessControl.DelegationSubscriptionArgs;
    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) {
            var testDelegationSubscription = new DelegationSubscription("testDelegationSubscription", DelegationSubscriptionArgs.builder()
                .compartmentId(compartmentId)
                .serviceProviderId(testServiceProvider.id())
                .subscribedServiceType(delegationSubscriptionSubscribedServiceType)
                .definedTags(Map.of("Operations.CostCenter", "42"))
                .description(delegationSubscriptionDescription)
                .freeformTags(Map.of("Department", "Finance"))
                .build());
    
        }
    }
    
    resources:
      testDelegationSubscription:
        type: oci:DelegateAccessControl:DelegationSubscription
        name: test_delegation_subscription
        properties:
          compartmentId: ${compartmentId}
          serviceProviderId: ${testServiceProvider.id}
          subscribedServiceType: ${delegationSubscriptionSubscribedServiceType}
          definedTags:
            Operations.CostCenter: '42'
          description: ${delegationSubscriptionDescription}
          freeformTags:
            Department: Finance
    

    Create DelegationSubscription Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new DelegationSubscription(name: string, args: DelegationSubscriptionArgs, opts?: CustomResourceOptions);
    @overload
    def DelegationSubscription(resource_name: str,
                               args: DelegationSubscriptionArgs,
                               opts: Optional[ResourceOptions] = None)
    
    @overload
    def DelegationSubscription(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               compartment_id: Optional[str] = None,
                               service_provider_id: Optional[str] = None,
                               subscribed_service_type: Optional[str] = None,
                               defined_tags: Optional[Mapping[str, str]] = None,
                               description: Optional[str] = None,
                               freeform_tags: Optional[Mapping[str, str]] = None)
    func NewDelegationSubscription(ctx *Context, name string, args DelegationSubscriptionArgs, opts ...ResourceOption) (*DelegationSubscription, error)
    public DelegationSubscription(string name, DelegationSubscriptionArgs args, CustomResourceOptions? opts = null)
    public DelegationSubscription(String name, DelegationSubscriptionArgs args)
    public DelegationSubscription(String name, DelegationSubscriptionArgs args, CustomResourceOptions options)
    
    type: oci:DelegateAccessControl:DelegationSubscription
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args DelegationSubscriptionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args DelegationSubscriptionArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args DelegationSubscriptionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DelegationSubscriptionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DelegationSubscriptionArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var delegationSubscriptionResource = new Oci.DelegateAccessControl.DelegationSubscription("delegationSubscriptionResource", new()
    {
        CompartmentId = "string",
        ServiceProviderId = "string",
        SubscribedServiceType = "string",
        DefinedTags = 
        {
            { "string", "string" },
        },
        Description = "string",
        FreeformTags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := DelegateAccessControl.NewDelegationSubscription(ctx, "delegationSubscriptionResource", &DelegateAccessControl.DelegationSubscriptionArgs{
    	CompartmentId:         pulumi.String("string"),
    	ServiceProviderId:     pulumi.String("string"),
    	SubscribedServiceType: pulumi.String("string"),
    	DefinedTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Description: pulumi.String("string"),
    	FreeformTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    var delegationSubscriptionResource = new DelegationSubscription("delegationSubscriptionResource", DelegationSubscriptionArgs.builder()
        .compartmentId("string")
        .serviceProviderId("string")
        .subscribedServiceType("string")
        .definedTags(Map.of("string", "string"))
        .description("string")
        .freeformTags(Map.of("string", "string"))
        .build());
    
    delegation_subscription_resource = oci.delegate_access_control.DelegationSubscription("delegationSubscriptionResource",
        compartment_id="string",
        service_provider_id="string",
        subscribed_service_type="string",
        defined_tags={
            "string": "string",
        },
        description="string",
        freeform_tags={
            "string": "string",
        })
    
    const delegationSubscriptionResource = new oci.delegateaccesscontrol.DelegationSubscription("delegationSubscriptionResource", {
        compartmentId: "string",
        serviceProviderId: "string",
        subscribedServiceType: "string",
        definedTags: {
            string: "string",
        },
        description: "string",
        freeformTags: {
            string: "string",
        },
    });
    
    type: oci:DelegateAccessControl:DelegationSubscription
    properties:
        compartmentId: string
        definedTags:
            string: string
        description: string
        freeformTags:
            string: string
        serviceProviderId: string
        subscribedServiceType: string
    

    DelegationSubscription Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The DelegationSubscription resource accepts the following input properties:

    CompartmentId string
    (Updatable) The OCID of the compartment that contains the Delegation Control.
    ServiceProviderId string
    Unique identifier of the Service Provider.
    SubscribedServiceType string

    Subscribed Service Provider Service Type.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    DefinedTags Dictionary<string, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    Description string
    (Updatable) Description of the Delegation Subscription.
    FreeformTags Dictionary<string, string>
    (Updatable) 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"}
    CompartmentId string
    (Updatable) The OCID of the compartment that contains the Delegation Control.
    ServiceProviderId string
    Unique identifier of the Service Provider.
    SubscribedServiceType string

    Subscribed Service Provider Service Type.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    DefinedTags map[string]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    Description string
    (Updatable) Description of the Delegation Subscription.
    FreeformTags map[string]string
    (Updatable) 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"}
    compartmentId String
    (Updatable) The OCID of the compartment that contains the Delegation Control.
    serviceProviderId String
    Unique identifier of the Service Provider.
    subscribedServiceType String

    Subscribed Service Provider Service Type.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    definedTags Map<String,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description String
    (Updatable) Description of the Delegation Subscription.
    freeformTags Map<String,String>
    (Updatable) 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"}
    compartmentId string
    (Updatable) The OCID of the compartment that contains the Delegation Control.
    serviceProviderId string
    Unique identifier of the Service Provider.
    subscribedServiceType string

    Subscribed Service Provider Service Type.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    definedTags {[key: string]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description string
    (Updatable) Description of the Delegation Subscription.
    freeformTags {[key: string]: string}
    (Updatable) 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"}
    compartment_id str
    (Updatable) The OCID of the compartment that contains the Delegation Control.
    service_provider_id str
    Unique identifier of the Service Provider.
    subscribed_service_type str

    Subscribed Service Provider Service Type.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    defined_tags Mapping[str, str]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description str
    (Updatable) Description of the Delegation Subscription.
    freeform_tags Mapping[str, str]
    (Updatable) 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"}
    compartmentId String
    (Updatable) The OCID of the compartment that contains the Delegation Control.
    serviceProviderId String
    Unique identifier of the Service Provider.
    subscribedServiceType String

    Subscribed Service Provider Service Type.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    definedTags Map<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description String
    (Updatable) Description of the Delegation Subscription.
    freeformTags Map<String>
    (Updatable) 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"}

    Outputs

    All input properties are implicitly available as output properties. Additionally, the DelegationSubscription resource produces the following output properties:

    DisplayName string
    Display name
    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleStateDetails string
    Description of the current lifecycle state in more detail.
    State string
    The current lifecycle state of the Service Provider.
    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 Service Provider was created expressed in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
    TimeUpdated string
    Time when the Service Provider was last modified expressed in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
    DisplayName string
    Display name
    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleStateDetails string
    Description of the current lifecycle state in more detail.
    State string
    The current lifecycle state of the Service Provider.
    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 Service Provider was created expressed in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
    TimeUpdated string
    Time when the Service Provider was last modified expressed in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
    displayName String
    Display name
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleStateDetails String
    Description of the current lifecycle state in more detail.
    state String
    The current lifecycle state of the Service Provider.
    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 Service Provider was created expressed in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
    timeUpdated String
    Time when the Service Provider was last modified expressed in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
    displayName string
    Display name
    id string
    The provider-assigned unique ID for this managed resource.
    lifecycleStateDetails string
    Description of the current lifecycle state in more detail.
    state string
    The current lifecycle state of the Service Provider.
    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 Service Provider was created expressed in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
    timeUpdated string
    Time when the Service Provider was last modified expressed in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
    display_name str
    Display name
    id str
    The provider-assigned unique ID for this managed resource.
    lifecycle_state_details str
    Description of the current lifecycle state in more detail.
    state str
    The current lifecycle state of the Service Provider.
    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 Service Provider was created expressed in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
    time_updated str
    Time when the Service Provider was last modified expressed in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
    displayName String
    Display name
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleStateDetails String
    Description of the current lifecycle state in more detail.
    state String
    The current lifecycle state of the Service Provider.
    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 Service Provider was created expressed in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
    timeUpdated String
    Time when the Service Provider was last modified expressed in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'

    Look up Existing DelegationSubscription Resource

    Get an existing DelegationSubscription resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: DelegationSubscriptionState, opts?: CustomResourceOptions): DelegationSubscription
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            compartment_id: Optional[str] = None,
            defined_tags: Optional[Mapping[str, str]] = None,
            description: Optional[str] = None,
            display_name: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, str]] = None,
            lifecycle_state_details: Optional[str] = None,
            service_provider_id: Optional[str] = None,
            state: Optional[str] = None,
            subscribed_service_type: Optional[str] = None,
            system_tags: Optional[Mapping[str, str]] = None,
            time_created: Optional[str] = None,
            time_updated: Optional[str] = None) -> DelegationSubscription
    func GetDelegationSubscription(ctx *Context, name string, id IDInput, state *DelegationSubscriptionState, opts ...ResourceOption) (*DelegationSubscription, error)
    public static DelegationSubscription Get(string name, Input<string> id, DelegationSubscriptionState? state, CustomResourceOptions? opts = null)
    public static DelegationSubscription get(String name, Output<String> id, DelegationSubscriptionState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CompartmentId string
    (Updatable) The OCID of the compartment that contains the Delegation Control.
    DefinedTags Dictionary<string, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    Description string
    (Updatable) Description of the Delegation Subscription.
    DisplayName string
    Display name
    FreeformTags Dictionary<string, string>
    (Updatable) 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"}
    LifecycleStateDetails string
    Description of the current lifecycle state in more detail.
    ServiceProviderId string
    Unique identifier of the Service Provider.
    State string
    The current lifecycle state of the Service Provider.
    SubscribedServiceType string

    Subscribed Service Provider Service Type.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    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 Service Provider was created expressed in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
    TimeUpdated string
    Time when the Service Provider was last modified expressed in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
    CompartmentId string
    (Updatable) The OCID of the compartment that contains the Delegation Control.
    DefinedTags map[string]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    Description string
    (Updatable) Description of the Delegation Subscription.
    DisplayName string
    Display name
    FreeformTags map[string]string
    (Updatable) 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"}
    LifecycleStateDetails string
    Description of the current lifecycle state in more detail.
    ServiceProviderId string
    Unique identifier of the Service Provider.
    State string
    The current lifecycle state of the Service Provider.
    SubscribedServiceType string

    Subscribed Service Provider Service Type.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    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 Service Provider was created expressed in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
    TimeUpdated string
    Time when the Service Provider was last modified expressed in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
    compartmentId String
    (Updatable) The OCID of the compartment that contains the Delegation Control.
    definedTags Map<String,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description String
    (Updatable) Description of the Delegation Subscription.
    displayName String
    Display name
    freeformTags Map<String,String>
    (Updatable) 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"}
    lifecycleStateDetails String
    Description of the current lifecycle state in more detail.
    serviceProviderId String
    Unique identifier of the Service Provider.
    state String
    The current lifecycle state of the Service Provider.
    subscribedServiceType String

    Subscribed Service Provider Service Type.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    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 Service Provider was created expressed in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
    timeUpdated String
    Time when the Service Provider was last modified expressed in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
    compartmentId string
    (Updatable) The OCID of the compartment that contains the Delegation Control.
    definedTags {[key: string]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description string
    (Updatable) Description of the Delegation Subscription.
    displayName string
    Display name
    freeformTags {[key: string]: string}
    (Updatable) 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"}
    lifecycleStateDetails string
    Description of the current lifecycle state in more detail.
    serviceProviderId string
    Unique identifier of the Service Provider.
    state string
    The current lifecycle state of the Service Provider.
    subscribedServiceType string

    Subscribed Service Provider Service Type.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    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 Service Provider was created expressed in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
    timeUpdated string
    Time when the Service Provider was last modified expressed in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
    compartment_id str
    (Updatable) The OCID of the compartment that contains the Delegation Control.
    defined_tags Mapping[str, str]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description str
    (Updatable) Description of the Delegation Subscription.
    display_name str
    Display name
    freeform_tags Mapping[str, str]
    (Updatable) 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"}
    lifecycle_state_details str
    Description of the current lifecycle state in more detail.
    service_provider_id str
    Unique identifier of the Service Provider.
    state str
    The current lifecycle state of the Service Provider.
    subscribed_service_type str

    Subscribed Service Provider Service Type.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    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 Service Provider was created expressed in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
    time_updated str
    Time when the Service Provider was last modified expressed in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
    compartmentId String
    (Updatable) The OCID of the compartment that contains the Delegation Control.
    definedTags Map<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description String
    (Updatable) Description of the Delegation Subscription.
    displayName String
    Display name
    freeformTags Map<String>
    (Updatable) 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"}
    lifecycleStateDetails String
    Description of the current lifecycle state in more detail.
    serviceProviderId String
    Unique identifier of the Service Provider.
    state String
    The current lifecycle state of the Service Provider.
    subscribedServiceType String

    Subscribed Service Provider Service Type.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    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 Service Provider was created expressed in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'
    timeUpdated String
    Time when the Service Provider was last modified expressed in RFC 3339 timestamp format, e.g. '2020-05-22T21:10:29.600Z'

    Import

    DelegationSubscriptions can be imported using the id, e.g.

    $ pulumi import oci:DelegateAccessControl/delegationSubscription:DelegationSubscription test_delegation_subscription "id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    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