provider_resource_types
Creates, updates, deletes, gets or lists a provider_resource_types resource.
Overview
| Name | provider_resource_types |
| Type | Resource |
| Id | azure.resource.provider_resource_types |
Fields
The following fields are returned by SELECT queries:
- list
| 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 | :vartype zone_mappings: list[~azure.mgmt.resource.resources.models.ZoneMapping] |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | resource_provider_namespace, subscription_id | $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 |
|---|---|---|
resource_provider_namespace | string | The namespace of the resource provider. Required. |
subscription_id | string | |
$expand | string | The $expand query parameter. Default value is None. |
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.resource.provider_resource_types
WHERE resource_provider_namespace = '{{ resource_provider_namespace }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
AND $expand = '{{ $expand }}'
;