azure.mgmt.datalake.analytics.account.operations module

class azure.mgmt.datalake.analytics.account.operations.FirewallRulesOperations(client, config, serializer, deserializer)[source]

Bases: object

FirewallRulesOperations operations.

Parameters:
  • client – Client for service requests.
  • config – Configuration of service client.
  • serializer – An object model serializer.
  • deserializer – An objec model deserializer.
create_or_update(resource_group_name, account_name, firewall_rule_name, parameters, custom_headers=None, raw=False, **operation_config)[source]

Creates or updates the specified firewall rule. During update, the firewall rule with the specified name will be replaced with this new firewall rule.

Parameters:
  • resource_group_name (str) – The name of the Azure resource group that contains the Data Lake Analytics account.
  • account_name (str) – The name of the Data Lake Analytics account to add or replace the firewall rule.
  • firewall_rule_name (str) – The name of the firewall rule to create or update.
  • parameters (FirewallRule) – Parameters supplied to create or update the firewall rule.
  • custom_headers (dict) – headers that will be added to the request
  • raw (bool) – returns the direct response alongside the deserialized response
  • operation_configOperation configuration overrides.
Return type:

FirewallRule

Return type:

ClientRawResponse if raw=true

Raises:

CloudError

delete(resource_group_name, account_name, firewall_rule_name, custom_headers=None, raw=False, **operation_config)[source]

Deletes the specified firewall rule from the specified Data Lake Analytics account.

Parameters:
  • resource_group_name (str) – The name of the Azure resource group that contains the Data Lake Analytics account.
  • account_name (str) – The name of the Data Lake Analytics account from which to delete the firewall rule.
  • firewall_rule_name (str) – The name of the firewall rule to delete.
  • custom_headers (dict) – headers that will be added to the request
  • raw (bool) – returns the direct response alongside the deserialized response
  • operation_configOperation configuration overrides.
Return type:

None

Return type:

ClientRawResponse if raw=true

Raises:

CloudError

get(resource_group_name, account_name, firewall_rule_name, custom_headers=None, raw=False, **operation_config)[source]

Gets the specified Data Lake Analytics firewall rule.

Parameters:
  • resource_group_name (str) – The name of the Azure resource group that contains the Data Lake Analytics account.
  • account_name (str) – The name of the Data Lake Analytics account from which to get the firewall rule.
  • firewall_rule_name (str) – The name of the firewall rule to retrieve.
  • custom_headers (dict) – headers that will be added to the request
  • raw (bool) – returns the direct response alongside the deserialized response
  • operation_configOperation configuration overrides.
Return type:

FirewallRule

Return type:

ClientRawResponse if raw=true

Raises:

CloudError

list_by_account(resource_group_name, account_name, custom_headers=None, raw=False, **operation_config)[source]

Lists the Data Lake Analytics firewall rules within the specified Data Lake Analytics account.

Parameters:
  • resource_group_name (str) – The name of the Azure resource group that contains the Data Lake Analytics account.
  • account_name (str) – The name of the Data Lake Analytics account from which to get the firewall rules.
  • custom_headers (dict) – headers that will be added to the request
  • raw (bool) – returns the direct response alongside the deserialized response
  • operation_configOperation configuration overrides.
Return type:

FirewallRulePaged

Raises:

CloudError

update(resource_group_name, account_name, firewall_rule_name, start_ip_address=None, end_ip_address=None, custom_headers=None, raw=False, **operation_config)[source]

Updates the specified firewall rule.

Parameters:
  • resource_group_name (str) – The name of the Azure resource group that contains the Data Lake Analytics account.
  • account_name (str) – The name of the Data Lake Analytics account to which to update the firewall rule.
  • firewall_rule_name (str) – The name of the firewall rule to update.
  • start_ip_address (str) – the start IP address for the firewall rule. This can be either ipv4 or ipv6. Start and End should be in the same protocol.
  • end_ip_address (str) – the end IP address for the firewall rule. This can be either ipv4 or ipv6. Start and End should be in the same protocol.
  • custom_headers (dict) – headers that will be added to the request
  • raw (bool) – returns the direct response alongside the deserialized response
  • operation_configOperation configuration overrides.
Return type:

FirewallRule

Return type:

ClientRawResponse if raw=true

Raises:

CloudError

class azure.mgmt.datalake.analytics.account.operations.StorageAccountsOperations(client, config, serializer, deserializer)[source]

Bases: object

StorageAccountsOperations operations.

Parameters:
  • client – Client for service requests.
  • config – Configuration of service client.
  • serializer – An object model serializer.
  • deserializer – An objec model deserializer.
add(resource_group_name, account_name, storage_account_name, access_key, suffix=None, custom_headers=None, raw=False, **operation_config)[source]

Updates the specified Data Lake Analytics account to add an Azure Storage account.

Parameters:
  • resource_group_name (str) – The name of the Azure resource group that contains the Data Lake Analytics account.
  • account_name (str) – The name of the Data Lake Analytics account to which to add the Azure Storage account.
  • storage_account_name (str) – The name of the Azure Storage account to add
  • access_key (str) – the access key associated with this Azure Storage account that will be used to connect to it.
  • suffix (str) – the optional suffix for the storage account.
  • custom_headers (dict) – headers that will be added to the request
  • raw (bool) – returns the direct response alongside the deserialized response
  • operation_configOperation configuration overrides.
Return type:

None

Return type:

ClientRawResponse if raw=true

Raises:

CloudError

delete(resource_group_name, account_name, storage_account_name, custom_headers=None, raw=False, **operation_config)[source]

Updates the specified Data Lake Analytics account to remove an Azure Storage account.

Parameters:
  • resource_group_name (str) – The name of the Azure resource group that contains the Data Lake Analytics account.
  • account_name (str) – The name of the Data Lake Analytics account from which to remove the Azure Storage account.
  • storage_account_name (str) – The name of the Azure Storage account to remove
  • custom_headers (dict) – headers that will be added to the request
  • raw (bool) – returns the direct response alongside the deserialized response
  • operation_configOperation configuration overrides.
Return type:

None

Return type:

ClientRawResponse if raw=true

Raises:

CloudError

get(resource_group_name, account_name, storage_account_name, custom_headers=None, raw=False, **operation_config)[source]

Gets the specified Azure Storage account linked to the given Data Lake Analytics account.

Parameters:
  • resource_group_name (str) – The name of the Azure resource group that contains the Data Lake Analytics account.
  • account_name (str) – The name of the Data Lake Analytics account from which to retrieve Azure storage account details.
  • storage_account_name (str) – The name of the Azure Storage account for which to retrieve the details.
  • custom_headers (dict) – headers that will be added to the request
  • raw (bool) – returns the direct response alongside the deserialized response
  • operation_configOperation configuration overrides.
Return type:

StorageAccountInfo

Return type:

ClientRawResponse if raw=true

Raises:

CloudError

get_storage_container(resource_group_name, account_name, storage_account_name, container_name, custom_headers=None, raw=False, **operation_config)[source]

Gets the specified Azure Storage container associated with the given Data Lake Analytics and Azure Storage accounts.

Parameters:
  • resource_group_name (str) – The name of the Azure resource group that contains the Data Lake Analytics account.
  • account_name (str) – The name of the Data Lake Analytics account for which to retrieve blob container.
  • storage_account_name (str) – The name of the Azure storage account from which to retrieve the blob container.
  • container_name (str) – The name of the Azure storage container to retrieve
  • custom_headers (dict) – headers that will be added to the request
  • raw (bool) – returns the direct response alongside the deserialized response
  • operation_configOperation configuration overrides.
Return type:

StorageContainer

Return type:

ClientRawResponse if raw=true

Raises:

CloudError

list_by_account(resource_group_name, account_name, filter=None, top=None, skip=None, select=None, orderby=None, count=None, custom_headers=None, raw=False, **operation_config)[source]

Gets the first page of Azure Storage accounts, if any, linked to the specified Data Lake Analytics account. The response includes a link to the next page, if any.

Parameters:
  • resource_group_name (str) – The name of the Azure resource group that contains the Data Lake Analytics account.
  • account_name (str) – The name of the Data Lake Analytics account for which to list Azure Storage accounts.
  • filter (str) – The OData filter. Optional.
  • top (int) – The number of items to return. Optional.
  • skip (int) – The number of items to skip over before returning elements. Optional.
  • select (str) – OData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional.
  • orderby (str) – 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) – 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) – headers that will be added to the request
  • raw (bool) – returns the direct response alongside the deserialized response
  • operation_configOperation configuration overrides.
Return type:

StorageAccountInfoPaged

Raises:

CloudError

list_sas_tokens(resource_group_name, account_name, storage_account_name, container_name, custom_headers=None, raw=False, **operation_config)[source]

Gets the SAS token associated with the specified Data Lake Analytics and Azure Storage account and container combination.

Parameters:
  • resource_group_name (str) – The name of the Azure resource group that contains the Data Lake Analytics account.
  • account_name (str) – The name of the Data Lake Analytics account from which an Azure Storage account’s SAS token is being requested.
  • storage_account_name (str) – The name of the Azure storage account for which the SAS token is being requested.
  • container_name (str) – The name of the Azure storage container for which the SAS token is being requested.
  • custom_headers (dict) – headers that will be added to the request
  • raw (bool) – returns the direct response alongside the deserialized response
  • operation_configOperation configuration overrides.
Return type:

SasTokenInfoPaged

Raises:

CloudError

list_storage_containers(resource_group_name, account_name, storage_account_name, custom_headers=None, raw=False, **operation_config)[source]

Lists the Azure Storage containers, if any, associated with the specified Data Lake Analytics and Azure Storage account combination. The response includes a link to the next page of results, if any.

Parameters:
  • resource_group_name (str) – The name of the Azure resource group that contains the Data Lake Analytics account.
  • account_name (str) – The name of the Data Lake Analytics account for which to list Azure Storage blob containers.
  • storage_account_name (str) – The name of the Azure storage account from which to list blob containers.
  • custom_headers (dict) – headers that will be added to the request
  • raw (bool) – returns the direct response alongside the deserialized response
  • operation_configOperation configuration overrides.
Return type:

StorageContainerPaged

Raises:

CloudError

update(resource_group_name, account_name, storage_account_name, access_key=None, suffix=None, custom_headers=None, raw=False, **operation_config)[source]

Updates the Data Lake Analytics account to replace Azure Storage blob account details, such as the access key and/or suffix.

Parameters:
  • resource_group_name (str) – The name of the Azure resource group that contains the Data Lake Analytics account.
  • account_name (str) – The name of the Data Lake Analytics account to modify storage accounts in
  • storage_account_name (str) – The Azure Storage account to modify
  • access_key (str) – the updated access key associated with this Azure Storage account that will be used to connect to it.
  • suffix (str) – the optional suffix for the storage account.
  • custom_headers (dict) – headers that will be added to the request
  • raw (bool) – returns the direct response alongside the deserialized response
  • operation_configOperation configuration overrides.
Return type:

None

Return type:

ClientRawResponse if raw=true

Raises:

CloudError

class azure.mgmt.datalake.analytics.account.operations.DataLakeStoreAccountsOperations(client, config, serializer, deserializer)[source]

Bases: object

DataLakeStoreAccountsOperations operations.

Parameters:
  • client – Client for service requests.
  • config – Configuration of service client.
  • serializer – An object model serializer.
  • deserializer – An objec model deserializer.
add(resource_group_name, account_name, data_lake_store_account_name, suffix=None, custom_headers=None, raw=False, **operation_config)[source]

Updates the specified Data Lake Analytics account to include the additional Data Lake Store account.

Parameters:
  • resource_group_name (str) – The name of the Azure resource group that contains the Data Lake Analytics account.
  • account_name (str) – The name of the Data Lake Analytics account to which to add the Data Lake Store account.
  • data_lake_store_account_name (str) – The name of the Data Lake Store account to add.
  • suffix (str) – the optional suffix for the Data Lake Store account.
  • custom_headers (dict) – headers that will be added to the request
  • raw (bool) – returns the direct response alongside the deserialized response
  • operation_configOperation configuration overrides.
Return type:

None

Return type:

ClientRawResponse if raw=true

Raises:

CloudError

delete(resource_group_name, account_name, data_lake_store_account_name, custom_headers=None, raw=False, **operation_config)[source]

Updates the Data Lake Analytics account specified to remove the specified Data Lake Store account.

Parameters:
  • resource_group_name (str) – The name of the Azure resource group that contains the Data Lake Analytics account.
  • account_name (str) – The name of the Data Lake Analytics account from which to remove the Data Lake Store account.
  • data_lake_store_account_name (str) – The name of the Data Lake Store account to remove
  • custom_headers (dict) – headers that will be added to the request
  • raw (bool) – returns the direct response alongside the deserialized response
  • operation_configOperation configuration overrides.
Return type:

None

Return type:

ClientRawResponse if raw=true

Raises:

CloudError

get(resource_group_name, account_name, data_lake_store_account_name, custom_headers=None, raw=False, **operation_config)[source]

Gets the specified Data Lake Store account details in the specified Data Lake Analytics account.

Parameters:
  • resource_group_name (str) – The name of the Azure resource group that contains the Data Lake Analytics account.
  • account_name (str) – The name of the Data Lake Analytics account from which to retrieve the Data Lake Store account details.
  • data_lake_store_account_name (str) – The name of the Data Lake Store account to retrieve
  • custom_headers (dict) – headers that will be added to the request
  • raw (bool) – returns the direct response alongside the deserialized response
  • operation_configOperation configuration overrides.
Return type:

DataLakeStoreAccountInfo

Return type:

ClientRawResponse if raw=true

Raises:

CloudError

list_by_account(resource_group_name, account_name, filter=None, top=None, skip=None, select=None, orderby=None, count=None, custom_headers=None, raw=False, **operation_config)[source]

Gets the first page of Data Lake Store accounts linked to the specified Data Lake Analytics account. The response includes a link to the next page, if any.

Parameters:
  • resource_group_name (str) – The name of the Azure resource group that contains the Data Lake Analytics account.
  • account_name (str) – The name of the Data Lake Analytics account for which to list Data Lake Store accounts.
  • filter (str) – OData filter. Optional.
  • top (int) – The number of items to return. Optional.
  • skip (int) – The number of items to skip over before returning elements. Optional.
  • select (str) – OData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional.
  • orderby (str) – 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) – 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) – headers that will be added to the request
  • raw (bool) – returns the direct response alongside the deserialized response
  • operation_configOperation configuration overrides.
Return type:

DataLakeStoreAccountInfoPaged

Raises:

CloudError

class azure.mgmt.datalake.analytics.account.operations.AccountOperations(client, config, serializer, deserializer)[source]

Bases: object

AccountOperations operations.

Parameters:
  • client – Client for service requests.
  • config – Configuration of service client.
  • serializer – An object model serializer.
  • deserializer – An objec model deserializer.
create(resource_group_name, account_name, parameters, custom_headers=None, raw=False, **operation_config)[source]

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

Parameters:
  • resource_group_name (str) – The name of the Azure resource group that contains the Data Lake Analytics account.the account will be associated with.
  • account_name (str) – The name of the Data Lake Analytics account to create.
  • parameters (DataLakeAnalyticsAccount) – Parameters supplied to the create Data Lake Analytics account operation.
  • custom_headers (dict) – headers that will be added to the request
  • raw (bool) – returns the direct response alongside the deserialized response
Return type:

AzureOperationPoller instance that returns DataLakeAnalyticsAccount

Return type:

ClientRawResponse if raw=true

Raises:

CloudError

delete(resource_group_name, account_name, custom_headers=None, raw=False, **operation_config)[source]

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

Parameters:
  • resource_group_name (str) – The name of the Azure resource group that contains the Data Lake Analytics account.
  • account_name (str) – The name of the Data Lake Analytics account to delete
  • custom_headers (dict) – headers that will be added to the request
  • raw (bool) – returns the direct response alongside the deserialized response
Return type:

AzureOperationPoller instance that returns None

Return type:

ClientRawResponse if raw=true

Raises:

CloudError

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

Gets details of the specified Data Lake Analytics account.

Parameters:
  • resource_group_name (str) – The name of the Azure resource group that contains the Data Lake Analytics account.
  • account_name (str) – The name of the Data Lake Analytics account to retrieve.
  • custom_headers (dict) – headers that will be added to the request
  • raw (bool) – returns the direct response alongside the deserialized response
  • operation_configOperation configuration overrides.
Return type:

DataLakeAnalyticsAccount

Return type:

ClientRawResponse if raw=true

Raises:

CloudError

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

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.

Parameters:
  • filter (str) – OData filter. Optional.
  • top (int) – The number of items to return. Optional.
  • skip (int) – The number of items to skip over before returning elements. Optional.
  • select (str) – OData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional.
  • orderby (str) – 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) – 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) – headers that will be added to the request
  • raw (bool) – returns the direct response alongside the deserialized response
  • operation_configOperation configuration overrides.
Return type:

DataLakeAnalyticsAccountPaged

Raises:

CloudError

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)[source]

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.

Parameters:
  • resource_group_name (str) – The name of the Azure resource group that contains the Data Lake Analytics account.
  • filter (str) – OData filter. Optional.
  • top (int) – The number of items to return. Optional.
  • skip (int) – The number of items to skip over before returning elements. Optional.
  • select (str) – OData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional.
  • orderby (str) – 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) – 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) – headers that will be added to the request
  • raw (bool) – returns the direct response alongside the deserialized response
  • operation_configOperation configuration overrides.
Return type:

DataLakeAnalyticsAccountPaged

Raises:

CloudError

update(resource_group_name, account_name, parameters=None, custom_headers=None, raw=False, **operation_config)[source]

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

Parameters:
  • resource_group_name (str) – The name of the Azure resource group that contains the Data Lake Analytics account.
  • account_name (str) – The name of the Data Lake Analytics account to update.
  • parameters (DataLakeAnalyticsAccountUpdateParameters) – Parameters supplied to the update Data Lake Analytics account operation.
  • custom_headers (dict) – headers that will be added to the request
  • raw (bool) – returns the direct response alongside the deserialized response
Return type:

AzureOperationPoller instance that returns DataLakeAnalyticsAccount

Return type:

ClientRawResponse if raw=true

Raises:

CloudError