providers_at_tenant_scopes
Creates, updates, deletes, gets or lists a providers_at_tenant_scopes
resource.
Overview
Name | providers_at_tenant_scopes |
Type | Resource |
Id | azure.resources.providers_at_tenant_scopes |
Fields
The following fields are returned by SELECT
queries:
- get
- list
OK - Returns information about the resource provider.
Name | Datatype | Description |
---|---|---|
id | string | The provider ID. |
namespace | string | The namespace of the resource provider. |
providerAuthorizationConsentState | string | The provider authorization consent state. |
registrationPolicy | string | The registration policy of the resource provider. |
registrationState | string | The registration state of the resource provider. |
resourceTypes | array | The collection of provider resource types. |
OK - Returns an array of resource providers.
Name | Datatype | Description |
---|---|---|
id | string | The provider ID. |
namespace | string | The namespace of the resource provider. |
providerAuthorizationConsentState | string | The provider authorization consent state. |
registrationPolicy | string | The registration policy of the resource provider. |
registrationState | string | The registration state of the resource provider. |
resourceTypes | array | The collection of provider resource types. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | resourceProviderNamespace | $expand | Gets the specified resource provider at the tenant level. |
list | select | $expand | Gets all resource providers for the tenant. |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
resourceProviderNamespace | string | The namespace of the resource provider. |
$expand | string | The properties to include in the results. For example, use &$expand=metadata in the query string to retrieve resource provider metadata. To include property aliases in response, use $expand=resourceTypes/aliases. |
SELECT
examples
- get
- list
Gets the specified resource provider at the tenant level.
SELECT
id,
namespace,
providerAuthorizationConsentState,
registrationPolicy,
registrationState,
resourceTypes
FROM azure.resources.providers_at_tenant_scopes
WHERE resourceProviderNamespace = '{{ resourceProviderNamespace }}' -- required
AND $expand = '{{ $expand }}'
;
Gets all resource providers for the tenant.
SELECT
id,
namespace,
providerAuthorizationConsentState,
registrationPolicy,
registrationState,
resourceTypes
FROM azure.resources.providers_at_tenant_scopes
WHERE $expand = '{{ $expand }}'
;