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

IDefinition 接口

定义

需要实现的所有定义的容器接口。

public interface IDefinition : Microsoft.Azure.Management.AppService.Fluent.AppServiceDomain.Definition.IBlank, Microsoft.Azure.Management.AppService.Fluent.AppServiceDomain.Definition.IWithCreate, Microsoft.Azure.Management.AppService.Fluent.AppServiceDomain.Definition.IWithRegistrantContact, Microsoft.Azure.Management.ResourceManager.Fluent.Core.GroupableResource.Definition.IWithExistingResourceGroup<Microsoft.Azure.Management.AppService.Fluent.AppServiceDomain.Definition.IWithRegistrantContact>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.Resource.Definition.IDefinitionWithTags<Microsoft.Azure.Management.AppService.Fluent.AppServiceDomain.Definition.IWithCreate>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.AppService.Fluent.IAppServiceDomain>
type IDefinition = interface
    interface IBlank
    interface IWithExistingResourceGroup<IWithRegistrantContact>
    interface IWithAdminContact
    interface IWithBillingContact
    interface IWithRegistrantContact
    interface IWithTechContact
    interface IWithCreate
    interface IWithDomainPrivacy
    interface IWithAutoRenew
    interface ICreatable<IAppServiceDomain>
    interface IIndexable
    interface IDefinitionWithTags<IWithCreate>
Public Interface IDefinition
Implements IBlank, ICreatable(Of IAppServiceDomain), IDefinitionWithTags(Of IWithCreate), IWithCreate, IWithExistingResourceGroup(Of IWithRegistrantContact), IWithRegistrantContact
实现

属性

Key

需要实现的所有定义的容器接口。

(继承自 IIndexable)
Name

获取可创建资源的名称。

(继承自 ICreatable<T>)

方法

Create()

执行创建请求。

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

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

(继承自 ICreatable<T>)
DefineRegistrantContact()

启动新域联系人的定义。

(继承自 IWithRegistrantContact)
WithAdminContact(Contact)

指定管理员联系人。

(继承自 IWithAdminContact)
WithAutoRenewEnabled(Boolean)

指定域即将过期时是否应自动续订。

(继承自 IWithAutoRenew)
WithBillingContact(Contact)

指定计费联系人。

(继承自 IWithBillingContact)
WithDomainPrivacyEnabled(Boolean)

指定是否公开注册联系人信息。 如果启用了域隐私,则不会公开提供联系信息。

(继承自 IWithDomainPrivacy)
WithExistingResourceGroup(IResourceGroup)

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

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

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

(继承自 IWithExistingResourceGroup<T>)
WithRegistrantContact(Contact)

指定注册联系人。 默认情况下,这也是管理员、计费和技术联系人。

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

将标记添加到资源。

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

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

(继承自 IDefinitionWithTags<T>)
WithTechContact(Contact)

指定技术联系人。

(继承自 IWithTechContact)

适用于