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

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

Bases: object

AccountsOperations operations.

Parameters
  • client – Client for service requests.

  • config – Configuration of service client.

  • serializer – An object model serializer.

  • deserializer – An object model deserializer.

Variables

api_version – Client Api Version. Constant value: “2016-11-01”.

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

Checks whether the specified account name is available or taken.

Parameters
  • location (str) – The resource location without whitespace.

  • name (str) – The Data Lake Analytics name to check availability for.

  • 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.

Returns

NameAvailabilityInformation or ClientRawResponse if raw=true

Return type

NameAvailabilityInformation or ClientRawResponse

Raises

CloudError

create(resource_group_name, account_name, parameters, custom_headers=None, raw=False, polling=True, **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.

  • account_name (str) – The name of the Data Lake Analytics account.

  • parameters (CreateDataLakeAnalyticsAccountParameters) – Parameters supplied to create a new Data Lake Analytics account.

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response

  • polling – 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<DataLakeAnalyticsAccount> if raw==True

Return type

AzureOperationPoller[DataLakeAnalyticsAccount] or AzureOperationPoller[ClientRawResponse[DataLakeAnalyticsAccount]]

Raises

CloudError

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

Begins the 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.

  • account_name (str) – The name of the Data Lake Analytics account.

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response

  • polling – 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<None> if raw==True

Return type

AzureOperationPoller[None] or AzureOperationPoller[ClientRawResponse[None]]

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.

  • account_name (str) – The name of the Data Lake Analytics 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.

Returns

DataLakeAnalyticsAccount or ClientRawResponse if raw=true

Return type

DataLakeAnalyticsAccount or ClientRawResponse

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.

Returns

An iterator like instance of DataLakeAnalyticsAccountBasic

Return type

DataLakeAnalyticsAccountBasicPaged[DataLakeAnalyticsAccountBasic]

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.

  • 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.

Returns

An iterator like instance of DataLakeAnalyticsAccountBasic

Return type

DataLakeAnalyticsAccountBasicPaged[DataLakeAnalyticsAccountBasic]

Raises

CloudError

update(resource_group_name, account_name, parameters=None, custom_headers=None, raw=False, polling=True, **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.

  • account_name (str) – The name of the Data Lake Analytics account.

  • parameters (UpdateDataLakeAnalyticsAccountParameters) – Parameters supplied to the update Data Lake Analytics account operation.

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response

  • polling – 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<DataLakeAnalyticsAccount> if raw==True

Return type

AzureOperationPoller[DataLakeAnalyticsAccount] or AzureOperationPoller[ClientRawResponse[DataLakeAnalyticsAccount]]

Raises

CloudError

models = <module 'azure.mgmt.datalake.analytics.account.models' from '/home/vsts/work/1/s/sdk/datalake/azure-mgmt-datalake-analytics/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/datalake/analytics/account/models/__init__.py'>
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 object model deserializer.

Variables

api_version – Client Api Version. Constant value: “2016-11-01”.

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.

  • account_name (str) – The name of the Data Lake Analytics 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.

Returns

None or ClientRawResponse if raw=true

Return type

None or ClientRawResponse

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.

  • account_name (str) – The name of the Data Lake Analytics 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.

Returns

None or ClientRawResponse if raw=true

Return type

None or ClientRawResponse

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.

  • account_name (str) – The name of the Data Lake Analytics account.

  • 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.

Returns

DataLakeStoreAccountInformation or ClientRawResponse if raw=true

Return type

DataLakeStoreAccountInformation or ClientRawResponse

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.

  • account_name (str) – The name of 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.

Returns

An iterator like instance of DataLakeStoreAccountInformation

Return type

DataLakeStoreAccountInformationPaged[DataLakeStoreAccountInformation]

Raises

CloudError

models = <module 'azure.mgmt.datalake.analytics.account.models' from '/home/vsts/work/1/s/sdk/datalake/azure-mgmt-datalake-analytics/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/datalake/analytics/account/models/__init__.py'>
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 object model deserializer.

Variables

api_version – Client Api Version. Constant value: “2016-11-01”.

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.

  • account_name (str) – The name of the Data Lake Analytics 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.

Returns

None or ClientRawResponse if raw=true

Return type

None or ClientRawResponse

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.

  • account_name (str) – The name of the Data Lake Analytics 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.

Returns

None or ClientRawResponse if raw=true

Return type

None or ClientRawResponse

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.

  • account_name (str) – The name of the Data Lake Analytics account.

  • 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.

Returns

StorageAccountInformation or ClientRawResponse if raw=true

Return type

StorageAccountInformation or ClientRawResponse

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.

  • account_name (str) – The name of the Data Lake Analytics account.

  • 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.

Returns

StorageContainer or ClientRawResponse if raw=true

Return type

StorageContainer or ClientRawResponse

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.

  • account_name (str) – The name of the Data Lake Analytics account.

  • 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.

Returns

An iterator like instance of StorageAccountInformation

Return type

StorageAccountInformationPaged[StorageAccountInformation]

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.

  • account_name (str) – The name of the Data Lake Analytics account.

  • 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.

Returns

An iterator like instance of SasTokenInformation

Return type

SasTokenInformationPaged[SasTokenInformation]

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.

  • account_name (str) – The name of the Data Lake Analytics account.

  • 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.

Returns

An iterator like instance of StorageContainer

Return type

StorageContainerPaged[StorageContainer]

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.

  • account_name (str) – The name of the Data Lake Analytics account.

  • 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.

Returns

None or ClientRawResponse if raw=true

Return type

None or ClientRawResponse

Raises

CloudError

models = <module 'azure.mgmt.datalake.analytics.account.models' from '/home/vsts/work/1/s/sdk/datalake/azure-mgmt-datalake-analytics/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/datalake/analytics/account/models/__init__.py'>
class azure.mgmt.datalake.analytics.account.operations.ComputePoliciesOperations(client, config, serializer, deserializer)[source]

Bases: object

ComputePoliciesOperations operations.

Parameters
  • client – Client for service requests.

  • config – Configuration of service client.

  • serializer – An object model serializer.

  • deserializer – An object model deserializer.

Variables

api_version – Client Api Version. Constant value: “2016-11-01”.

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

Creates or updates the specified compute policy. During update, the compute policy with the specified name will be replaced with this new compute policy. An account supports, at most, 50 policies.

Parameters
  • resource_group_name (str) – The name of the Azure resource group.

  • account_name (str) – The name of the Data Lake Analytics account.

  • compute_policy_name (str) – The name of the compute policy to create or update.

  • parameters (CreateOrUpdateComputePolicyParameters) – Parameters supplied to create or update the compute policy. The max degree of parallelism per job property, min priority per job property, or both must be present.

  • 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.

Returns

ComputePolicy or ClientRawResponse if raw=true

Return type

ComputePolicy or ClientRawResponse

Raises

CloudError

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

Deletes the specified compute policy from the specified Data Lake Analytics account.

Parameters
  • resource_group_name (str) – The name of the Azure resource group.

  • account_name (str) – The name of the Data Lake Analytics account.

  • compute_policy_name (str) – The name of the compute policy 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.

Returns

None or ClientRawResponse if raw=true

Return type

None or ClientRawResponse

Raises

CloudError

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

Gets the specified Data Lake Analytics compute policy.

Parameters
  • resource_group_name (str) – The name of the Azure resource group.

  • account_name (str) – The name of the Data Lake Analytics account.

  • compute_policy_name (str) – The name of the compute policy 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.

Returns

ComputePolicy or ClientRawResponse if raw=true

Return type

ComputePolicy or ClientRawResponse

Raises

CloudError

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

Lists the Data Lake Analytics compute policies within the specified Data Lake Analytics account. An account supports, at most, 50 policies.

Parameters
  • resource_group_name (str) – The name of the Azure resource group.

  • account_name (str) – The name of the Data Lake Analytics 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.

Returns

An iterator like instance of ComputePolicy

Return type

ComputePolicyPaged[ComputePolicy]

Raises

CloudError

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

Updates the specified compute policy.

Parameters
  • resource_group_name (str) – The name of the Azure resource group.

  • account_name (str) – The name of the Data Lake Analytics account.

  • compute_policy_name (str) – The name of the compute policy to update.

  • parameters (UpdateComputePolicyParameters) – Parameters supplied to update the compute policy.

  • 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.

Returns

ComputePolicy or ClientRawResponse if raw=true

Return type

ComputePolicy or ClientRawResponse

Raises

CloudError

models = <module 'azure.mgmt.datalake.analytics.account.models' from '/home/vsts/work/1/s/sdk/datalake/azure-mgmt-datalake-analytics/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/datalake/analytics/account/models/__init__.py'>
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 object model deserializer.

Variables

api_version – Client Api Version. Constant value: “2016-11-01”.

create_or_update(resource_group_name, account_name, firewall_rule_name, start_ip_address, end_ip_address, 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.

  • account_name (str) – The name of the Data Lake Analytics account.

  • firewall_rule_name (str) – The name of the firewall rule to create or 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.

Returns

FirewallRule or ClientRawResponse if raw=true

Return type

FirewallRule or ClientRawResponse

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.

  • account_name (str) – The name of the Data Lake Analytics account.

  • 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.

Returns

None or ClientRawResponse if raw=true

Return type

None or ClientRawResponse

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.

  • account_name (str) – The name of the Data Lake Analytics account.

  • 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.

Returns

FirewallRule or ClientRawResponse if raw=true

Return type

FirewallRule or ClientRawResponse

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.

  • account_name (str) – The name of the Data Lake Analytics 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.

Returns

An iterator like instance of FirewallRule

Return type

FirewallRulePaged[FirewallRule]

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.

  • account_name (str) – The name of the Data Lake Analytics account.

  • 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.

Returns

FirewallRule or ClientRawResponse if raw=true

Return type

FirewallRule or ClientRawResponse

Raises

CloudError

models = <module 'azure.mgmt.datalake.analytics.account.models' from '/home/vsts/work/1/s/sdk/datalake/azure-mgmt-datalake-analytics/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/datalake/analytics/account/models/__init__.py'>
class azure.mgmt.datalake.analytics.account.operations.Operations(client, config, serializer, deserializer)[source]

Bases: object

Operations operations.

Parameters
  • client – Client for service requests.

  • config – Configuration of service client.

  • serializer – An object model serializer.

  • deserializer – An object model deserializer.

Variables

api_version – Client Api Version. Constant value: “2016-11-01”.

list(custom_headers=None, raw=False, **operation_config)[source]

Lists all of the available Data Lake Analytics REST API operations.

Parameters
  • 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.

Returns

OperationListResult or ClientRawResponse if raw=true

Return type

OperationListResult or ClientRawResponse

Raises

CloudError

models = <module 'azure.mgmt.datalake.analytics.account.models' from '/home/vsts/work/1/s/sdk/datalake/azure-mgmt-datalake-analytics/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/datalake/analytics/account/models/__init__.py'>
class azure.mgmt.datalake.analytics.account.operations.LocationsOperations(client, config, serializer, deserializer)[source]

Bases: object

LocationsOperations operations.

Parameters
  • client – Client for service requests.

  • config – Configuration of service client.

  • serializer – An object model serializer.

  • deserializer – An object model deserializer.

Variables

api_version – Client Api Version. Constant value: “2016-11-01”.

get_capability(location, custom_headers=None, raw=False, **operation_config)[source]

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

Parameters
  • location (str) – The resource location without whitespace.

  • 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.

Returns

CapabilityInformation or ClientRawResponse if raw=true

Return type

CapabilityInformation or ClientRawResponse

Raises

CloudError

models = <module 'azure.mgmt.datalake.analytics.account.models' from '/home/vsts/work/1/s/sdk/datalake/azure-mgmt-datalake-analytics/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/datalake/analytics/account/models/__init__.py'>