Show / Hide Table of Contents

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

Inheritance
System.Object
Resource
CustomResource
BastionHostInstance
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.AliCloud.Yundun
Assembly: Pulumi.AliCloud.dll
Syntax
public class BastionHostInstance : CustomResource

Constructors

View Source

BastionHostInstance(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 Source

Description

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>
View Source

LicenseCode

Declaration
public Output<string> LicenseCode { get; }
Property Value
Type Description
Output<System.String>
View Source

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>>
View Source

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>>
View Source

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>>
View Source

VswitchId

vSwtich ID configured to bastionhost

Declaration
public Output<string> VswitchId { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(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
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.