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,
});
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)
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
})
}
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,
});
});
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());
}
}
configuration:
gatewayId:
type: dynamic
environmentId:
type: dynamic
apiId:
type: dynamic
resources:
default:
type: opentelekomcloud:ApigwApiPublishmentV2
properties:
gatewayId: ${gatewayId}
environmentId: ${environmentId}
apiId: ${apiId}
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,
});
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)
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
})
}
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,
});
});
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());
}
}
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}
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 string
- The unique name of the resource.
- args ApigwApiPublishmentV2Args
- 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 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 string
- The unique name of the resource.
- args ApigwApiPublishmentV2Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ApigwApiPublishmentV2Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
});
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"),
})
var apigwApiPublishmentV2Resource = new ApigwApiPublishmentV2("apigwApiPublishmentV2Resource", ApigwApiPublishmentV2Args.builder()
.apiId("string")
.environmentId("string")
.gatewayId("string")
.apigwApiPublishmentV2Id("string")
.description("string")
.versionId("string")
.build());
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")
const apigwApiPublishmentV2Resource = new opentelekomcloud.ApigwApiPublishmentV2("apigwApiPublishmentV2Resource", {
apiId: "string",
environmentId: "string",
gatewayId: "string",
apigwApiPublishmentV2Id: "string",
description: "string",
versionId: "string",
});
type: opentelekomcloud:ApigwApiPublishmentV2
properties:
apiId: string
apigwApiPublishmentV2Id: string
description: string
environmentId: string
gatewayId: string
versionId: string
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:
- Api
Id string - Specifies the ID of the API to be published or already published. Changing this will create a new resource.
- Environment
Id 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.
- Gateway
Id string - Apigw
Api stringPublishment V2Id - 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.
- Version
Id string - Specifies the version ID of the current publish.
- Api
Id string - Specifies the ID of the API to be published or already published. Changing this will create a new resource.
- Environment
Id 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.
- Gateway
Id string - Apigw
Api stringPublishment V2Id - 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.
- Version
Id string - Specifies the version ID of the current publish.
- api
Id String - Specifies the ID of the API to be published or already published. Changing this will create a new resource.
- environment
Id 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.
- gateway
Id String - apigw
Api StringPublishment V2Id - 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.
- version
Id String - Specifies the version ID of the current publish.
- api
Id string - Specifies the ID of the API to be published or already published. Changing this will create a new resource.
- environment
Id 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.
- gateway
Id string - apigw
Api stringPublishment V2Id - 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.
- version
Id 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.
- 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.
- gateway_
id str - apigw_
api_ strpublishment_ v2_ id - 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.
- api
Id String - Specifies the ID of the API to be published or already published. Changing this will create a new resource.
- environment
Id 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.
- gateway
Id String - apigw
Api StringPublishment V2Id - 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.
- version
Id 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:
- Api
Name string - Environment
Name string - The name of the environment to which the current version of the API is published.
- Histories
List<Apigw
Api Publishment V2History> - All publish history of the API. The object structure is documented below.
- Id string
- The provider-assigned unique ID for this managed resource.
- Publish
Id string - The publishing ID of the API in current environment.
- Published
At string - Time when the current version was published.
- Region string
- The region in which to APIs was published.
- Api
Name string - Environment
Name string - The name of the environment to which the current version of the API is published.
- Histories
[]Apigw
Api Publishment V2History - All publish history of the API. The object structure is documented below.
- Id string
- The provider-assigned unique ID for this managed resource.
- Publish
Id string - The publishing ID of the API in current environment.
- Published
At string - Time when the current version was published.
- Region string
- The region in which to APIs was published.
- api
Name String - environment
Name String - The name of the environment to which the current version of the API is published.
- histories
List<Apigw
Api Publishment V2History> - All publish history of the API. The object structure is documented below.
- id String
- The provider-assigned unique ID for this managed resource.
- publish
Id String - The publishing ID of the API in current environment.
- published
At String - Time when the current version was published.
- region String
- The region in which to APIs was published.
- api
Name string - environment
Name string - The name of the environment to which the current version of the API is published.
- histories
Apigw
Api Publishment V2History[] - All publish history of the API. The object structure is documented below.
- id string
- The provider-assigned unique ID for this managed resource.
- publish
Id string - The publishing ID of the API in current environment.
- published
At 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[Apigw
Api Publishment V2History] - 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.
- api
Name String - environment
Name 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.
- publish
Id String - The publishing ID of the API in current environment.
- published
At 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
- 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
Id string - Specifies the ID of the API to be published or already published. Changing this will create a new resource.
- Api
Name string - Apigw
Api stringPublishment V2Id - 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.
- Environment
Id 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.
- Environment
Name string - The name of the environment to which the current version of the API is published.
- Gateway
Id string - Histories
List<Apigw
Api Publishment V2History> - All publish history of the API. The object structure is documented below.
- Publish
Id string - The publishing ID of the API in current environment.
- Published
At string - Time when the current version was published.
- Region string
- The region in which to APIs was published.
- Version
Id string - Specifies the version ID of the current publish.
- Api
Id string - Specifies the ID of the API to be published or already published. Changing this will create a new resource.
- Api
Name string - Apigw
Api stringPublishment V2Id - 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.
- Environment
Id 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.
- Environment
Name string - The name of the environment to which the current version of the API is published.
- Gateway
Id string - Histories
[]Apigw
Api Publishment V2History Args - All publish history of the API. The object structure is documented below.
- Publish
Id string - The publishing ID of the API in current environment.
- Published
At string - Time when the current version was published.
- Region string
- The region in which to APIs was published.
- Version
Id string - Specifies the version ID of the current publish.
- api
Id String - Specifies the ID of the API to be published or already published. Changing this will create a new resource.
- api
Name String - apigw
Api StringPublishment V2Id - 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.
- environment
Id 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.
- environment
Name String - The name of the environment to which the current version of the API is published.
- gateway
Id String - histories
List<Apigw
Api Publishment V2History> - All publish history of the API. The object structure is documented below.
- publish
Id String - The publishing ID of the API in current environment.
- published
At String - Time when the current version was published.
- region String
- The region in which to APIs was published.
- version
Id String - Specifies the version ID of the current publish.
- api
Id string - Specifies the ID of the API to be published or already published. Changing this will create a new resource.
- api
Name string - apigw
Api stringPublishment V2Id - 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.
- environment
Id 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.
- environment
Name string - The name of the environment to which the current version of the API is published.
- gateway
Id string - histories
Apigw
Api Publishment V2History[] - All publish history of the API. The object structure is documented below.
- publish
Id string - The publishing ID of the API in current environment.
- published
At string - Time when the current version was published.
- region string
- The region in which to APIs was published.
- version
Id 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_ strpublishment_ v2_ id - 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[Apigw
Api Publishment V2History Args] - 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.
- api
Id String - Specifies the ID of the API to be published or already published. Changing this will create a new resource.
- api
Name String - apigw
Api StringPublishment V2Id - 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.
- environment
Id 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.
- environment
Name String - The name of the environment to which the current version of the API is published.
- gateway
Id String - histories List<Property Map>
- All publish history of the API. The object structure is documented below.
- publish
Id String - The publishing ID of the API in current environment.
- published
At String - Time when the current version was published.
- region String
- The region in which to APIs was published.
- version
Id String - Specifies the version ID of the current publish.
Supporting Types
ApigwApiPublishmentV2History, ApigwApiPublishmentV2HistoryArgs
- Description string
- Specifies the description of the current publish.
- Version
Id string - Specifies the version ID of the current publish.
- Description string
- Specifies the description of the current publish.
- Version
Id string - Specifies the version ID of the current publish.
- description String
- Specifies the description of the current publish.
- version
Id String - Specifies the version ID of the current publish.
- description string
- Specifies the description of the current publish.
- version
Id string - Specifies the version ID of the current publish.
- description str
- Specifies the description of the current publish.
- version_
id str - Specifies the version ID of the current publish.
- description String
- Specifies the description of the current publish.
- version
Id 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>
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.