QueueServicesOperations Class
QueueServicesOperations operations.
You should not instantiate this class directly. Instead, you should create a Client instance that instantiates it for you and attaches it as an attribute.
- Inheritance
-
builtins.objectQueueServicesOperations
Constructor
QueueServicesOperations(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
- models
Alias to model classes used in this operation group.
Methods
| get_service_properties |
Gets the properties of a storage account's Queue service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. |
| list |
List all queue services for the storage account. |
| set_service_properties |
Sets the properties of a storage account's Queue service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. |
get_service_properties
Gets the properties of a storage account's Queue service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules.
get_service_properties(resource_group_name: str, account_name: str, **kwargs: Any) -> azure.mgmt.storage.v2021_08_01.models._models_py3.QueueServiceProperties
Parameters
- resource_group_name
- str
The name of the resource group within the user's subscription. The name is case insensitive.
- account_name
- str
The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
QueueServiceProperties, or the result of cls(response)
Return type
Exceptions
list
List all queue services for the storage account.
list(resource_group_name: str, account_name: str, **kwargs: Any) -> azure.mgmt.storage.v2021_08_01.models._models_py3.ListQueueServices
Parameters
- resource_group_name
- str
The name of the resource group within the user's subscription. The name is case insensitive.
- account_name
- str
The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
ListQueueServices, or the result of cls(response)
Return type
Exceptions
set_service_properties
Sets the properties of a storage account's Queue service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules.
set_service_properties(resource_group_name: str, account_name: str, parameters: azure.mgmt.storage.v2021_08_01.models._models_py3.QueueServiceProperties, **kwargs: Any) -> azure.mgmt.storage.v2021_08_01.models._models_py3.QueueServiceProperties
Parameters
- resource_group_name
- str
The name of the resource group within the user's subscription. The name is case insensitive.
- account_name
- str
The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
- parameters
- QueueServiceProperties
The properties of a storage account's Queue service, only properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules can be specified.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
QueueServiceProperties, or the result of cls(response)
Return type
Exceptions
Attributes
models
models = <module 'azure.mgmt.storage.v2021_08_01.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\storage\\v2021_08_01\\models\\__init__.py'>
Feedback
Submit and view feedback for