alicloud logo
Alibaba Cloud v3.34.0, Mar 17 23

alicloud.yundun.BastionHostInstance

Create BastionHostInstance Resource

new BastionHostInstance(name: string, args: BastionHostInstanceArgs, opts?: CustomResourceOptions);
@overload
def BastionHostInstance(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        ad_auth_servers: Optional[Sequence[BastionHostInstanceAdAuthServerArgs]] = None,
                        bandwidth: Optional[str] = None,
                        description: Optional[str] = None,
                        enable_public_access: Optional[bool] = None,
                        ldap_auth_servers: Optional[Sequence[BastionHostInstanceLdapAuthServerArgs]] = None,
                        license_code: Optional[str] = None,
                        period: Optional[int] = None,
                        plan_code: Optional[str] = None,
                        public_white_lists: Optional[Sequence[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 BastionHostInstance(resource_name: str,
                        args: BastionHostInstanceArgs,
                        opts: Optional[ResourceOptions] = None)
func NewBastionHostInstance(ctx *Context, name string, args BastionHostInstanceArgs, opts ...ResourceOption) (*BastionHostInstance, error)
public BastionHostInstance(string name, BastionHostInstanceArgs args, CustomResourceOptions? opts = null)
public BastionHostInstance(String name, BastionHostInstanceArgs args)
public BastionHostInstance(String name, BastionHostInstanceArgs args, CustomResourceOptions options)
type: alicloud:yundun:BastionHostInstance
properties: # The arguments to resource properties.
options: # 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.
resource_name str
The unique name of the resource.
args BastionHostInstanceArgs
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 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.
name String
The unique name of the resource.
args BastionHostInstanceArgs
The arguments to resource properties.
options 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 Architecture and Concepts docs.

Inputs

The BastionHostInstance resource accepts the following input properties:

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 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 BastionHostInstance Resource

Get an existing BastionHostInstance 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?: BastionHostInstanceState, opts?: CustomResourceOptions): BastionHostInstance
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        ad_auth_servers: Optional[Sequence[BastionHostInstanceAdAuthServerArgs]] = None,
        bandwidth: Optional[str] = None,
        description: Optional[str] = None,
        enable_public_access: Optional[bool] = None,
        ldap_auth_servers: Optional[Sequence[BastionHostInstanceLdapAuthServerArgs]] = None,
        license_code: Optional[str] = None,
        period: Optional[int] = None,
        plan_code: Optional[str] = None,
        public_white_lists: Optional[Sequence[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) -> BastionHostInstance
func GetBastionHostInstance(ctx *Context, name string, id IDInput, state *BastionHostInstanceState, opts ...ResourceOption) (*BastionHostInstance, error)
public static BastionHostInstance Get(string name, Input<string> id, BastionHostInstanceState? state, CustomResourceOptions? opts = null)
public static BastionHostInstance get(String name, Output<String> id, BastionHostInstanceState 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.
The following state arguments are supported:

Supporting Types

BastionHostInstanceAdAuthServer

Account string
BaseDn string
Domain string
IsSsl bool
Password string
Port int
Server string
EmailMapping string
Filter string
MobileMapping string
NameMapping string
StandbyServer string
Account string
BaseDn string
Domain string
IsSsl bool
Password string
Port int
Server string
EmailMapping string
Filter string
MobileMapping string
NameMapping string
StandbyServer string
account String
baseDn String
domain String
isSsl Boolean
password String
port Integer
server String
emailMapping String
filter String
mobileMapping String
nameMapping String
standbyServer String
account string
baseDn string
domain string
isSsl boolean
password string
port number
server string
emailMapping string
filter string
mobileMapping string
nameMapping string
standbyServer string
account String
baseDn String
domain String
isSsl Boolean
password String
port Number
server String
emailMapping String
filter String
mobileMapping String
nameMapping String
standbyServer String

BastionHostInstanceLdapAuthServer

Account string
BaseDn string
Password string
Port int
Server string
EmailMapping string
Filter string
IsSsl bool
LoginNameMapping string
MobileMapping string
NameMapping string
StandbyServer string
Account string
BaseDn string
Password string
Port int
Server string
EmailMapping string
Filter string
IsSsl bool
LoginNameMapping string
MobileMapping string
NameMapping string
StandbyServer string
account String
baseDn String
password String
port Integer
server String
emailMapping String
filter String
isSsl Boolean
loginNameMapping String
mobileMapping String
nameMapping String
standbyServer String
account string
baseDn string
password string
port number
server string
emailMapping string
filter string
isSsl boolean
loginNameMapping string
mobileMapping string
nameMapping string
standbyServer string
account String
baseDn String
password String
port Number
server String
emailMapping String
filter String
isSsl Boolean
loginNameMapping String
mobileMapping String
nameMapping String
standbyServer String

Package Details

Repository
Alibaba Cloud pulumi/pulumi-alicloud
License
Apache-2.0
Notes

This Pulumi package is based on the alicloud Terraform Provider.