1. Packages
  2. Opentelekomcloud Provider
  3. API Docs
  4. ApigwApiPublishmentV2
opentelekomcloud 1.36.35 published on Monday, Apr 14, 2025 by opentelekomcloud

opentelekomcloud.ApigwApiPublishmentV2

Explore with Pulumi AI

Example Usage

Publish a new version of the API

import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";

const config = new pulumi.Config();
const gatewayId = config.requireObject("gatewayId");
const environmentId = config.requireObject("environmentId");
const apiId = config.requireObject("apiId");
const _default = new opentelekomcloud.ApigwApiPublishmentV2("default", {
    gatewayId: gatewayId,
    environmentId: environmentId,
    apiId: apiId,
});
Copy
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud

config = pulumi.Config()
gateway_id = config.require_object("gatewayId")
environment_id = config.require_object("environmentId")
api_id = config.require_object("apiId")
default = opentelekomcloud.ApigwApiPublishmentV2("default",
    gateway_id=gateway_id,
    environment_id=environment_id,
    api_id=api_id)
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		gatewayId := cfg.RequireObject("gatewayId")
		environmentId := cfg.RequireObject("environmentId")
		apiId := cfg.RequireObject("apiId")
		_, err := opentelekomcloud.NewApigwApiPublishmentV2(ctx, "default", &opentelekomcloud.ApigwApiPublishmentV2Args{
			GatewayId:     pulumi.Any(gatewayId),
			EnvironmentId: pulumi.Any(environmentId),
			ApiId:         pulumi.Any(apiId),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Opentelekomcloud = Pulumi.Opentelekomcloud;

return await Deployment.RunAsync(() => 
{
    var config = new Config();
    var gatewayId = config.RequireObject<dynamic>("gatewayId");
    var environmentId = config.RequireObject<dynamic>("environmentId");
    var apiId = config.RequireObject<dynamic>("apiId");
    var @default = new Opentelekomcloud.ApigwApiPublishmentV2("default", new()
    {
        GatewayId = gatewayId,
        EnvironmentId = environmentId,
        ApiId = apiId,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.ApigwApiPublishmentV2;
import com.pulumi.opentelekomcloud.ApigwApiPublishmentV2Args;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var config = ctx.config();
        final var gatewayId = config.get("gatewayId");
        final var environmentId = config.get("environmentId");
        final var apiId = config.get("apiId");
        var default_ = new ApigwApiPublishmentV2("default", ApigwApiPublishmentV2Args.builder()
            .gatewayId(gatewayId)
            .environmentId(environmentId)
            .apiId(apiId)
            .build());

    }
}
Copy
configuration:
  gatewayId:
    type: dynamic
  environmentId:
    type: dynamic
  apiId:
    type: dynamic
resources:
  default:
    type: opentelekomcloud:ApigwApiPublishmentV2
    properties:
      gatewayId: ${gatewayId}
      environmentId: ${environmentId}
      apiId: ${apiId}
Copy

Switch to a specified version of the API which is published

import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";

const config = new pulumi.Config();
const gatewayId = config.requireObject("gatewayId");
const environmentId = config.requireObject("environmentId");
const apiId = config.requireObject("apiId");
const versionId = config.requireObject("versionId");
const _default = new opentelekomcloud.ApigwApiPublishmentV2("default", {
    gatewayId: gatewayId,
    environmentId: environmentId,
    apiId: apiId,
    versionId: versionId,
});
Copy
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud

config = pulumi.Config()
gateway_id = config.require_object("gatewayId")
environment_id = config.require_object("environmentId")
api_id = config.require_object("apiId")
version_id = config.require_object("versionId")
default = opentelekomcloud.ApigwApiPublishmentV2("default",
    gateway_id=gateway_id,
    environment_id=environment_id,
    api_id=api_id,
    version_id=version_id)
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		gatewayId := cfg.RequireObject("gatewayId")
		environmentId := cfg.RequireObject("environmentId")
		apiId := cfg.RequireObject("apiId")
		versionId := cfg.RequireObject("versionId")
		_, err := opentelekomcloud.NewApigwApiPublishmentV2(ctx, "default", &opentelekomcloud.ApigwApiPublishmentV2Args{
			GatewayId:     pulumi.Any(gatewayId),
			EnvironmentId: pulumi.Any(environmentId),
			ApiId:         pulumi.Any(apiId),
			VersionId:     pulumi.Any(versionId),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Opentelekomcloud = Pulumi.Opentelekomcloud;

return await Deployment.RunAsync(() => 
{
    var config = new Config();
    var gatewayId = config.RequireObject<dynamic>("gatewayId");
    var environmentId = config.RequireObject<dynamic>("environmentId");
    var apiId = config.RequireObject<dynamic>("apiId");
    var versionId = config.RequireObject<dynamic>("versionId");
    var @default = new Opentelekomcloud.ApigwApiPublishmentV2("default", new()
    {
        GatewayId = gatewayId,
        EnvironmentId = environmentId,
        ApiId = apiId,
        VersionId = versionId,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.ApigwApiPublishmentV2;
import com.pulumi.opentelekomcloud.ApigwApiPublishmentV2Args;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var config = ctx.config();
        final var gatewayId = config.get("gatewayId");
        final var environmentId = config.get("environmentId");
        final var apiId = config.get("apiId");
        final var versionId = config.get("versionId");
        var default_ = new ApigwApiPublishmentV2("default", ApigwApiPublishmentV2Args.builder()
            .gatewayId(gatewayId)
            .environmentId(environmentId)
            .apiId(apiId)
            .versionId(versionId)
            .build());

    }
}
Copy
configuration:
  gatewayId:
    type: dynamic
  environmentId:
    type: dynamic
  apiId:
    type: dynamic
  versionId:
    type: dynamic
resources:
  default:
    type: opentelekomcloud:ApigwApiPublishmentV2
    properties:
      gatewayId: ${gatewayId}
      environmentId: ${environmentId}
      apiId: ${apiId}
      versionId: ${versionId}
Copy

Create ApigwApiPublishmentV2 Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new ApigwApiPublishmentV2(name: string, args: ApigwApiPublishmentV2Args, opts?: CustomResourceOptions);
@overload
def ApigwApiPublishmentV2(resource_name: str,
                          args: ApigwApiPublishmentV2Args,
                          opts: Optional[ResourceOptions] = None)

@overload
def ApigwApiPublishmentV2(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          api_id: Optional[str] = None,
                          environment_id: Optional[str] = None,
                          gateway_id: Optional[str] = None,
                          apigw_api_publishment_v2_id: Optional[str] = None,
                          description: Optional[str] = None,
                          version_id: Optional[str] = None)
func NewApigwApiPublishmentV2(ctx *Context, name string, args ApigwApiPublishmentV2Args, opts ...ResourceOption) (*ApigwApiPublishmentV2, error)
public ApigwApiPublishmentV2(string name, ApigwApiPublishmentV2Args args, CustomResourceOptions? opts = null)
public ApigwApiPublishmentV2(String name, ApigwApiPublishmentV2Args args)
public ApigwApiPublishmentV2(String name, ApigwApiPublishmentV2Args args, CustomResourceOptions options)
type: opentelekomcloud:ApigwApiPublishmentV2
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ApigwApiPublishmentV2Args
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ApigwApiPublishmentV2Args
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ApigwApiPublishmentV2Args
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ApigwApiPublishmentV2Args
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ApigwApiPublishmentV2Args
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 apigwApiPublishmentV2Resource = new Opentelekomcloud.ApigwApiPublishmentV2("apigwApiPublishmentV2Resource", new()
{
    ApiId = "string",
    EnvironmentId = "string",
    GatewayId = "string",
    ApigwApiPublishmentV2Id = "string",
    Description = "string",
    VersionId = "string",
});
Copy
example, err := opentelekomcloud.NewApigwApiPublishmentV2(ctx, "apigwApiPublishmentV2Resource", &opentelekomcloud.ApigwApiPublishmentV2Args{
ApiId: pulumi.String("string"),
EnvironmentId: pulumi.String("string"),
GatewayId: pulumi.String("string"),
ApigwApiPublishmentV2Id: pulumi.String("string"),
Description: pulumi.String("string"),
VersionId: pulumi.String("string"),
})
Copy
var apigwApiPublishmentV2Resource = new ApigwApiPublishmentV2("apigwApiPublishmentV2Resource", ApigwApiPublishmentV2Args.builder()
    .apiId("string")
    .environmentId("string")
    .gatewayId("string")
    .apigwApiPublishmentV2Id("string")
    .description("string")
    .versionId("string")
    .build());
Copy
apigw_api_publishment_v2_resource = opentelekomcloud.ApigwApiPublishmentV2("apigwApiPublishmentV2Resource",
    api_id="string",
    environment_id="string",
    gateway_id="string",
    apigw_api_publishment_v2_id="string",
    description="string",
    version_id="string")
Copy
const apigwApiPublishmentV2Resource = new opentelekomcloud.ApigwApiPublishmentV2("apigwApiPublishmentV2Resource", {
    apiId: "string",
    environmentId: "string",
    gatewayId: "string",
    apigwApiPublishmentV2Id: "string",
    description: "string",
    versionId: "string",
});
Copy
type: opentelekomcloud:ApigwApiPublishmentV2
properties:
    apiId: string
    apigwApiPublishmentV2Id: string
    description: string
    environmentId: string
    gatewayId: string
    versionId: string
Copy

ApigwApiPublishmentV2 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 ApigwApiPublishmentV2 resource accepts the following input properties:

ApiId This property is required. string
Specifies the ID of the API to be published or already published. Changing this will create a new resource.
EnvironmentId This property is required. string
Specifies the ID of the environment to which the current version of the API will be published or has been published. Changing this will create a new resource.
GatewayId This property is required. string
ApigwApiPublishmentV2Id string
The resource ID, which is constructed from the instance ID, environment ID, and API ID, separated by slashes.
Description string
Specifies the description of the current publish.
VersionId string
Specifies the version ID of the current publish.
ApiId This property is required. string
Specifies the ID of the API to be published or already published. Changing this will create a new resource.
EnvironmentId This property is required. string
Specifies the ID of the environment to which the current version of the API will be published or has been published. Changing this will create a new resource.
GatewayId This property is required. string
ApigwApiPublishmentV2Id string
The resource ID, which is constructed from the instance ID, environment ID, and API ID, separated by slashes.
Description string
Specifies the description of the current publish.
VersionId string
Specifies the version ID of the current publish.
apiId This property is required. String
Specifies the ID of the API to be published or already published. Changing this will create a new resource.
environmentId This property is required. String
Specifies the ID of the environment to which the current version of the API will be published or has been published. Changing this will create a new resource.
gatewayId This property is required. String
apigwApiPublishmentV2Id String
The resource ID, which is constructed from the instance ID, environment ID, and API ID, separated by slashes.
description String
Specifies the description of the current publish.
versionId String
Specifies the version ID of the current publish.
apiId This property is required. string
Specifies the ID of the API to be published or already published. Changing this will create a new resource.
environmentId This property is required. string
Specifies the ID of the environment to which the current version of the API will be published or has been published. Changing this will create a new resource.
gatewayId This property is required. string
apigwApiPublishmentV2Id string
The resource ID, which is constructed from the instance ID, environment ID, and API ID, separated by slashes.
description string
Specifies the description of the current publish.
versionId string
Specifies the version ID of the current publish.
api_id This property is required. str
Specifies the ID of the API to be published or already published. Changing this will create a new resource.
environment_id This property is required. str
Specifies the ID of the environment to which the current version of the API will be published or has been published. Changing this will create a new resource.
gateway_id This property is required. str
apigw_api_publishment_v2_id str
The resource ID, which is constructed from the instance ID, environment ID, and API ID, separated by slashes.
description str
Specifies the description of the current publish.
version_id str
Specifies the version ID of the current publish.
apiId This property is required. String
Specifies the ID of the API to be published or already published. Changing this will create a new resource.
environmentId This property is required. String
Specifies the ID of the environment to which the current version of the API will be published or has been published. Changing this will create a new resource.
gatewayId This property is required. String
apigwApiPublishmentV2Id String
The resource ID, which is constructed from the instance ID, environment ID, and API ID, separated by slashes.
description String
Specifies the description of the current publish.
versionId String
Specifies the version ID of the current publish.

Outputs

All input properties are implicitly available as output properties. Additionally, the ApigwApiPublishmentV2 resource produces the following output properties:

ApiName string
EnvironmentName string
The name of the environment to which the current version of the API is published.
Histories List<ApigwApiPublishmentV2History>
All publish history of the API. The object structure is documented below.
Id string
The provider-assigned unique ID for this managed resource.
PublishId string
The publishing ID of the API in current environment.
PublishedAt string
Time when the current version was published.
Region string
The region in which to APIs was published.
ApiName string
EnvironmentName string
The name of the environment to which the current version of the API is published.
Histories []ApigwApiPublishmentV2History
All publish history of the API. The object structure is documented below.
Id string
The provider-assigned unique ID for this managed resource.
PublishId string
The publishing ID of the API in current environment.
PublishedAt string
Time when the current version was published.
Region string
The region in which to APIs was published.
apiName String
environmentName String
The name of the environment to which the current version of the API is published.
histories List<ApigwApiPublishmentV2History>
All publish history of the API. The object structure is documented below.
id String
The provider-assigned unique ID for this managed resource.
publishId String
The publishing ID of the API in current environment.
publishedAt String
Time when the current version was published.
region String
The region in which to APIs was published.
apiName string
environmentName string
The name of the environment to which the current version of the API is published.
histories ApigwApiPublishmentV2History[]
All publish history of the API. The object structure is documented below.
id string
The provider-assigned unique ID for this managed resource.
publishId string
The publishing ID of the API in current environment.
publishedAt string
Time when the current version was published.
region string
The region in which to APIs was published.
api_name str
environment_name str
The name of the environment to which the current version of the API is published.
histories Sequence[ApigwApiPublishmentV2History]
All publish history of the API. The object structure is documented below.
id str
The provider-assigned unique ID for this managed resource.
publish_id str
The publishing ID of the API in current environment.
published_at str
Time when the current version was published.
region str
The region in which to APIs was published.
apiName String
environmentName String
The name of the environment to which the current version of the API is published.
histories List<Property Map>
All publish history of the API. The object structure is documented below.
id String
The provider-assigned unique ID for this managed resource.
publishId String
The publishing ID of the API in current environment.
publishedAt String
Time when the current version was published.
region String
The region in which to APIs was published.

Look up Existing ApigwApiPublishmentV2 Resource

Get an existing ApigwApiPublishmentV2 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?: ApigwApiPublishmentV2State, opts?: CustomResourceOptions): ApigwApiPublishmentV2
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        api_id: Optional[str] = None,
        api_name: Optional[str] = None,
        apigw_api_publishment_v2_id: Optional[str] = None,
        description: Optional[str] = None,
        environment_id: Optional[str] = None,
        environment_name: Optional[str] = None,
        gateway_id: Optional[str] = None,
        histories: Optional[Sequence[ApigwApiPublishmentV2HistoryArgs]] = None,
        publish_id: Optional[str] = None,
        published_at: Optional[str] = None,
        region: Optional[str] = None,
        version_id: Optional[str] = None) -> ApigwApiPublishmentV2
func GetApigwApiPublishmentV2(ctx *Context, name string, id IDInput, state *ApigwApiPublishmentV2State, opts ...ResourceOption) (*ApigwApiPublishmentV2, error)
public static ApigwApiPublishmentV2 Get(string name, Input<string> id, ApigwApiPublishmentV2State? state, CustomResourceOptions? opts = null)
public static ApigwApiPublishmentV2 get(String name, Output<String> id, ApigwApiPublishmentV2State state, CustomResourceOptions options)
resources:  _:    type: opentelekomcloud:ApigwApiPublishmentV2    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
ApiId string
Specifies the ID of the API to be published or already published. Changing this will create a new resource.
ApiName string
ApigwApiPublishmentV2Id string
The resource ID, which is constructed from the instance ID, environment ID, and API ID, separated by slashes.
Description string
Specifies the description of the current publish.
EnvironmentId string
Specifies the ID of the environment to which the current version of the API will be published or has been published. Changing this will create a new resource.
EnvironmentName string
The name of the environment to which the current version of the API is published.
GatewayId string
Histories List<ApigwApiPublishmentV2History>
All publish history of the API. The object structure is documented below.
PublishId string
The publishing ID of the API in current environment.
PublishedAt string
Time when the current version was published.
Region string
The region in which to APIs was published.
VersionId string
Specifies the version ID of the current publish.
ApiId string
Specifies the ID of the API to be published or already published. Changing this will create a new resource.
ApiName string
ApigwApiPublishmentV2Id string
The resource ID, which is constructed from the instance ID, environment ID, and API ID, separated by slashes.
Description string
Specifies the description of the current publish.
EnvironmentId string
Specifies the ID of the environment to which the current version of the API will be published or has been published. Changing this will create a new resource.
EnvironmentName string
The name of the environment to which the current version of the API is published.
GatewayId string
Histories []ApigwApiPublishmentV2HistoryArgs
All publish history of the API. The object structure is documented below.
PublishId string
The publishing ID of the API in current environment.
PublishedAt string
Time when the current version was published.
Region string
The region in which to APIs was published.
VersionId string
Specifies the version ID of the current publish.
apiId String
Specifies the ID of the API to be published or already published. Changing this will create a new resource.
apiName String
apigwApiPublishmentV2Id String
The resource ID, which is constructed from the instance ID, environment ID, and API ID, separated by slashes.
description String
Specifies the description of the current publish.
environmentId String
Specifies the ID of the environment to which the current version of the API will be published or has been published. Changing this will create a new resource.
environmentName String
The name of the environment to which the current version of the API is published.
gatewayId String
histories List<ApigwApiPublishmentV2History>
All publish history of the API. The object structure is documented below.
publishId String
The publishing ID of the API in current environment.
publishedAt String
Time when the current version was published.
region String
The region in which to APIs was published.
versionId String
Specifies the version ID of the current publish.
apiId string
Specifies the ID of the API to be published or already published. Changing this will create a new resource.
apiName string
apigwApiPublishmentV2Id string
The resource ID, which is constructed from the instance ID, environment ID, and API ID, separated by slashes.
description string
Specifies the description of the current publish.
environmentId string
Specifies the ID of the environment to which the current version of the API will be published or has been published. Changing this will create a new resource.
environmentName string
The name of the environment to which the current version of the API is published.
gatewayId string
histories ApigwApiPublishmentV2History[]
All publish history of the API. The object structure is documented below.
publishId string
The publishing ID of the API in current environment.
publishedAt string
Time when the current version was published.
region string
The region in which to APIs was published.
versionId string
Specifies the version ID of the current publish.
api_id str
Specifies the ID of the API to be published or already published. Changing this will create a new resource.
api_name str
apigw_api_publishment_v2_id str
The resource ID, which is constructed from the instance ID, environment ID, and API ID, separated by slashes.
description str
Specifies the description of the current publish.
environment_id str
Specifies the ID of the environment to which the current version of the API will be published or has been published. Changing this will create a new resource.
environment_name str
The name of the environment to which the current version of the API is published.
gateway_id str
histories Sequence[ApigwApiPublishmentV2HistoryArgs]
All publish history of the API. The object structure is documented below.
publish_id str
The publishing ID of the API in current environment.
published_at str
Time when the current version was published.
region str
The region in which to APIs was published.
version_id str
Specifies the version ID of the current publish.
apiId String
Specifies the ID of the API to be published or already published. Changing this will create a new resource.
apiName String
apigwApiPublishmentV2Id String
The resource ID, which is constructed from the instance ID, environment ID, and API ID, separated by slashes.
description String
Specifies the description of the current publish.
environmentId String
Specifies the ID of the environment to which the current version of the API will be published or has been published. Changing this will create a new resource.
environmentName String
The name of the environment to which the current version of the API is published.
gatewayId String
histories List<Property Map>
All publish history of the API. The object structure is documented below.
publishId String
The publishing ID of the API in current environment.
publishedAt String
Time when the current version was published.
region String
The region in which to APIs was published.
versionId String
Specifies the version ID of the current publish.

Supporting Types

ApigwApiPublishmentV2History
, ApigwApiPublishmentV2HistoryArgs

Description This property is required. string
Specifies the description of the current publish.
VersionId This property is required. string
Specifies the version ID of the current publish.
Description This property is required. string
Specifies the description of the current publish.
VersionId This property is required. string
Specifies the version ID of the current publish.
description This property is required. String
Specifies the description of the current publish.
versionId This property is required. String
Specifies the version ID of the current publish.
description This property is required. string
Specifies the description of the current publish.
versionId This property is required. string
Specifies the version ID of the current publish.
description This property is required. str
Specifies the description of the current publish.
version_id This property is required. str
Specifies the version ID of the current publish.
description This property is required. String
Specifies the description of the current publish.
versionId This property is required. String
Specifies the version ID of the current publish.

Import

The publishment can be imported using related instance_id, environment_id and api_id, separated by slashes, e.g.

$ pulumi import opentelekomcloud:index/apigwApiPublishmentV2:ApigwApiPublishmentV2 pub <instance_id>/<environment_id>/<api_id>
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
License
Notes
This Pulumi package is based on the opentelekomcloud Terraform Provider.