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.
Initializes a new instance of BastionHostIPConfiguration.
public static Azure.ResourceManager.Network.Models.BastionHostIPConfiguration BastionHostIPConfiguration (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType? resourceType = default, Azure.ETag? etag = default, Azure.Core.ResourceIdentifier subnetId = default, Azure.Core.ResourceIdentifier publicIPAddressId = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default, Azure.ResourceManager.Network.Models.NetworkIPAllocationMethod? privateIPAllocationMethod = default);
static member BastionHostIPConfiguration : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.ETag> * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> * Nullable<Azure.ResourceManager.Network.Models.NetworkIPAllocationMethod> -> Azure.ResourceManager.Network.Models.BastionHostIPConfiguration
Public Shared Function BastionHostIPConfiguration (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As Nullable(Of ResourceType) = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional subnetId As ResourceIdentifier = Nothing, Optional publicIPAddressId As ResourceIdentifier = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing, Optional privateIPAllocationMethod As Nullable(Of NetworkIPAllocationMethod) = Nothing) As BastionHostIPConfiguration
Parameters
Resource ID.
- name
- String
Resource name.
- resourceType
- Nullable<ResourceType>
Resource type.
- subnetId
- ResourceIdentifier
Reference of the subnet resource.
- publicIPAddressId
- ResourceIdentifier
Reference of the PublicIP resource. Null for private only bastion.
- provisioningState
- Nullable<NetworkProvisioningState>
The provisioning state of the bastion host IP configuration resource.
- privateIPAllocationMethod
- Nullable<NetworkIPAllocationMethod>
Private IP allocation method.
Returns
A new BastionHostIPConfiguration instance for mocking.
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for .NET