Partager via


IPAddress Class

Definition

IP address for the container group.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.IPAddressTypeConverter))]
public class IPAddress : Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.IIPAddress
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.IPAddressTypeConverter))>]
type IPAddress = class
    interface IIPAddress
    interface IJsonSerializable
Public Class IPAddress
Implements IIPAddress
Inheritance
IPAddress
Attributes
Implements

Constructors

IPAddress()

Creates an new IPAddress instance.

Properties

AutoGeneratedDomainNameLabelScope

The value representing the security enum. The 'Unsecure' value is the default value if not selected and means the object's domain name label is not secured against subdomain takeover. The 'TenantReuse' value is the default value if selected and means the object's domain name label can be reused within the same tenant. The 'SubscriptionReuse' value means the object's domain name label can be reused within the same subscription. The 'ResourceGroupReuse' value means the object's domain name label can be reused within the same resource group. The 'NoReuse' value means the object's domain name label cannot be reused within the same resource group, subscription, or tenant.

DnsNameLabel

The Dns name label for the IP.

Fqdn

The FQDN for the IP.

IP

The IP exposed to the public internet.

Port

The list of ports exposed on the container group.

Type

Specifies if the IP is exposed to the public internet or private VNET.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of IPAddress.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of IPAddress.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.IIPAddress.

FromJsonString(String)

Creates a new instance of IPAddress, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of IPAddress into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to