Share via


BastionHost Constructors

Definition

Overloads

BastionHost()

Initializes a new instance of the BastionHost class.

BastionHost(String, String, String, String, IDictionary<String, String>, IList<BastionHostIPConfiguration>, String, String, Nullable<Int32>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, String, Sku)

Initializes a new instance of the BastionHost class.

BastionHost()

Initializes a new instance of the BastionHost class.

public BastionHost ();
Public Sub New ()

Applies to

BastionHost(String, String, String, String, IDictionary<String, String>, IList<BastionHostIPConfiguration>, String, String, Nullable<Int32>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, String, Sku)

Initializes a new instance of the BastionHost class.

public BastionHost (string id = default, string name = default, string type = default, string location = default, System.Collections.Generic.IDictionary<string,string> tags = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.BastionHostIPConfiguration> ipConfigurations = default, string dnsName = default, string provisioningState = default, int? scaleUnits = default, bool? disableCopyPaste = default, bool? enableFileCopy = default, bool? enableIpConnect = default, bool? enableShareableLink = default, bool? enableTunneling = default, string etag = default, Microsoft.Azure.Management.Network.Models.Sku sku = default);
new Microsoft.Azure.Management.Network.Models.BastionHost : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.BastionHostIPConfiguration> * string * string * Nullable<int> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> * string * Microsoft.Azure.Management.Network.Models.Sku -> Microsoft.Azure.Management.Network.Models.BastionHost
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional location As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional ipConfigurations As IList(Of BastionHostIPConfiguration) = Nothing, Optional dnsName As String = Nothing, Optional provisioningState As String = Nothing, Optional scaleUnits As Nullable(Of Integer) = Nothing, Optional disableCopyPaste As Nullable(Of Boolean) = Nothing, Optional enableFileCopy As Nullable(Of Boolean) = Nothing, Optional enableIpConnect As Nullable(Of Boolean) = Nothing, Optional enableShareableLink As Nullable(Of Boolean) = Nothing, Optional enableTunneling As Nullable(Of Boolean) = Nothing, Optional etag As String = Nothing, Optional sku As Sku = Nothing)

Parameters

id
String

Resource ID.

name
String

Resource name.

type
String

Resource type.

location
String

Resource location.

tags
IDictionary<String,String>

Resource tags.

ipConfigurations
IList<BastionHostIPConfiguration>

IP configuration of the Bastion Host resource.

dnsName
String

FQDN for the endpoint on which bastion host is accessible.

provisioningState
String

The provisioning state of the bastion host resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'

scaleUnits
Nullable<Int32>

The scale units for the Bastion Host resource.

disableCopyPaste
Nullable<Boolean>

Enable/Disable Copy/Paste feature of the Bastion Host resource.

enableFileCopy
Nullable<Boolean>

Enable/Disable File Copy feature of the Bastion Host resource.

enableIpConnect
Nullable<Boolean>

Enable/Disable IP Connect feature of the Bastion Host resource.

enableShareableLink
Nullable<Boolean>

Enable/Disable Shareable Link of the Bastion Host resource.

enableTunneling
Nullable<Boolean>

Enable/Disable Tunneling feature of the Bastion Host resource.

etag
String

A unique read-only string that changes whenever the resource is updated.

sku
Sku

The sku of this Bastion Host.

Applies to