QueueServices class
表示 QueueServices 的类。
构造函数
Queue |
创建 QueueServices。 |
方法
构造函数详细信息
QueueServices(StorageManagementClientContext)
创建 QueueServices。
new QueueServices(client: StorageManagementClientContext)
参数
对服务客户端的引用。
方法详细信息
getServiceProperties(string, string, msRest.RequestOptionsBase)
获取存储帐户的队列服务的属性,包括存储分析和 CORS(跨域资源共享)规则的属性。
function getServiceProperties(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase)
参数
- resourceGroupName
-
string
用户订阅中的资源组的名称。 名称不区分大小写。
- accountName
-
string
指定资源组中的存储帐户的名称。 存储帐户名称长度必须介于 3 到 24 个字符之间,并且仅使用数字和小写字母。
- options
- msRest.RequestOptionsBase
返回
Promise<Models.QueueServicesGetServicePropertiesResponse>
Promise<Models.QueueServicesGetServicePropertiesResponse>
getServiceProperties(string, string, RequestOptionsBase, ServiceCallback<QueueServiceProperties>)
function getServiceProperties(resourceGroupName: string, accountName: string, options: RequestOptionsBase, callback: ServiceCallback<QueueServiceProperties>)
参数
- resourceGroupName
-
string
用户订阅中的资源组的名称。 名称不区分大小写。
- accountName
-
string
指定资源组中的存储帐户的名称。 存储帐户名称长度必须介于 3 到 24 个字符之间,并且仅使用数字和小写字母。
- options
-
RequestOptionsBase
可选参数
- callback
-
ServiceCallback<QueueServiceProperties>
回调
getServiceProperties(string, string, ServiceCallback<QueueServiceProperties>)
function getServiceProperties(resourceGroupName: string, accountName: string, callback: ServiceCallback<QueueServiceProperties>)
参数
- resourceGroupName
-
string
用户订阅中的资源组的名称。 名称不区分大小写。
- accountName
-
string
指定资源组中的存储帐户的名称。 存储帐户名称长度必须介于 3 到 24 个字符之间,并且仅使用数字和小写字母。
- callback
-
ServiceCallback<QueueServiceProperties>
回调
list(string, string, msRest.RequestOptionsBase)
列出存储帐户的所有队列服务
function list(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase)
参数
- resourceGroupName
-
string
用户订阅中的资源组的名称。 名称不区分大小写。
- accountName
-
string
指定资源组中的存储帐户的名称。 存储帐户名称长度必须介于 3 到 24 个字符之间,并且仅使用数字和小写字母。
- options
- msRest.RequestOptionsBase
返回
Promise<Models.QueueServicesListResponse>
Promise<Models.QueueServicesListResponse>
list(string, string, RequestOptionsBase, ServiceCallback<ListQueueServices>)
function list(resourceGroupName: string, accountName: string, options: RequestOptionsBase, callback: ServiceCallback<ListQueueServices>)
参数
- resourceGroupName
-
string
用户订阅中的资源组的名称。 名称不区分大小写。
- accountName
-
string
指定资源组中的存储帐户的名称。 存储帐户名称长度必须介于 3 到 24 个字符之间,并且仅使用数字和小写字母。
- options
-
RequestOptionsBase
可选参数
- callback
-
ServiceCallback<ListQueueServices>
回调
list(string, string, ServiceCallback<ListQueueServices>)
function list(resourceGroupName: string, accountName: string, callback: ServiceCallback<ListQueueServices>)
参数
- resourceGroupName
-
string
用户订阅中的资源组的名称。 名称不区分大小写。
- accountName
-
string
指定资源组中的存储帐户的名称。 存储帐户名称长度必须介于 3 到 24 个字符之间,并且仅使用数字和小写字母。
- callback
-
ServiceCallback<ListQueueServices>
回调
setServiceProperties(string, string, Models.QueueServicesSetServicePropertiesOptionalParams)
设置存储帐户队列服务的属性,包括存储分析和 CORS(跨域资源共享)规则的属性。
function setServiceProperties(resourceGroupName: string, accountName: string, options?: Models.QueueServicesSetServicePropertiesOptionalParams)
参数
- resourceGroupName
-
string
用户订阅中的资源组的名称。 名称不区分大小写。
- accountName
-
string
指定资源组中的存储帐户的名称。 存储帐户名称长度必须介于 3 到 24 个字符之间,并且仅使用数字和小写字母。
- options
- Models.QueueServicesSetServicePropertiesOptionalParams
返回
Promise<Models.QueueServicesSetServicePropertiesResponse>
Promise<Models.QueueServicesSetServicePropertiesResponse>
setServiceProperties(string, string, QueueServicesSetServicePropertiesOptionalParams, ServiceCallback<QueueServiceProperties>)
function setServiceProperties(resourceGroupName: string, accountName: string, options: QueueServicesSetServicePropertiesOptionalParams, callback: ServiceCallback<QueueServiceProperties>)
参数
- resourceGroupName
-
string
用户订阅中的资源组的名称。 名称不区分大小写。
- accountName
-
string
指定资源组中的存储帐户的名称。 存储帐户名称长度必须介于 3 到 24 个字符之间,并且仅使用数字和小写字母。
可选参数
- callback
-
ServiceCallback<QueueServiceProperties>
回调
setServiceProperties(string, string, ServiceCallback<QueueServiceProperties>)
function setServiceProperties(resourceGroupName: string, accountName: string, callback: ServiceCallback<QueueServiceProperties>)
参数
- resourceGroupName
-
string
用户订阅中的资源组的名称。 名称不区分大小写。
- accountName
-
string
指定资源组中的存储帐户的名称。 存储帐户名称长度必须介于 3 到 24 个字符之间,并且仅使用数字和小写字母。
- callback
-
ServiceCallback<QueueServiceProperties>
回调