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

IDefinition 接口

定义

所有定义的容器接口。

public interface IDefinition : Microsoft.Azure.Management.Network.Fluent.PublicIPAddress.Definition.IBlank, Microsoft.Azure.Management.Network.Fluent.PublicIPAddress.Definition.IWithCreate, Microsoft.Azure.Management.Network.Fluent.PublicIPAddress.Definition.IWithGroup, Microsoft.Azure.Management.ResourceManager.Fluent.Core.GroupableResource.Definition.IWithCreatableResourceGroup<Microsoft.Azure.Management.Network.Fluent.PublicIPAddress.Definition.IWithCreate>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.GroupableResource.Definition.IWithExistingResourceGroup<Microsoft.Azure.Management.Network.Fluent.PublicIPAddress.Definition.IWithCreate>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.GroupableResource.Definition.IWithGroup<Microsoft.Azure.Management.Network.Fluent.PublicIPAddress.Definition.IWithCreate>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.GroupableResource.Definition.IWithNewResourceGroup<Microsoft.Azure.Management.Network.Fluent.PublicIPAddress.Definition.IWithCreate>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta, Microsoft.Azure.Management.ResourceManager.Fluent.Core.Resource.Definition.IDefinitionWithRegion<Microsoft.Azure.Management.Network.Fluent.PublicIPAddress.Definition.IWithGroup>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.Resource.Definition.IDefinitionWithTags<Microsoft.Azure.Management.Network.Fluent.PublicIPAddress.Definition.IWithCreate>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.Network.Fluent.IPublicIPAddress>
type IDefinition = interface
    interface IBlank
    interface IDefinitionWithRegion<IWithGroup>
    interface IWithGroup
    interface IWithGroup<IWithCreate>
    interface IWithExistingResourceGroup<IWithCreate>
    interface IWithNewResourceGroup<IWithCreate>
    interface IWithCreatableResourceGroup<IWithCreate>
    interface IWithCreate
    interface ICreatable<IPublicIPAddress>
    interface IIndexable
    interface IWithLeafDomainLabel
    interface IWithIPAddress
    interface IWithReverseFQDN
    interface IWithIdleTimeout
    interface IWithAvailabilityZone
    interface IBeta
    interface IWithSku
    interface IDefinitionWithTags<IWithCreate>
Public Interface IDefinition
Implements IBeta, IBlank, ICreatable(Of IPublicIPAddress), IDefinitionWithRegion(Of IWithGroup), IDefinitionWithTags(Of IWithCreate), IWithCreatableResourceGroup(Of IWithCreate), IWithCreate, IWithExistingResourceGroup(Of IWithCreate), IWithGroup, IWithGroup(Of IWithCreate), IWithNewResourceGroup(Of IWithCreate)
实现

属性

Key

所有定义的容器接口。

(继承自 IIndexable)
Name

获取可创建资源的名称。

(继承自 ICreatable<T>)

方法

Create()

执行创建请求。

(继承自 ICreatable<T>)
CreateAsync(CancellationToken, Boolean)

将请求放入队列,并允许 HTTP 客户端在系统资源可用时执行该请求。

(继承自 ICreatable<T>)
WithAvailabilityZone(AvailabilityZoneId)

指定 IP 地址的可用性区域。

(继承自 IWithAvailabilityZone)
WithDynamicIP()

启用动态 IP 地址分配。

(继承自 IWithIPAddress)
WithExistingResourceGroup(IResourceGroup)

将资源与现有资源组相关联。

(继承自 IWithExistingResourceGroup<T>)
WithExistingResourceGroup(String)

将资源与现有资源组相关联。

(继承自 IWithExistingResourceGroup<T>)
WithIdleTimeoutInMinutes(Int32)

指定空闲连接) 超时 (分钟数。

(继承自 IWithIdleTimeout)
WithLeafDomainLabel(String)

指定要与此公共 IP 地址关联的叶域标签。 (FQDN) 的完全限定域名将自动构造,方法是将域的其余部分追加到此标签中。

(继承自 IWithLeafDomainLabel)
WithNewResourceGroup()

所有定义的容器接口。

(继承自 IWithNewResourceGroup<T>)
WithNewResourceGroup(ICreatable<IResourceGroup>)

根据指定的定义创建一个新的资源组来放置资源。

(继承自 IWithCreatableResourceGroup<T>)
WithNewResourceGroup(String)

所有定义的容器接口。

(继承自 IWithNewResourceGroup<T>)
WithoutLeafDomainLabel()

确保不使用叶域标签。 这意味着此公共 IP 地址不会与域名相关联。

(继承自 IWithLeafDomainLabel)
WithoutReverseFqdn()

确保不使用反向 FQDN。

(继承自 IWithReverseFQDN)
WithRegion(Region)

指定资源的区域。

(继承自 IDefinitionWithRegion<T>)
WithRegion(String)

按名称指定资源的区域。

(继承自 IDefinitionWithRegion<T>)
WithReverseFqdn(String)

指定要分配给此公共 IP 地址的反向 FQDN。

(继承自 IWithReverseFQDN)
WithSku(PublicIPSkuType)

指定 IP 地址的 SKU。

(继承自 IWithSku)
WithStaticIP()

启用静态 IP 地址分配。 创建公共 IP 地址后,使用 PublicIPAddress.ipAddress () 获取 Azure 为此资源分配的实际 IP 地址。

(继承自 IWithIPAddress)
WithTag(String, String)

将标记添加到资源。

(继承自 IDefinitionWithTags<T>)
WithTags(IDictionary<String,String>)

将资源的标记指定为 {@link Map}。

(继承自 IDefinitionWithTags<T>)

适用于