LocationsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

AzureMediaServices's

<xref:locations> attribute.

Inheritance
builtins.object
LocationsOperations

Constructor

LocationsOperations(*args, **kwargs)

Methods

check_name_availability

Check Name Availability.

Checks whether the Media Service resource name is available.

check_name_availability

Check Name Availability.

Checks whether the Media Service resource name is available.

async check_name_availability(location_name: str, parameters: azure.mgmt.media.models._models_py3.CheckNameAvailabilityInput, **kwargs: Any) -> azure.mgmt.media.models._models_py3.EntityNameAvailabilityCheckOutput

Parameters

location_name
str
Required

Location name.

parameters
CheckNameAvailabilityInput
Required

The request parameters.

cls
callable

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

Returns

EntityNameAvailabilityCheckOutput, or the result of cls(response)

Return type

Exceptions

Attributes

models

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