PrivateLinkResourcesOperations Class

PrivateLinkResourcesOperations operations.

You should not instantiate this class directly. Instead, you should create a Client instance that instantiates it for you and attaches it as an attribute.

Inheritance
builtins.object
PrivateLinkResourcesOperations

Constructor

PrivateLinkResourcesOperations(client, config, serializer, deserializer)

Parameters

client
Required

Client for service requests.

config
Required

Configuration of service client.

serializer
Required

An object model serializer.

deserializer
Required

An object model deserializer.

Variables

models

Alias to model classes used in this operation group.

Methods

get

Gets the specific private link resource.

list_by_cluster

Lists the private link resources in a HDInsight cluster.

get

Gets the specific private link resource.

get(resource_group_name: str, cluster_name: str, private_link_resource_name: str, **kwargs: Any) -> _models.PrivateLinkResource

Parameters

resource_group_name
str
Required

The name of the resource group.

cluster_name
str
Required

The name of the cluster.

private_link_resource_name
str
Required

The name of the private link resource.

cls
callable

A custom type or function that will be passed the direct response

Returns

PrivateLinkResource, or the result of cls(response)

Return type

Exceptions

list_by_cluster

Lists the private link resources in a HDInsight cluster.

list_by_cluster(resource_group_name: str, cluster_name: str, **kwargs: Any) -> _models.PrivateLinkResourceListResult

Parameters

resource_group_name
str
Required

The name of the resource group.

cluster_name
str
Required

The name of the cluster.

cls
callable

A custom type or function that will be passed the direct response

Returns

PrivateLinkResourceListResult, or the result of cls(response)

Return type

Exceptions

Attributes

models

models = <module 'azure.mgmt.hdinsight.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\hdinsight\\models\\__init__.py'>