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

Providers interface

表示提供程序的接口。

方法

get(string, ProvidersGetOptionalParams)

获取指定的资源提供程序。

getAtTenantScope(string, ProvidersGetAtTenantScopeOptionalParams)

获取租户级别的指定资源提供程序。

list(ProvidersListOptionalParams)

获取订阅的所有资源提供程序。

listAtTenantScope(ProvidersListAtTenantScopeOptionalParams)

获取租户的所有资源提供程序。

providerPermissions(string, ProvidersProviderPermissionsOptionalParams)

获取提供程序权限。

register(string, ProvidersRegisterOptionalParams)

向资源提供程序注册订阅。

registerAtManagementGroupScope(string, string, ProvidersRegisterAtManagementGroupScopeOptionalParams)

向资源提供程序注册管理组。

unregister(string, ProvidersUnregisterOptionalParams)

从资源提供程序取消注册订阅。

方法详细信息

get(string, ProvidersGetOptionalParams)

获取指定的资源提供程序。

function get(resourceProviderNamespace: string, options?: ProvidersGetOptionalParams): Promise<Provider>

参数

resourceProviderNamespace

string

资源提供程序的命名空间。

options
ProvidersGetOptionalParams

选项参数。

返回

Promise<Provider>

getAtTenantScope(string, ProvidersGetAtTenantScopeOptionalParams)

获取租户级别的指定资源提供程序。

function getAtTenantScope(resourceProviderNamespace: string, options?: ProvidersGetAtTenantScopeOptionalParams): Promise<Provider>

参数

resourceProviderNamespace

string

资源提供程序的命名空间。

options
ProvidersGetAtTenantScopeOptionalParams

选项参数。

返回

Promise<Provider>

list(ProvidersListOptionalParams)

获取订阅的所有资源提供程序。

function list(options?: ProvidersListOptionalParams): PagedAsyncIterableIterator<Provider, Provider[], PageSettings>

参数

options
ProvidersListOptionalParams

选项参数。

返回

listAtTenantScope(ProvidersListAtTenantScopeOptionalParams)

获取租户的所有资源提供程序。

function listAtTenantScope(options?: ProvidersListAtTenantScopeOptionalParams): PagedAsyncIterableIterator<Provider, Provider[], PageSettings>

参数

返回

providerPermissions(string, ProvidersProviderPermissionsOptionalParams)

获取提供程序权限。

function providerPermissions(resourceProviderNamespace: string, options?: ProvidersProviderPermissionsOptionalParams): Promise<ProviderPermissionListResult>

参数

resourceProviderNamespace

string

资源提供程序的命名空间。

返回

register(string, ProvidersRegisterOptionalParams)

向资源提供程序注册订阅。

function register(resourceProviderNamespace: string, options?: ProvidersRegisterOptionalParams): Promise<Provider>

参数

resourceProviderNamespace

string

要注册的资源提供程序的命名空间。

options
ProvidersRegisterOptionalParams

选项参数。

返回

Promise<Provider>

registerAtManagementGroupScope(string, string, ProvidersRegisterAtManagementGroupScopeOptionalParams)

向资源提供程序注册管理组。

function registerAtManagementGroupScope(resourceProviderNamespace: string, groupId: string, options?: ProvidersRegisterAtManagementGroupScopeOptionalParams): Promise<void>

参数

resourceProviderNamespace

string

要注册的资源提供程序的命名空间。

groupId

string

管理组 ID。

返回

Promise<void>

unregister(string, ProvidersUnregisterOptionalParams)

从资源提供程序取消注册订阅。

function unregister(resourceProviderNamespace: string, options?: ProvidersUnregisterOptionalParams): Promise<Provider>

参数

resourceProviderNamespace

string

要注销的资源提供程序的命名空间。

options
ProvidersUnregisterOptionalParams

选项参数。

返回

Promise<Provider>