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

opentelekomcloud.ApigwApplicationV2

Explore with Pulumi AI

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

    Create ApigwApplicationV2 Resource

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

    Constructor syntax

    new ApigwApplicationV2(name: string, args: ApigwApplicationV2Args, opts?: CustomResourceOptions);
    @overload
    def ApigwApplicationV2(resource_name: str,
                           args: ApigwApplicationV2Args,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def ApigwApplicationV2(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           gateway_id: Optional[str] = None,
                           apigw_application_v2_id: Optional[str] = None,
                           app_codes: Optional[Sequence[str]] = None,
                           description: Optional[str] = None,
                           name: Optional[str] = None,
                           secret_action: Optional[str] = None)
    func NewApigwApplicationV2(ctx *Context, name string, args ApigwApplicationV2Args, opts ...ResourceOption) (*ApigwApplicationV2, error)
    public ApigwApplicationV2(string name, ApigwApplicationV2Args args, CustomResourceOptions? opts = null)
    public ApigwApplicationV2(String name, ApigwApplicationV2Args args)
    public ApigwApplicationV2(String name, ApigwApplicationV2Args args, CustomResourceOptions options)
    
    type: opentelekomcloud:ApigwApplicationV2
    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 ApigwApplicationV2Args
    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 ApigwApplicationV2Args
    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 ApigwApplicationV2Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ApigwApplicationV2Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ApigwApplicationV2Args
    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 apigwApplicationV2Resource = new Opentelekomcloud.ApigwApplicationV2("apigwApplicationV2Resource", new()
    {
        GatewayId = "string",
        ApigwApplicationV2Id = "string",
        AppCodes = new[]
        {
            "string",
        },
        Description = "string",
        Name = "string",
        SecretAction = "string",
    });
    
    example, err := opentelekomcloud.NewApigwApplicationV2(ctx, "apigwApplicationV2Resource", &opentelekomcloud.ApigwApplicationV2Args{
    	GatewayId:            pulumi.String("string"),
    	ApigwApplicationV2Id: pulumi.String("string"),
    	AppCodes: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Description:  pulumi.String("string"),
    	Name:         pulumi.String("string"),
    	SecretAction: pulumi.String("string"),
    })
    
    var apigwApplicationV2Resource = new ApigwApplicationV2("apigwApplicationV2Resource", ApigwApplicationV2Args.builder()
        .gatewayId("string")
        .apigwApplicationV2Id("string")
        .appCodes("string")
        .description("string")
        .name("string")
        .secretAction("string")
        .build());
    
    apigw_application_v2_resource = opentelekomcloud.ApigwApplicationV2("apigwApplicationV2Resource",
        gateway_id="string",
        apigw_application_v2_id="string",
        app_codes=["string"],
        description="string",
        name="string",
        secret_action="string")
    
    const apigwApplicationV2Resource = new opentelekomcloud.ApigwApplicationV2("apigwApplicationV2Resource", {
        gatewayId: "string",
        apigwApplicationV2Id: "string",
        appCodes: ["string"],
        description: "string",
        name: "string",
        secretAction: "string",
    });
    
    type: opentelekomcloud:ApigwApplicationV2
    properties:
        apigwApplicationV2Id: string
        appCodes:
            - string
        description: string
        gatewayId: string
        name: string
        secretAction: string
    

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

    GatewayId string
    ApigwApplicationV2Id string
    AppCodes List<string>
    Description string
    Name string
    SecretAction string
    GatewayId string
    ApigwApplicationV2Id string
    AppCodes []string
    Description string
    Name string
    SecretAction string
    gatewayId String
    apigwApplicationV2Id String
    appCodes List<String>
    description String
    name String
    secretAction String
    gatewayId string
    apigwApplicationV2Id string
    appCodes string[]
    description string
    name string
    secretAction string
    gatewayId String
    apigwApplicationV2Id String
    appCodes List<String>
    description String
    name String
    secretAction String

    Outputs

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

    AppKey string
    AppSecret string
    Id string
    The provider-assigned unique ID for this managed resource.
    Region string
    RegistrationTime string
    UpdatedAt string
    AppKey string
    AppSecret string
    Id string
    The provider-assigned unique ID for this managed resource.
    Region string
    RegistrationTime string
    UpdatedAt string
    appKey String
    appSecret String
    id String
    The provider-assigned unique ID for this managed resource.
    region String
    registrationTime String
    updatedAt String
    appKey string
    appSecret string
    id string
    The provider-assigned unique ID for this managed resource.
    region string
    registrationTime string
    updatedAt string
    app_key str
    app_secret str
    id str
    The provider-assigned unique ID for this managed resource.
    region str
    registration_time str
    updated_at str
    appKey String
    appSecret String
    id String
    The provider-assigned unique ID for this managed resource.
    region String
    registrationTime String
    updatedAt String

    Look up Existing ApigwApplicationV2 Resource

    Get an existing ApigwApplicationV2 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?: ApigwApplicationV2State, opts?: CustomResourceOptions): ApigwApplicationV2
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            apigw_application_v2_id: Optional[str] = None,
            app_codes: Optional[Sequence[str]] = None,
            app_key: Optional[str] = None,
            app_secret: Optional[str] = None,
            description: Optional[str] = None,
            gateway_id: Optional[str] = None,
            name: Optional[str] = None,
            region: Optional[str] = None,
            registration_time: Optional[str] = None,
            secret_action: Optional[str] = None,
            updated_at: Optional[str] = None) -> ApigwApplicationV2
    func GetApigwApplicationV2(ctx *Context, name string, id IDInput, state *ApigwApplicationV2State, opts ...ResourceOption) (*ApigwApplicationV2, error)
    public static ApigwApplicationV2 Get(string name, Input<string> id, ApigwApplicationV2State? state, CustomResourceOptions? opts = null)
    public static ApigwApplicationV2 get(String name, Output<String> id, ApigwApplicationV2State state, CustomResourceOptions options)
    resources:  _:    type: opentelekomcloud:ApigwApplicationV2    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:
    ApigwApplicationV2Id string
    AppCodes List<string>
    AppKey string
    AppSecret string
    Description string
    GatewayId string
    Name string
    Region string
    RegistrationTime string
    SecretAction string
    UpdatedAt string
    ApigwApplicationV2Id string
    AppCodes []string
    AppKey string
    AppSecret string
    Description string
    GatewayId string
    Name string
    Region string
    RegistrationTime string
    SecretAction string
    UpdatedAt string
    apigwApplicationV2Id String
    appCodes List<String>
    appKey String
    appSecret String
    description String
    gatewayId String
    name String
    region String
    registrationTime String
    secretAction String
    updatedAt String
    apigwApplicationV2Id string
    appCodes string[]
    appKey string
    appSecret string
    description string
    gatewayId string
    name string
    region string
    registrationTime string
    secretAction string
    updatedAt string
    apigwApplicationV2Id String
    appCodes List<String>
    appKey String
    appSecret String
    description String
    gatewayId String
    name String
    region String
    registrationTime String
    secretAction String
    updatedAt 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