opentelekomcloud.ApigwAppcodeV2
Explore with Pulumi AI
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:
- Application
Id string - Gateway
Id string - Apigw
Appcode stringV2Id - Value string
- Application
Id string - Gateway
Id string - Apigw
Appcode stringV2Id - Value string
- application
Id String - gateway
Id String - apigw
Appcode StringV2Id - value String
- application
Id string - gateway
Id string - apigw
Appcode stringV2Id - value string
- application_
id str - gateway_
id str - apigw_
appcode_ strv2_ id - value str
- application
Id String - gateway
Id String - apigw
Appcode StringV2Id - value String
Outputs
All input properties are implicitly available as output properties. Additionally, the ApigwAppcodeV2 resource produces the following output properties:
- created_
at str - id str
- The provider-assigned unique ID for this managed resource.
- region str
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.
- Apigw
Appcode stringV2Id - Application
Id string - Created
At string - Gateway
Id string - Region string
- Value string
- Apigw
Appcode stringV2Id - Application
Id string - Created
At string - Gateway
Id string - Region string
- Value string
- apigw
Appcode StringV2Id - application
Id String - created
At String - gateway
Id String - region String
- value String
- apigw
Appcode stringV2Id - application
Id string - created
At string - gateway
Id string - region string
- value string
- apigw_
appcode_ strv2_ id - application_
id str - created_
at str - gateway_
id str - region str
- value str
- apigw
Appcode StringV2Id - application
Id String - created
At String - gateway
Id 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.