azure.mgmt.datalake.store.operations module

class azure.mgmt.datalake.store.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.
Variables:

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

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

Parameters:
  • resource_group_name (str) – The name of the Azure resource group that contains the Data Lake Store account.
  • account_name (str) – The name of the Data Lake Store 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 Store firewall rule.

Parameters:
  • resource_group_name (str) – The name of the Azure resource group that contains the Data Lake Store account.
  • account_name (str) – The name of the Data Lake Store 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 Store firewall rules within the specified Data Lake Store account.

Parameters:
  • resource_group_name (str) – The name of the Azure resource group that contains the Data Lake Store account.
  • account_name (str) – The name of the Data Lake Store 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 Store account.
  • account_name (str) – The name of the Data Lake Store 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.store.operations.TrustedIdProvidersOperations(client, config, serializer, deserializer)[source]

Bases: object

TrustedIdProvidersOperations operations.

Parameters:
  • client – Client for service requests.
  • config – Configuration of service client.
  • serializer – An object model serializer.
  • deserializer – An objec model deserializer.
Variables:

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

create_or_update(resource_group_name, account_name, trusted_id_provider_name, id_provider, name=None, custom_headers=None, raw=False, **operation_config)[source]

Creates or updates the specified trusted identity provider. During update, the trusted identity provider with the specified name will be replaced with this new provider.

Parameters:
  • resource_group_name (str) – The name of the Azure resource group that contains the Data Lake Store account.
  • account_name (str) – The name of the Data Lake Store account to add or replace the trusted identity provider.
  • trusted_id_provider_name (str) – The name of the trusted identity provider. This is used for differentiation of providers in the account.
  • id_provider (str) – The URL of this trusted identity provider
  • name (str) – Resource name
  • 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:

TrustedIdProvider

Return type:

ClientRawResponse if raw=true

Raises:

CloudError

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

Deletes the specified trusted identity provider from the specified Data Lake Store account.

Parameters:
  • resource_group_name (str) – The name of the Azure resource group that contains the Data Lake Store account.
  • account_name (str) – The name of the Data Lake Store account from which to delete the trusted identity provider.
  • trusted_id_provider_name (str) – The name of the trusted identity provider 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, trusted_id_provider_name, custom_headers=None, raw=False, **operation_config)[source]

Gets the specified Data Lake Store trusted identity provider.

Parameters:
  • resource_group_name (str) – The name of the Azure resource group that contains the Data Lake Store account.
  • account_name (str) – The name of the Data Lake Store account from which to get the trusted identity provider.
  • trusted_id_provider_name (str) – The name of the trusted identity provider 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:

TrustedIdProvider

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 Store trusted identity providers within the specified Data Lake Store account.

Parameters:
  • resource_group_name (str) – The name of the Azure resource group that contains the Data Lake Store account.
  • account_name (str) – The name of the Data Lake Store account from which to get the trusted identity providers.
  • 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:

TrustedIdProviderPaged

Raises:

CloudError

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

Updates the specified trusted identity provider.

Parameters:
  • resource_group_name (str) – The name of the Azure resource group that contains the Data Lake Store account.
  • account_name (str) – The name of the Data Lake Store account to which to update the trusted identity provider.
  • trusted_id_provider_name (str) – The name of the trusted identity provider. This is used for differentiation of providers in the account.
  • id_provider (str) – The URL of this trusted identity provider
  • 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:

TrustedIdProvider

Return type:

ClientRawResponse if raw=true

Raises:

CloudError

class azure.mgmt.datalake.store.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.
Variables:

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

create(resource_group_name, name, parameters, custom_headers=None, raw=False, **operation_config)[source]

Creates the specified Data Lake Store account.

Parameters:
  • resource_group_name (str) – The name of the Azure resource group that contains the Data Lake Store account.
  • name (str) – The name of the Data Lake Store account to create.
  • parameters (DataLakeStoreAccount) – Parameters supplied to create 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
Return type:

AzureOperationPoller instance that returns DataLakeStoreAccount

Return type:

ClientRawResponse if raw=true

Raises:

CloudError

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

Deletes the specified Data Lake Store account.

Parameters:
  • resource_group_name (str) – The name of the Azure resource group that contains the Data Lake Store account.
  • name (str) – The name of the Data Lake Store 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

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

Attempts to enable a user managed key vault for encryption of the specified Data Lake Store account.

Parameters:
  • resource_group_name (str) – The name of the Azure resource group that contains the Data Lake Store account.
  • account_name (str) – The name of the Data Lake Store account to attempt to enable the Key Vault 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.
Return type:

None

Return type:

ClientRawResponse if raw=true

Raises:

CloudError

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

Gets the specified Data Lake Store account.

Parameters:
  • resource_group_name (str) – The name of the Azure resource group that contains the 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:

DataLakeStoreAccount

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]

Lists the Data Lake Store accounts within the subscription. The response includes a link to the next page of results, 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:

DataLakeStoreAccountPaged

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]

Lists the Data Lake Store accounts within a specific resource group. 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 Store account(s).
  • 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) – A 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:

DataLakeStoreAccountPaged

Raises:

CloudError

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

Updates the specified Data Lake Store account information.

Parameters:
  • resource_group_name (str) – The name of the Azure resource group that contains the Data Lake Store account.
  • name (str) – The name of the Data Lake Store account to update.
  • parameters (DataLakeStoreAccountUpdateParameters) – Parameters supplied to update 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
Return type:

AzureOperationPoller instance that returns DataLakeStoreAccount

Return type:

ClientRawResponse if raw=true

Raises:

CloudError