Skip to main content

private_endpoint_connections

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

Overview

Nameprivate_endpoint_connections
TypeResource
Idazure.batch.private_endpoint_connections

Fields

The following fields are returned by SELECT queries:

The operation was successful. The response contains the private endpoint connection.

NameDatatypeDescription
idstringThe ID of the resource.
namestringThe name of the resource.
etagstringThe ETag of the resource, used for concurrency statements.
propertiesobjectThe properties associated with the private endpoint connection.
tagsobjectThe tags of the resource.
typestringThe type of the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, accountName, privateEndpointConnectionNameGets information about the specified private endpoint connection.
list_by_batch_accountselectsubscriptionId, resourceGroupName, accountNamemaxresultsLists all of the private endpoint connections in the specified account.
updateupdatesubscriptionId, resourceGroupName, accountName, privateEndpointConnectionNameIf-MatchUpdates the properties of an existing private endpoint connection.
deletedeletesubscriptionId, resourceGroupName, accountName, privateEndpointConnectionNameDeletes the specified private endpoint connection.

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
accountNamestringThe name of the Batch account.
privateEndpointConnectionNamestringThe private endpoint connection name. This must be unique within the account.
resourceGroupNamestringThe name of the resource group that contains the Batch account.
subscriptionIdstringThe Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)
If-MatchstringThe state (ETag) version of the private endpoint connection to update. This value can be omitted or set to "*" to apply the operation unconditionally.
maxresultsinteger (int32)The maximum number of items to return in the response.

SELECT examples

Gets information about the specified private endpoint connection.

SELECT
id,
name,
etag,
properties,
tags,
type
FROM azure.batch.private_endpoint_connections
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND accountName = '{{ accountName }}' -- required
AND privateEndpointConnectionName = '{{ privateEndpointConnectionName }}' -- required
;

UPDATE examples

Updates the properties of an existing private endpoint connection.

UPDATE azure.batch.private_endpoint_connections
SET
data__properties = '{{ properties }}',
data__tags = '{{ tags }}'
WHERE
subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND accountName = '{{ accountName }}' --required
AND privateEndpointConnectionName = '{{ privateEndpointConnectionName }}' --required
AND If-Match = '{{ If-Match}}'
RETURNING
id,
name,
etag,
properties,
tags,
type;

DELETE examples

Deletes the specified private endpoint connection.

DELETE FROM azure.batch.private_endpoint_connections
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND accountName = '{{ accountName }}' --required
AND privateEndpointConnectionName = '{{ privateEndpointConnectionName }}' --required
;