1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. ApiGatewayServiceRelease
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

tencentcloud.ApiGatewayServiceRelease

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

    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:

    EnvironmentName string
    API gateway service environment name to be released. Valid values: test, prepub, release.
    ReleaseDesc string
    This release description of the API gateway service.
    ServiceId string
    ID of API gateway service.
    ApiGatewayServiceReleaseId string
    ID of the resource.
    ReleaseVersion string
    The release version.
    EnvironmentName string
    API gateway service environment name to be released. Valid values: test, prepub, release.
    ReleaseDesc string
    This release description of the API gateway service.
    ServiceId string
    ID of API gateway service.
    ApiGatewayServiceReleaseId string
    ID of the resource.
    ReleaseVersion string
    The release version.
    environmentName String
    API gateway service environment name to be released. Valid values: test, prepub, release.
    releaseDesc String
    This release description of the API gateway service.
    serviceId String
    ID of API gateway service.
    apiGatewayServiceReleaseId String
    ID of the resource.
    releaseVersion String
    The release version.
    environmentName string
    API gateway service environment name to be released. Valid values: test, prepub, release.
    releaseDesc string
    This release description of the API gateway service.
    serviceId string
    ID of API gateway service.
    apiGatewayServiceReleaseId string
    ID of the resource.
    releaseVersion 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_service_release_id str
    ID of the resource.
    release_version str
    The release version.
    environmentName String
    API gateway service environment name to be released. Valid values: test, prepub, release.
    releaseDesc String
    This release description of the API gateway service.
    serviceId String
    ID of API gateway service.
    apiGatewayServiceReleaseId String
    ID of the resource.
    releaseVersion 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.
    The following state arguments are supported:
    ApiGatewayServiceReleaseId string
    ID of the resource.
    EnvironmentName string
    API gateway service environment name to be released. Valid values: test, prepub, release.
    ReleaseDesc string
    This release description of the API gateway service.
    ReleaseVersion string
    The release version.
    ServiceId string
    ID of API gateway service.
    ApiGatewayServiceReleaseId string
    ID of the resource.
    EnvironmentName string
    API gateway service environment name to be released. Valid values: test, prepub, release.
    ReleaseDesc string
    This release description of the API gateway service.
    ReleaseVersion string
    The release version.
    ServiceId string
    ID of API gateway service.
    apiGatewayServiceReleaseId String
    ID of the resource.
    environmentName String
    API gateway service environment name to be released. Valid values: test, prepub, release.
    releaseDesc String
    This release description of the API gateway service.
    releaseVersion String
    The release version.
    serviceId String
    ID of API gateway service.
    apiGatewayServiceReleaseId string
    ID of the resource.
    environmentName string
    API gateway service environment name to be released. Valid values: test, prepub, release.
    releaseDesc string
    This release description of the API gateway service.
    releaseVersion string
    The release version.
    serviceId string
    ID of API gateway service.
    api_gateway_service_release_id str
    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.
    apiGatewayServiceReleaseId String
    ID of the resource.
    environmentName String
    API gateway service environment name to be released. Valid values: test, prepub, release.
    releaseDesc String
    This release description of the API gateway service.
    releaseVersion String
    The release version.
    serviceId 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.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack