provider_resource_types
Creates, updates, deletes, gets or lists a provider_resource_types
resource.
Overview
Name | provider_resource_types |
Type | Resource |
Id | azure.resources.provider_resource_types |
Fields
The following fields are returned by SELECT
queries:
- list
OK - Returns resource types information for the resource provider.
Name | Datatype | Description |
---|---|---|
aliases | array | The aliases that are supported by this resource type. |
apiProfiles | array | The API profiles for the resource provider. |
apiVersions | array | The API version. |
capabilities | string | The additional capabilities offered by this resource type. |
defaultApiVersion | string | The default API version. |
locationMappings | array | The location mappings that are supported by this resource type. |
locations | array | The collection of locations where this resource type can be created. |
properties | object | The properties. |
resourceType | string | The resource type. |
zoneMappings | array |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
list | select | resourceProviderNamespace , subscriptionId | $expand | List 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.
Name | Datatype | Description |
---|---|---|
resourceProviderNamespace | string | The namespace of the resource provider. |
subscriptionId | string (uuid) | The ID of the target subscription. The value must be an UUID. |
$expand | string | The $expand query parameter. For example, to include property aliases in response, use $expand=resourceTypes/aliases. |
SELECT
examples
- list
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 }}'
;