StorageAccountCredentialsOperations Class
StorageAccountCredentialsOperations operations.
- Inheritance
-
builtins.objectStorageAccountCredentialsOperations
Constructor
StorageAccountCredentialsOperations(client, config, serializer, deserializer)
Parameters
Name | Description |
---|---|
client
Required
|
Client for service requests. |
config
Required
|
Configuration of service client. |
serializer
Required
|
An object model serializer. |
deserializer
Required
|
An object model deserializer. |
Variables
Name | Description |
---|---|
api_version
|
The API version. Constant value: "2019-03-01". |
Methods
create_or_update |
Creates or updates the storage account credential. |
delete |
Deletes the storage account credential. |
get |
Gets the properties of the specified storage account credential. |
list_by_data_box_edge_device |
Gets all the storage account credentials in a data box edge/gateway device. |
create_or_update
Creates or updates the storage account credential.
create_or_update(device_name, name, storage_account_credential, resource_group_name, custom_headers=None, raw=False, polling=True, **operation_config)
Parameters
Name | Description |
---|---|
device_name
Required
|
The device name. |
name
Required
|
The storage account credential name. |
storage_account_credential
Required
|
The storage account credential. |
resource_group_name
Required
|
The resource group name. |
custom_headers
|
headers that will be added to the request default value: None
|
raw
|
The poller return type is ClientRawResponse, the direct response alongside the deserialized response default value: False
|
polling
|
True for ARMPolling, False for no polling, or a polling object for personal polling strategy default value: True
|
Returns
Type | Description |
---|---|
<xref:msrestazure.azure_operation.AzureOperationPoller>[StorageAccountCredential],
<xref:msrestazure.azure_operation.AzureOperationPoller>[<xref:msrest.pipeline.ClientRawResponse>[StorageAccountCredential]]
|
An instance of LROPoller that returns StorageAccountCredential or ClientRawResponse if raw==True |
Exceptions
Type | Description |
---|---|
msrestazure.azure_exceptions.CloudError
|
delete
Deletes the storage account credential.
delete(device_name, name, resource_group_name, custom_headers=None, raw=False, polling=True, **operation_config)
Parameters
Name | Description |
---|---|
device_name
Required
|
The device name. |
name
Required
|
The storage account credential name. |
resource_group_name
Required
|
The resource group name. |
custom_headers
|
headers that will be added to the request default value: None
|
raw
|
The poller return type is ClientRawResponse, the direct response alongside the deserialized response default value: False
|
polling
|
True for ARMPolling, False for no polling, or a polling object for personal polling strategy default value: True
|
Returns
Type | Description |
---|---|
<xref:msrestazure.azure_operation.AzureOperationPoller>[None],
<xref:msrestazure.azure_operation.AzureOperationPoller>[<xref:msrest.pipeline.ClientRawResponse>[None]]
|
An instance of LROPoller that returns None or ClientRawResponse if raw==True |
Exceptions
Type | Description |
---|---|
msrestazure.azure_exceptions.CloudError
|
get
Gets the properties of the specified storage account credential.
get(device_name, name, resource_group_name, custom_headers=None, raw=False, **operation_config)
Parameters
Name | Description |
---|---|
device_name
Required
|
The device name. |
name
Required
|
The storage account credential name. |
resource_group_name
Required
|
The resource group name. |
custom_headers
|
headers that will be added to the request default value: None
|
raw
|
returns the direct response alongside the deserialized response default value: False
|
operation_config
Required
|
Operation configuration overrides. |
Returns
Type | Description |
---|---|
<xref:msrest.pipeline.ClientRawResponse>
|
StorageAccountCredential or ClientRawResponse if raw=true |
Exceptions
Type | Description |
---|---|
msrestazure.azure_exceptions.CloudError
|
list_by_data_box_edge_device
Gets all the storage account credentials in a data box edge/gateway device.
list_by_data_box_edge_device(device_name, resource_group_name, custom_headers=None, raw=False, **operation_config)
Parameters
Name | Description |
---|---|
device_name
Required
|
The device name. |
resource_group_name
Required
|
The resource group name. |
custom_headers
|
headers that will be added to the request default value: None
|
raw
|
returns the direct response alongside the deserialized response default value: False
|
operation_config
Required
|
Operation configuration overrides. |
Returns
Type | Description |
---|---|
An iterator like instance of StorageAccountCredential |
Exceptions
Type | Description |
---|---|
msrestazure.azure_exceptions.CloudError
|
Attributes
models
models = <module 'azure.mgmt.edgegateway.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\edgegateway\\models\\__init__.py'>
Azure SDK for Python
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for