Skip to main content

hybrid_identity_metadata

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

Overview

Namehybrid_identity_metadata
TypeResource
Idazure.hybrid_container_service.hybrid_identity_metadata

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}".
namestringThe name of the resource.
provisioningStatestringProvisioning state of the resource. Known values are: "Succeeded", "Failed", "Canceled", "Pending", "Creating", "Deleting", "Updating", "Upgrading", and "Accepted".
publicKeystringOnboarding public key for provisioning the Managed identity for the connected cluster.
resourceUidstringUnique id of the parent provisioned cluster resource.
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
getselectconnected_cluster_resource_uriGet the hybrid identity metadata resource. Get the hybrid identity metadata proxy resource.
deletedeleteconnected_cluster_resource_uriDeletes the hybrid identity metadata resource. Deletes the hybrid identity metadata proxy resource.
putexecconnected_cluster_resource_uri, propertiesCreates the hybrid identity metadata resource. Creates the hybrid identity metadata proxy resource that facilitates the managed identity provisioning.
list_by_clusterexecconnected_cluster_resource_uriLists the hybrid identity metadata resources in a provisioned cluster instance. Lists the hybrid identity metadata proxy resource in a provisioned cluster instance.

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
connected_cluster_resource_uristringThe fully qualified Azure Resource Manager identifier of the connected cluster resource. Required.

SELECT examples

Get the hybrid identity metadata resource. Get the hybrid identity metadata proxy resource.

SELECT
id,
name,
provisioningState,
publicKey,
resourceUid,
systemData,
type
FROM azure.hybrid_container_service.hybrid_identity_metadata
WHERE connected_cluster_resource_uri = '{{ connected_cluster_resource_uri }}' -- required
;

DELETE examples

Deletes the hybrid identity metadata resource. Deletes the hybrid identity metadata proxy resource.

DELETE FROM azure.hybrid_container_service.hybrid_identity_metadata
WHERE connected_cluster_resource_uri = '{{ connected_cluster_resource_uri }}' --required
;

Lifecycle Methods

Creates the hybrid identity metadata resource. Creates the hybrid identity metadata proxy resource that facilitates the managed identity provisioning.

EXEC azure.hybrid_container_service.hybrid_identity_metadata.put 
@connected_cluster_resource_uri='{{ connected_cluster_resource_uri }}' --required
@@json=
'{
"properties": "{{ properties }}"
}'
;