alicloud.bastionhost.Instance
Import
Yundun_bastionhost instance can be imported using the id, e.g.
$ pulumi import alicloud:bastionhost/instance:Instance example bastionhost-exampe123456
Create Instance Resource
new Instance(name: string, args: InstanceArgs, opts?: CustomResourceOptions);
@overload
def Instance(resource_name: str,
opts: Optional[ResourceOptions] = None,
ad_auth_servers: Optional[Sequence[InstanceAdAuthServerArgs]] = None,
bandwidth: Optional[str] = None,
description: Optional[str] = None,
enable_public_access: Optional[bool] = None,
ldap_auth_servers: Optional[Sequence[InstanceLdapAuthServerArgs]] = None,
license_code: Optional[str] = None,
period: Optional[int] = None,
plan_code: Optional[str] = None,
renew_period: Optional[int] = None,
renewal_period_unit: Optional[str] = None,
renewal_status: Optional[str] = None,
resource_group_id: Optional[str] = None,
security_group_ids: Optional[Sequence[str]] = None,
storage: Optional[str] = None,
tags: Optional[Mapping[str, Any]] = None,
vswitch_id: Optional[str] = None)
@overload
def Instance(resource_name: str,
args: InstanceArgs,
opts: Optional[ResourceOptions] = None)
func NewInstance(ctx *Context, name string, args InstanceArgs, opts ...ResourceOption) (*Instance, error)
public Instance(string name, InstanceArgs args, CustomResourceOptions? opts = null)
public Instance(String name, InstanceArgs args)
public Instance(String name, InstanceArgs args, CustomResourceOptions options)
type: alicloud:bastionhost:Instance
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args InstanceArgs
- 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 InstanceArgs
- 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 InstanceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args InstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args InstanceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Instance 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 Instance resource accepts the following input properties:
- Bandwidth string
The bandwidth of Cloud Bastionhost instance. Valid values: 0 to 500. Unit: Mbit/s.
- Description string
Description of the instance. This name can have a string of 1 to 63 characters.
- License
Code string The package type of Cloud Bastionhost instance. You can query more supported types through the DescribePricingModule.
- Plan
Code string The plan code of Cloud Bastionhost instance. Valid values:
- Security
Group List<string>Ids - Storage string
The storage of Cloud Bastionhost instance. Valid values: 0 to 500. Unit: TB.
- Vswitch
Id string VSwitch ID configured to Bastionhost.
- Ad
Auth List<Pulumi.Servers Ali Cloud. Bastion Host. Inputs. Instance Ad Auth Server Args> The AD auth server of the Instance. See the following
Block ad_auth_server
.- Enable
Public boolAccess Whether to Enable the public internet access to a specified Bastionhost instance. The valid values:
true
,false
.- Ldap
Auth List<Pulumi.Servers Ali Cloud. Bastion Host. Inputs. Instance Ldap Auth Server Args> The LDAP auth server of the Instance. See the following
Block ldap_auth_server
.- Period int
- Renew
Period int Automatic renewal period. Valid values:
1
to9
,12
,24
,36
. NOTE: Therenew_period
is required under the condition thatrenewal_status
isAutoRenewal
. From version 1.193.0,renew_period
can be modified.- Renewal
Period stringUnit The unit of the auto-renewal period. Valid values: NOTE: The
renewal_period_unit
is required under the condition thatrenewal_status
isAutoRenewal
.- Renewal
Status string Automatic renewal status. Valid values:
AutoRenewal
,ManualRenewal
,NotRenewal
. From version 1.193.0,renewal_status
can be modified.- Resource
Group stringId The Id of resource group which the Bastionhost Instance belongs. If not set, the resource is created in the default resource group.
- Dictionary<string, object>
A mapping of tags to assign to the resource.
- Bandwidth string
The bandwidth of Cloud Bastionhost instance. Valid values: 0 to 500. Unit: Mbit/s.
- Description string
Description of the instance. This name can have a string of 1 to 63 characters.
- License
Code string The package type of Cloud Bastionhost instance. You can query more supported types through the DescribePricingModule.
- Plan
Code string The plan code of Cloud Bastionhost instance. Valid values:
- Security
Group []stringIds - Storage string
The storage of Cloud Bastionhost instance. Valid values: 0 to 500. Unit: TB.
- Vswitch
Id string VSwitch ID configured to Bastionhost.
- Ad
Auth []InstanceServers Ad Auth Server Args The AD auth server of the Instance. See the following
Block ad_auth_server
.- Enable
Public boolAccess Whether to Enable the public internet access to a specified Bastionhost instance. The valid values:
true
,false
.- Ldap
Auth []InstanceServers Ldap Auth Server Args The LDAP auth server of the Instance. See the following
Block ldap_auth_server
.- Period int
- Renew
Period int Automatic renewal period. Valid values:
1
to9
,12
,24
,36
. NOTE: Therenew_period
is required under the condition thatrenewal_status
isAutoRenewal
. From version 1.193.0,renew_period
can be modified.- Renewal
Period stringUnit The unit of the auto-renewal period. Valid values: NOTE: The
renewal_period_unit
is required under the condition thatrenewal_status
isAutoRenewal
.- Renewal
Status string Automatic renewal status. Valid values:
AutoRenewal
,ManualRenewal
,NotRenewal
. From version 1.193.0,renewal_status
can be modified.- Resource
Group stringId The Id of resource group which the Bastionhost Instance belongs. If not set, the resource is created in the default resource group.
- map[string]interface{}
A mapping of tags to assign to the resource.
- bandwidth String
The bandwidth of Cloud Bastionhost instance. Valid values: 0 to 500. Unit: Mbit/s.
- description String
Description of the instance. This name can have a string of 1 to 63 characters.
- license
Code String The package type of Cloud Bastionhost instance. You can query more supported types through the DescribePricingModule.
- plan
Code String The plan code of Cloud Bastionhost instance. Valid values:
- security
Group List<String>Ids - storage String
The storage of Cloud Bastionhost instance. Valid values: 0 to 500. Unit: TB.
- vswitch
Id String VSwitch ID configured to Bastionhost.
- ad
Auth List<InstanceServers Ad Auth Server Args> The AD auth server of the Instance. See the following
Block ad_auth_server
.- enable
Public BooleanAccess Whether to Enable the public internet access to a specified Bastionhost instance. The valid values:
true
,false
.- ldap
Auth List<InstanceServers Ldap Auth Server Args> The LDAP auth server of the Instance. See the following
Block ldap_auth_server
.- period Integer
- renew
Period Integer Automatic renewal period. Valid values:
1
to9
,12
,24
,36
. NOTE: Therenew_period
is required under the condition thatrenewal_status
isAutoRenewal
. From version 1.193.0,renew_period
can be modified.- renewal
Period StringUnit The unit of the auto-renewal period. Valid values: NOTE: The
renewal_period_unit
is required under the condition thatrenewal_status
isAutoRenewal
.- renewal
Status String Automatic renewal status. Valid values:
AutoRenewal
,ManualRenewal
,NotRenewal
. From version 1.193.0,renewal_status
can be modified.- resource
Group StringId The Id of resource group which the Bastionhost Instance belongs. If not set, the resource is created in the default resource group.
- Map<String,Object>
A mapping of tags to assign to the resource.
- bandwidth string
The bandwidth of Cloud Bastionhost instance. Valid values: 0 to 500. Unit: Mbit/s.
- description string
Description of the instance. This name can have a string of 1 to 63 characters.
- license
Code string The package type of Cloud Bastionhost instance. You can query more supported types through the DescribePricingModule.
- plan
Code string The plan code of Cloud Bastionhost instance. Valid values:
- security
Group string[]Ids - storage string
The storage of Cloud Bastionhost instance. Valid values: 0 to 500. Unit: TB.
- vswitch
Id string VSwitch ID configured to Bastionhost.
- ad
Auth InstanceServers Ad Auth Server Args[] The AD auth server of the Instance. See the following
Block ad_auth_server
.- enable
Public booleanAccess Whether to Enable the public internet access to a specified Bastionhost instance. The valid values:
true
,false
.- ldap
Auth InstanceServers Ldap Auth Server Args[] The LDAP auth server of the Instance. See the following
Block ldap_auth_server
.- period number
- renew
Period number Automatic renewal period. Valid values:
1
to9
,12
,24
,36
. NOTE: Therenew_period
is required under the condition thatrenewal_status
isAutoRenewal
. From version 1.193.0,renew_period
can be modified.- renewal
Period stringUnit The unit of the auto-renewal period. Valid values: NOTE: The
renewal_period_unit
is required under the condition thatrenewal_status
isAutoRenewal
.- renewal
Status string Automatic renewal status. Valid values:
AutoRenewal
,ManualRenewal
,NotRenewal
. From version 1.193.0,renewal_status
can be modified.- resource
Group stringId The Id of resource group which the Bastionhost Instance belongs. If not set, the resource is created in the default resource group.
- {[key: string]: any}
A mapping of tags to assign to the resource.
- bandwidth str
The bandwidth of Cloud Bastionhost instance. Valid values: 0 to 500. Unit: Mbit/s.
- description str
Description of the instance. This name can have a string of 1 to 63 characters.
- license_
code str The package type of Cloud Bastionhost instance. You can query more supported types through the DescribePricingModule.
- plan_
code str The plan code of Cloud Bastionhost instance. Valid values:
- security_
group_ Sequence[str]ids - storage str
The storage of Cloud Bastionhost instance. Valid values: 0 to 500. Unit: TB.
- vswitch_
id str VSwitch ID configured to Bastionhost.
- ad_
auth_ Sequence[Instanceservers Ad Auth Server Args] The AD auth server of the Instance. See the following
Block ad_auth_server
.- enable_
public_ boolaccess Whether to Enable the public internet access to a specified Bastionhost instance. The valid values:
true
,false
.- ldap_
auth_ Sequence[Instanceservers Ldap Auth Server Args] The LDAP auth server of the Instance. See the following
Block ldap_auth_server
.- period int
- renew_
period int Automatic renewal period. Valid values:
1
to9
,12
,24
,36
. NOTE: Therenew_period
is required under the condition thatrenewal_status
isAutoRenewal
. From version 1.193.0,renew_period
can be modified.- renewal_
period_ strunit The unit of the auto-renewal period. Valid values: NOTE: The
renewal_period_unit
is required under the condition thatrenewal_status
isAutoRenewal
.- renewal_
status str Automatic renewal status. Valid values:
AutoRenewal
,ManualRenewal
,NotRenewal
. From version 1.193.0,renewal_status
can be modified.- resource_
group_ strid The Id of resource group which the Bastionhost Instance belongs. If not set, the resource is created in the default resource group.
- Mapping[str, Any]
A mapping of tags to assign to the resource.
- bandwidth String
The bandwidth of Cloud Bastionhost instance. Valid values: 0 to 500. Unit: Mbit/s.
- description String
Description of the instance. This name can have a string of 1 to 63 characters.
- license
Code String The package type of Cloud Bastionhost instance. You can query more supported types through the DescribePricingModule.
- plan
Code String The plan code of Cloud Bastionhost instance. Valid values:
- security
Group List<String>Ids - storage String
The storage of Cloud Bastionhost instance. Valid values: 0 to 500. Unit: TB.
- vswitch
Id String VSwitch ID configured to Bastionhost.
- ad
Auth List<Property Map>Servers The AD auth server of the Instance. See the following
Block ad_auth_server
.- enable
Public BooleanAccess Whether to Enable the public internet access to a specified Bastionhost instance. The valid values:
true
,false
.- ldap
Auth List<Property Map>Servers The LDAP auth server of the Instance. See the following
Block ldap_auth_server
.- period Number
- renew
Period Number Automatic renewal period. Valid values:
1
to9
,12
,24
,36
. NOTE: Therenew_period
is required under the condition thatrenewal_status
isAutoRenewal
. From version 1.193.0,renew_period
can be modified.- renewal
Period StringUnit The unit of the auto-renewal period. Valid values: NOTE: The
renewal_period_unit
is required under the condition thatrenewal_status
isAutoRenewal
.- renewal
Status String Automatic renewal status. Valid values:
AutoRenewal
,ManualRenewal
,NotRenewal
. From version 1.193.0,renewal_status
can be modified.- resource
Group StringId The Id of resource group which the Bastionhost Instance belongs. If not set, the resource is created in the default resource group.
- Map<Any>
A mapping of tags to assign to the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the Instance 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 string
The provider-assigned unique ID for this managed resource.
- id str
The provider-assigned unique ID for this managed resource.
- id String
The provider-assigned unique ID for this managed resource.
Look up Existing Instance Resource
Get an existing Instance 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?: InstanceState, opts?: CustomResourceOptions): Instance
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
ad_auth_servers: Optional[Sequence[InstanceAdAuthServerArgs]] = None,
bandwidth: Optional[str] = None,
description: Optional[str] = None,
enable_public_access: Optional[bool] = None,
ldap_auth_servers: Optional[Sequence[InstanceLdapAuthServerArgs]] = None,
license_code: Optional[str] = None,
period: Optional[int] = None,
plan_code: Optional[str] = None,
renew_period: Optional[int] = None,
renewal_period_unit: Optional[str] = None,
renewal_status: Optional[str] = None,
resource_group_id: Optional[str] = None,
security_group_ids: Optional[Sequence[str]] = None,
storage: Optional[str] = None,
tags: Optional[Mapping[str, Any]] = None,
vswitch_id: Optional[str] = None) -> Instance
func GetInstance(ctx *Context, name string, id IDInput, state *InstanceState, opts ...ResourceOption) (*Instance, error)
public static Instance Get(string name, Input<string> id, InstanceState? state, CustomResourceOptions? opts = null)
public static Instance get(String name, Output<String> id, InstanceState 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.
- Ad
Auth List<Pulumi.Servers Ali Cloud. Bastion Host. Inputs. Instance Ad Auth Server Args> The AD auth server of the Instance. See the following
Block ad_auth_server
.- Bandwidth string
The bandwidth of Cloud Bastionhost instance. Valid values: 0 to 500. Unit: Mbit/s.
- Description string
Description of the instance. This name can have a string of 1 to 63 characters.
- Enable
Public boolAccess Whether to Enable the public internet access to a specified Bastionhost instance. The valid values:
true
,false
.- Ldap
Auth List<Pulumi.Servers Ali Cloud. Bastion Host. Inputs. Instance Ldap Auth Server Args> The LDAP auth server of the Instance. See the following
Block ldap_auth_server
.- License
Code string The package type of Cloud Bastionhost instance. You can query more supported types through the DescribePricingModule.
- Period int
- Plan
Code string The plan code of Cloud Bastionhost instance. Valid values:
- Renew
Period int Automatic renewal period. Valid values:
1
to9
,12
,24
,36
. NOTE: Therenew_period
is required under the condition thatrenewal_status
isAutoRenewal
. From version 1.193.0,renew_period
can be modified.- Renewal
Period stringUnit The unit of the auto-renewal period. Valid values: NOTE: The
renewal_period_unit
is required under the condition thatrenewal_status
isAutoRenewal
.- Renewal
Status string Automatic renewal status. Valid values:
AutoRenewal
,ManualRenewal
,NotRenewal
. From version 1.193.0,renewal_status
can be modified.- Resource
Group stringId The Id of resource group which the Bastionhost Instance belongs. If not set, the resource is created in the default resource group.
- Security
Group List<string>Ids - Storage string
The storage of Cloud Bastionhost instance. Valid values: 0 to 500. Unit: TB.
- Dictionary<string, object>
A mapping of tags to assign to the resource.
- Vswitch
Id string VSwitch ID configured to Bastionhost.
- Ad
Auth []InstanceServers Ad Auth Server Args The AD auth server of the Instance. See the following
Block ad_auth_server
.- Bandwidth string
The bandwidth of Cloud Bastionhost instance. Valid values: 0 to 500. Unit: Mbit/s.
- Description string
Description of the instance. This name can have a string of 1 to 63 characters.
- Enable
Public boolAccess Whether to Enable the public internet access to a specified Bastionhost instance. The valid values:
true
,false
.- Ldap
Auth []InstanceServers Ldap Auth Server Args The LDAP auth server of the Instance. See the following
Block ldap_auth_server
.- License
Code string The package type of Cloud Bastionhost instance. You can query more supported types through the DescribePricingModule.
- Period int
- Plan
Code string The plan code of Cloud Bastionhost instance. Valid values:
- Renew
Period int Automatic renewal period. Valid values:
1
to9
,12
,24
,36
. NOTE: Therenew_period
is required under the condition thatrenewal_status
isAutoRenewal
. From version 1.193.0,renew_period
can be modified.- Renewal
Period stringUnit The unit of the auto-renewal period. Valid values: NOTE: The
renewal_period_unit
is required under the condition thatrenewal_status
isAutoRenewal
.- Renewal
Status string Automatic renewal status. Valid values:
AutoRenewal
,ManualRenewal
,NotRenewal
. From version 1.193.0,renewal_status
can be modified.- Resource
Group stringId The Id of resource group which the Bastionhost Instance belongs. If not set, the resource is created in the default resource group.
- Security
Group []stringIds - Storage string
The storage of Cloud Bastionhost instance. Valid values: 0 to 500. Unit: TB.
- map[string]interface{}
A mapping of tags to assign to the resource.
- Vswitch
Id string VSwitch ID configured to Bastionhost.
- ad
Auth List<InstanceServers Ad Auth Server Args> The AD auth server of the Instance. See the following
Block ad_auth_server
.- bandwidth String
The bandwidth of Cloud Bastionhost instance. Valid values: 0 to 500. Unit: Mbit/s.
- description String
Description of the instance. This name can have a string of 1 to 63 characters.
- enable
Public BooleanAccess Whether to Enable the public internet access to a specified Bastionhost instance. The valid values:
true
,false
.- ldap
Auth List<InstanceServers Ldap Auth Server Args> The LDAP auth server of the Instance. See the following
Block ldap_auth_server
.- license
Code String The package type of Cloud Bastionhost instance. You can query more supported types through the DescribePricingModule.
- period Integer
- plan
Code String The plan code of Cloud Bastionhost instance. Valid values:
- renew
Period Integer Automatic renewal period. Valid values:
1
to9
,12
,24
,36
. NOTE: Therenew_period
is required under the condition thatrenewal_status
isAutoRenewal
. From version 1.193.0,renew_period
can be modified.- renewal
Period StringUnit The unit of the auto-renewal period. Valid values: NOTE: The
renewal_period_unit
is required under the condition thatrenewal_status
isAutoRenewal
.- renewal
Status String Automatic renewal status. Valid values:
AutoRenewal
,ManualRenewal
,NotRenewal
. From version 1.193.0,renewal_status
can be modified.- resource
Group StringId The Id of resource group which the Bastionhost Instance belongs. If not set, the resource is created in the default resource group.
- security
Group List<String>Ids - storage String
The storage of Cloud Bastionhost instance. Valid values: 0 to 500. Unit: TB.
- Map<String,Object>
A mapping of tags to assign to the resource.
- vswitch
Id String VSwitch ID configured to Bastionhost.
- ad
Auth InstanceServers Ad Auth Server Args[] The AD auth server of the Instance. See the following
Block ad_auth_server
.- bandwidth string
The bandwidth of Cloud Bastionhost instance. Valid values: 0 to 500. Unit: Mbit/s.
- description string
Description of the instance. This name can have a string of 1 to 63 characters.
- enable
Public booleanAccess Whether to Enable the public internet access to a specified Bastionhost instance. The valid values:
true
,false
.- ldap
Auth InstanceServers Ldap Auth Server Args[] The LDAP auth server of the Instance. See the following
Block ldap_auth_server
.- license
Code string The package type of Cloud Bastionhost instance. You can query more supported types through the DescribePricingModule.
- period number
- plan
Code string The plan code of Cloud Bastionhost instance. Valid values:
- renew
Period number Automatic renewal period. Valid values:
1
to9
,12
,24
,36
. NOTE: Therenew_period
is required under the condition thatrenewal_status
isAutoRenewal
. From version 1.193.0,renew_period
can be modified.- renewal
Period stringUnit The unit of the auto-renewal period. Valid values: NOTE: The
renewal_period_unit
is required under the condition thatrenewal_status
isAutoRenewal
.- renewal
Status string Automatic renewal status. Valid values:
AutoRenewal
,ManualRenewal
,NotRenewal
. From version 1.193.0,renewal_status
can be modified.- resource
Group stringId The Id of resource group which the Bastionhost Instance belongs. If not set, the resource is created in the default resource group.
- security
Group string[]Ids - storage string
The storage of Cloud Bastionhost instance. Valid values: 0 to 500. Unit: TB.
- {[key: string]: any}
A mapping of tags to assign to the resource.
- vswitch
Id string VSwitch ID configured to Bastionhost.
- ad_
auth_ Sequence[Instanceservers Ad Auth Server Args] The AD auth server of the Instance. See the following
Block ad_auth_server
.- bandwidth str
The bandwidth of Cloud Bastionhost instance. Valid values: 0 to 500. Unit: Mbit/s.
- description str
Description of the instance. This name can have a string of 1 to 63 characters.
- enable_
public_ boolaccess Whether to Enable the public internet access to a specified Bastionhost instance. The valid values:
true
,false
.- ldap_
auth_ Sequence[Instanceservers Ldap Auth Server Args] The LDAP auth server of the Instance. See the following
Block ldap_auth_server
.- license_
code str The package type of Cloud Bastionhost instance. You can query more supported types through the DescribePricingModule.
- period int
- plan_
code str The plan code of Cloud Bastionhost instance. Valid values:
- renew_
period int Automatic renewal period. Valid values:
1
to9
,12
,24
,36
. NOTE: Therenew_period
is required under the condition thatrenewal_status
isAutoRenewal
. From version 1.193.0,renew_period
can be modified.- renewal_
period_ strunit The unit of the auto-renewal period. Valid values: NOTE: The
renewal_period_unit
is required under the condition thatrenewal_status
isAutoRenewal
.- renewal_
status str Automatic renewal status. Valid values:
AutoRenewal
,ManualRenewal
,NotRenewal
. From version 1.193.0,renewal_status
can be modified.- resource_
group_ strid The Id of resource group which the Bastionhost Instance belongs. If not set, the resource is created in the default resource group.
- security_
group_ Sequence[str]ids - storage str
The storage of Cloud Bastionhost instance. Valid values: 0 to 500. Unit: TB.
- Mapping[str, Any]
A mapping of tags to assign to the resource.
- vswitch_
id str VSwitch ID configured to Bastionhost.
- ad
Auth List<Property Map>Servers The AD auth server of the Instance. See the following
Block ad_auth_server
.- bandwidth String
The bandwidth of Cloud Bastionhost instance. Valid values: 0 to 500. Unit: Mbit/s.
- description String
Description of the instance. This name can have a string of 1 to 63 characters.
- enable
Public BooleanAccess Whether to Enable the public internet access to a specified Bastionhost instance. The valid values:
true
,false
.- ldap
Auth List<Property Map>Servers The LDAP auth server of the Instance. See the following
Block ldap_auth_server
.- license
Code String The package type of Cloud Bastionhost instance. You can query more supported types through the DescribePricingModule.
- period Number
- plan
Code String The plan code of Cloud Bastionhost instance. Valid values:
- renew
Period Number Automatic renewal period. Valid values:
1
to9
,12
,24
,36
. NOTE: Therenew_period
is required under the condition thatrenewal_status
isAutoRenewal
. From version 1.193.0,renew_period
can be modified.- renewal
Period StringUnit The unit of the auto-renewal period. Valid values: NOTE: The
renewal_period_unit
is required under the condition thatrenewal_status
isAutoRenewal
.- renewal
Status String Automatic renewal status. Valid values:
AutoRenewal
,ManualRenewal
,NotRenewal
. From version 1.193.0,renewal_status
can be modified.- resource
Group StringId The Id of resource group which the Bastionhost Instance belongs. If not set, the resource is created in the default resource group.
- security
Group List<String>Ids - storage String
The storage of Cloud Bastionhost instance. Valid values: 0 to 500. Unit: TB.
- Map<Any>
A mapping of tags to assign to the resource.
- vswitch
Id String VSwitch ID configured to Bastionhost.
Supporting Types
InstanceAdAuthServer
- Account string
The username of the account that is used for the AD server.
- Base
Dn string The Base distinguished name (DN).
- Domain string
The domain on the AD server.
- Is
Ssl bool Specifies whether to support SSL.
- Password string
The password of the account that is used for the AD server.
- Port int
The port that is used to access the AD server.
- Server string
The address of the AD server.
- Email
Mapping string The field that is used to indicate the email address of a user on the AD server.
- Filter string
The condition that is used to filter users.
- Mobile
Mapping string The field that is used to indicate the mobile phone number of a user on the AD server.
- Name
Mapping string The field that is used to indicate the name of a user on the AD server.
- Standby
Server string The address of the secondary AD server.
- Account string
The username of the account that is used for the AD server.
- Base
Dn string The Base distinguished name (DN).
- Domain string
The domain on the AD server.
- Is
Ssl bool Specifies whether to support SSL.
- Password string
The password of the account that is used for the AD server.
- Port int
The port that is used to access the AD server.
- Server string
The address of the AD server.
- Email
Mapping string The field that is used to indicate the email address of a user on the AD server.
- Filter string
The condition that is used to filter users.
- Mobile
Mapping string The field that is used to indicate the mobile phone number of a user on the AD server.
- Name
Mapping string The field that is used to indicate the name of a user on the AD server.
- Standby
Server string The address of the secondary AD server.
- account String
The username of the account that is used for the AD server.
- base
Dn String The Base distinguished name (DN).
- domain String
The domain on the AD server.
- is
Ssl Boolean Specifies whether to support SSL.
- password String
The password of the account that is used for the AD server.
- port Integer
The port that is used to access the AD server.
- server String
The address of the AD server.
- email
Mapping String The field that is used to indicate the email address of a user on the AD server.
- filter String
The condition that is used to filter users.
- mobile
Mapping String The field that is used to indicate the mobile phone number of a user on the AD server.
- name
Mapping String The field that is used to indicate the name of a user on the AD server.
- standby
Server String The address of the secondary AD server.
- account string
The username of the account that is used for the AD server.
- base
Dn string The Base distinguished name (DN).
- domain string
The domain on the AD server.
- is
Ssl boolean Specifies whether to support SSL.
- password string
The password of the account that is used for the AD server.
- port number
The port that is used to access the AD server.
- server string
The address of the AD server.
- email
Mapping string The field that is used to indicate the email address of a user on the AD server.
- filter string
The condition that is used to filter users.
- mobile
Mapping string The field that is used to indicate the mobile phone number of a user on the AD server.
- name
Mapping string The field that is used to indicate the name of a user on the AD server.
- standby
Server string The address of the secondary AD server.
- account str
The username of the account that is used for the AD server.
- base_
dn str The Base distinguished name (DN).
- domain str
The domain on the AD server.
- is_
ssl bool Specifies whether to support SSL.
- password str
The password of the account that is used for the AD server.
- port int
The port that is used to access the AD server.
- server str
The address of the AD server.
- email_
mapping str The field that is used to indicate the email address of a user on the AD server.
- filter str
The condition that is used to filter users.
- mobile_
mapping str The field that is used to indicate the mobile phone number of a user on the AD server.
- name_
mapping str The field that is used to indicate the name of a user on the AD server.
- standby_
server str The address of the secondary AD server.
- account String
The username of the account that is used for the AD server.
- base
Dn String The Base distinguished name (DN).
- domain String
The domain on the AD server.
- is
Ssl Boolean Specifies whether to support SSL.
- password String
The password of the account that is used for the AD server.
- port Number
The port that is used to access the AD server.
- server String
The address of the AD server.
- email
Mapping String The field that is used to indicate the email address of a user on the AD server.
- filter String
The condition that is used to filter users.
- mobile
Mapping String The field that is used to indicate the mobile phone number of a user on the AD server.
- name
Mapping String The field that is used to indicate the name of a user on the AD server.
- standby
Server String The address of the secondary AD server.
InstanceLdapAuthServer
- Account string
The username of the account that is used for the AD server.
- Base
Dn string The Base distinguished name (DN).
- Password string
The password of the account that is used for the AD server.
- Port int
The port that is used to access the AD server.
- Server string
The address of the AD server.
- Email
Mapping string The field that is used to indicate the email address of a user on the AD server.
- Filter string
The condition that is used to filter users.
- Is
Ssl bool Specifies whether to support SSL.
- Login
Name stringMapping The field that is used to indicate the logon name of a user on the LDAP server.
- Mobile
Mapping string The field that is used to indicate the mobile phone number of a user on the AD server.
- Name
Mapping string The field that is used to indicate the name of a user on the AD server.
- Standby
Server string The address of the secondary AD server.
- Account string
The username of the account that is used for the AD server.
- Base
Dn string The Base distinguished name (DN).
- Password string
The password of the account that is used for the AD server.
- Port int
The port that is used to access the AD server.
- Server string
The address of the AD server.
- Email
Mapping string The field that is used to indicate the email address of a user on the AD server.
- Filter string
The condition that is used to filter users.
- Is
Ssl bool Specifies whether to support SSL.
- Login
Name stringMapping The field that is used to indicate the logon name of a user on the LDAP server.
- Mobile
Mapping string The field that is used to indicate the mobile phone number of a user on the AD server.
- Name
Mapping string The field that is used to indicate the name of a user on the AD server.
- Standby
Server string The address of the secondary AD server.
- account String
The username of the account that is used for the AD server.
- base
Dn String The Base distinguished name (DN).
- password String
The password of the account that is used for the AD server.
- port Integer
The port that is used to access the AD server.
- server String
The address of the AD server.
- email
Mapping String The field that is used to indicate the email address of a user on the AD server.
- filter String
The condition that is used to filter users.
- is
Ssl Boolean Specifies whether to support SSL.
- login
Name StringMapping The field that is used to indicate the logon name of a user on the LDAP server.
- mobile
Mapping String The field that is used to indicate the mobile phone number of a user on the AD server.
- name
Mapping String The field that is used to indicate the name of a user on the AD server.
- standby
Server String The address of the secondary AD server.
- account string
The username of the account that is used for the AD server.
- base
Dn string The Base distinguished name (DN).
- password string
The password of the account that is used for the AD server.
- port number
The port that is used to access the AD server.
- server string
The address of the AD server.
- email
Mapping string The field that is used to indicate the email address of a user on the AD server.
- filter string
The condition that is used to filter users.
- is
Ssl boolean Specifies whether to support SSL.
- login
Name stringMapping The field that is used to indicate the logon name of a user on the LDAP server.
- mobile
Mapping string The field that is used to indicate the mobile phone number of a user on the AD server.
- name
Mapping string The field that is used to indicate the name of a user on the AD server.
- standby
Server string The address of the secondary AD server.
- account str
The username of the account that is used for the AD server.
- base_
dn str The Base distinguished name (DN).
- password str
The password of the account that is used for the AD server.
- port int
The port that is used to access the AD server.
- server str
The address of the AD server.
- email_
mapping str The field that is used to indicate the email address of a user on the AD server.
- filter str
The condition that is used to filter users.
- is_
ssl bool Specifies whether to support SSL.
- login_
name_ strmapping The field that is used to indicate the logon name of a user on the LDAP server.
- mobile_
mapping str The field that is used to indicate the mobile phone number of a user on the AD server.
- name_
mapping str The field that is used to indicate the name of a user on the AD server.
- standby_
server str The address of the secondary AD server.
- account String
The username of the account that is used for the AD server.
- base
Dn String The Base distinguished name (DN).
- password String
The password of the account that is used for the AD server.
- port Number
The port that is used to access the AD server.
- server String
The address of the AD server.
- email
Mapping String The field that is used to indicate the email address of a user on the AD server.
- filter String
The condition that is used to filter users.
- is
Ssl Boolean Specifies whether to support SSL.
- login
Name StringMapping The field that is used to indicate the logon name of a user on the LDAP server.
- mobile
Mapping String The field that is used to indicate the mobile phone number of a user on the AD server.
- name
Mapping String The field that is used to indicate the name of a user on the AD server.
- standby
Server String The address of the secondary AD server.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
alicloud
Terraform Provider.