Clients interface
表示客户端的接口。
方法
方法详细信息
beginCreateOrUpdate(string, string, string, Client, ClientsCreateOrUpdateOptionalParams)
使用指定的参数创建或更新客户端。
function beginCreateOrUpdate(resourceGroupName: string, namespaceName: string, clientName: string, clientInfo: Client, options?: ClientsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<Client>, Client>>
参数
- resourceGroupName
-
string
用户订阅中的资源组的名称。
- namespaceName
-
string
命名空间的名称。
- clientName
-
string
客户端名称。
- clientInfo
- Client
客户端信息。
选项参数。
返回
Promise<@azure/core-lro.SimplePollerLike<OperationState<Client>, Client>>
beginCreateOrUpdateAndWait(string, string, string, Client, ClientsCreateOrUpdateOptionalParams)
使用指定的参数创建或更新客户端。
function beginCreateOrUpdateAndWait(resourceGroupName: string, namespaceName: string, clientName: string, clientInfo: Client, options?: ClientsCreateOrUpdateOptionalParams): Promise<Client>
参数
- resourceGroupName
-
string
用户订阅中的资源组的名称。
- namespaceName
-
string
命名空间的名称。
- clientName
-
string
客户端名称。
- clientInfo
- Client
客户端信息。
选项参数。
返回
Promise<Client>
beginDelete(string, string, string, ClientsDeleteOptionalParams)
删除现有客户端。
function beginDelete(resourceGroupName: string, namespaceName: string, clientName: string, options?: ClientsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
参数
- resourceGroupName
-
string
用户订阅中的资源组的名称。
- namespaceName
-
string
命名空间的名称。
- clientName
-
string
客户端的名称。
- options
- ClientsDeleteOptionalParams
选项参数。
返回
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait(string, string, string, ClientsDeleteOptionalParams)
删除现有客户端。
function beginDeleteAndWait(resourceGroupName: string, namespaceName: string, clientName: string, options?: ClientsDeleteOptionalParams): Promise<void>
参数
- resourceGroupName
-
string
用户订阅中的资源组的名称。
- namespaceName
-
string
命名空间的名称。
- clientName
-
string
客户端的名称。
- options
- ClientsDeleteOptionalParams
选项参数。
返回
Promise<void>
get(string, string, string, ClientsGetOptionalParams)
获取客户端的属性。
function get(resourceGroupName: string, namespaceName: string, clientName: string, options?: ClientsGetOptionalParams): Promise<Client>
参数
- resourceGroupName
-
string
用户订阅中的资源组的名称。
- namespaceName
-
string
命名空间的名称。
- clientName
-
string
客户端的名称。
- options
- ClientsGetOptionalParams
选项参数。
返回
Promise<Client>
listByNamespace(string, string, ClientsListByNamespaceOptionalParams)
获取命名空间下的所有权限绑定。
function listByNamespace(resourceGroupName: string, namespaceName: string, options?: ClientsListByNamespaceOptionalParams): PagedAsyncIterableIterator<Client, Client[], PageSettings>
参数
- resourceGroupName
-
string
用户订阅中的资源组的名称。
- namespaceName
-
string
命名空间的名称。
选项参数。