AccountsOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
DataLakeAnalyticsAccountManagementClient's
<xref:accounts> attribute.
- Inheritance
-
builtins.objectAccountsOperations
Constructor
AccountsOperations(*args, **kwargs)
Methods
begin_create |
Creates the specified Data Lake Analytics account. This supplies the user with computation services for Data Lake Analytics workloads. |
begin_delete |
Begins the delete process for the Data Lake Analytics account object specified by the account name. |
begin_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. |
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. |
begin_create
Creates the specified Data Lake Analytics account. This supplies the user with computation services for Data Lake Analytics workloads.
begin_create(resource_group_name: str, account_name: str, parameters: _models.CreateDataLakeAnalyticsAccountParameters, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.DataLakeAnalyticsAccount]
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the Azure resource group. Required. |
account_name
Required
|
The name of the Data Lake Analytics account. Required. |
parameters
Required
|
Parameters supplied to create a new Data Lake Analytics account. Is either a model type or a IO type. Required. |
Keyword-Only Parameters
Name | Description |
---|---|
content_type
|
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 |
continuation_token
|
A continuation token to restart a poller from a saved state. |
polling
|
By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. |
polling_interval
|
Default waiting time between two polls for LRO operations if no Retry-After header is present. |
Returns
Type | Description |
---|---|
An instance of LROPoller that returns either DataLakeAnalyticsAccount or the result of cls(response) |
Exceptions
Type | Description |
---|---|
begin_delete
Begins the delete process for the Data Lake Analytics account object specified by the account name.
begin_delete(resource_group_name: str, account_name: str, **kwargs: Any) -> LROPoller[None]
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the Azure resource group. Required. |
account_name
Required
|
The name of the Data Lake Analytics account. Required. |
Keyword-Only Parameters
Name | Description |
---|---|
cls
|
A custom type or function that will be passed the direct response |
continuation_token
|
A continuation token to restart a poller from a saved state. |
polling
|
By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. |
polling_interval
|
Default waiting time between two polls for LRO operations if no Retry-After header is present. |
Returns
Type | Description |
---|---|
An instance of LROPoller that returns either None or the result of cls(response) |
Exceptions
Type | Description |
---|---|
begin_update
Updates the Data Lake Analytics account object specified by the accountName with the contents of the account object.
begin_update(resource_group_name: str, account_name: str, parameters: _models.UpdateDataLakeAnalyticsAccountParameters | None = None, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.DataLakeAnalyticsAccount]
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the Azure resource group. Required. |
account_name
Required
|
The name of the Data Lake Analytics account. Required. |
parameters
Required
|
Parameters supplied to the update Data Lake Analytics account operation. Is either a model type or a IO type. Default value is None. |
Keyword-Only Parameters
Name | Description |
---|---|
content_type
|
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 |
continuation_token
|
A continuation token to restart a poller from a saved state. |
polling
|
By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. |
polling_interval
|
Default waiting time between two polls for LRO operations if no Retry-After header is present. |
Returns
Type | Description |
---|---|
An instance of LROPoller that returns either DataLakeAnalyticsAccount or the result of cls(response) |
Exceptions
Type | Description |
---|---|
check_name_availability
Checks whether the specified account name is available or taken.
check_name_availability(location: str, parameters: _models.CheckNameAvailabilityParameters, *, content_type: str = 'application/json', **kwargs: Any) -> _models.NameAvailabilityInformation
Parameters
Name | Description |
---|---|
location
Required
|
The resource location without whitespace. Required. |
parameters
Required
|
Parameters supplied to check the Data Lake Analytics account name availability. Is either a model type or a IO type. Required. |
Keyword-Only Parameters
Name | Description |
---|---|
content_type
|
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 |
---|---|
NameAvailabilityInformation or the result of cls(response) |
Exceptions
Type | Description |
---|---|
get
Gets details of the specified Data Lake Analytics account.
get(resource_group_name: str, account_name: str, **kwargs: Any) -> DataLakeAnalyticsAccount
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the Azure resource group. Required. |
account_name
Required
|
The name of the Data Lake Analytics account. Required. |
Keyword-Only Parameters
Name | Description |
---|---|
cls
|
A custom type or function that will be passed the direct response |
Returns
Type | Description |
---|---|
DataLakeAnalyticsAccount or the result of cls(response) |
Exceptions
Type | Description |
---|---|
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: str | None = None, top: int | None = None, skip: int | None = None, select: str | None = None, orderby: str | None = None, count: bool | None = None, **kwargs: Any) -> Iterable[DataLakeAnalyticsAccountBasic]
Parameters
Name | Description |
---|---|
filter
Required
|
OData filter. Optional. Default value is None. |
top
Required
|
The number of items to return. Optional. Default value is None. |
skip
Required
|
The number of items to skip over before returning elements. Optional. Default value is None. |
select
Required
|
OData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional. Default value is None. |
orderby
Required
|
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. Default value is None. |
count
Required
|
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. Default value is None. |
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 DataLakeAnalyticsAccountBasic or the result of cls(response) |
Exceptions
Type | Description |
---|---|
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: str, filter: str | None = None, top: int | None = None, skip: int | None = None, select: str | None = None, orderby: str | None = None, count: bool | None = None, **kwargs: Any) -> Iterable[DataLakeAnalyticsAccountBasic]
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the Azure resource group. Required. |
filter
Required
|
OData filter. Optional. Default value is None. |
top
Required
|
The number of items to return. Optional. Default value is None. |
skip
Required
|
The number of items to skip over before returning elements. Optional. Default value is None. |
select
Required
|
OData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional. Default value is None. |
orderby
Required
|
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. Default value is None. |
count
Required
|
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. Default value is None. |
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 DataLakeAnalyticsAccountBasic or the result of cls(response) |
Exceptions
Type | Description |
---|---|
Attributes
models
models = <module 'azure.mgmt.datalake.analytics.account.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\datalake\\analytics\\account\\models\\__init__.py'>
Azure SDK for Python