StorageAccountsOperations Class
StorageAccountsOperations operations.
- Inheritance
-
builtins.objectStorageAccountsOperations
Constructor
StorageAccountsOperations(client, config, serializer, deserializer)
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".
Methods
| add |
Updates the specified Data Lake Analytics account to add an Azure Storage account. |
| delete |
Updates the specified Data Lake Analytics account to remove an Azure Storage account. |
| get |
Gets the specified Azure Storage account linked to the given Data Lake Analytics account. |
| get_storage_container |
Gets the specified Azure Storage container associated with the given Data Lake Analytics and Azure Storage accounts. |
| list_by_account |
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. |
| list_sas_tokens |
Gets the SAS token associated with the specified Data Lake Analytics and Azure Storage account and container combination. |
| list_storage_containers |
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. |
| update |
Updates the Data Lake Analytics account to replace Azure Storage blob account details, such as the access key and/or suffix. |
add
Updates the specified Data Lake Analytics account to add an Azure Storage account.
add(resource_group_name, account_name, storage_account_name, access_key, suffix=None, custom_headers=None, raw=False, **operation_config)
Parameters
- access_key
- str
The access key associated with this Azure Storage account that will be used to connect to it.
- operation_config
Operation configuration overrides.
Returns
None or ClientRawResponse if raw=true
Return type
Exceptions
delete
Updates the specified Data Lake Analytics account to remove an Azure Storage account.
delete(resource_group_name, account_name, storage_account_name, custom_headers=None, raw=False, **operation_config)
Parameters
- operation_config
Operation configuration overrides.
Returns
None or ClientRawResponse if raw=true
Return type
Exceptions
get
Gets the specified Azure Storage account linked to the given Data Lake Analytics account.
get(resource_group_name, account_name, storage_account_name, custom_headers=None, raw=False, **operation_config)
Parameters
- storage_account_name
- str
The name of the Azure Storage account for which to retrieve the details.
- operation_config
Operation configuration overrides.
Returns
StorageAccountInformation or ClientRawResponse if raw=true
Return type
Exceptions
get_storage_container
Gets the specified Azure Storage container associated with the given Data Lake Analytics and Azure Storage accounts.
get_storage_container(resource_group_name, account_name, storage_account_name, container_name, custom_headers=None, raw=False, **operation_config)
Parameters
- storage_account_name
- str
The name of the Azure storage account from which to retrieve the blob container.
- operation_config
Operation configuration overrides.
Returns
StorageContainer or ClientRawResponse if raw=true
Return type
Exceptions
list_by_account
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.
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)
Parameters
- 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.
- operation_config
Operation configuration overrides.
Returns
An iterator like instance of StorageAccountInformation
Return type
Exceptions
list_sas_tokens
Gets the SAS token associated with the specified Data Lake Analytics and Azure Storage account and container combination.
list_sas_tokens(resource_group_name, account_name, storage_account_name, container_name, custom_headers=None, raw=False, **operation_config)
Parameters
- 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.
- operation_config
Operation configuration overrides.
Returns
An iterator like instance of SasTokenInformation
Return type
Exceptions
list_storage_containers
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.
list_storage_containers(resource_group_name, account_name, storage_account_name, custom_headers=None, raw=False, **operation_config)
Parameters
- storage_account_name
- str
The name of the Azure storage account from which to list blob containers.
- operation_config
Operation configuration overrides.
Returns
An iterator like instance of StorageContainer
Return type
Exceptions
update
Updates the Data Lake Analytics account to replace Azure Storage blob account details, such as the access key and/or suffix.
update(resource_group_name, account_name, storage_account_name, access_key=None, suffix=None, custom_headers=None, raw=False, **operation_config)
Parameters
- access_key
- str
The updated access key associated with this Azure Storage account that will be used to connect to it.
- operation_config
Operation configuration overrides.
Returns
None or ClientRawResponse if raw=true
Return type
Exceptions
Attributes
models
models = <module 'azure.mgmt.datalake.analytics.account.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\datalake\\analytics\\account\\models\\__init__.py'>
Feedback
Submit and view feedback for