Skip to main content

providers_at_tenant_scopes

Creates, updates, deletes, gets or lists a providers_at_tenant_scopes resource.

Overview

Nameproviders_at_tenant_scopes
TypeResource
Idazure.resources.providers_at_tenant_scopes

Fields

The following fields are returned by SELECT queries:

OK - Returns information about the resource provider.

NameDatatypeDescription
idstringThe provider ID.
namespacestringThe namespace of the resource provider.
providerAuthorizationConsentStatestringThe provider authorization consent state.
registrationPolicystringThe registration policy of the resource provider.
registrationStatestringThe registration state of the resource provider.
resourceTypesarrayThe collection of provider resource types.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresourceProviderNamespace$expandGets the specified resource provider at the tenant level.
listselect$expandGets 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.

NameDatatypeDescription
resourceProviderNamespacestringThe namespace of the resource provider.
$expandstringThe 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

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 }}'
;