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 string
- The unique name of the resource.
- args ApigwApplicationAuthorizationV2Args
- 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 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 string
- The unique name of the resource.
- args ApigwApplicationAuthorizationV2Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ApigwApplicationAuthorizationV2Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
},
});
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: &opentelekomcloud.ApigwApplicationAuthorizationV2TimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
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());
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",
})
const apigwApplicationAuthorizationV2Resource = new opentelekomcloud.ApigwApplicationAuthorizationV2("apigwApplicationAuthorizationV2Resource", {
apiIds: ["string"],
applicationId: "string",
envId: "string",
gatewayId: "string",
apigwApplicationAuthorizationV2Id: "string",
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
});
type: opentelekomcloud:ApigwApplicationAuthorizationV2
properties:
apiIds:
- string
apigwApplicationAuthorizationV2Id: string
applicationId: string
envId: string
gatewayId: string
timeouts:
create: string
delete: string
update: string
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:
- Api
Ids List<string> - Application
Id string - Env
Id string - Gateway
Id string - string
- Timeouts
Apigw
Application Authorization V2Timeouts
- Api
Ids []string - Application
Id string - Env
Id string - Gateway
Id string - string
- Timeouts
Apigw
Application Authorization V2Timeouts Args
- api
Ids List<String> - application
Id String - env
Id String - gateway
Id String - String
- timeouts
Apigw
Application Authorization V2Timeouts
- api
Ids string[] - application
Id string - env
Id string - gateway
Id string - string
- timeouts
Apigw
Application Authorization V2Timeouts
- api_
ids Sequence[str] - application_
id str - env_
id str - gateway_
id str - str
- timeouts
Apigw
Application Authorization V2Timeouts Args
- api
Ids List<String> - application
Id String - env
Id String - gateway
Id String - String
- timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the ApigwApplicationAuthorizationV2 resource produces the following output properties:
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
- 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.
- Api
Ids List<string> - string
- Application
Id string - Env
Id string - Gateway
Id string - Region string
- Timeouts
Apigw
Application Authorization V2Timeouts
- Api
Ids []string - string
- Application
Id string - Env
Id string - Gateway
Id string - Region string
- Timeouts
Apigw
Application Authorization V2Timeouts Args
- api
Ids List<String> - String
- application
Id String - env
Id String - gateway
Id String - region String
- timeouts
Apigw
Application Authorization V2Timeouts
- api
Ids string[] - string
- application
Id string - env
Id string - gateway
Id string - region string
- timeouts
Apigw
Application Authorization V2Timeouts
- api_
ids Sequence[str] - str
- application_
id str - env_
id str - gateway_
id str - region str
- timeouts
Apigw
Application Authorization V2Timeouts Args
- api
Ids List<String> - String
- application
Id String - env
Id String - gateway
Id String - region String
- timeouts Property Map
Supporting Types
ApigwApplicationAuthorizationV2Timeouts, ApigwApplicationAuthorizationV2TimeoutsArgs
Package Details
- Repository
- opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
- License
- Notes
- This Pulumi package is based on the
opentelekomcloud
Terraform Provider.