Sdílet prostřednictvím


ArmNetworkModelFactory.BastionHostData Method

Definition

Initializes a new instance of BastionHostData.

public static Azure.ResourceManager.Network.BastionHostData BastionHostData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType? resourceType = default, Azure.Core.AzureLocation? location = default, System.Collections.Generic.IDictionary<string,string> tags = default, System.Collections.Generic.IEnumerable<string> zones = default, Azure.ETag? etag = default, Azure.ResourceManager.Network.Models.BastionHostSkuName? skuName = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.BastionHostIPConfiguration> ipConfigurations = default, string dnsName = default, Azure.Core.ResourceIdentifier virtualNetworkId = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.BastionHostIPRule> networkAclsIPRules = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default, int? scaleUnits = default, bool? disableCopyPaste = default, bool? enableFileCopy = default, bool? enableIPConnect = default, bool? enableShareableLink = default, bool? enableTunneling = default, bool? enableKerberos = default, bool? enableSessionRecording = default);
static member BastionHostData : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.Core.AzureLocation> * System.Collections.Generic.IDictionary<string, string> * seq<string> * Nullable<Azure.ETag> * Nullable<Azure.ResourceManager.Network.Models.BastionHostSkuName> * seq<Azure.ResourceManager.Network.Models.BastionHostIPConfiguration> * string * Azure.Core.ResourceIdentifier * seq<Azure.ResourceManager.Network.Models.BastionHostIPRule> * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> * Nullable<int> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> -> Azure.ResourceManager.Network.BastionHostData
Public Shared Function BastionHostData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As Nullable(Of ResourceType) = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional zones As IEnumerable(Of String) = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional skuName As Nullable(Of BastionHostSkuName) = Nothing, Optional ipConfigurations As IEnumerable(Of BastionHostIPConfiguration) = Nothing, Optional dnsName As String = Nothing, Optional virtualNetworkId As ResourceIdentifier = Nothing, Optional networkAclsIPRules As IEnumerable(Of BastionHostIPRule) = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = 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 enableKerberos As Nullable(Of Boolean) = Nothing, Optional enableSessionRecording As Nullable(Of Boolean) = Nothing) As BastionHostData

Parameters

id
ResourceIdentifier

Resource ID.

name
String

Resource name.

resourceType
Nullable<ResourceType>

Resource type.

location
Nullable<AzureLocation>

Resource location.

tags
IDictionary<String,String>

Resource tags.

zones
IEnumerable<String>

A list of availability zones denoting where the resource needs to come from.

etag
Nullable<ETag>

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

skuName
Nullable<BastionHostSkuName>

The sku of this Bastion Host.

ipConfigurations
IEnumerable<BastionHostIPConfiguration>

IP configuration of the Bastion Host resource.

dnsName
String

FQDN for the endpoint on which bastion host is accessible.

virtualNetworkId
ResourceIdentifier

Reference to an existing virtual network required for Developer Bastion Host only.

networkAclsIPRules
IEnumerable<BastionHostIPRule>
provisioningState
Nullable<NetworkProvisioningState>

The provisioning state of the bastion host resource.

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.

enableKerberos
Nullable<Boolean>

Enable/Disable Kerberos feature of the Bastion Host resource.

enableSessionRecording
Nullable<Boolean>

Enable/Disable Session Recording feature of the Bastion Host resource.

Returns

A new BastionHostData instance for mocking.

Applies to