PrivateLinkScopesOperations Class

PrivateLinkScopesOperations 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
PrivateLinkScopesOperations

Constructor

PrivateLinkScopesOperations(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

begin_delete

Deletes a Azure Arc PrivateLinkScope.

create_or_update

Creates (or updates) a Azure Arc PrivateLinkScope. Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation.

get

Returns a Azure Arc PrivateLinkScope.

get_validation_details

Returns a Azure Arc PrivateLinkScope's validation details.

get_validation_details_for_machine

Returns a Azure Arc PrivateLinkScope's validation details for a given machine.

list

Gets a list of all Azure Arc PrivateLinkScopes within a subscription.

list_by_resource_group

Gets a list of Azure Arc PrivateLinkScopes within a resource group.

update_tags

Updates an existing PrivateLinkScope's tags. To update other fields use the CreateOrUpdate method.

begin_delete

Deletes a Azure Arc PrivateLinkScope.

begin_delete(resource_group_name: str, scope_name: str, **kwargs: Any) -> LROPoller[None]

Parameters

resource_group_name
str
Required

The name of the resource group. The name is case insensitive.

scope_name
str
Required

The name of the Azure Arc PrivateLinkScope resource.

cls
callable

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

continuation_token
str

A continuation token to restart a poller from a saved state.

polling
bool or PollingMethod

Pass in True if you'd like the ARMPolling polling method, False for no polling, or your own initialized polling object for a personal polling strategy.

polling_interval
int

Default waiting time between two polls for LRO operations if no Retry-After header is present.

Returns

An instance of LROPoller that returns either None or the result of cls(response)

Return type

Exceptions

create_or_update

Creates (or updates) a Azure Arc PrivateLinkScope. Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation.

create_or_update(resource_group_name: str, scope_name: str, parameters: _models.HybridComputePrivateLinkScope, **kwargs: Any) -> _models.HybridComputePrivateLinkScope

Parameters

resource_group_name
str
Required

The name of the resource group. The name is case insensitive.

scope_name
str
Required

The name of the Azure Arc PrivateLinkScope resource.

parameters
HybridComputePrivateLinkScope
Required

Properties that need to be specified to create or update a Azure Arc for Servers and Clusters PrivateLinkScope.

cls
callable

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

Returns

HybridComputePrivateLinkScope, or the result of cls(response)

Return type

Exceptions

get

Returns a Azure Arc PrivateLinkScope.

get(resource_group_name: str, scope_name: str, **kwargs: Any) -> _models.HybridComputePrivateLinkScope

Parameters

resource_group_name
str
Required

The name of the resource group. The name is case insensitive.

scope_name
str
Required

The name of the Azure Arc PrivateLinkScope resource.

cls
callable

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

Returns

HybridComputePrivateLinkScope, or the result of cls(response)

Return type

Exceptions

get_validation_details

Returns a Azure Arc PrivateLinkScope's validation details.

get_validation_details(location: str, private_link_scope_id: str, **kwargs: Any) -> _models.PrivateLinkScopeValidationDetails

Parameters

location
str
Required

The location of the target resource.

private_link_scope_id
str
Required

The id (Guid) of the Azure Arc PrivateLinkScope resource.

cls
callable

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

Returns

PrivateLinkScopeValidationDetails, or the result of cls(response)

Return type

Exceptions

get_validation_details_for_machine

Returns a Azure Arc PrivateLinkScope's validation details for a given machine.

get_validation_details_for_machine(resource_group_name: str, machine_name: str, **kwargs: Any) -> _models.PrivateLinkScopeValidationDetails

Parameters

resource_group_name
str
Required

The name of the resource group. The name is case insensitive.

machine_name
str
Required

The name of the target machine to get the private link scope validation details for.

cls
callable

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

Returns

PrivateLinkScopeValidationDetails, or the result of cls(response)

Return type

Exceptions

list

Gets a list of all Azure Arc PrivateLinkScopes within a subscription.

list(**kwargs: Any) -> Iterable[_models.HybridComputePrivateLinkScopeListResult]

Parameters

cls
callable

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

Returns

An iterator like instance of either HybridComputePrivateLinkScopeListResult or the result of cls(response)

Return type

Exceptions

list_by_resource_group

Gets a list of Azure Arc PrivateLinkScopes within a resource group.

list_by_resource_group(resource_group_name: str, **kwargs: Any) -> Iterable[_models.HybridComputePrivateLinkScopeListResult]

Parameters

resource_group_name
str
Required

The name of the resource group. The name is case insensitive.

cls
callable

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

Returns

An iterator like instance of either HybridComputePrivateLinkScopeListResult or the result of cls(response)

Return type

Exceptions

update_tags

Updates an existing PrivateLinkScope's tags. To update other fields use the CreateOrUpdate method.

update_tags(resource_group_name: str, scope_name: str, private_link_scope_tags: _models.TagsResource, **kwargs: Any) -> _models.HybridComputePrivateLinkScope

Parameters

resource_group_name
str
Required

The name of the resource group. The name is case insensitive.

scope_name
str
Required

The name of the Azure Arc PrivateLinkScope resource.

private_link_scope_tags
TagsResource
Required

Updated tag information to set into the PrivateLinkScope instance.

cls
callable

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

Returns

HybridComputePrivateLinkScope, or the result of cls(response)

Return type

Exceptions

Attributes

models

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