Skip to main content

mesh_memberships

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

Overview

Namemesh_memberships
TypeResource
Idazure.container_service.mesh_memberships

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.
managedBystringThe fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.
managedMeshIDstringThe ARM resource id for the managed mesh member. This is of the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppLink/applinks/{appLinkName}/appLinkMembers/{appLinkMemberName}'. Visit https://aka.ms/applink _ for more information. Required.
privateConnectProfileobjectProfile for configuring private connectivity between the mesh control plane and member clusters. When configured, communication between the mesh control plane and this member cluster occurs over private network instead of public networks. Visit https://aka.ms/applink _ for more information.
provisioningStatestringThe current provisioning state of the Mesh Membership. Known values are: "Canceled", "Creating", "Deleting", "Failed", "Succeeded", and "Updating". (Canceled, Creating, Deleting, Failed, Succeeded, Updating)
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_group_name, resource_name, mesh_membership_name, subscription_idGets the mesh membership of a managed cluster.
list_by_managed_clusterselectresource_group_name, resource_name, subscription_idLists mesh memberships in a managed cluster.
create_or_updateinsertresource_group_name, resource_name, mesh_membership_name, subscription_idCreates or updates the mesh membership of a managed cluster.
create_or_updatereplaceresource_group_name, resource_name, mesh_membership_name, subscription_idCreates or updates the mesh membership of a managed cluster.
deletedeleteresource_group_name, resource_name, mesh_membership_name, subscription_idDeletes the mesh membership of a managed cluster.

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
mesh_membership_namestringThe name of the mesh membership. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
resource_namestringThe name of the managed cluster resource. Required.
subscription_idstring

SELECT examples

Gets the mesh membership of a managed cluster.

SELECT
id,
name,
eTag,
managedBy,
managedMeshID,
privateConnectProfile,
provisioningState,
systemData,
type
FROM azure.container_service.mesh_memberships
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND resource_name = '{{ resource_name }}' -- required
AND mesh_membership_name = '{{ mesh_membership_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

INSERT examples

Creates or updates the mesh membership of a managed cluster.

INSERT INTO azure.container_service.mesh_memberships (
properties,
managedBy,
resource_group_name,
resource_name,
mesh_membership_name,
subscription_id
)
SELECT
'{{ properties }}',
'{{ managedBy }}',
'{{ resource_group_name }}',
'{{ resource_name }}',
'{{ mesh_membership_name }}',
'{{ subscription_id }}'
RETURNING
id,
name,
eTag,
managedBy,
properties,
systemData,
type
;

REPLACE examples

Creates or updates the mesh membership of a managed cluster.

REPLACE azure.container_service.mesh_memberships
SET
properties = '{{ properties }}',
managedBy = '{{ managedBy }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND resource_name = '{{ resource_name }}' --required
AND mesh_membership_name = '{{ mesh_membership_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
RETURNING
id,
name,
eTag,
managedBy,
properties,
systemData,
type;

DELETE examples

Deletes the mesh membership of a managed cluster.

DELETE FROM azure.container_service.mesh_memberships
WHERE resource_group_name = '{{ resource_group_name }}' --required
AND resource_name = '{{ resource_name }}' --required
AND mesh_membership_name = '{{ mesh_membership_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
;