AccountsOperations Class

AccountsOperations operations.

Inheritance
builtins.object
AccountsOperations

Constructor

AccountsOperations(client, config, serializer, deserializer)

Parameters

client
Required

Client for service requests.

config
Required

Configuration of service client.

serializer
Required

An object model serializer.

deserializer
Required

An object model deserializer.

Variables

api_version

Client Api Version. Constant value: "2016-11-01".

Methods

check_name_availability

Checks whether the specified account name is available or taken.

create

Creates the specified Data Lake Analytics account. This supplies the user with computation services for Data Lake Analytics workloads.

delete

Begins the delete process for the Data Lake Analytics account object specified by the account name.

get

Gets details of the specified Data Lake Analytics account.

list

Gets the first page of Data Lake Analytics accounts, if any, within the current subscription. This includes a link to the next page, if any.

list_by_resource_group

Gets the first page of Data Lake Analytics accounts, if any, within a specific resource group. This includes a link to the next page, if any.

update

Updates the Data Lake Analytics account object specified by the accountName with the contents of the account object.

check_name_availability

Checks whether the specified account name is available or taken.

check_name_availability(location, name, custom_headers=None, raw=False, **operation_config)

Parameters

location
str
Required

The resource location without whitespace.

name
str
Required

The Data Lake Analytics name to check availability for.

custom_headers
dict
default value: None

headers that will be added to the request

raw
bool
default value: False

returns the direct response alongside the deserialized response

operation_config
Required

Operation configuration overrides.

Returns

NameAvailabilityInformation or ClientRawResponse if raw=true

Return type

Exceptions

create

Creates the specified Data Lake Analytics account. This supplies the user with computation services for Data Lake Analytics workloads.

create(resource_group_name, account_name, parameters, custom_headers=None, raw=False, polling=True, **operation_config)

Parameters

resource_group_name
str
Required

The name of the Azure resource group.

account_name
str
Required

The name of the Data Lake Analytics account.

parameters
CreateDataLakeAnalyticsAccountParameters
Required

Parameters supplied to create a new Data Lake Analytics account.

custom_headers
dict
default value: None

headers that will be added to the request

raw
bool
default value: False

The poller return type is ClientRawResponse, the direct response alongside the deserialized response

polling
default value: True

True for ARMPolling, False for no polling, or a polling object for personal polling strategy

Returns

An instance of LROPoller that returns DataLakeAnalyticsAccount or ClientRawResponse if raw==True

Return type

Exceptions

delete

Begins the delete process for the Data Lake Analytics account object specified by the account name.

delete(resource_group_name, account_name, custom_headers=None, raw=False, polling=True, **operation_config)

Parameters

resource_group_name
str
Required

The name of the Azure resource group.

account_name
str
Required

The name of the Data Lake Analytics account.

custom_headers
dict
default value: None

headers that will be added to the request

raw
bool
default value: False

The poller return type is ClientRawResponse, the direct response alongside the deserialized response

polling
default value: True

True for ARMPolling, False for no polling, or a polling object for personal polling strategy

Returns

An instance of LROPoller that returns None or ClientRawResponse if raw==True

Return type

Exceptions

get

Gets details of the specified Data Lake Analytics account.

get(resource_group_name, account_name, custom_headers=None, raw=False, **operation_config)

Parameters

resource_group_name
str
Required

The name of the Azure resource group.

account_name
str
Required

The name of the Data Lake Analytics account.

custom_headers
dict
default value: None

headers that will be added to the request

raw
bool
default value: False

returns the direct response alongside the deserialized response

operation_config
Required

Operation configuration overrides.

Returns

DataLakeAnalyticsAccount or ClientRawResponse if raw=true

Return type

Exceptions

list

Gets the first page of Data Lake Analytics accounts, if any, within the current subscription. This includes a link to the next page, if any.

list(filter=None, top=None, skip=None, select=None, orderby=None, count=None, custom_headers=None, raw=False, **operation_config)

Parameters

filter
str
default value: None

OData filter. Optional.

top
int
default value: None

The number of items to return. Optional.

skip
int
default value: None

The number of items to skip over before returning elements. Optional.

select
str
default value: None

OData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional.

orderby
str
default value: None

OrderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional.

count
bool
default value: None

The Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional.

custom_headers
dict
default value: None

headers that will be added to the request

raw
bool
default value: False

returns the direct response alongside the deserialized response

operation_config
Required

Operation configuration overrides.

Returns

An iterator like instance of DataLakeAnalyticsAccountBasic

Return type

Exceptions

list_by_resource_group

Gets the first page of Data Lake Analytics accounts, if any, within a specific resource group. This includes a link to the next page, if any.

list_by_resource_group(resource_group_name, filter=None, top=None, skip=None, select=None, orderby=None, count=None, custom_headers=None, raw=False, **operation_config)

Parameters

resource_group_name
str
Required

The name of the Azure resource group.

filter
str
default value: None

OData filter. Optional.

top
int
default value: None

The number of items to return. Optional.

skip
int
default value: None

The number of items to skip over before returning elements. Optional.

select
str
default value: None

OData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional.

orderby
str
default value: None

OrderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional.

count
bool
default value: None

The Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional.

custom_headers
dict
default value: None

headers that will be added to the request

raw
bool
default value: False

returns the direct response alongside the deserialized response

operation_config
Required

Operation configuration overrides.

Returns

An iterator like instance of DataLakeAnalyticsAccountBasic

Return type

Exceptions

update

Updates the Data Lake Analytics account object specified by the accountName with the contents of the account object.

update(resource_group_name, account_name, parameters=None, custom_headers=None, raw=False, polling=True, **operation_config)

Parameters

resource_group_name
str
Required

The name of the Azure resource group.

account_name
str
Required

The name of the Data Lake Analytics account.

parameters
UpdateDataLakeAnalyticsAccountParameters
default value: None

Parameters supplied to the update Data Lake Analytics account operation.

custom_headers
dict
default value: None

headers that will be added to the request

raw
bool
default value: False

The poller return type is ClientRawResponse, the direct response alongside the deserialized response

polling
default value: True

True for ARMPolling, False for no polling, or a polling object for personal polling strategy

Returns

An instance of LROPoller that returns DataLakeAnalyticsAccount or ClientRawResponse if raw==True

Return type

Exceptions

Attributes

models

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