ArmNetworkModelFactory.BastionHostData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static Azure.ResourceManager.Network.BastionHostData BastionHostData(Azure.Core.ResourceIdentifier id = default, string name = default, string type = default, Azure.Core.AzureLocation? location = default, System.Collections.Generic.IDictionary<string,string> tags = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.BastionHostIPConfiguration> ipConfigurations = default, string dnsName = 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, bool? enablePrivateOnlyBastion = default, Azure.Core.ResourceIdentifier virtualNetworkId = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.BastionHostIPRule> networkAclsIpRules = default, System.Collections.Generic.IEnumerable<string> zones = default, Azure.ETag? eTag = default, Azure.ResourceManager.Network.Models.BastionHostSkuName? skuName = default);
static member BastionHostData : Azure.Core.ResourceIdentifier * string * string * Nullable<Azure.Core.AzureLocation> * System.Collections.Generic.IDictionary<string, string> * seq<Azure.ResourceManager.Network.Models.BastionHostIPConfiguration> * string * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> * Nullable<int> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Azure.Core.ResourceIdentifier * seq<Azure.ResourceManager.Network.Models.BastionHostIPRule> * seq<string> * Nullable<Azure.ETag> * Nullable<Azure.ResourceManager.Network.Models.BastionHostSkuName> -> Azure.ResourceManager.Network.BastionHostData
Public Shared Function BastionHostData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional ipConfigurations As IEnumerable(Of BastionHostIPConfiguration) = Nothing, Optional dnsName As String = 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, Optional enablePrivateOnlyBastion As Nullable(Of Boolean) = Nothing, Optional virtualNetworkId As ResourceIdentifier = Nothing, Optional networkAclsIpRules As IEnumerable(Of BastionHostIPRule) = Nothing, Optional zones As IEnumerable(Of String) = Nothing, Optional eTag As Nullable(Of ETag) = Nothing, Optional skuName As Nullable(Of BastionHostSkuName) = Nothing) As BastionHostData
Parameters
Resource ID.
- name
- String
Resource name.
- type
- String
Resource type.
- location
- Nullable<AzureLocation>
Resource location.
- tags
- IDictionary<String,String>
Resource tags.
- ipConfigurations
- IEnumerable<BastionHostIPConfiguration>
IP configuration of the Bastion Host resource.
- dnsName
- String
FQDN for the endpoint on which bastion host is accessible.
- provisioningState
- Nullable<NetworkProvisioningState>
The provisioning state of the bastion host resource.
Enable/Disable Session Recording feature of the Bastion Host resource.
Enable/Disable Private Only feature of the Bastion Host resource.
- virtualNetworkId
- ResourceIdentifier
Resource ID.
- networkAclsIpRules
- IEnumerable<BastionHostIPRule>
Sets the IP ACL rules for Developer Bastion Host.
- zones
- IEnumerable<String>
A list of availability zones denoting where the resource needs to come from.
- skuName
- Nullable<BastionHostSkuName>
The name of the sku of this Bastion Host.
Returns
A new BastionHostData instance for mocking.