你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

PublicIPAddress Class

Definition

Public IP address resource.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.PublicIPAddressTypeConverter))]
public class PublicIPAddress : Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.IPublicIPAddress, Microsoft.Azure.PowerShell.Cmdlets.CloudService.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.PublicIPAddressTypeConverter))>]
type PublicIPAddress = class
    interface IPublicIPAddress
    interface IJsonSerializable
    interface IResource
    interface IValidates
Public Class PublicIPAddress
Implements IPublicIPAddress, IValidates
Inheritance
PublicIPAddress
Attributes
Implements

Constructors

PublicIPAddress()

Creates an new PublicIPAddress instance.

Properties

Etag

A unique read-only string that changes whenever the resource is updated.

ExtendedLocation

The extended location of the public ip address.

Id

Resource ID.

Location

Resource location.

Name

Resource name.

Property

Public IP address properties.

Sku

The public IP address SKU.

Tag

Resource tags.

Type

Resource type.

Zone

A list of availability zones denoting the IP allocated for the resource needs to come from.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of PublicIPAddress.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of PublicIPAddress.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.IPublicIPAddress.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of PublicIPAddress into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to