1. Packages
  2. Ibm Provider
  3. API Docs
  4. AppDomainShared
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

ibm.AppDomainShared

Explore with Pulumi AI

ibm logo
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

    Create AppDomainShared Resource

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

    Constructor syntax

    new AppDomainShared(name: string, args?: AppDomainSharedArgs, opts?: CustomResourceOptions);
    @overload
    def AppDomainShared(resource_name: str,
                        args: Optional[AppDomainSharedArgs] = None,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def AppDomainShared(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        app_domain_shared_id: Optional[str] = None,
                        name: Optional[str] = None,
                        router_group_guid: Optional[str] = None,
                        tags: Optional[Sequence[str]] = None)
    func NewAppDomainShared(ctx *Context, name string, args *AppDomainSharedArgs, opts ...ResourceOption) (*AppDomainShared, error)
    public AppDomainShared(string name, AppDomainSharedArgs? args = null, CustomResourceOptions? opts = null)
    public AppDomainShared(String name, AppDomainSharedArgs args)
    public AppDomainShared(String name, AppDomainSharedArgs args, CustomResourceOptions options)
    
    type: ibm:AppDomainShared
    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 AppDomainSharedArgs
    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 AppDomainSharedArgs
    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 AppDomainSharedArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AppDomainSharedArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AppDomainSharedArgs
    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 appDomainSharedResource = new Ibm.AppDomainShared("appDomainSharedResource", new()
    {
        AppDomainSharedId = "string",
        Name = "string",
        RouterGroupGuid = "string",
        Tags = new[]
        {
            "string",
        },
    });
    
    example, err := ibm.NewAppDomainShared(ctx, "appDomainSharedResource", &ibm.AppDomainSharedArgs{
    	AppDomainSharedId: pulumi.String("string"),
    	Name:              pulumi.String("string"),
    	RouterGroupGuid:   pulumi.String("string"),
    	Tags: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    })
    
    var appDomainSharedResource = new AppDomainShared("appDomainSharedResource", AppDomainSharedArgs.builder()
        .appDomainSharedId("string")
        .name("string")
        .routerGroupGuid("string")
        .tags("string")
        .build());
    
    app_domain_shared_resource = ibm.AppDomainShared("appDomainSharedResource",
        app_domain_shared_id="string",
        name="string",
        router_group_guid="string",
        tags=["string"])
    
    const appDomainSharedResource = new ibm.AppDomainShared("appDomainSharedResource", {
        appDomainSharedId: "string",
        name: "string",
        routerGroupGuid: "string",
        tags: ["string"],
    });
    
    type: ibm:AppDomainShared
    properties:
        appDomainSharedId: string
        name: string
        routerGroupGuid: string
        tags:
            - string
    

    AppDomainShared 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 AppDomainShared resource accepts the following input properties:

    AppDomainSharedId string
    Name string
    The name of the domain
    RouterGroupGuid string
    The guid of the router group.
    Tags List<string>
    AppDomainSharedId string
    Name string
    The name of the domain
    RouterGroupGuid string
    The guid of the router group.
    Tags []string
    appDomainSharedId String
    name String
    The name of the domain
    routerGroupGuid String
    The guid of the router group.
    tags List<String>
    appDomainSharedId string
    name string
    The name of the domain
    routerGroupGuid string
    The guid of the router group.
    tags string[]
    app_domain_shared_id str
    name str
    The name of the domain
    router_group_guid str
    The guid of the router group.
    tags Sequence[str]
    appDomainSharedId String
    name String
    The name of the domain
    routerGroupGuid String
    The guid of the router group.
    tags List<String>

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing AppDomainShared Resource

    Get an existing AppDomainShared 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?: AppDomainSharedState, opts?: CustomResourceOptions): AppDomainShared
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            app_domain_shared_id: Optional[str] = None,
            name: Optional[str] = None,
            router_group_guid: Optional[str] = None,
            tags: Optional[Sequence[str]] = None) -> AppDomainShared
    func GetAppDomainShared(ctx *Context, name string, id IDInput, state *AppDomainSharedState, opts ...ResourceOption) (*AppDomainShared, error)
    public static AppDomainShared Get(string name, Input<string> id, AppDomainSharedState? state, CustomResourceOptions? opts = null)
    public static AppDomainShared get(String name, Output<String> id, AppDomainSharedState state, CustomResourceOptions options)
    resources:  _:    type: ibm:AppDomainShared    get:      id: ${id}
    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:
    AppDomainSharedId string
    Name string
    The name of the domain
    RouterGroupGuid string
    The guid of the router group.
    Tags List<string>
    AppDomainSharedId string
    Name string
    The name of the domain
    RouterGroupGuid string
    The guid of the router group.
    Tags []string
    appDomainSharedId String
    name String
    The name of the domain
    routerGroupGuid String
    The guid of the router group.
    tags List<String>
    appDomainSharedId string
    name string
    The name of the domain
    routerGroupGuid string
    The guid of the router group.
    tags string[]
    app_domain_shared_id str
    name str
    The name of the domain
    router_group_guid str
    The guid of the router group.
    tags Sequence[str]
    appDomainSharedId String
    name String
    The name of the domain
    routerGroupGuid String
    The guid of the router group.
    tags List<String>

    Package Details

    Repository
    ibm ibm-cloud/terraform-provider-ibm
    License
    Notes
    This Pulumi package is based on the ibm Terraform Provider.
    ibm logo
    ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud