QueueServices interface
Interface representing a QueueServices.
Methods
get |
Gets the properties of a storage account’s Queue service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. |
list(string, string, Queue |
List all queue services for the storage account |
set |
Sets the properties of a storage account’s Queue service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. |
Method Details
getServiceProperties(string, string, QueueServicesGetServicePropertiesOptionalParams)
Gets the properties of a storage account’s Queue service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules.
function getServiceProperties(resourceGroupName: string, accountName: string, options?: QueueServicesGetServicePropertiesOptionalParams): Promise<QueueServiceProperties>
Parameters
- resourceGroupName
-
string
The name of the resource group within the user's subscription. The name is case insensitive.
- accountName
-
string
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.
The options parameters.
Returns
Promise<QueueServiceProperties>
list(string, string, QueueServicesListOptionalParams)
List all queue services for the storage account
function list(resourceGroupName: string, accountName: string, options?: QueueServicesListOptionalParams): Promise<ListQueueServices>
Parameters
- resourceGroupName
-
string
The name of the resource group within the user's subscription. The name is case insensitive.
- accountName
-
string
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.
- options
- QueueServicesListOptionalParams
The options parameters.
Returns
Promise<ListQueueServices>
setServiceProperties(string, string, QueueServiceProperties, QueueServicesSetServicePropertiesOptionalParams)
Sets the properties of a storage account’s Queue service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules.
function setServiceProperties(resourceGroupName: string, accountName: string, parameters: QueueServiceProperties, options?: QueueServicesSetServicePropertiesOptionalParams): Promise<QueueServiceProperties>
Parameters
- resourceGroupName
-
string
The name of the resource group within the user's subscription. The name is case insensitive.
- accountName
-
string
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.
The options parameters.
Returns
Promise<QueueServiceProperties>