alicloud.realtimecompute.VvpInstance
Explore with Pulumi AI
Import
Realtime Compute Vvp Instance can be imported using the id, e.g.
$ pulumi import alicloud:realtimecompute/vvpInstance:VvpInstance example <id>
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, Any]] = 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", "any" },
},
});
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.Map{
"string": pulumi.Any("any"),
},
})
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", "any"))
.build());
vvp_instance_resource = alicloud.realtimecompute.VvpInstance("vvpInstanceResource",
payment_type="string",
storage=alicloud.realtimecompute.VvpInstanceStorageArgs(
oss=alicloud.realtimecompute.VvpInstanceStorageOssArgs(
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=alicloud.realtimecompute.VvpInstanceResourceSpecArgs(
cpu=0,
memory_gb=0,
),
tags={
"string": "any",
})
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: "any",
},
});
type: alicloud:realtimecompute:VvpInstance
properties:
duration: 0
paymentType: string
pricingCycle: string
resourceGroupId: string
resourceSpec:
cpu: 0
memoryGb: 0
storage:
oss:
bucket: string
tags:
string: any
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
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
storage
below. - 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_spec
below. - Dictionary<string, object>
- The tags of the resource.
- Payment
Type string - The payment type of the resource.
- Storage
Vvp
Instance Storage Args - Store information. See
storage
below. - 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_spec
below. - map[string]interface{}
- The tags of the resource.
- payment
Type String - The payment type of the resource.
- storage
Vvp
Instance Storage - Store information. See
storage
below. - 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_spec
below. - Map<String,Object>
- The tags of the resource.
- payment
Type string - The payment type of the resource.
- storage
Vvp
Instance Storage - Store information. See
storage
below. - 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_spec
below. - {[key: string]: any}
- The tags of the resource.
- payment_
type str - The payment type of the resource.
- storage
Vvp
Instance Storage Args - Store information. See
storage
below. - 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_spec
below. - Mapping[str, Any]
- The tags of the resource.
- payment
Type String - The payment type of the resource.
- storage Property Map
- Store information. See
storage
below. - 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_spec
below. - Map<Any>
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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_spec: Optional[VvpInstanceResourceSpecArgs] = None,
status: Optional[str] = None,
storage: Optional[VvpInstanceStorageArgs] = None,
tags: Optional[Mapping[str, Any]] = None,
vpc_id: Optional[str] = None,
vswitch_ids: Optional[Sequence[str]] = None,
vvp_instance_name: Optional[str] = None,
zone_id: Optional[str] = None) -> VvpInstance
func 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)
Resource lookup is not supported in YAML
- 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
Spec Pulumi.Ali Cloud. Realtime Compute. Inputs. Vvp Instance Resource Spec - Resource specifications. See
resource_spec
below. - Status string
- The status of the resource.
- Storage
Pulumi.
Ali Cloud. Realtime Compute. Inputs. Vvp Instance Storage - Store information. See
storage
below. - Dictionary<string, object>
- 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
Spec VvpInstance Resource Spec Args - Resource specifications. See
resource_spec
below. - Status string
- The status of the resource.
- Storage
Vvp
Instance Storage Args - Store information. See
storage
below. - map[string]interface{}
- 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
Spec VvpInstance Resource Spec - Resource specifications. See
resource_spec
below. - status String
- The status of the resource.
- storage
Vvp
Instance Storage - Store information. See
storage
below. - Map<String,Object>
- 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
Spec VvpInstance Resource Spec - Resource specifications. See
resource_spec
below. - status string
- The status of the resource.
- storage
Vvp
Instance Storage - Store information. See
storage
below. - {[key: string]: any}
- 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_
spec VvpInstance Resource Spec Args - Resource specifications. See
resource_spec
below. - status str
- The status of the resource.
- storage
Vvp
Instance Storage Args - Store information. See
storage
below. - Mapping[str, Any]
- 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
Spec Property Map - Resource specifications. See
resource_spec
below. - status String
- The status of the resource.
- storage Property Map
- Store information. See
storage
below. - Map<Any>
- 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
oss
below.
- Oss
Vvp
Instance Storage Oss - OSS stores information. See
oss
below.
- oss
Vvp
Instance Storage Oss - OSS stores information. See
oss
below.
- oss
Vvp
Instance Storage Oss - OSS stores information. See
oss
below.
- oss
Vvp
Instance Storage Oss - OSS stores information. See
oss
below.
- oss Property Map
- OSS stores information. See
oss
below.
VvpInstanceStorageOss, VvpInstanceStorageOssArgs
- Bucket string
- Bucket string
- bucket String
- bucket string
- bucket str
- bucket String
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloud
Terraform Provider.