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

Profiles interface

表示配置文件的接口。

方法

beginCreateOrUpdate(string, string, string, ProfileResourceFormat, ProfilesCreateOrUpdateOptionalParams)

在中心内创建配置文件,或更新现有配置文件。

beginCreateOrUpdateAndWait(string, string, string, ProfileResourceFormat, ProfilesCreateOrUpdateOptionalParams)

在中心内创建配置文件,或更新现有配置文件。

beginDelete(string, string, string, ProfilesDeleteOptionalParams)

删除中心内的配置文件

beginDeleteAndWait(string, string, string, ProfilesDeleteOptionalParams)

删除中心内的配置文件

get(string, string, string, ProfilesGetOptionalParams)

获取有关指定配置文件的信息。

getEnrichingKpis(string, string, string, ProfilesGetEnrichingKpisOptionalParams)

获取扩充由提供的名称标识的配置文件类型的 KPI。 扩充通过交互 KPI 上的交互参与者和配置文件 KPI 的关系进行。

listByHub(string, string, ProfilesListByHubOptionalParams)

获取中心中的所有配置文件。

方法详细信息

beginCreateOrUpdate(string, string, string, ProfileResourceFormat, ProfilesCreateOrUpdateOptionalParams)

在中心内创建配置文件,或更新现有配置文件。

function beginCreateOrUpdate(resourceGroupName: string, hubName: string, profileName: string, parameters: ProfileResourceFormat, options?: ProfilesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<ProfileResourceFormat>, ProfileResourceFormat>>

参数

resourceGroupName

string

资源组的名称。

hubName

string

中心的名称。

profileName

string

配置文件的名称。

parameters
ProfileResourceFormat

提供给创建/删除配置文件类型作的参数

options
ProfilesCreateOrUpdateOptionalParams

选项参数。

返回

Promise<PollerLike<@azure/core-lro.PollOperationState<ProfileResourceFormat>, ProfileResourceFormat>>

beginCreateOrUpdateAndWait(string, string, string, ProfileResourceFormat, ProfilesCreateOrUpdateOptionalParams)

在中心内创建配置文件,或更新现有配置文件。

function beginCreateOrUpdateAndWait(resourceGroupName: string, hubName: string, profileName: string, parameters: ProfileResourceFormat, options?: ProfilesCreateOrUpdateOptionalParams): Promise<ProfileResourceFormat>

参数

resourceGroupName

string

资源组的名称。

hubName

string

中心的名称。

profileName

string

配置文件的名称。

parameters
ProfileResourceFormat

提供给创建/删除配置文件类型作的参数

options
ProfilesCreateOrUpdateOptionalParams

选项参数。

返回

beginDelete(string, string, string, ProfilesDeleteOptionalParams)

删除中心内的配置文件

function beginDelete(resourceGroupName: string, hubName: string, profileName: string, options?: ProfilesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>

参数

resourceGroupName

string

资源组的名称。

hubName

string

中心的名称。

profileName

string

配置文件的名称。

options
ProfilesDeleteOptionalParams

选项参数。

返回

Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>

beginDeleteAndWait(string, string, string, ProfilesDeleteOptionalParams)

删除中心内的配置文件

function beginDeleteAndWait(resourceGroupName: string, hubName: string, profileName: string, options?: ProfilesDeleteOptionalParams): Promise<void>

参数

resourceGroupName

string

资源组的名称。

hubName

string

中心的名称。

profileName

string

配置文件的名称。

options
ProfilesDeleteOptionalParams

选项参数。

返回

Promise<void>

get(string, string, string, ProfilesGetOptionalParams)

获取有关指定配置文件的信息。

function get(resourceGroupName: string, hubName: string, profileName: string, options?: ProfilesGetOptionalParams): Promise<ProfileResourceFormat>

参数

resourceGroupName

string

资源组的名称。

hubName

string

中心的名称。

profileName

string

配置文件的名称。

options
ProfilesGetOptionalParams

选项参数。

返回

getEnrichingKpis(string, string, string, ProfilesGetEnrichingKpisOptionalParams)

获取扩充由提供的名称标识的配置文件类型的 KPI。 扩充通过交互 KPI 上的交互参与者和配置文件 KPI 的关系进行。

function getEnrichingKpis(resourceGroupName: string, hubName: string, profileName: string, options?: ProfilesGetEnrichingKpisOptionalParams): Promise<ProfilesGetEnrichingKpisResponse>

参数

resourceGroupName

string

资源组的名称。

hubName

string

中心的名称。

profileName

string

配置文件的名称。

options
ProfilesGetEnrichingKpisOptionalParams

选项参数。

返回

listByHub(string, string, ProfilesListByHubOptionalParams)

获取中心中的所有配置文件。

function listByHub(resourceGroupName: string, hubName: string, options?: ProfilesListByHubOptionalParams): PagedAsyncIterableIterator<ProfileResourceFormat, ProfileResourceFormat[], PageSettings>

参数

resourceGroupName

string

资源组的名称。

hubName

string

中心的名称。

options
ProfilesListByHubOptionalParams

选项参数。

返回