Providers interface
Interface representing a Providers.
Methods
get(string, Providers |
Gets the specified resource provider. |
get |
Gets the specified resource provider at the tenant level. |
list(Providers |
Gets all resource providers for a subscription. |
list |
Gets all resource providers for the tenant. |
register(string, Providers |
Registers a subscription with a resource provider. |
unregister(string, Providers |
Unregisters a subscription from a resource provider. |
Method Details
get(string, ProvidersGetOptionalParams)
Gets the specified resource provider.
function get(resourceProviderNamespace: string, options?: ProvidersGetOptionalParams): Promise<Provider>
Parameters
- resourceProviderNamespace
-
string
The namespace of the resource provider.
- options
- ProvidersGetOptionalParams
The options parameters.
Returns
Promise<Provider>
getAtTenantScope(string, ProvidersGetAtTenantScopeOptionalParams)
Gets the specified resource provider at the tenant level.
function getAtTenantScope(resourceProviderNamespace: string, options?: ProvidersGetAtTenantScopeOptionalParams): Promise<Provider>
Parameters
- resourceProviderNamespace
-
string
The namespace of the resource provider.
The options parameters.
Returns
Promise<Provider>
list(ProvidersListOptionalParams)
Gets all resource providers for a subscription.
function list(options?: ProvidersListOptionalParams): PagedAsyncIterableIterator<Provider, Provider[], PageSettings>
Parameters
- options
- ProvidersListOptionalParams
The options parameters.
Returns
listAtTenantScope(ProvidersListAtTenantScopeOptionalParams)
Gets all resource providers for the tenant.
function listAtTenantScope(options?: ProvidersListAtTenantScopeOptionalParams): PagedAsyncIterableIterator<Provider, Provider[], PageSettings>
Parameters
The options parameters.
Returns
register(string, ProvidersRegisterOptionalParams)
Registers a subscription with a resource provider.
function register(resourceProviderNamespace: string, options?: ProvidersRegisterOptionalParams): Promise<Provider>
Parameters
- resourceProviderNamespace
-
string
The namespace of the resource provider to register.
- options
- ProvidersRegisterOptionalParams
The options parameters.
Returns
Promise<Provider>
unregister(string, ProvidersUnregisterOptionalParams)
Unregisters a subscription from a resource provider.
function unregister(resourceProviderNamespace: string, options?: ProvidersUnregisterOptionalParams): Promise<Provider>
Parameters
- resourceProviderNamespace
-
string
The namespace of the resource provider to unregister.
The options parameters.
Returns
Promise<Provider>