1. Packages
  2. Opentelekomcloud Provider
  3. API Docs
  4. ApigwApplicationAuthorizationV2
opentelekomcloud 1.36.35 published on Monday, Apr 14, 2025 by opentelekomcloud

opentelekomcloud.ApigwApplicationAuthorizationV2

Explore with Pulumi AI

Create ApigwApplicationAuthorizationV2 Resource

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

Constructor syntax

new ApigwApplicationAuthorizationV2(name: string, args: ApigwApplicationAuthorizationV2Args, opts?: CustomResourceOptions);
@overload
def ApigwApplicationAuthorizationV2(resource_name: str,
                                    args: ApigwApplicationAuthorizationV2Args,
                                    opts: Optional[ResourceOptions] = None)

@overload
def ApigwApplicationAuthorizationV2(resource_name: str,
                                    opts: Optional[ResourceOptions] = None,
                                    api_ids: Optional[Sequence[str]] = None,
                                    application_id: Optional[str] = None,
                                    env_id: Optional[str] = None,
                                    gateway_id: Optional[str] = None,
                                    apigw_application_authorization_v2_id: Optional[str] = None,
                                    timeouts: Optional[ApigwApplicationAuthorizationV2TimeoutsArgs] = None)
func NewApigwApplicationAuthorizationV2(ctx *Context, name string, args ApigwApplicationAuthorizationV2Args, opts ...ResourceOption) (*ApigwApplicationAuthorizationV2, error)
public ApigwApplicationAuthorizationV2(string name, ApigwApplicationAuthorizationV2Args args, CustomResourceOptions? opts = null)
public ApigwApplicationAuthorizationV2(String name, ApigwApplicationAuthorizationV2Args args)
public ApigwApplicationAuthorizationV2(String name, ApigwApplicationAuthorizationV2Args args, CustomResourceOptions options)
type: opentelekomcloud:ApigwApplicationAuthorizationV2
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ApigwApplicationAuthorizationV2Args
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ApigwApplicationAuthorizationV2Args
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ApigwApplicationAuthorizationV2Args
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ApigwApplicationAuthorizationV2Args
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ApigwApplicationAuthorizationV2Args
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 apigwApplicationAuthorizationV2Resource = new Opentelekomcloud.ApigwApplicationAuthorizationV2("apigwApplicationAuthorizationV2Resource", new()
{
    ApiIds = new[]
    {
        "string",
    },
    ApplicationId = "string",
    EnvId = "string",
    GatewayId = "string",
    ApigwApplicationAuthorizationV2Id = "string",
    Timeouts = new Opentelekomcloud.Inputs.ApigwApplicationAuthorizationV2TimeoutsArgs
    {
        Create = "string",
        Delete = "string",
        Update = "string",
    },
});
Copy
example, err := opentelekomcloud.NewApigwApplicationAuthorizationV2(ctx, "apigwApplicationAuthorizationV2Resource", &opentelekomcloud.ApigwApplicationAuthorizationV2Args{
ApiIds: pulumi.StringArray{
pulumi.String("string"),
},
ApplicationId: pulumi.String("string"),
EnvId: pulumi.String("string"),
GatewayId: pulumi.String("string"),
ApigwApplicationAuthorizationV2Id: pulumi.String("string"),
Timeouts: &.ApigwApplicationAuthorizationV2TimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
Copy
var apigwApplicationAuthorizationV2Resource = new ApigwApplicationAuthorizationV2("apigwApplicationAuthorizationV2Resource", ApigwApplicationAuthorizationV2Args.builder()
    .apiIds("string")
    .applicationId("string")
    .envId("string")
    .gatewayId("string")
    .apigwApplicationAuthorizationV2Id("string")
    .timeouts(ApigwApplicationAuthorizationV2TimeoutsArgs.builder()
        .create("string")
        .delete("string")
        .update("string")
        .build())
    .build());
Copy
apigw_application_authorization_v2_resource = opentelekomcloud.ApigwApplicationAuthorizationV2("apigwApplicationAuthorizationV2Resource",
    api_ids=["string"],
    application_id="string",
    env_id="string",
    gateway_id="string",
    apigw_application_authorization_v2_id="string",
    timeouts={
        "create": "string",
        "delete": "string",
        "update": "string",
    })
Copy
const apigwApplicationAuthorizationV2Resource = new opentelekomcloud.ApigwApplicationAuthorizationV2("apigwApplicationAuthorizationV2Resource", {
    apiIds: ["string"],
    applicationId: "string",
    envId: "string",
    gatewayId: "string",
    apigwApplicationAuthorizationV2Id: "string",
    timeouts: {
        create: "string",
        "delete": "string",
        update: "string",
    },
});
Copy
type: opentelekomcloud:ApigwApplicationAuthorizationV2
properties:
    apiIds:
        - string
    apigwApplicationAuthorizationV2Id: string
    applicationId: string
    envId: string
    gatewayId: string
    timeouts:
        create: string
        delete: string
        update: string
Copy

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

ApiIds This property is required. List<string>
ApplicationId This property is required. string
EnvId This property is required. string
GatewayId This property is required. string
ApigwApplicationAuthorizationV2Id string
Timeouts ApigwApplicationAuthorizationV2Timeouts
ApiIds This property is required. []string
ApplicationId This property is required. string
EnvId This property is required. string
GatewayId This property is required. string
ApigwApplicationAuthorizationV2Id string
Timeouts ApigwApplicationAuthorizationV2TimeoutsArgs
apiIds This property is required. List<String>
applicationId This property is required. String
envId This property is required. String
gatewayId This property is required. String
apigwApplicationAuthorizationV2Id String
timeouts ApigwApplicationAuthorizationV2Timeouts
apiIds This property is required. string[]
applicationId This property is required. string
envId This property is required. string
gatewayId This property is required. string
apigwApplicationAuthorizationV2Id string
timeouts ApigwApplicationAuthorizationV2Timeouts
api_ids This property is required. Sequence[str]
application_id This property is required. str
env_id This property is required. str
gateway_id This property is required. str
apigw_application_authorization_v2_id str
timeouts ApigwApplicationAuthorizationV2TimeoutsArgs
apiIds This property is required. List<String>
applicationId This property is required. String
envId This property is required. String
gatewayId This property is required. String
apigwApplicationAuthorizationV2Id String
timeouts Property Map

Outputs

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

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

Look up Existing ApigwApplicationAuthorizationV2 Resource

Get an existing ApigwApplicationAuthorizationV2 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?: ApigwApplicationAuthorizationV2State, opts?: CustomResourceOptions): ApigwApplicationAuthorizationV2
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        api_ids: Optional[Sequence[str]] = None,
        apigw_application_authorization_v2_id: Optional[str] = None,
        application_id: Optional[str] = None,
        env_id: Optional[str] = None,
        gateway_id: Optional[str] = None,
        region: Optional[str] = None,
        timeouts: Optional[ApigwApplicationAuthorizationV2TimeoutsArgs] = None) -> ApigwApplicationAuthorizationV2
func GetApigwApplicationAuthorizationV2(ctx *Context, name string, id IDInput, state *ApigwApplicationAuthorizationV2State, opts ...ResourceOption) (*ApigwApplicationAuthorizationV2, error)
public static ApigwApplicationAuthorizationV2 Get(string name, Input<string> id, ApigwApplicationAuthorizationV2State? state, CustomResourceOptions? opts = null)
public static ApigwApplicationAuthorizationV2 get(String name, Output<String> id, ApigwApplicationAuthorizationV2State state, CustomResourceOptions options)
resources:  _:    type: opentelekomcloud:ApigwApplicationAuthorizationV2    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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.

Supporting Types

ApigwApplicationAuthorizationV2Timeouts
, ApigwApplicationAuthorizationV2TimeoutsArgs

Create string
Delete string
Update string
Create string
Delete string
Update string
create String
delete String
update String
create string
delete string
update string
create str
delete str
update str
create String
delete String
update String

Package Details

Repository
opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
License
Notes
This Pulumi package is based on the opentelekomcloud Terraform Provider.