Skip to main content

private_link_resources

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

Overview

Nameprivate_link_resources
TypeResource
Idazure.batch.private_link_resources

Fields

The following fields are returned by SELECT queries:

The operation was successful. The response contains the private link resource.

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 link resource.
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, privateLinkResourceNameGets information about the specified private link resource.
list_by_batch_accountselectsubscriptionId, resourceGroupName, accountNamemaxresultsLists all of the private link resources in the specified account.

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.
privateLinkResourceNamestringThe private link resource 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)
maxresultsinteger (int32)The maximum number of items to return in the response.

SELECT examples

Gets information about the specified private link resource.

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