LocationsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

DataLakeStoreAccountManagementClient's

<xref:locations> attribute.

Inheritance
builtins.object
LocationsOperations

Constructor

LocationsOperations(*args, **kwargs)

Methods

get_capability

Gets subscription-level properties and limits for Data Lake Store specified by resource location.

get_usage

Gets the current usage count and the limit for the resources of the location under the subscription.

get_capability

Gets subscription-level properties and limits for Data Lake Store specified by resource location.

async get_capability(location: str, **kwargs: Any) -> CapabilityInformation | None

Parameters

Name Description
location
Required
str

The resource location without whitespace. Required.

Keyword-Only Parameters

Name Description
cls

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

Returns

Type Description

CapabilityInformation or None or the result of cls(response)

Exceptions

Type Description

get_usage

Gets the current usage count and the limit for the resources of the location under the subscription.

get_usage(location: str, **kwargs: Any) -> AsyncIterable[Usage]

Parameters

Name Description
location
Required
str

The resource location without whitespace. Required.

Keyword-Only Parameters

Name Description
cls

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

Returns

Type Description

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

Exceptions

Type Description

Attributes

models

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