你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Profiles interface
表示配置文件的接口。
方法
begin |
检查是否可以将 CDN 配置文件迁移到 Azure Frontdoor (标准/高级) 配置文件。 |
begin |
检查是否可以将 CDN 配置文件迁移到 Azure Frontdoor (标准/高级) 配置文件。 |
begin |
使用指定的订阅和资源组下的配置文件名称创建新的 Azure Front Door Standard 或 Azure Front Door Premium 或 CDN 配置文件。 |
begin |
使用指定的订阅和资源组下的配置文件名称创建新的 Azure Front Door Standard 或 Azure Front Door Premium 或 CDN 配置文件。 |
begin |
删除具有指定参数的现有 Azure Front Door Standard 或 Azure Front Door Premium 或 CDN 配置文件。 删除配置文件将导致删除所有子资源,包括终结点、源和自定义域。 |
begin |
删除具有指定参数的现有 Azure Front Door Standard 或 Azure Front Door Premium 或 CDN 配置文件。 删除配置文件将导致删除所有子资源,包括终结点、源和自定义域。 |
begin |
将 CDN 配置文件迁移到 Azure Frontdoor (标准/高级) 配置文件。 需要在此之后提交更改。 |
begin |
将 CDN 配置文件迁移到 Azure Frontdoor (标准/高级) 配置文件。 需要在此之后提交更改。 |
begin |
(标准/高级) 配置文件提交迁移的 Azure Frontdoor。 |
begin |
(标准/高级) 配置文件提交迁移的 Azure Frontdoor。 |
begin |
汇报指定的订阅和资源组下具有指定配置文件名称的现有 Azure Front Door Standard 或 Azure Front Door Premium 或 CDN 配置文件。 |
begin |
汇报指定的订阅和资源组下具有指定配置文件名称的现有 Azure Front Door Standard 或 Azure Front Door Premium 或 CDN 配置文件。 |
generate |
生成用于登录到 CDN 补充门户的动态 SSO URI。 补充门户用于配置Azure 门户中尚未提供的高级功能,例如标准配置文件中的核心报表、规则引擎、高级 HTTP 报表以及高级配置文件中的实时统计信息和警报。 SSO URI 大约每 10 分钟更改一次。 |
get(string, string, Profiles |
获取具有指定配置文件名称的 Azure Front Door Standard 或 Azure Front Door Premium 或 CDN 配置文件,该配置文件位于指定的订阅和资源组下。 |
list(Profiles |
列出 Azure 订阅中的所有 Azure Front Door Standard、Azure Front Door Premium 和 CDN 配置文件。 |
list |
列出资源组中的所有 Azure Front Door Standard、Azure Front Door Premium 和 CDN 配置文件。 |
list |
检查给定的 Azure Front Door Standard 或 Azure Front Door Premium 或 CDN 配置文件下终结点的配额和实际使用情况。 |
list |
获取当前配置文件支持的优化类型。 用户可以根据列出的值创建具有优化类型的终结点。 |
方法详细信息
beginCanMigrate(string, CanMigrateParameters, ProfilesCanMigrateOptionalParams)
检查是否可以将 CDN 配置文件迁移到 Azure Frontdoor (标准/高级) 配置文件。
function beginCanMigrate(resourceGroupName: string, canMigrateParameters: CanMigrateParameters, options?: ProfilesCanMigrateOptionalParams): Promise<SimplePollerLike<OperationState<CanMigrateResult>, CanMigrateResult>>
参数
- resourceGroupName
-
string
Azure 订阅中的资源组的名称。
- canMigrateParameters
- CanMigrateParameters
检查是否可以迁移 cdn 配置文件或经典前门所需的属性。
- options
- ProfilesCanMigrateOptionalParams
选项参数。
返回
Promise<@azure/core-lro.SimplePollerLike<OperationState<CanMigrateResult>, CanMigrateResult>>
beginCanMigrateAndWait(string, CanMigrateParameters, ProfilesCanMigrateOptionalParams)
检查是否可以将 CDN 配置文件迁移到 Azure Frontdoor (标准/高级) 配置文件。
function beginCanMigrateAndWait(resourceGroupName: string, canMigrateParameters: CanMigrateParameters, options?: ProfilesCanMigrateOptionalParams): Promise<CanMigrateResult>
参数
- resourceGroupName
-
string
Azure 订阅中的资源组的名称。
- canMigrateParameters
- CanMigrateParameters
检查是否可以迁移 cdn 配置文件或经典前门所需的属性。
- options
- ProfilesCanMigrateOptionalParams
选项参数。
返回
Promise<CanMigrateResult>
beginCreate(string, string, Profile, ProfilesCreateOptionalParams)
使用指定的订阅和资源组下的配置文件名称创建新的 Azure Front Door Standard 或 Azure Front Door Premium 或 CDN 配置文件。
function beginCreate(resourceGroupName: string, profileName: string, profile: Profile, options?: ProfilesCreateOptionalParams): Promise<SimplePollerLike<OperationState<Profile>, Profile>>
参数
- resourceGroupName
-
string
Azure 订阅中的资源组的名称。
- profileName
-
string
资源组中唯一的 Azure Front Door Standard 或 Azure Front Door Premium 或 CDN 配置文件的名称。
- profile
- Profile
创建新配置文件所需的配置文件属性。
- options
- ProfilesCreateOptionalParams
选项参数。
返回
Promise<@azure/core-lro.SimplePollerLike<OperationState<Profile>, Profile>>
beginCreateAndWait(string, string, Profile, ProfilesCreateOptionalParams)
使用指定的订阅和资源组下的配置文件名称创建新的 Azure Front Door Standard 或 Azure Front Door Premium 或 CDN 配置文件。
function beginCreateAndWait(resourceGroupName: string, profileName: string, profile: Profile, options?: ProfilesCreateOptionalParams): Promise<Profile>
参数
- resourceGroupName
-
string
Azure 订阅中的资源组的名称。
- profileName
-
string
资源组中唯一的 Azure Front Door Standard 或 Azure Front Door Premium 或 CDN 配置文件的名称。
- profile
- Profile
创建新配置文件所需的配置文件属性。
- options
- ProfilesCreateOptionalParams
选项参数。
返回
Promise<Profile>
beginDelete(string, string, ProfilesDeleteOptionalParams)
删除具有指定参数的现有 Azure Front Door Standard 或 Azure Front Door Premium 或 CDN 配置文件。 删除配置文件将导致删除所有子资源,包括终结点、源和自定义域。
function beginDelete(resourceGroupName: string, profileName: string, options?: ProfilesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
参数
- resourceGroupName
-
string
Azure 订阅中的资源组的名称。
- profileName
-
string
资源组中唯一的 Azure Front Door Standard 或 Azure Front Door Premium 或 CDN 配置文件的名称。
- options
- ProfilesDeleteOptionalParams
选项参数。
返回
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait(string, string, ProfilesDeleteOptionalParams)
删除具有指定参数的现有 Azure Front Door Standard 或 Azure Front Door Premium 或 CDN 配置文件。 删除配置文件将导致删除所有子资源,包括终结点、源和自定义域。
function beginDeleteAndWait(resourceGroupName: string, profileName: string, options?: ProfilesDeleteOptionalParams): Promise<void>
参数
- resourceGroupName
-
string
Azure 订阅中的资源组的名称。
- profileName
-
string
资源组中唯一的 Azure Front Door Standard 或 Azure Front Door Premium 或 CDN 配置文件的名称。
- options
- ProfilesDeleteOptionalParams
选项参数。
返回
Promise<void>
beginMigrate(string, MigrationParameters, ProfilesMigrateOptionalParams)
将 CDN 配置文件迁移到 Azure Frontdoor (标准/高级) 配置文件。 需要在此之后提交更改。
function beginMigrate(resourceGroupName: string, migrationParameters: MigrationParameters, options?: ProfilesMigrateOptionalParams): Promise<SimplePollerLike<OperationState<MigrateResult>, MigrateResult>>
参数
- resourceGroupName
-
string
Azure 订阅中的资源组的名称。
- migrationParameters
- MigrationParameters
迁移配置文件所需的属性。
- options
- ProfilesMigrateOptionalParams
选项参数。
返回
Promise<@azure/core-lro.SimplePollerLike<OperationState<MigrateResult>, MigrateResult>>
beginMigrateAndWait(string, MigrationParameters, ProfilesMigrateOptionalParams)
将 CDN 配置文件迁移到 Azure Frontdoor (标准/高级) 配置文件。 需要在此之后提交更改。
function beginMigrateAndWait(resourceGroupName: string, migrationParameters: MigrationParameters, options?: ProfilesMigrateOptionalParams): Promise<MigrateResult>
参数
- resourceGroupName
-
string
Azure 订阅中的资源组的名称。
- migrationParameters
- MigrationParameters
迁移配置文件所需的属性。
- options
- ProfilesMigrateOptionalParams
选项参数。
返回
Promise<MigrateResult>
beginMigrationCommit(string, string, ProfilesMigrationCommitOptionalParams)
(标准/高级) 配置文件提交迁移的 Azure Frontdoor。
function beginMigrationCommit(resourceGroupName: string, profileName: string, options?: ProfilesMigrationCommitOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
参数
- resourceGroupName
-
string
Azure 订阅中的资源组的名称。
- profileName
-
string
资源组中唯一的 CDN 配置文件的名称。
选项参数。
返回
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginMigrationCommitAndWait(string, string, ProfilesMigrationCommitOptionalParams)
(标准/高级) 配置文件提交迁移的 Azure Frontdoor。
function beginMigrationCommitAndWait(resourceGroupName: string, profileName: string, options?: ProfilesMigrationCommitOptionalParams): Promise<void>
参数
- resourceGroupName
-
string
Azure 订阅中的资源组的名称。
- profileName
-
string
资源组中唯一的 CDN 配置文件的名称。
选项参数。
返回
Promise<void>
beginUpdate(string, string, ProfileUpdateParameters, ProfilesUpdateOptionalParams)
汇报指定的订阅和资源组下具有指定配置文件名称的现有 Azure Front Door Standard 或 Azure Front Door Premium 或 CDN 配置文件。
function beginUpdate(resourceGroupName: string, profileName: string, profileUpdateParameters: ProfileUpdateParameters, options?: ProfilesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<Profile>, Profile>>
参数
- resourceGroupName
-
string
Azure 订阅中的资源组的名称。
- profileName
-
string
资源组中唯一的 Azure Front Door Standard 或 Azure Front Door Premium 或 CDN 配置文件的名称。
- profileUpdateParameters
- ProfileUpdateParameters
更新现有配置文件所需的配置文件属性。
- options
- ProfilesUpdateOptionalParams
选项参数。
返回
Promise<@azure/core-lro.SimplePollerLike<OperationState<Profile>, Profile>>
beginUpdateAndWait(string, string, ProfileUpdateParameters, ProfilesUpdateOptionalParams)
汇报指定的订阅和资源组下具有指定配置文件名称的现有 Azure Front Door Standard 或 Azure Front Door Premium 或 CDN 配置文件。
function beginUpdateAndWait(resourceGroupName: string, profileName: string, profileUpdateParameters: ProfileUpdateParameters, options?: ProfilesUpdateOptionalParams): Promise<Profile>
参数
- resourceGroupName
-
string
Azure 订阅中的资源组的名称。
- profileName
-
string
资源组中唯一的 Azure Front Door Standard 或 Azure Front Door Premium 或 CDN 配置文件的名称。
- profileUpdateParameters
- ProfileUpdateParameters
更新现有配置文件所需的配置文件属性。
- options
- ProfilesUpdateOptionalParams
选项参数。
返回
Promise<Profile>
generateSsoUri(string, string, ProfilesGenerateSsoUriOptionalParams)
生成用于登录到 CDN 补充门户的动态 SSO URI。 补充门户用于配置Azure 门户中尚未提供的高级功能,例如标准配置文件中的核心报表、规则引擎、高级 HTTP 报表以及高级配置文件中的实时统计信息和警报。 SSO URI 大约每 10 分钟更改一次。
function generateSsoUri(resourceGroupName: string, profileName: string, options?: ProfilesGenerateSsoUriOptionalParams): Promise<SsoUri>
参数
- resourceGroupName
-
string
Azure 订阅中的资源组的名称。
- profileName
-
string
资源组中唯一的 CDN 配置文件的名称。
选项参数。
返回
Promise<SsoUri>
get(string, string, ProfilesGetOptionalParams)
获取具有指定配置文件名称的 Azure Front Door Standard 或 Azure Front Door Premium 或 CDN 配置文件,该配置文件位于指定的订阅和资源组下。
function get(resourceGroupName: string, profileName: string, options?: ProfilesGetOptionalParams): Promise<Profile>
参数
- resourceGroupName
-
string
Azure 订阅中的资源组的名称。
- profileName
-
string
资源组中唯一的 Azure Front Door Standard 或 Azure Front Door Premium 或 CDN 配置文件的名称。
- options
- ProfilesGetOptionalParams
选项参数。
返回
Promise<Profile>
list(ProfilesListOptionalParams)
列出 Azure 订阅中的所有 Azure Front Door Standard、Azure Front Door Premium 和 CDN 配置文件。
function list(options?: ProfilesListOptionalParams): PagedAsyncIterableIterator<Profile, Profile[], PageSettings>
参数
- options
- ProfilesListOptionalParams
选项参数。
返回
listByResourceGroup(string, ProfilesListByResourceGroupOptionalParams)
列出资源组中的所有 Azure Front Door Standard、Azure Front Door Premium 和 CDN 配置文件。
function listByResourceGroup(resourceGroupName: string, options?: ProfilesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Profile, Profile[], PageSettings>
参数
- resourceGroupName
-
string
Azure 订阅中的资源组的名称。
选项参数。
返回
listResourceUsage(string, string, ProfilesListResourceUsageOptionalParams)
检查给定的 Azure Front Door Standard 或 Azure Front Door Premium 或 CDN 配置文件下终结点的配额和实际使用情况。
function listResourceUsage(resourceGroupName: string, profileName: string, options?: ProfilesListResourceUsageOptionalParams): PagedAsyncIterableIterator<ResourceUsage, ResourceUsage[], PageSettings>
参数
- resourceGroupName
-
string
Azure 订阅中的资源组的名称。
- profileName
-
string
资源组中唯一的 Azure Front Door Standard 或 Azure Front Door Premium 或 CDN 配置文件的名称。
选项参数。
返回
listSupportedOptimizationTypes(string, string, ProfilesListSupportedOptimizationTypesOptionalParams)
获取当前配置文件支持的优化类型。 用户可以根据列出的值创建具有优化类型的终结点。
function listSupportedOptimizationTypes(resourceGroupName: string, profileName: string, options?: ProfilesListSupportedOptimizationTypesOptionalParams): Promise<SupportedOptimizationTypesListResult>
参数
- resourceGroupName
-
string
Azure 订阅中的资源组的名称。
- profileName
-
string
资源组中唯一的 Azure Front Door Standard 或 Azure Front Door Premium 或 CDN 配置文件的名称。
选项参数。
返回
Promise<SupportedOptimizationTypesListResult>