opentelekomcloud.ApigwApplicationV2
Explore with Pulumi AI
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:
- Gateway
Id string - Apigw
Application stringV2Id - App
Codes List<string> - Description string
- Name string
- Secret
Action string
- Gateway
Id string - Apigw
Application stringV2Id - App
Codes []string - Description string
- Name string
- Secret
Action string
- gateway
Id String - apigw
Application StringV2Id - app
Codes List<String> - description String
- name String
- secret
Action String
- gateway
Id string - apigw
Application stringV2Id - app
Codes string[] - description string
- name string
- secret
Action string
- gateway_
id str - apigw_
application_ strv2_ id - app_
codes Sequence[str] - description str
- name str
- secret_
action str
- gateway
Id String - apigw
Application StringV2Id - app
Codes List<String> - description String
- name String
- secret
Action String
Outputs
All input properties are implicitly available as output properties. Additionally, the ApigwApplicationV2 resource produces the following output properties:
- 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
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.
- Apigw
Application stringV2Id - App
Codes List<string> - App
Key string - App
Secret string - Description string
- Gateway
Id string - Name string
- Region string
- Registration
Time string - Secret
Action string - Updated
At string
- Apigw
Application stringV2Id - App
Codes []string - App
Key string - App
Secret string - Description string
- Gateway
Id string - Name string
- Region string
- Registration
Time string - Secret
Action string - Updated
At string
- apigw
Application StringV2Id - app
Codes List<String> - app
Key String - app
Secret String - description String
- gateway
Id String - name String
- region String
- registration
Time String - secret
Action String - updated
At String
- apigw
Application stringV2Id - app
Codes string[] - app
Key string - app
Secret string - description string
- gateway
Id string - name string
- region string
- registration
Time string - secret
Action string - updated
At string
- apigw_
application_ strv2_ id - app_
codes Sequence[str] - app_
key str - app_
secret str - description str
- gateway_
id str - name str
- region str
- registration_
time str - secret_
action str - updated_
at str
- apigw
Application StringV2Id - app
Codes List<String> - app
Key String - app
Secret String - description String
- gateway
Id String - name String
- region String
- registration
Time String - secret
Action String - updated
At String
Package Details
- Repository
- opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
- License
- Notes
- This Pulumi package is based on the
opentelekomcloud
Terraform Provider.