published on Saturday, Mar 14, 2026 by Pulumi
published on Saturday, Mar 14, 2026 by Pulumi
Provides a Realtime Compute Vvp Instance resource.
For information about Realtime Compute Vvp Instance and how to use it, see What is Vvp Instance.
NOTE: Available since v1.214.0.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
import * as random from "@pulumi/random";
const config = new pulumi.Config();
const name = config.get("name") || "terraform-example";
const zoneId = config.get("zoneId") || "cn-hangzhou-i";
const defaultInteger = new random.index.Integer("default", {
min: 10000,
max: 99999,
});
const _default = alicloud.getZones({
availableResourceCreation: "VSwitch",
});
const defaultGetNetworks = alicloud.vpc.getNetworks({
nameRegex: "^default-NODELETING$",
});
const defaultGetSwitches = defaultGetNetworks.then(defaultGetNetworks => alicloud.vpc.getSwitches({
vpcId: defaultGetNetworks.ids?.[0],
zoneId: zoneId,
}));
const defaultOSS = new alicloud.oss.Bucket("defaultOSS", {bucket: `${name}-${defaultInteger.result}`});
const defaultGetResourceGroups = alicloud.resourcemanager.getResourceGroups({
status: "OK",
});
const defaultVvpInstance = new alicloud.realtimecompute.VvpInstance("default", {
storage: {
oss: {
bucket: defaultOSS.bucket,
},
},
vvpInstanceName: `${name}-${defaultInteger.result}`,
vpcId: defaultGetNetworks.then(defaultGetNetworks => defaultGetNetworks.ids?.[0]),
zoneId: zoneId,
vswitchIds: [defaultGetSwitches.then(defaultGetSwitches => defaultGetSwitches.ids?.[0])],
paymentType: "PayAsYouGo",
});
import pulumi
import pulumi_alicloud as alicloud
import pulumi_random as random
config = pulumi.Config()
name = config.get("name")
if name is None:
name = "terraform-example"
zone_id = config.get("zoneId")
if zone_id is None:
zone_id = "cn-hangzhou-i"
default_integer = random.index.Integer("default",
min=10000,
max=99999)
default = alicloud.get_zones(available_resource_creation="VSwitch")
default_get_networks = alicloud.vpc.get_networks(name_regex="^default-NODELETING$")
default_get_switches = alicloud.vpc.get_switches(vpc_id=default_get_networks.ids[0],
zone_id=zone_id)
default_oss = alicloud.oss.Bucket("defaultOSS", bucket=f"{name}-{default_integer['result']}")
default_get_resource_groups = alicloud.resourcemanager.get_resource_groups(status="OK")
default_vvp_instance = alicloud.realtimecompute.VvpInstance("default",
storage={
"oss": {
"bucket": default_oss.bucket,
},
},
vvp_instance_name=f"{name}-{default_integer['result']}",
vpc_id=default_get_networks.ids[0],
zone_id=zone_id,
vswitch_ids=[default_get_switches.ids[0]],
payment_type="PayAsYouGo")
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/oss"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/realtimecompute"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/resourcemanager"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
"github.com/pulumi/pulumi-random/sdk/v4/go/random"
"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, "")
name := "terraform-example"
if param := cfg.Get("name"); param != "" {
name = param
}
zoneId := "cn-hangzhou-i"
if param := cfg.Get("zoneId"); param != "" {
zoneId = param
}
defaultInteger, err := random.NewInteger(ctx, "default", &random.IntegerArgs{
Min: 10000,
Max: 99999,
})
if err != nil {
return err
}
_, err = alicloud.GetZones(ctx, &alicloud.GetZonesArgs{
AvailableResourceCreation: pulumi.StringRef("VSwitch"),
}, nil)
if err != nil {
return err
}
defaultGetNetworks, err := vpc.GetNetworks(ctx, &vpc.GetNetworksArgs{
NameRegex: pulumi.StringRef("^default-NODELETING$"),
}, nil)
if err != nil {
return err
}
defaultGetSwitches, err := vpc.GetSwitches(ctx, &vpc.GetSwitchesArgs{
VpcId: pulumi.StringRef(defaultGetNetworks.Ids[0]),
ZoneId: pulumi.StringRef(zoneId),
}, nil)
if err != nil {
return err
}
defaultOSS, err := oss.NewBucket(ctx, "defaultOSS", &oss.BucketArgs{
Bucket: pulumi.Sprintf("%v-%v", name, defaultInteger.Result),
})
if err != nil {
return err
}
_, err = resourcemanager.GetResourceGroups(ctx, &resourcemanager.GetResourceGroupsArgs{
Status: pulumi.StringRef("OK"),
}, nil)
if err != nil {
return err
}
_, err = realtimecompute.NewVvpInstance(ctx, "default", &realtimecompute.VvpInstanceArgs{
Storage: &realtimecompute.VvpInstanceStorageArgs{
Oss: &realtimecompute.VvpInstanceStorageOssArgs{
Bucket: defaultOSS.Bucket,
},
},
VvpInstanceName: pulumi.Sprintf("%v-%v", name, defaultInteger.Result),
VpcId: pulumi.String(defaultGetNetworks.Ids[0]),
ZoneId: pulumi.String(zoneId),
VswitchIds: pulumi.StringArray{
pulumi.String(defaultGetSwitches.Ids[0]),
},
PaymentType: pulumi.String("PayAsYouGo"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
using Random = Pulumi.Random;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var name = config.Get("name") ?? "terraform-example";
var zoneId = config.Get("zoneId") ?? "cn-hangzhou-i";
var defaultInteger = new Random.Index.Integer("default", new()
{
Min = 10000,
Max = 99999,
});
var @default = AliCloud.GetZones.Invoke(new()
{
AvailableResourceCreation = "VSwitch",
});
var defaultGetNetworks = AliCloud.Vpc.GetNetworks.Invoke(new()
{
NameRegex = "^default-NODELETING$",
});
var defaultGetSwitches = AliCloud.Vpc.GetSwitches.Invoke(new()
{
VpcId = defaultGetNetworks.Apply(getNetworksResult => getNetworksResult.Ids[0]),
ZoneId = zoneId,
});
var defaultOSS = new AliCloud.Oss.Bucket("defaultOSS", new()
{
BucketName = $"{name}-{defaultInteger.Result}",
});
var defaultGetResourceGroups = AliCloud.ResourceManager.GetResourceGroups.Invoke(new()
{
Status = "OK",
});
var defaultVvpInstance = new AliCloud.RealtimeCompute.VvpInstance("default", new()
{
Storage = new AliCloud.RealtimeCompute.Inputs.VvpInstanceStorageArgs
{
Oss = new AliCloud.RealtimeCompute.Inputs.VvpInstanceStorageOssArgs
{
Bucket = defaultOSS.BucketName,
},
},
VvpInstanceName = $"{name}-{defaultInteger.Result}",
VpcId = defaultGetNetworks.Apply(getNetworksResult => getNetworksResult.Ids[0]),
ZoneId = zoneId,
VswitchIds = new[]
{
defaultGetSwitches.Apply(getSwitchesResult => getSwitchesResult.Ids[0]),
},
PaymentType = "PayAsYouGo",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.random.Integer;
import com.pulumi.random.IntegerArgs;
import com.pulumi.alicloud.AlicloudFunctions;
import com.pulumi.alicloud.inputs.GetZonesArgs;
import com.pulumi.alicloud.vpc.VpcFunctions;
import com.pulumi.alicloud.vpc.inputs.GetNetworksArgs;
import com.pulumi.alicloud.vpc.inputs.GetSwitchesArgs;
import com.pulumi.alicloud.oss.Bucket;
import com.pulumi.alicloud.oss.BucketArgs;
import com.pulumi.alicloud.resourcemanager.ResourcemanagerFunctions;
import com.pulumi.alicloud.resourcemanager.inputs.GetResourceGroupsArgs;
import com.pulumi.alicloud.realtimecompute.VvpInstance;
import com.pulumi.alicloud.realtimecompute.VvpInstanceArgs;
import com.pulumi.alicloud.realtimecompute.inputs.VvpInstanceStorageArgs;
import com.pulumi.alicloud.realtimecompute.inputs.VvpInstanceStorageOssArgs;
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 name = config.get("name").orElse("terraform-example");
final var zoneId = config.get("zoneId").orElse("cn-hangzhou-i");
var defaultInteger = new Integer("defaultInteger", IntegerArgs.builder()
.min(10000)
.max(99999)
.build());
final var default = AlicloudFunctions.getZones(GetZonesArgs.builder()
.availableResourceCreation("VSwitch")
.build());
final var defaultGetNetworks = VpcFunctions.getNetworks(GetNetworksArgs.builder()
.nameRegex("^default-NODELETING$")
.build());
final var defaultGetSwitches = VpcFunctions.getSwitches(GetSwitchesArgs.builder()
.vpcId(defaultGetNetworks.ids()[0])
.zoneId(zoneId)
.build());
var defaultOSS = new Bucket("defaultOSS", BucketArgs.builder()
.bucket(String.format("%s-%s", name,defaultInteger.result()))
.build());
final var defaultGetResourceGroups = ResourcemanagerFunctions.getResourceGroups(GetResourceGroupsArgs.builder()
.status("OK")
.build());
var defaultVvpInstance = new VvpInstance("defaultVvpInstance", VvpInstanceArgs.builder()
.storage(VvpInstanceStorageArgs.builder()
.oss(VvpInstanceStorageOssArgs.builder()
.bucket(defaultOSS.bucket())
.build())
.build())
.vvpInstanceName(String.format("%s-%s", name,defaultInteger.result()))
.vpcId(defaultGetNetworks.ids()[0])
.zoneId(zoneId)
.vswitchIds(defaultGetSwitches.ids()[0])
.paymentType("PayAsYouGo")
.build());
}
}
configuration:
name:
type: string
default: terraform-example
zoneId:
type: string
default: cn-hangzhou-i
resources:
defaultInteger:
type: random:Integer
name: default
properties:
min: 10000
max: 99999
defaultOSS:
type: alicloud:oss:Bucket
properties:
bucket: ${name}-${defaultInteger.result}
defaultVvpInstance:
type: alicloud:realtimecompute:VvpInstance
name: default
properties:
storage:
oss:
bucket: ${defaultOSS.bucket}
vvpInstanceName: ${name}-${defaultInteger.result}
vpcId: ${defaultGetNetworks.ids[0]}
zoneId: ${zoneId}
vswitchIds:
- ${defaultGetSwitches.ids[0]}
paymentType: PayAsYouGo
variables:
default:
fn::invoke:
function: alicloud:getZones
arguments:
availableResourceCreation: VSwitch
defaultGetNetworks:
fn::invoke:
function: alicloud:vpc:getNetworks
arguments:
nameRegex: ^default-NODELETING$
defaultGetSwitches:
fn::invoke:
function: alicloud:vpc:getSwitches
arguments:
vpcId: ${defaultGetNetworks.ids[0]}
zoneId: ${zoneId}
defaultGetResourceGroups:
fn::invoke:
function: alicloud:resourcemanager:getResourceGroups
arguments:
status: OK
Deleting alicloud.realtimecompute.VvpInstance or removing it from your configuration
The alicloud.realtimecompute.VvpInstance resource allows you to manage payment_type </span>= "Subscription" instance, but Terraform cannot destroy it.
Deleting the subscription resource or removing it from your configuration will remove it from your state file and management, but will not destroy the Instance.
You can resume managing the subscription instance via the AlibabaCloud Console.
📚 Need more examples? VIEW MORE EXAMPLES
Create VvpInstance Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new VvpInstance(name: string, args: VvpInstanceArgs, opts?: CustomResourceOptions);@overload
def VvpInstance(resource_name: str,
args: VvpInstanceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def VvpInstance(resource_name: str,
opts: Optional[ResourceOptions] = None,
payment_type: Optional[str] = None,
storage: Optional[VvpInstanceStorageArgs] = None,
vpc_id: Optional[str] = None,
vswitch_ids: Optional[Sequence[str]] = None,
vvp_instance_name: Optional[str] = None,
zone_id: Optional[str] = None,
duration: Optional[int] = None,
pricing_cycle: Optional[str] = None,
resource_group_id: Optional[str] = None,
resource_spec: Optional[VvpInstanceResourceSpecArgs] = None,
tags: Optional[Mapping[str, str]] = None)func NewVvpInstance(ctx *Context, name string, args VvpInstanceArgs, opts ...ResourceOption) (*VvpInstance, error)public VvpInstance(string name, VvpInstanceArgs args, CustomResourceOptions? opts = null)
public VvpInstance(String name, VvpInstanceArgs args)
public VvpInstance(String name, VvpInstanceArgs args, CustomResourceOptions options)
type: alicloud:realtimecompute:VvpInstance
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 VvpInstanceArgs
- 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 VvpInstanceArgs
- 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 VvpInstanceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VvpInstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VvpInstanceArgs
- 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 vvpInstanceResource = new AliCloud.RealtimeCompute.VvpInstance("vvpInstanceResource", new()
{
PaymentType = "string",
Storage = new AliCloud.RealtimeCompute.Inputs.VvpInstanceStorageArgs
{
Oss = new AliCloud.RealtimeCompute.Inputs.VvpInstanceStorageOssArgs
{
Bucket = "string",
},
},
VpcId = "string",
VswitchIds = new[]
{
"string",
},
VvpInstanceName = "string",
ZoneId = "string",
Duration = 0,
PricingCycle = "string",
ResourceGroupId = "string",
ResourceSpec = new AliCloud.RealtimeCompute.Inputs.VvpInstanceResourceSpecArgs
{
Cpu = 0,
MemoryGb = 0,
},
Tags =
{
{ "string", "string" },
},
});
example, err := realtimecompute.NewVvpInstance(ctx, "vvpInstanceResource", &realtimecompute.VvpInstanceArgs{
PaymentType: pulumi.String("string"),
Storage: &realtimecompute.VvpInstanceStorageArgs{
Oss: &realtimecompute.VvpInstanceStorageOssArgs{
Bucket: pulumi.String("string"),
},
},
VpcId: pulumi.String("string"),
VswitchIds: pulumi.StringArray{
pulumi.String("string"),
},
VvpInstanceName: pulumi.String("string"),
ZoneId: pulumi.String("string"),
Duration: pulumi.Int(0),
PricingCycle: pulumi.String("string"),
ResourceGroupId: pulumi.String("string"),
ResourceSpec: &realtimecompute.VvpInstanceResourceSpecArgs{
Cpu: pulumi.Int(0),
MemoryGb: pulumi.Int(0),
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var vvpInstanceResource = new VvpInstance("vvpInstanceResource", VvpInstanceArgs.builder()
.paymentType("string")
.storage(VvpInstanceStorageArgs.builder()
.oss(VvpInstanceStorageOssArgs.builder()
.bucket("string")
.build())
.build())
.vpcId("string")
.vswitchIds("string")
.vvpInstanceName("string")
.zoneId("string")
.duration(0)
.pricingCycle("string")
.resourceGroupId("string")
.resourceSpec(VvpInstanceResourceSpecArgs.builder()
.cpu(0)
.memoryGb(0)
.build())
.tags(Map.of("string", "string"))
.build());
vvp_instance_resource = alicloud.realtimecompute.VvpInstance("vvpInstanceResource",
payment_type="string",
storage={
"oss": {
"bucket": "string",
},
},
vpc_id="string",
vswitch_ids=["string"],
vvp_instance_name="string",
zone_id="string",
duration=0,
pricing_cycle="string",
resource_group_id="string",
resource_spec={
"cpu": 0,
"memory_gb": 0,
},
tags={
"string": "string",
})
const vvpInstanceResource = new alicloud.realtimecompute.VvpInstance("vvpInstanceResource", {
paymentType: "string",
storage: {
oss: {
bucket: "string",
},
},
vpcId: "string",
vswitchIds: ["string"],
vvpInstanceName: "string",
zoneId: "string",
duration: 0,
pricingCycle: "string",
resourceGroupId: "string",
resourceSpec: {
cpu: 0,
memoryGb: 0,
},
tags: {
string: "string",
},
});
type: alicloud:realtimecompute:VvpInstance
properties:
duration: 0
paymentType: string
pricingCycle: string
resourceGroupId: string
resourceSpec:
cpu: 0
memoryGb: 0
storage:
oss:
bucket: string
tags:
string: string
vpcId: string
vswitchIds:
- string
vvpInstanceName: string
zoneId: string
VvpInstance 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 VvpInstance resource accepts the following input properties:
- Payment
Type string - The payment type of the resource.
- Storage
Pulumi.
Ali Cloud. Realtime Compute. Inputs. Vvp Instance Storage - Store information. See
storagebelow. - Vpc
Id string - The VPC ID of the user.
- Vswitch
Ids List<string> - Virtual Switch ID.
- Vvp
Instance stringName - The name of the workspace.
- Zone
Id string - The zone ID of the resource.
- Duration int
- The number of subscription periods. If the payment type is PRE, this parameter is required.
- Pricing
Cycle string - The subscription period. If the payment type is PRE, this parameter is required.
- Resource
Group stringId - The resource group to which the newly purchased instance belongs.
- Resource
Spec Pulumi.Ali Cloud. Realtime Compute. Inputs. Vvp Instance Resource Spec - Resource specifications. See
resource_specbelow. - Dictionary<string, string>
- The tags of the resource.
- Payment
Type string - The payment type of the resource.
- Storage
Vvp
Instance Storage Args - Store information. See
storagebelow. - Vpc
Id string - The VPC ID of the user.
- Vswitch
Ids []string - Virtual Switch ID.
- Vvp
Instance stringName - The name of the workspace.
- Zone
Id string - The zone ID of the resource.
- Duration int
- The number of subscription periods. If the payment type is PRE, this parameter is required.
- Pricing
Cycle string - The subscription period. If the payment type is PRE, this parameter is required.
- Resource
Group stringId - The resource group to which the newly purchased instance belongs.
- Resource
Spec VvpInstance Resource Spec Args - Resource specifications. See
resource_specbelow. - map[string]string
- The tags of the resource.
- payment
Type String - The payment type of the resource.
- storage
Vvp
Instance Storage - Store information. See
storagebelow. - vpc
Id String - The VPC ID of the user.
- vswitch
Ids List<String> - Virtual Switch ID.
- vvp
Instance StringName - The name of the workspace.
- zone
Id String - The zone ID of the resource.
- duration Integer
- The number of subscription periods. If the payment type is PRE, this parameter is required.
- pricing
Cycle String - The subscription period. If the payment type is PRE, this parameter is required.
- resource
Group StringId - The resource group to which the newly purchased instance belongs.
- resource
Spec VvpInstance Resource Spec - Resource specifications. See
resource_specbelow. - Map<String,String>
- The tags of the resource.
- payment
Type string - The payment type of the resource.
- storage
Vvp
Instance Storage - Store information. See
storagebelow. - vpc
Id string - The VPC ID of the user.
- vswitch
Ids string[] - Virtual Switch ID.
- vvp
Instance stringName - The name of the workspace.
- zone
Id string - The zone ID of the resource.
- duration number
- The number of subscription periods. If the payment type is PRE, this parameter is required.
- pricing
Cycle string - The subscription period. If the payment type is PRE, this parameter is required.
- resource
Group stringId - The resource group to which the newly purchased instance belongs.
- resource
Spec VvpInstance Resource Spec - Resource specifications. See
resource_specbelow. - {[key: string]: string}
- The tags of the resource.
- payment_
type str - The payment type of the resource.
- storage
Vvp
Instance Storage Args - Store information. See
storagebelow. - vpc_
id str - The VPC ID of the user.
- vswitch_
ids Sequence[str] - Virtual Switch ID.
- vvp_
instance_ strname - The name of the workspace.
- zone_
id str - The zone ID of the resource.
- duration int
- The number of subscription periods. If the payment type is PRE, this parameter is required.
- pricing_
cycle str - The subscription period. If the payment type is PRE, this parameter is required.
- resource_
group_ strid - The resource group to which the newly purchased instance belongs.
- resource_
spec VvpInstance Resource Spec Args - Resource specifications. See
resource_specbelow. - Mapping[str, str]
- The tags of the resource.
- payment
Type String - The payment type of the resource.
- storage Property Map
- Store information. See
storagebelow. - vpc
Id String - The VPC ID of the user.
- vswitch
Ids List<String> - Virtual Switch ID.
- vvp
Instance StringName - The name of the workspace.
- zone
Id String - The zone ID of the resource.
- duration Number
- The number of subscription periods. If the payment type is PRE, this parameter is required.
- pricing
Cycle String - The subscription period. If the payment type is PRE, this parameter is required.
- resource
Group StringId - The resource group to which the newly purchased instance belongs.
- resource
Spec Property Map - Resource specifications. See
resource_specbelow. - Map<String>
- The tags of the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the VvpInstance resource produces the following output properties:
- Create
Time string - The creation time of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Resource
Id string - (Available since v1.264.0) The ID of the K8s cluster.
- Status string
- The status of the resource.
- Create
Time string - The creation time of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Resource
Id string - (Available since v1.264.0) The ID of the K8s cluster.
- Status string
- The status of the resource.
- create
Time String - The creation time of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- resource
Id String - (Available since v1.264.0) The ID of the K8s cluster.
- status String
- The status of the resource.
- create
Time string - The creation time of the resource.
- id string
- The provider-assigned unique ID for this managed resource.
- resource
Id string - (Available since v1.264.0) The ID of the K8s cluster.
- status string
- The status of the resource.
- create_
time str - The creation time of the resource.
- id str
- The provider-assigned unique ID for this managed resource.
- resource_
id str - (Available since v1.264.0) The ID of the K8s cluster.
- status str
- The status of the resource.
- create
Time String - The creation time of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- resource
Id String - (Available since v1.264.0) The ID of the K8s cluster.
- status String
- The status of the resource.
Look up Existing VvpInstance Resource
Get an existing VvpInstance 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?: VvpInstanceState, opts?: CustomResourceOptions): VvpInstance@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
create_time: Optional[str] = None,
duration: Optional[int] = None,
payment_type: Optional[str] = None,
pricing_cycle: Optional[str] = None,
resource_group_id: Optional[str] = None,
resource_id: Optional[str] = None,
resource_spec: Optional[VvpInstanceResourceSpecArgs] = None,
status: Optional[str] = None,
storage: Optional[VvpInstanceStorageArgs] = None,
tags: Optional[Mapping[str, str]] = None,
vpc_id: Optional[str] = None,
vswitch_ids: Optional[Sequence[str]] = None,
vvp_instance_name: Optional[str] = None,
zone_id: Optional[str] = None) -> VvpInstancefunc GetVvpInstance(ctx *Context, name string, id IDInput, state *VvpInstanceState, opts ...ResourceOption) (*VvpInstance, error)public static VvpInstance Get(string name, Input<string> id, VvpInstanceState? state, CustomResourceOptions? opts = null)public static VvpInstance get(String name, Output<String> id, VvpInstanceState state, CustomResourceOptions options)resources: _: type: alicloud:realtimecompute:VvpInstance 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.
- Create
Time string - The creation time of the resource.
- Duration int
- The number of subscription periods. If the payment type is PRE, this parameter is required.
- Payment
Type string - The payment type of the resource.
- Pricing
Cycle string - The subscription period. If the payment type is PRE, this parameter is required.
- Resource
Group stringId - The resource group to which the newly purchased instance belongs.
- Resource
Id string - (Available since v1.264.0) The ID of the K8s cluster.
- Resource
Spec Pulumi.Ali Cloud. Realtime Compute. Inputs. Vvp Instance Resource Spec - Resource specifications. See
resource_specbelow. - Status string
- The status of the resource.
- Storage
Pulumi.
Ali Cloud. Realtime Compute. Inputs. Vvp Instance Storage - Store information. See
storagebelow. - Dictionary<string, string>
- The tags of the resource.
- Vpc
Id string - The VPC ID of the user.
- Vswitch
Ids List<string> - Virtual Switch ID.
- Vvp
Instance stringName - The name of the workspace.
- Zone
Id string - The zone ID of the resource.
- Create
Time string - The creation time of the resource.
- Duration int
- The number of subscription periods. If the payment type is PRE, this parameter is required.
- Payment
Type string - The payment type of the resource.
- Pricing
Cycle string - The subscription period. If the payment type is PRE, this parameter is required.
- Resource
Group stringId - The resource group to which the newly purchased instance belongs.
- Resource
Id string - (Available since v1.264.0) The ID of the K8s cluster.
- Resource
Spec VvpInstance Resource Spec Args - Resource specifications. See
resource_specbelow. - Status string
- The status of the resource.
- Storage
Vvp
Instance Storage Args - Store information. See
storagebelow. - map[string]string
- The tags of the resource.
- Vpc
Id string - The VPC ID of the user.
- Vswitch
Ids []string - Virtual Switch ID.
- Vvp
Instance stringName - The name of the workspace.
- Zone
Id string - The zone ID of the resource.
- create
Time String - The creation time of the resource.
- duration Integer
- The number of subscription periods. If the payment type is PRE, this parameter is required.
- payment
Type String - The payment type of the resource.
- pricing
Cycle String - The subscription period. If the payment type is PRE, this parameter is required.
- resource
Group StringId - The resource group to which the newly purchased instance belongs.
- resource
Id String - (Available since v1.264.0) The ID of the K8s cluster.
- resource
Spec VvpInstance Resource Spec - Resource specifications. See
resource_specbelow. - status String
- The status of the resource.
- storage
Vvp
Instance Storage - Store information. See
storagebelow. - Map<String,String>
- The tags of the resource.
- vpc
Id String - The VPC ID of the user.
- vswitch
Ids List<String> - Virtual Switch ID.
- vvp
Instance StringName - The name of the workspace.
- zone
Id String - The zone ID of the resource.
- create
Time string - The creation time of the resource.
- duration number
- The number of subscription periods. If the payment type is PRE, this parameter is required.
- payment
Type string - The payment type of the resource.
- pricing
Cycle string - The subscription period. If the payment type is PRE, this parameter is required.
- resource
Group stringId - The resource group to which the newly purchased instance belongs.
- resource
Id string - (Available since v1.264.0) The ID of the K8s cluster.
- resource
Spec VvpInstance Resource Spec - Resource specifications. See
resource_specbelow. - status string
- The status of the resource.
- storage
Vvp
Instance Storage - Store information. See
storagebelow. - {[key: string]: string}
- The tags of the resource.
- vpc
Id string - The VPC ID of the user.
- vswitch
Ids string[] - Virtual Switch ID.
- vvp
Instance stringName - The name of the workspace.
- zone
Id string - The zone ID of the resource.
- create_
time str - The creation time of the resource.
- duration int
- The number of subscription periods. If the payment type is PRE, this parameter is required.
- payment_
type str - The payment type of the resource.
- pricing_
cycle str - The subscription period. If the payment type is PRE, this parameter is required.
- resource_
group_ strid - The resource group to which the newly purchased instance belongs.
- resource_
id str - (Available since v1.264.0) The ID of the K8s cluster.
- resource_
spec VvpInstance Resource Spec Args - Resource specifications. See
resource_specbelow. - status str
- The status of the resource.
- storage
Vvp
Instance Storage Args - Store information. See
storagebelow. - Mapping[str, str]
- The tags of the resource.
- vpc_
id str - The VPC ID of the user.
- vswitch_
ids Sequence[str] - Virtual Switch ID.
- vvp_
instance_ strname - The name of the workspace.
- zone_
id str - The zone ID of the resource.
- create
Time String - The creation time of the resource.
- duration Number
- The number of subscription periods. If the payment type is PRE, this parameter is required.
- payment
Type String - The payment type of the resource.
- pricing
Cycle String - The subscription period. If the payment type is PRE, this parameter is required.
- resource
Group StringId - The resource group to which the newly purchased instance belongs.
- resource
Id String - (Available since v1.264.0) The ID of the K8s cluster.
- resource
Spec Property Map - Resource specifications. See
resource_specbelow. - status String
- The status of the resource.
- storage Property Map
- Store information. See
storagebelow. - Map<String>
- The tags of the resource.
- vpc
Id String - The VPC ID of the user.
- vswitch
Ids List<String> - Virtual Switch ID.
- vvp
Instance StringName - The name of the workspace.
- zone
Id String - The zone ID of the resource.
Supporting Types
VvpInstanceResourceSpec, VvpInstanceResourceSpecArgs
VvpInstanceStorage, VvpInstanceStorageArgs
- Oss
Pulumi.
Ali Cloud. Realtime Compute. Inputs. Vvp Instance Storage Oss - OSS stores information. See
ossbelow.
- Oss
Vvp
Instance Storage Oss - OSS stores information. See
ossbelow.
- oss
Vvp
Instance Storage Oss - OSS stores information. See
ossbelow.
- oss
Vvp
Instance Storage Oss - OSS stores information. See
ossbelow.
- oss
Vvp
Instance Storage Oss - OSS stores information. See
ossbelow.
- oss Property Map
- OSS stores information. See
ossbelow.
VvpInstanceStorageOss, VvpInstanceStorageOssArgs
- Bucket string
- OSS Bucket name.
- Bucket string
- OSS Bucket name.
- bucket String
- OSS Bucket name.
- bucket string
- OSS Bucket name.
- bucket str
- OSS Bucket name.
- bucket String
- OSS Bucket name.
Import
Realtime Compute Vvp Instance can be imported using the id, e.g.
$ pulumi import alicloud:realtimecompute/vvpInstance:VvpInstance example <id>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloudTerraform Provider.
published on Saturday, Mar 14, 2026 by Pulumi
