Skip to main content

schema_references

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

Overview

Nameschema_references
TypeResource
Idazure.workload_orchestration.schema_references

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
eTagstringIf eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
provisioningStatestringProvisioning state of resource. Known values are: "Succeeded", "Failed", "Canceled", "Initialized", "InProgress", and "Deleting". (Succeeded, Failed, Canceled, Initialized, InProgress, Deleting)
schemaIdstringSchema Id of schema reference. Required.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_uri, schema_reference_nameGet a Schema Reference Resource.
list_by_resource_groupselectresource_uriList by specified resource group.

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
resource_uristringThe fully qualified Azure Resource manager identifier of the resource. Required.
schema_reference_namestringThe name of the SchemaReference. Required.

SELECT examples

Get a Schema Reference Resource.

SELECT
id,
name,
eTag,
provisioningState,
schemaId,
systemData,
type
FROM azure.workload_orchestration.schema_references
WHERE resource_uri = '{{ resource_uri }}' -- required
AND schema_reference_name = '{{ schema_reference_name }}' -- required
;