你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

CheckNameAvailabilityOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

MySQLManagementClient's

<xref:check_name_availability> attribute.

Constructor

CheckNameAvailabilityOperations(*args, **kwargs)

Methods

execute

Check the availability of name for server.

execute

Check the availability of name for server.

execute(location_name: str, name_availability_request: _models.NameAvailabilityRequest, *, content_type: str = 'application/json', **kwargs: Any) -> _models.NameAvailability

Parameters

Name Description
location_name
Required
str

The name of the location. Required.

name_availability_request
Required

The required parameters for checking if server name is available. Is either a NameAvailabilityRequest type or a IO[bytes] type. Required.

Returns

Type Description

NameAvailability or the result of cls(response)

Exceptions

Type Description

Attributes

models

models = <module 'azure.mgmt.rdbms.mysql_flexibleservers.models' from 'C:\\ToolCache\\Python\\3.11.9\\x64\\Lib\\site-packages\\py2docfx\\venv\\venv198\\Lib\\site-packages\\azure\\mgmt\\rdbms\\mysql_flexibleservers\\models\\__init__.py'>