1. Packages
  2. Opentelekomcloud Provider
  3. API Docs
  4. ApigwAppcodeV2
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud

opentelekomcloud.ApigwAppcodeV2

Explore with Pulumi AI

opentelekomcloud logo
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud

    Create ApigwAppcodeV2 Resource

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

    Constructor syntax

    new ApigwAppcodeV2(name: string, args: ApigwAppcodeV2Args, opts?: CustomResourceOptions);
    @overload
    def ApigwAppcodeV2(resource_name: str,
                       args: ApigwAppcodeV2Args,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def ApigwAppcodeV2(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       application_id: Optional[str] = None,
                       gateway_id: Optional[str] = None,
                       apigw_appcode_v2_id: Optional[str] = None,
                       value: Optional[str] = None)
    func NewApigwAppcodeV2(ctx *Context, name string, args ApigwAppcodeV2Args, opts ...ResourceOption) (*ApigwAppcodeV2, error)
    public ApigwAppcodeV2(string name, ApigwAppcodeV2Args args, CustomResourceOptions? opts = null)
    public ApigwAppcodeV2(String name, ApigwAppcodeV2Args args)
    public ApigwAppcodeV2(String name, ApigwAppcodeV2Args args, CustomResourceOptions options)
    
    type: opentelekomcloud:ApigwAppcodeV2
    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 ApigwAppcodeV2Args
    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 ApigwAppcodeV2Args
    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 ApigwAppcodeV2Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ApigwAppcodeV2Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ApigwAppcodeV2Args
    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 apigwAppcodeV2Resource = new Opentelekomcloud.ApigwAppcodeV2("apigwAppcodeV2Resource", new()
    {
        ApplicationId = "string",
        GatewayId = "string",
        ApigwAppcodeV2Id = "string",
        Value = "string",
    });
    
    example, err := opentelekomcloud.NewApigwAppcodeV2(ctx, "apigwAppcodeV2Resource", &opentelekomcloud.ApigwAppcodeV2Args{
    	ApplicationId:    pulumi.String("string"),
    	GatewayId:        pulumi.String("string"),
    	ApigwAppcodeV2Id: pulumi.String("string"),
    	Value:            pulumi.String("string"),
    })
    
    var apigwAppcodeV2Resource = new ApigwAppcodeV2("apigwAppcodeV2Resource", ApigwAppcodeV2Args.builder()
        .applicationId("string")
        .gatewayId("string")
        .apigwAppcodeV2Id("string")
        .value("string")
        .build());
    
    apigw_appcode_v2_resource = opentelekomcloud.ApigwAppcodeV2("apigwAppcodeV2Resource",
        application_id="string",
        gateway_id="string",
        apigw_appcode_v2_id="string",
        value="string")
    
    const apigwAppcodeV2Resource = new opentelekomcloud.ApigwAppcodeV2("apigwAppcodeV2Resource", {
        applicationId: "string",
        gatewayId: "string",
        apigwAppcodeV2Id: "string",
        value: "string",
    });
    
    type: opentelekomcloud:ApigwAppcodeV2
    properties:
        apigwAppcodeV2Id: string
        applicationId: string
        gatewayId: string
        value: string
    

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

    Outputs

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

    CreatedAt string
    Id string
    The provider-assigned unique ID for this managed resource.
    Region string
    CreatedAt string
    Id string
    The provider-assigned unique ID for this managed resource.
    Region string
    createdAt String
    id String
    The provider-assigned unique ID for this managed resource.
    region String
    createdAt string
    id string
    The provider-assigned unique ID for this managed resource.
    region string
    created_at str
    id str
    The provider-assigned unique ID for this managed resource.
    region str
    createdAt String
    id String
    The provider-assigned unique ID for this managed resource.
    region String

    Look up Existing ApigwAppcodeV2 Resource

    Get an existing ApigwAppcodeV2 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?: ApigwAppcodeV2State, opts?: CustomResourceOptions): ApigwAppcodeV2
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            apigw_appcode_v2_id: Optional[str] = None,
            application_id: Optional[str] = None,
            created_at: Optional[str] = None,
            gateway_id: Optional[str] = None,
            region: Optional[str] = None,
            value: Optional[str] = None) -> ApigwAppcodeV2
    func GetApigwAppcodeV2(ctx *Context, name string, id IDInput, state *ApigwAppcodeV2State, opts ...ResourceOption) (*ApigwAppcodeV2, error)
    public static ApigwAppcodeV2 Get(string name, Input<string> id, ApigwAppcodeV2State? state, CustomResourceOptions? opts = null)
    public static ApigwAppcodeV2 get(String name, Output<String> id, ApigwAppcodeV2State state, CustomResourceOptions options)
    resources:  _:    type: opentelekomcloud:ApigwAppcodeV2    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:
    ApigwAppcodeV2Id string
    ApplicationId string
    CreatedAt string
    GatewayId string
    Region string
    Value string
    ApigwAppcodeV2Id string
    ApplicationId string
    CreatedAt string
    GatewayId string
    Region string
    Value string
    apigwAppcodeV2Id String
    applicationId String
    createdAt String
    gatewayId String
    region String
    value String
    apigwAppcodeV2Id string
    applicationId string
    createdAt string
    gatewayId string
    region string
    value string
    apigwAppcodeV2Id String
    applicationId String
    createdAt String
    gatewayId String
    region String
    value String

    Package Details

    Repository
    opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
    License
    Notes
    This Pulumi package is based on the opentelekomcloud Terraform Provider.
    opentelekomcloud logo
    opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud