Class BastionHostInstance
Cloud Bastionhost instance resource ("Yundun_bastionhost" is the short term of this product).
NOTE: The endpoint of bssopenapi used only support "business.aliyuncs.com" at present.
NOTE: Available in 1.63.0+ .
NOTE: In order to destroy Cloud Bastionhost instance , users are required to apply for white list first
Inherited Members
Namespace: Pulumi.AliCloud.Yundun
Assembly: Pulumi.AliCloud.dll
Syntax
public class BastionHostInstance : CustomResource
Constructors
View SourceBastionHostInstance(String, BastionHostInstanceArgs, CustomResourceOptions)
Create a BastionHostInstance resource with the given unique name, arguments, and options.
Declaration
public BastionHostInstance(string name, BastionHostInstanceArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| BastionHostInstanceArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceDescription
Description of the instance. This name can have a string of 1 to 63 characters.
Declaration
public Output<string> Description { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
LicenseCode
Declaration
public Output<string> LicenseCode { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Period
Duration for initially producing the instance. Valid values: [1~9], 12, 24, 36. Default to 1. At present, the provider does not support modify "period".
Declaration
public Output<int?> Period { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Int32>> |
SecurityGroupIds
security group IDs configured to bastionhost
Declaration
public Output<ImmutableArray<string>> SecurityGroupIds { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
Tags
A mapping of tags to assign to the resource.
Declaration
public Output<ImmutableDictionary<string, object>> Tags { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.Object>> |
VswitchId
vSwtich ID configured to bastionhost
Declaration
public Output<string> VswitchId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, BastionHostInstanceState, CustomResourceOptions)
Get an existing BastionHostInstance resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static BastionHostInstance Get(string name, Input<string> id, BastionHostInstanceState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| BastionHostInstanceState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| BastionHostInstance |