tencentcloud.ApiGatewayServiceRelease
Explore with Pulumi AI
Use this resource to create API gateway service release.
Create ApiGatewayServiceRelease Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ApiGatewayServiceRelease(name: string, args: ApiGatewayServiceReleaseArgs, opts?: CustomResourceOptions);
@overload
def ApiGatewayServiceRelease(resource_name: str,
args: ApiGatewayServiceReleaseArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ApiGatewayServiceRelease(resource_name: str,
opts: Optional[ResourceOptions] = None,
environment_name: Optional[str] = None,
release_desc: Optional[str] = None,
service_id: Optional[str] = None,
api_gateway_service_release_id: Optional[str] = None,
release_version: Optional[str] = None)
func NewApiGatewayServiceRelease(ctx *Context, name string, args ApiGatewayServiceReleaseArgs, opts ...ResourceOption) (*ApiGatewayServiceRelease, error)
public ApiGatewayServiceRelease(string name, ApiGatewayServiceReleaseArgs args, CustomResourceOptions? opts = null)
public ApiGatewayServiceRelease(String name, ApiGatewayServiceReleaseArgs args)
public ApiGatewayServiceRelease(String name, ApiGatewayServiceReleaseArgs args, CustomResourceOptions options)
type: tencentcloud:ApiGatewayServiceRelease
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 ApiGatewayServiceReleaseArgs
- 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 ApiGatewayServiceReleaseArgs
- 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 ApiGatewayServiceReleaseArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ApiGatewayServiceReleaseArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ApiGatewayServiceReleaseArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ApiGatewayServiceRelease 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 ApiGatewayServiceRelease resource accepts the following input properties:
- Environment
Name string - API gateway service environment name to be released. Valid values:
test
,prepub
,release
. - Release
Desc string - This release description of the API gateway service.
- Service
Id string - ID of API gateway service.
- Api
Gateway stringService Release Id - ID of the resource.
- Release
Version string - The release version.
- Environment
Name string - API gateway service environment name to be released. Valid values:
test
,prepub
,release
. - Release
Desc string - This release description of the API gateway service.
- Service
Id string - ID of API gateway service.
- Api
Gateway stringService Release Id - ID of the resource.
- Release
Version string - The release version.
- environment
Name String - API gateway service environment name to be released. Valid values:
test
,prepub
,release
. - release
Desc String - This release description of the API gateway service.
- service
Id String - ID of API gateway service.
- api
Gateway StringService Release Id - ID of the resource.
- release
Version String - The release version.
- environment
Name string - API gateway service environment name to be released. Valid values:
test
,prepub
,release
. - release
Desc string - This release description of the API gateway service.
- service
Id string - ID of API gateway service.
- api
Gateway stringService Release Id - ID of the resource.
- release
Version string - The release version.
- environment_
name str - API gateway service environment name to be released. Valid values:
test
,prepub
,release
. - release_
desc str - This release description of the API gateway service.
- service_
id str - ID of API gateway service.
- api_
gateway_ strservice_ release_ id - ID of the resource.
- release_
version str - The release version.
- environment
Name String - API gateway service environment name to be released. Valid values:
test
,prepub
,release
. - release
Desc String - This release description of the API gateway service.
- service
Id String - ID of API gateway service.
- api
Gateway StringService Release Id - ID of the resource.
- release
Version String - The release version.
Outputs
All input properties are implicitly available as output properties. Additionally, the ApiGatewayServiceRelease resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing ApiGatewayServiceRelease Resource
Get an existing ApiGatewayServiceRelease 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?: ApiGatewayServiceReleaseState, opts?: CustomResourceOptions): ApiGatewayServiceRelease
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
api_gateway_service_release_id: Optional[str] = None,
environment_name: Optional[str] = None,
release_desc: Optional[str] = None,
release_version: Optional[str] = None,
service_id: Optional[str] = None) -> ApiGatewayServiceRelease
func GetApiGatewayServiceRelease(ctx *Context, name string, id IDInput, state *ApiGatewayServiceReleaseState, opts ...ResourceOption) (*ApiGatewayServiceRelease, error)
public static ApiGatewayServiceRelease Get(string name, Input<string> id, ApiGatewayServiceReleaseState? state, CustomResourceOptions? opts = null)
public static ApiGatewayServiceRelease get(String name, Output<String> id, ApiGatewayServiceReleaseState state, CustomResourceOptions options)
resources: _: type: tencentcloud:ApiGatewayServiceRelease 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
Gateway stringService Release Id - ID of the resource.
- Environment
Name string - API gateway service environment name to be released. Valid values:
test
,prepub
,release
. - Release
Desc string - This release description of the API gateway service.
- Release
Version string - The release version.
- Service
Id string - ID of API gateway service.
- Api
Gateway stringService Release Id - ID of the resource.
- Environment
Name string - API gateway service environment name to be released. Valid values:
test
,prepub
,release
. - Release
Desc string - This release description of the API gateway service.
- Release
Version string - The release version.
- Service
Id string - ID of API gateway service.
- api
Gateway StringService Release Id - ID of the resource.
- environment
Name String - API gateway service environment name to be released. Valid values:
test
,prepub
,release
. - release
Desc String - This release description of the API gateway service.
- release
Version String - The release version.
- service
Id String - ID of API gateway service.
- api
Gateway stringService Release Id - ID of the resource.
- environment
Name string - API gateway service environment name to be released. Valid values:
test
,prepub
,release
. - release
Desc string - This release description of the API gateway service.
- release
Version string - The release version.
- service
Id string - ID of API gateway service.
- api_
gateway_ strservice_ release_ id - ID of the resource.
- environment_
name str - API gateway service environment name to be released. Valid values:
test
,prepub
,release
. - release_
desc str - This release description of the API gateway service.
- release_
version str - The release version.
- service_
id str - ID of API gateway service.
- api
Gateway StringService Release Id - ID of the resource.
- environment
Name String - API gateway service environment name to be released. Valid values:
test
,prepub
,release
. - release
Desc String - This release description of the API gateway service.
- release
Version String - The release version.
- service
Id String - ID of API gateway service.
Import
API gateway service release can be imported using the id, e.g.
$ pulumi import tencentcloud:index/apiGatewayServiceRelease:ApiGatewayServiceRelease service service-jjt3fs3s#release#20201015121916d85fb161-eaec-4dda-a7e0-659aa5f401be
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.