Skip to main content

provider_resource_types

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

Overview

Nameprovider_resource_types
TypeResource
Idazure.resources.provider_resource_types

Fields

The following fields are returned by SELECT queries:

OK - Returns resource types information for the resource provider.

NameDatatypeDescription
aliasesarrayThe aliases that are supported by this resource type.
apiProfilesarrayThe API profiles for the resource provider.
apiVersionsarrayThe API version.
capabilitiesstringThe additional capabilities offered by this resource type.
defaultApiVersionstringThe default API version.
locationMappingsarrayThe location mappings that are supported by this resource type.
locationsarrayThe collection of locations where this resource type can be created.
propertiesobjectThe properties.
resourceTypestringThe resource type.
zoneMappingsarray

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectresourceProviderNamespace, subscriptionId$expandList the resource types for a specified resource provider.

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.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.
$expandstringThe $expand query parameter. For example, to include property aliases in response, use $expand=resourceTypes/aliases.

SELECT examples

List the resource types for a specified resource provider.

SELECT
aliases,
apiProfiles,
apiVersions,
capabilities,
defaultApiVersion,
locationMappings,
locations,
properties,
resourceType,
zoneMappings
FROM azure.resources.provider_resource_types
WHERE resourceProviderNamespace = '{{ resourceProviderNamespace }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND $expand = '{{ $expand }}'
;