共用方式為


LocationsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

HDInsightContainersMgmtClient's

<xref:locations> attribute.

Inheritance
builtins.object
LocationsOperations

Constructor

LocationsOperations(*args, **kwargs)

Methods

check_name_availability

Check the availability of the resource name.

check_name_availability

Check the availability of the resource name.

async check_name_availability(location: str, name_availability_parameters: _models.NameAvailabilityParameters, *, content_type: str = 'application/json', **kwargs: Any) -> _models.NameAvailabilityResult

Parameters

Name Description
location
Required
str

The name of the Azure region. Required.

name_availability_parameters
Required

The name and type of the resource. Is either a NameAvailabilityParameters type or a IO[bytes] type. Required.

Returns

Type Description

NameAvailabilityResult or the result of cls(response)

Exceptions

Type Description

Attributes

models

models = <module 'azure.mgmt.hdinsightcontainers.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\hdinsightcontainers\\models\\__init__.py'>