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

CustomDomains interface

表示 CustomDomains 的接口。

方法

beginCreate(string, string, string, string, CustomDomainParameters, CustomDomainsCreateOptionalParams)

在终结点中创建新的自定义域。

beginCreateAndWait(string, string, string, string, CustomDomainParameters, CustomDomainsCreateOptionalParams)

在终结点中创建新的自定义域。

beginDelete(string, string, string, string, CustomDomainsDeleteOptionalParams)

删除终结点中的现有自定义域。

beginDeleteAndWait(string, string, string, string, CustomDomainsDeleteOptionalParams)

删除终结点中的现有自定义域。

beginDisableCustomHttps(string, string, string, string, CustomDomainsDisableCustomHttpsOptionalParams)

禁用自定义域的 https 传递。

beginDisableCustomHttpsAndWait(string, string, string, string, CustomDomainsDisableCustomHttpsOptionalParams)

禁用自定义域的 https 传递。

beginEnableCustomHttps(string, string, string, string, CustomDomainsEnableCustomHttpsOptionalParams)

启用自定义域的 https 传递。

beginEnableCustomHttpsAndWait(string, string, string, string, CustomDomainsEnableCustomHttpsOptionalParams)

启用自定义域的 https 传递。

get(string, string, string, string, CustomDomainsGetOptionalParams)

获取终结点中的现有自定义域。

listByEndpoint(string, string, string, CustomDomainsListByEndpointOptionalParams)

列出终结点中的所有现有自定义域。

方法详细信息

beginCreate(string, string, string, string, CustomDomainParameters, CustomDomainsCreateOptionalParams)

在终结点中创建新的自定义域。

function beginCreate(resourceGroupName: string, profileName: string, endpointName: string, customDomainName: string, customDomainProperties: CustomDomainParameters, options?: CustomDomainsCreateOptionalParams): Promise<SimplePollerLike<OperationState<CustomDomain>, CustomDomain>>

参数

resourceGroupName

string

Azure 订阅中资源组的名称。

profileName

string

资源组中唯一的 CDN 配置文件的名称。

endpointName

string

配置文件下全局唯一的终结点的名称。

customDomainName

string

终结点中自定义域的名称。

customDomainProperties
CustomDomainParameters

创建新的自定义域所需的属性。

options
CustomDomainsCreateOptionalParams

选项参数。

返回

Promise<@azure/core-lro.SimplePollerLike<OperationState<CustomDomain>, CustomDomain>>

beginCreateAndWait(string, string, string, string, CustomDomainParameters, CustomDomainsCreateOptionalParams)

在终结点中创建新的自定义域。

function beginCreateAndWait(resourceGroupName: string, profileName: string, endpointName: string, customDomainName: string, customDomainProperties: CustomDomainParameters, options?: CustomDomainsCreateOptionalParams): Promise<CustomDomain>

参数

resourceGroupName

string

Azure 订阅中资源组的名称。

profileName

string

资源组中唯一的 CDN 配置文件的名称。

endpointName

string

配置文件下全局唯一的终结点的名称。

customDomainName

string

终结点中自定义域的名称。

customDomainProperties
CustomDomainParameters

创建新的自定义域所需的属性。

options
CustomDomainsCreateOptionalParams

选项参数。

返回

Promise<CustomDomain>

beginDelete(string, string, string, string, CustomDomainsDeleteOptionalParams)

删除终结点中的现有自定义域。

function beginDelete(resourceGroupName: string, profileName: string, endpointName: string, customDomainName: string, options?: CustomDomainsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

参数

resourceGroupName

string

Azure 订阅中资源组的名称。

profileName

string

资源组中唯一的 CDN 配置文件的名称。

endpointName

string

配置文件下全局唯一的终结点的名称。

customDomainName

string

终结点中自定义域的名称。

options
CustomDomainsDeleteOptionalParams

选项参数。

返回

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait(string, string, string, string, CustomDomainsDeleteOptionalParams)

删除终结点中的现有自定义域。

function beginDeleteAndWait(resourceGroupName: string, profileName: string, endpointName: string, customDomainName: string, options?: CustomDomainsDeleteOptionalParams): Promise<void>

参数

resourceGroupName

string

Azure 订阅中资源组的名称。

profileName

string

资源组中唯一的 CDN 配置文件的名称。

endpointName

string

配置文件下全局唯一的终结点的名称。

customDomainName

string

终结点中自定义域的名称。

options
CustomDomainsDeleteOptionalParams

选项参数。

返回

Promise<void>

beginDisableCustomHttps(string, string, string, string, CustomDomainsDisableCustomHttpsOptionalParams)

禁用自定义域的 https 传递。

function beginDisableCustomHttps(resourceGroupName: string, profileName: string, endpointName: string, customDomainName: string, options?: CustomDomainsDisableCustomHttpsOptionalParams): Promise<SimplePollerLike<OperationState<CustomDomain>, CustomDomain>>

参数

resourceGroupName

string

Azure 订阅中资源组的名称。

profileName

string

资源组中唯一的 CDN 配置文件的名称。

endpointName

string

配置文件下全局唯一的终结点的名称。

customDomainName

string

终结点中自定义域的名称。

返回

Promise<@azure/core-lro.SimplePollerLike<OperationState<CustomDomain>, CustomDomain>>

beginDisableCustomHttpsAndWait(string, string, string, string, CustomDomainsDisableCustomHttpsOptionalParams)

禁用自定义域的 https 传递。

function beginDisableCustomHttpsAndWait(resourceGroupName: string, profileName: string, endpointName: string, customDomainName: string, options?: CustomDomainsDisableCustomHttpsOptionalParams): Promise<CustomDomain>

参数

resourceGroupName

string

Azure 订阅中资源组的名称。

profileName

string

资源组中唯一的 CDN 配置文件的名称。

endpointName

string

配置文件下全局唯一的终结点的名称。

customDomainName

string

终结点中自定义域的名称。

返回

Promise<CustomDomain>

beginEnableCustomHttps(string, string, string, string, CustomDomainsEnableCustomHttpsOptionalParams)

启用自定义域的 https 传递。

function beginEnableCustomHttps(resourceGroupName: string, profileName: string, endpointName: string, customDomainName: string, options?: CustomDomainsEnableCustomHttpsOptionalParams): Promise<SimplePollerLike<OperationState<CustomDomain>, CustomDomain>>

参数

resourceGroupName

string

Azure 订阅中资源组的名称。

profileName

string

资源组中唯一的 CDN 配置文件的名称。

endpointName

string

配置文件下全局唯一的终结点的名称。

customDomainName

string

终结点中自定义域的名称。

返回

Promise<@azure/core-lro.SimplePollerLike<OperationState<CustomDomain>, CustomDomain>>

beginEnableCustomHttpsAndWait(string, string, string, string, CustomDomainsEnableCustomHttpsOptionalParams)

启用自定义域的 https 传递。

function beginEnableCustomHttpsAndWait(resourceGroupName: string, profileName: string, endpointName: string, customDomainName: string, options?: CustomDomainsEnableCustomHttpsOptionalParams): Promise<CustomDomain>

参数

resourceGroupName

string

Azure 订阅中资源组的名称。

profileName

string

资源组中唯一的 CDN 配置文件的名称。

endpointName

string

配置文件下全局唯一的终结点的名称。

customDomainName

string

终结点中自定义域的名称。

返回

Promise<CustomDomain>

get(string, string, string, string, CustomDomainsGetOptionalParams)

获取终结点中的现有自定义域。

function get(resourceGroupName: string, profileName: string, endpointName: string, customDomainName: string, options?: CustomDomainsGetOptionalParams): Promise<CustomDomain>

参数

resourceGroupName

string

Azure 订阅中资源组的名称。

profileName

string

资源组中唯一的 CDN 配置文件的名称。

endpointName

string

配置文件下全局唯一的终结点的名称。

customDomainName

string

终结点中自定义域的名称。

options
CustomDomainsGetOptionalParams

选项参数。

返回

Promise<CustomDomain>

listByEndpoint(string, string, string, CustomDomainsListByEndpointOptionalParams)

列出终结点中的所有现有自定义域。

function listByEndpoint(resourceGroupName: string, profileName: string, endpointName: string, options?: CustomDomainsListByEndpointOptionalParams): PagedAsyncIterableIterator<CustomDomain, CustomDomain[], PageSettings>

参数

resourceGroupName

string

Azure 订阅中资源组的名称。

profileName

string

资源组中唯一的 CDN 配置文件的名称。

endpointName

string

配置文件下全局唯一的终结点的名称。

返回