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.

check_name_availability(location_name: str, parameters: _models.CheckNameAvailabilityInput, *, content_type: str = 'application/json', **kwargs: Any) -> _models.EntityNameAvailabilityCheckOutput

Parameters

Name Description
location_name
Required
str

Location name. Required.

parameters
Required

The request parameters. Is either a model type or a IO type. Required.

Keyword-Only Parameters

Name Description
content_type
str

Body Parameter content-type. Known values are: 'application/json'. Default value is None.

cls

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

Returns

Type Description

EntityNameAvailabilityCheckOutput or the result of cls(response)

Exceptions

Type Description

Attributes

models

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