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

Create a BastionHostInstance Resource

def BastionHostInstance(resource_name, opts=None, description=None, license_code=None, period=None, resource_group_id=None, security_group_ids=None, tags=None, vswitch_id=None, __props__=None);
name string
The unique name of the resource.
args BastionHostInstanceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args BastionHostInstanceArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args BastionHostInstanceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

BastionHostInstance Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The BastionHostInstance resource accepts the following input properties:

Description string

Description of the instance. This name can have a string of 1 to 63 characters.

LicenseCode string
SecurityGroupIds List<string>

security group IDs configured to bastionhost

VswitchId string

vSwtich ID configured to bastionhost

Period int

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”.

ResourceGroupId string

The Id of resource group which the Bastionhost Instance belongs. If not set, the resource is created in the default resource group.

Tags Dictionary<string, object>

A mapping of tags to assign to the resource.

Description string

Description of the instance. This name can have a string of 1 to 63 characters.

LicenseCode string
SecurityGroupIds []string

security group IDs configured to bastionhost

VswitchId string

vSwtich ID configured to bastionhost

Period int

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”.

ResourceGroupId string

The Id of resource group which the Bastionhost Instance belongs. If not set, the resource is created in the default resource group.

Tags map[string]interface{}

A mapping of tags to assign to the resource.

description string

Description of the instance. This name can have a string of 1 to 63 characters.

licenseCode string
securityGroupIds string[]

security group IDs configured to bastionhost

vswitchId string

vSwtich ID configured to bastionhost

period number

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”.

resourceGroupId string

The Id of resource group which the Bastionhost Instance belongs. If not set, the resource is created in the default resource group.

tags {[key: string]: any}

A mapping of tags to assign to the resource.

description str

Description of the instance. This name can have a string of 1 to 63 characters.

license_code str
security_group_ids List[str]

security group IDs configured to bastionhost

vswitch_id str

vSwtich ID configured to bastionhost

period float

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”.

resource_group_id str

The Id of resource group which the Bastionhost Instance belongs. If not set, the resource is created in the default resource group.

tags Dict[str, Any]

A mapping of tags to assign to the resource.

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.

Look up an Existing BastionHostInstance Resource

Get an existing BastionHostInstance resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

static get(resource_name, id, opts=None, description=None, license_code=None, period=None, resource_group_id=None, security_group_ids=None, tags=None, vswitch_id=None, __props__=None);
func GetBastionHostInstance(ctx *Context, name string, id IDInput, state *BastionHostInstanceState, opts ...ResourceOption) (*BastionHostInstance, error)
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.

The following state arguments are supported:

Description string

Description of the instance. This name can have a string of 1 to 63 characters.

LicenseCode string
Period int

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”.

ResourceGroupId string

The Id of resource group which the Bastionhost Instance belongs. If not set, the resource is created in the default resource group.

SecurityGroupIds List<string>

security group IDs configured to bastionhost

Tags Dictionary<string, object>

A mapping of tags to assign to the resource.

VswitchId string

vSwtich ID configured to bastionhost

Description string

Description of the instance. This name can have a string of 1 to 63 characters.

LicenseCode string
Period int

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”.

ResourceGroupId string

The Id of resource group which the Bastionhost Instance belongs. If not set, the resource is created in the default resource group.

SecurityGroupIds []string

security group IDs configured to bastionhost

Tags map[string]interface{}

A mapping of tags to assign to the resource.

VswitchId string

vSwtich ID configured to bastionhost

description string

Description of the instance. This name can have a string of 1 to 63 characters.

licenseCode string
period number

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”.

resourceGroupId string

The Id of resource group which the Bastionhost Instance belongs. If not set, the resource is created in the default resource group.

securityGroupIds string[]

security group IDs configured to bastionhost

tags {[key: string]: any}

A mapping of tags to assign to the resource.

vswitchId string

vSwtich ID configured to bastionhost

description str

Description of the instance. This name can have a string of 1 to 63 characters.

license_code str
period float

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”.

resource_group_id str

The Id of resource group which the Bastionhost Instance belongs. If not set, the resource is created in the default resource group.

security_group_ids List[str]

security group IDs configured to bastionhost

tags Dict[str, Any]

A mapping of tags to assign to the resource.

vswitch_id str

vSwtich ID configured to bastionhost

Package Details

Repository
https://github.com/pulumi/pulumi-alicloud
License
Apache-2.0
Notes
This Pulumi package is based on the alicloud Terraform Provider.