ArmNetworkModelFactory.BastionHostIPConfiguration 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.Models.BastionHostIPConfiguration BastionHostIPConfiguration(Azure.Core.ResourceIdentifier id = default, string name = default, string type = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default, Azure.ResourceManager.Network.Models.NetworkIPAllocationMethod? privateIPAllocationMethod = default, Azure.Core.ResourceIdentifier subnetId = default, Azure.Core.ResourceIdentifier publicIPAddressId = default, Azure.ETag? eTag = default);
static member BastionHostIPConfiguration : Azure.Core.ResourceIdentifier * string * string * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> * Nullable<Azure.ResourceManager.Network.Models.NetworkIPAllocationMethod> * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Nullable<Azure.ETag> -> Azure.ResourceManager.Network.Models.BastionHostIPConfiguration
Public Shared Function BastionHostIPConfiguration (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing, Optional privateIPAllocationMethod As Nullable(Of NetworkIPAllocationMethod) = Nothing, Optional subnetId As ResourceIdentifier = Nothing, Optional publicIPAddressId As ResourceIdentifier = Nothing, Optional eTag As Nullable(Of ETag) = Nothing) As BastionHostIPConfiguration
Parameters
Resource ID.
- name
- String
Name of the resource.
- type
- String
Resource type.
- provisioningState
- Nullable<NetworkProvisioningState>
The provisioning state of the bastion host IP configuration resource.
- privateIPAllocationMethod
- Nullable<NetworkIPAllocationMethod>
Private IP allocation method.
- subnetId
- ResourceIdentifier
Resource ID.
- publicIPAddressId
- ResourceIdentifier
Resource ID.
Returns
A new BastionHostIPConfiguration instance for mocking.