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, string name, string type, Azure.Core.AzureLocation? location, System.Collections.Generic.IDictionary<string,string> tags, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.BastionHostIPConfiguration> ipConfigurations, string dnsName, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState, int? scaleUnits, bool? disableCopyPaste, bool? enableFileCopy, bool? enableIPConnect, bool? enableShareableLink, bool? enableTunneling, bool? enableKerberos, bool? enableSessionRecording, bool? enablePrivateOnlyBastion, Azure.ResourceManager.Network.Models.BastionSessionRecordingConfiguration sessionRecordingConfiguration, Azure.Core.ResourceIdentifier virtualNetworkId, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.BastionHostIPRule> networkAclsIPRules, System.Collections.Generic.IEnumerable<string> zones, Azure.ETag? eTag, Azure.ResourceManager.Network.Models.BastionHostSkuName? skuName, Azure.ResourceManager.Models.ManagedServiceIdentity identity = 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.ResourceManager.Network.Models.BastionSessionRecordingConfiguration * Azure.Core.ResourceIdentifier * seq<Azure.ResourceManager.Network.Models.BastionHostIPRule> * seq<string> * Nullable<Azure.ETag> * Nullable<Azure.ResourceManager.Network.Models.BastionHostSkuName> * Azure.ResourceManager.Models.ManagedServiceIdentity -> Azure.ResourceManager.Network.BastionHostData
Public Shared Function BastionHostData (id As ResourceIdentifier, name As String, type As String, location As Nullable(Of AzureLocation), tags As IDictionary(Of String, String), ipConfigurations As IEnumerable(Of BastionHostIPConfiguration), dnsName As String, provisioningState As Nullable(Of NetworkProvisioningState), scaleUnits As Nullable(Of Integer), disableCopyPaste As Nullable(Of Boolean), enableFileCopy As Nullable(Of Boolean), enableIPConnect As Nullable(Of Boolean), enableShareableLink As Nullable(Of Boolean), enableTunneling As Nullable(Of Boolean), enableKerberos As Nullable(Of Boolean), enableSessionRecording As Nullable(Of Boolean), enablePrivateOnlyBastion As Nullable(Of Boolean), sessionRecordingConfiguration As BastionSessionRecordingConfiguration, virtualNetworkId As ResourceIdentifier, networkAclsIPRules As IEnumerable(Of BastionHostIPRule), zones As IEnumerable(Of String), eTag As Nullable(Of ETag), skuName As Nullable(Of BastionHostSkuName), Optional identity As ManagedServiceIdentity = 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.
- sessionRecordingConfiguration
- BastionSessionRecordingConfiguration
The storage account and identity to use for session recording.
- 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.
- identity
- ManagedServiceIdentity
The identity assigned to the Bastion Host resource.
Returns
A new BastionHostData instance for mocking.