azure.mgmt.datalake.analytics.account.models module

class azure.mgmt.datalake.analytics.account.models.StorageAccountInfo(name, access_key, suffix=None)[source]

Bases: azure.mgmt.datalake.analytics.account.models.sub_resource.SubResource

Azure Storage account information.

Variables are only populated by the server, and will be ignored when sending a request.

Variables:
Parameters:
  • name (str) – Resource name
  • 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.
class azure.mgmt.datalake.analytics.account.models.StorageContainer[source]

Bases: msrest.serialization.Model

Azure Storage blob container information.

Variables are only populated by the server, and will be ignored when sending a request.

Variables:
  • name (str) – the name of the blob container.
  • id (str) – the unique identifier of the blob container.
  • type (str) – the type of the blob container.
  • last_modified_time (datetime) – the last modified time of the blob container.
class azure.mgmt.datalake.analytics.account.models.SasTokenInfo[source]

Bases: msrest.serialization.Model

SAS token information.

Variables are only populated by the server, and will be ignored when sending a request.

Variables:access_token (str) – the access token for the associated Azure Storage Container.
class azure.mgmt.datalake.analytics.account.models.DataLakeStoreAccountInfo(name, suffix=None)[source]

Bases: azure.mgmt.datalake.analytics.account.models.sub_resource.SubResource

Data Lake Store account information.

Variables are only populated by the server, and will be ignored when sending a request.

Variables:
Parameters:
  • name (str) – Resource name
  • suffix (str) – the optional suffix for the Data Lake Store account.
class azure.mgmt.datalake.analytics.account.models.FirewallRule(start_ip_address, end_ip_address, name=None)[source]

Bases: azure.mgmt.datalake.analytics.account.models.optional_sub_resource.OptionalSubResource

Data Lake Analytics firewall rule information.

Variables are only populated by the server, and will be ignored when sending a request.

Variables:
Parameters:
  • name (str) – Resource name
  • 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.
class azure.mgmt.datalake.analytics.account.models.ComputePolicyAccountCreateParameters(name, object_id, object_type, max_degree_of_parallelism_per_job=None, min_priority_per_job=None)[source]

Bases: msrest.serialization.Model

The parameters used to create a new compute policy.

Parameters:
  • name (str) – The unique name of the policy to create
  • object_id (str) – The AAD object identifier for the entity to create a policy for.
  • object_type (str or AADObjectType) – The type of AAD object the object identifier refers to. Possible values include: ‘User’, ‘Group’, ‘ServicePrincipal’
  • max_degree_of_parallelism_per_job (int) – The maximum degree of parallelism per job this user can use to submit jobs. This property, the min priority per job property, or both must be passed.
  • min_priority_per_job (int) – The minimum priority per job this user can use to submit jobs. This property, the max degree of parallelism per job property, or both must be passed.
class azure.mgmt.datalake.analytics.account.models.ComputePolicy(max_degree_of_parallelism_per_job=None, min_priority_per_job=None)[source]

Bases: msrest.serialization.Model

The parameters used to create a new compute policy.

Variables are only populated by the server, and will be ignored when sending a request.

Variables:
  • name (str) – The name of the compute policy
  • object_id (str) – The AAD object identifier for the entity to create a policy for.
  • object_type (str or AADObjectType) – The type of AAD object the object identifier refers to. Possible values include: ‘User’, ‘Group’, ‘ServicePrincipal’
Parameters:
  • max_degree_of_parallelism_per_job (int) – The maximum degree of parallelism per job this user can use to submit jobs.
  • min_priority_per_job (int) – The minimum priority per job this user can use to submit jobs.
class azure.mgmt.datalake.analytics.account.models.AddDataLakeStoreParameters(suffix=None)[source]

Bases: msrest.serialization.Model

Additional Data Lake Store parameters.

Parameters:suffix (str) – the optional suffix for the Data Lake Store account.
class azure.mgmt.datalake.analytics.account.models.AddStorageAccountParameters(access_key, suffix=None)[source]

Bases: msrest.serialization.Model

Storage account parameters for a storage account being added to a Data Lake Analytics account.

Parameters:
  • 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.
class azure.mgmt.datalake.analytics.account.models.UpdateStorageAccountParameters(access_key=None, suffix=None)[source]

Bases: msrest.serialization.Model

Storage account parameters for a storage account being updated in a Data Lake Analytics account.

Parameters:
  • 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.
class azure.mgmt.datalake.analytics.account.models.ComputePolicyCreateOrUpdateParameters(object_id, object_type, max_degree_of_parallelism_per_job=None, min_priority_per_job=None)[source]

Bases: msrest.serialization.Model

The parameters used to create a new compute policy.

Parameters:
  • object_id (str) – The AAD object identifier for the entity to create a policy for.
  • object_type (str or AADObjectType) – The type of AAD object the object identifier refers to. Possible values include: ‘User’, ‘Group’, ‘ServicePrincipal’
  • max_degree_of_parallelism_per_job (int) – The maximum degree of parallelism per job this user can use to submit jobs. This property, the min priority per job property, or both must be passed.
  • min_priority_per_job (int) – The minimum priority per job this user can use to submit jobs. This property, the max degree of parallelism per job property, or both must be passed.
class azure.mgmt.datalake.analytics.account.models.DataLakeAnalyticsAccountUpdateParameters(tags=None, max_degree_of_parallelism=None, query_store_retention=None, max_job_count=None, new_tier=None, firewall_state=None, firewall_allow_azure_ips=None, firewall_rules=None, max_degree_of_parallelism_per_job=None, min_priority_per_job=None, compute_policies=None)[source]

Bases: msrest.serialization.Model

The parameters that can be used to update an existing Data Lake Analytics account.

Parameters:
  • tags (dict) – Resource tags
  • max_degree_of_parallelism (int) – the maximum supported degree of parallelism for this account.
  • query_store_retention (int) – the number of days that job metadata is retained.
  • max_job_count (int) – the maximum supported jobs running under the account at the same time.
  • new_tier (str or TierType) – the commitment tier to use for next month. Possible values include: ‘Consumption’, ‘Commitment_100AUHours’, ‘Commitment_500AUHours’, ‘Commitment_1000AUHours’, ‘Commitment_5000AUHours’, ‘Commitment_10000AUHours’, ‘Commitment_50000AUHours’, ‘Commitment_100000AUHours’, ‘Commitment_500000AUHours’
  • firewall_state (str or FirewallState) – The current state of the IP address firewall for this Data Lake Analytics account. Possible values include: ‘Enabled’, ‘Disabled’
  • firewall_allow_azure_ips (str or FirewallAllowAzureIpsState) – The current state of allowing or disallowing IPs originating within Azure through the firewall. If the firewall is disabled, this is not enforced. Possible values include: ‘Enabled’, ‘Disabled’
  • firewall_rules (list of FirewallRule) – The list of firewall rules associated with this Data Lake Analytics account.
  • max_degree_of_parallelism_per_job (int) – the maximum supported degree of parallelism per job for this account.
  • min_priority_per_job (int) – the minimum supported priority per job for this account.
  • compute_policies (list of ComputePolicy) – the list of existing compute policies to update in this account.
class azure.mgmt.datalake.analytics.account.models.DataLakeAnalyticsAccount(location, default_data_lake_store_account, data_lake_store_accounts, tags=None, max_degree_of_parallelism=30, query_store_retention=30, max_job_count=3, storage_accounts=None, new_tier=None, firewall_state=None, firewall_allow_azure_ips=None, firewall_rules=None, max_degree_of_parallelism_per_job=None, min_priority_per_job=None, compute_policies=None)[source]

Bases: azure.mgmt.datalake.analytics.account.models.resource.Resource

A Data Lake Analytics account object, containing all information associated with the named Data Lake Analytics account.

Variables are only populated by the server, and will be ignored when sending a request.

Variables:
  • id (str) – Resource Id
  • name (str) – Resource name
  • type (str) – Resource type
  • provisioning_state (str or DataLakeAnalyticsAccountStatus) – the provisioning status of the Data Lake Analytics account. Possible values include: ‘Failed’, ‘Creating’, ‘Running’, ‘Succeeded’, ‘Patching’, ‘Suspending’, ‘Resuming’, ‘Deleting’, ‘Deleted’
  • state (str or DataLakeAnalyticsAccountState) – the state of the Data Lake Analytics account. Possible values include: ‘Active’, ‘Suspended’
  • system_max_degree_of_parallelism (int) – the system defined maximum supported degree of parallelism for this account, which restricts the maximum value of parallelism the user can set for the account..
  • system_max_job_count (int) – the system defined maximum supported jobs running under the account at the same time, which restricts the maximum number of running jobs the user can set for the account.
  • creation_time (datetime) – the account creation time.
  • last_modified_time (datetime) – the account last modified time.
  • endpoint (str) – the full CName endpoint for this account.
  • current_tier (str or TierType) – the commitment tier in use for the current month. Possible values include: ‘Consumption’, ‘Commitment_100AUHours’, ‘Commitment_500AUHours’, ‘Commitment_1000AUHours’, ‘Commitment_5000AUHours’, ‘Commitment_10000AUHours’, ‘Commitment_50000AUHours’, ‘Commitment_100000AUHours’, ‘Commitment_500000AUHours’
Parameters:
  • location (str) – Resource location
  • tags (dict) – Resource tags
  • default_data_lake_store_account (str) – the default data lake storage account associated with this Data Lake Analytics account.
  • max_degree_of_parallelism (int) – the maximum supported degree of parallelism for this account. Default value: 30 .
  • query_store_retention (int) – the number of days that job metadata is retained. Default value: 30 .
  • max_job_count (int) – the maximum supported jobs running under the account at the same time. Default value: 3 .
  • data_lake_store_accounts (list of DataLakeStoreAccountInfo) – the list of Data Lake storage accounts associated with this account.
  • storage_accounts (list of StorageAccountInfo) – the list of Azure Blob storage accounts associated with this account.
  • new_tier (str or TierType) – the commitment tier for the next month. Possible values include: ‘Consumption’, ‘Commitment_100AUHours’, ‘Commitment_500AUHours’, ‘Commitment_1000AUHours’, ‘Commitment_5000AUHours’, ‘Commitment_10000AUHours’, ‘Commitment_50000AUHours’, ‘Commitment_100000AUHours’, ‘Commitment_500000AUHours’
  • firewall_state (str or FirewallState) – The current state of the IP address firewall for this Data Lake Analytics account. Possible values include: ‘Enabled’, ‘Disabled’
  • firewall_allow_azure_ips (str or FirewallAllowAzureIpsState) – The current state of allowing or disallowing IPs originating within Azure through the firewall. If the firewall is disabled, this is not enforced. Possible values include: ‘Enabled’, ‘Disabled’
  • firewall_rules (list of FirewallRule) – The list of firewall rules associated with this Data Lake Analytics account.
  • max_degree_of_parallelism_per_job (int) – the maximum supported degree of parallelism per job for this account.
  • min_priority_per_job (int) – the minimum supported priority per job for this account.
  • compute_policies (list of ComputePolicyAccountCreateParameters) – the list of compute policies to create in this account.
class azure.mgmt.datalake.analytics.account.models.UpdateFirewallRuleParameters(start_ip_address=None, end_ip_address=None)[source]

Bases: msrest.serialization.Model

Data Lake Analytics firewall rule update parameters.

Parameters:
  • 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.
class azure.mgmt.datalake.analytics.account.models.Resource(location, tags=None)[source]

Bases: msrest.serialization.Model

The Resource model definition.

Variables are only populated by the server, and will be ignored when sending a request.

Variables:
Parameters:
  • location (str) – Resource location
  • tags (dict) – Resource tags
class azure.mgmt.datalake.analytics.account.models.OptionalSubResource(name=None)[source]

Bases: msrest.serialization.Model

The Resource model definition for a nested resource with no required properties.

Variables are only populated by the server, and will be ignored when sending a request.

Variables:
Parameters:

name (str) – Resource name

class azure.mgmt.datalake.analytics.account.models.SubResource(name)[source]

Bases: msrest.serialization.Model

The Sub Resource model definition.

Variables are only populated by the server, and will be ignored when sending a request.

Variables:
Parameters:

name (str) – Resource name

class azure.mgmt.datalake.analytics.account.models.ComputePolicyPaged(*args, **kwargs)[source]

Bases: msrest.paging.Paged

A paging container for iterating over a list of ComputePolicy object

class azure.mgmt.datalake.analytics.account.models.FirewallRulePaged(*args, **kwargs)[source]

Bases: msrest.paging.Paged

A paging container for iterating over a list of FirewallRule object

class azure.mgmt.datalake.analytics.account.models.StorageContainerPaged(*args, **kwargs)[source]

Bases: msrest.paging.Paged

A paging container for iterating over a list of StorageContainer object

class azure.mgmt.datalake.analytics.account.models.SasTokenInfoPaged(*args, **kwargs)[source]

Bases: msrest.paging.Paged

A paging container for iterating over a list of SasTokenInfo object

class azure.mgmt.datalake.analytics.account.models.StorageAccountInfoPaged(*args, **kwargs)[source]

Bases: msrest.paging.Paged

A paging container for iterating over a list of StorageAccountInfo object

class azure.mgmt.datalake.analytics.account.models.DataLakeStoreAccountInfoPaged(*args, **kwargs)[source]

Bases: msrest.paging.Paged

A paging container for iterating over a list of DataLakeStoreAccountInfo object

class azure.mgmt.datalake.analytics.account.models.DataLakeAnalyticsAccountPaged(*args, **kwargs)[source]

Bases: msrest.paging.Paged

A paging container for iterating over a list of DataLakeAnalyticsAccount object

class azure.mgmt.datalake.analytics.account.models.DataLakeAnalyticsAccountStatus[source]

Bases: enum.Enum

creating = 'Creating'
deleted = 'Deleted'
deleting = 'Deleting'
failed = 'Failed'
patching = 'Patching'
resuming = 'Resuming'
running = 'Running'
succeeded = 'Succeeded'
suspending = 'Suspending'
class azure.mgmt.datalake.analytics.account.models.DataLakeAnalyticsAccountState[source]

Bases: enum.Enum

active = 'Active'
suspended = 'Suspended'
class azure.mgmt.datalake.analytics.account.models.TierType[source]

Bases: enum.Enum

commitment_100000_au_hours = 'Commitment_100000AUHours'
commitment_10000_au_hours = 'Commitment_10000AUHours'
commitment_1000_au_hours = 'Commitment_1000AUHours'
commitment_100_au_hours = 'Commitment_100AUHours'
commitment_500000_au_hours = 'Commitment_500000AUHours'
commitment_50000_au_hours = 'Commitment_50000AUHours'
commitment_5000_au_hours = 'Commitment_5000AUHours'
commitment_500_au_hours = 'Commitment_500AUHours'
consumption = 'Consumption'
class azure.mgmt.datalake.analytics.account.models.FirewallState[source]

Bases: enum.Enum

disabled = 'Disabled'
enabled = 'Enabled'
class azure.mgmt.datalake.analytics.account.models.FirewallAllowAzureIpsState[source]

Bases: enum.Enum

disabled = 'Disabled'
enabled = 'Enabled'
class azure.mgmt.datalake.analytics.account.models.AADObjectType[source]

Bases: enum.Enum

group = 'Group'
service_principal = 'ServicePrincipal'
user = 'User'