ArmComputeModelFactory.VirtualMachinePublicIPAddressConfiguration 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.Compute.Models.VirtualMachinePublicIPAddressConfiguration VirtualMachinePublicIPAddressConfiguration(string name = default, int? idleTimeoutInMinutes = default, Azure.ResourceManager.Compute.Models.ComputeDeleteOption? deleteOption = default, Azure.ResourceManager.Compute.Models.VirtualMachinePublicIPAddressDnsSettingsConfiguration dnsSettings = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.Models.VirtualMachineIPTag> ipTags = default, Azure.ResourceManager.Compute.Models.IPVersion? publicIPAddressVersion = default, Azure.ResourceManager.Compute.Models.PublicIPAllocationMethod? publicIPAllocationMethod = default, Azure.Core.ResourceIdentifier publicIPPrefixId = default, Azure.ResourceManager.Compute.Models.ComputePublicIPAddressSku sku = default, System.Collections.Generic.IDictionary<string,string> tags = default);
static member VirtualMachinePublicIPAddressConfiguration : string * Nullable<int> * Nullable<Azure.ResourceManager.Compute.Models.ComputeDeleteOption> * Azure.ResourceManager.Compute.Models.VirtualMachinePublicIPAddressDnsSettingsConfiguration * seq<Azure.ResourceManager.Compute.Models.VirtualMachineIPTag> * Nullable<Azure.ResourceManager.Compute.Models.IPVersion> * Nullable<Azure.ResourceManager.Compute.Models.PublicIPAllocationMethod> * Azure.Core.ResourceIdentifier * Azure.ResourceManager.Compute.Models.ComputePublicIPAddressSku * System.Collections.Generic.IDictionary<string, string> -> Azure.ResourceManager.Compute.Models.VirtualMachinePublicIPAddressConfiguration
Public Shared Function VirtualMachinePublicIPAddressConfiguration (Optional name As String = Nothing, Optional idleTimeoutInMinutes As Nullable(Of Integer) = Nothing, Optional deleteOption As Nullable(Of ComputeDeleteOption) = Nothing, Optional dnsSettings As VirtualMachinePublicIPAddressDnsSettingsConfiguration = Nothing, Optional ipTags As IEnumerable(Of VirtualMachineIPTag) = Nothing, Optional publicIPAddressVersion As Nullable(Of IPVersion) = Nothing, Optional publicIPAllocationMethod As Nullable(Of PublicIPAllocationMethod) = Nothing, Optional publicIPPrefixId As ResourceIdentifier = Nothing, Optional sku As ComputePublicIPAddressSku = Nothing, Optional tags As IDictionary(Of String, String) = Nothing) As VirtualMachinePublicIPAddressConfiguration
Parameters
- name
- String
The publicIP address configuration name.
- deleteOption
- Nullable<ComputeDeleteOption>
Specify what happens to the public IP address when the VM is deleted.
The dns settings to be applied on the publicIP addresses .
- ipTags
- IEnumerable<VirtualMachineIPTag>
The list of IP tags associated with the public IP address.
Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.
- publicIPAllocationMethod
- Nullable<PublicIPAllocationMethod>
Specify the public IP allocation type.
- publicIPPrefixId
- ResourceIdentifier
Resource Id.
Describes the public IP Sku. It can only be set with OrchestrationMode as Flexible.
- tags
- IDictionary<String,String>
Resource tags applied to the publicIP address created by this PublicIPAddressConfiguration.
Returns
A new VirtualMachinePublicIPAddressConfiguration instance for mocking.