PrivateLinkResources class
表示 PrivateLinkResources 的类。
构造函数
| Private |
创建 PrivateLinkResources。 |
方法
构造函数详细信息
PrivateLinkResources(StorageManagementClientContext)
创建 PrivateLinkResources。
new PrivateLinkResources(client: StorageManagementClientContext)
参数
对服务客户端的引用。
方法详细信息
listByStorageAccount(string, string, msRest.RequestOptionsBase)
获取需要为存储帐户创建的专用链接资源。
function listByStorageAccount(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase)
参数
- resourceGroupName
-
string
用户订阅中的资源组的名称。 名称不区分大小写。
- accountName
-
string
指定资源组中的存储帐户的名称。 存储帐户名称长度必须介于 3 到 24 个字符之间,并且仅使用数字和小写字母。
- options
- msRest.RequestOptionsBase
返回
Promise<Models.PrivateLinkResourcesListByStorageAccountResponse>
Promise<Models.PrivateLinkResourcesListByStorageAccountResponse>
listByStorageAccount(string, string, RequestOptionsBase, ServiceCallback<PrivateLinkResourceListResult>)
function listByStorageAccount(resourceGroupName: string, accountName: string, options: RequestOptionsBase, callback: ServiceCallback<PrivateLinkResourceListResult>)
参数
- resourceGroupName
-
string
用户订阅中的资源组的名称。 名称不区分大小写。
- accountName
-
string
指定资源组中的存储帐户的名称。 存储帐户名称长度必须介于 3 到 24 个字符之间,并且仅使用数字和小写字母。
- options
-
RequestOptionsBase
可选参数
- callback
-
ServiceCallback<PrivateLinkResourceListResult>
回调
listByStorageAccount(string, string, ServiceCallback<PrivateLinkResourceListResult>)
function listByStorageAccount(resourceGroupName: string, accountName: string, callback: ServiceCallback<PrivateLinkResourceListResult>)
参数
- resourceGroupName
-
string
用户订阅中的资源组的名称。 名称不区分大小写。
- accountName
-
string
指定资源组中的存储帐户的名称。 存储帐户名称长度必须介于 3 到 24 个字符之间,并且仅使用数字和小写字母。
- callback
-
ServiceCallback<PrivateLinkResourceListResult>
回调