ClientGroups class
表示 ClientGroups 的类。
构造函数
| Client |
创建 ClientGroups。 |
方法
构造函数详细信息
ClientGroups(ServicemapManagementClientContext)
创建 ClientGroups。
new ClientGroups(client: ServicemapManagementClientContext)
参数
对服务客户端的引用。
方法详细信息
get(string, string, string, ClientGroupsGetOptionalParams)
检索指定的客户端组
function get(resourceGroupName: string, workspaceName: string, clientGroupName: string, options?: ClientGroupsGetOptionalParams): Promise<ClientGroupsGetResponse>
参数
- resourceGroupName
-
string
指定 subscriptionId 中的资源组名称。
- workspaceName
-
string
包含相关资源的 OMS 工作区。
- clientGroupName
-
string
客户端组资源名称。
- options
- ClientGroupsGetOptionalParams
可选参数
返回
Promise<ClientGroupsGetResponse>
承诺<Models.ClientGroupsGetResponse>
get(string, string, string, ClientGroupsGetOptionalParams, ServiceCallback<ClientGroup>)
function get(resourceGroupName: string, workspaceName: string, clientGroupName: string, options: ClientGroupsGetOptionalParams, callback: ServiceCallback<ClientGroup>)
参数
- resourceGroupName
-
string
指定 subscriptionId 中的资源组名称。
- workspaceName
-
string
包含相关资源的 OMS 工作区。
- clientGroupName
-
string
客户端组资源名称。
- options
- ClientGroupsGetOptionalParams
可选参数
- callback
回调
get(string, string, string, ServiceCallback<ClientGroup>)
function get(resourceGroupName: string, workspaceName: string, clientGroupName: string, callback: ServiceCallback<ClientGroup>)
参数
- resourceGroupName
-
string
指定 subscriptionId 中的资源组名称。
- workspaceName
-
string
包含相关资源的 OMS 工作区。
- clientGroupName
-
string
客户端组资源名称。
- callback
回调
getMembersCount(string, string, string, ClientGroupsGetMembersCountOptionalParams)
返回客户端组中的大致成员数。
function getMembersCount(resourceGroupName: string, workspaceName: string, clientGroupName: string, options?: ClientGroupsGetMembersCountOptionalParams): Promise<ClientGroupsGetMembersCountResponse>
参数
- resourceGroupName
-
string
指定 subscriptionId 中的资源组名称。
- workspaceName
-
string
包含相关资源的 OMS 工作区。
- clientGroupName
-
string
客户端组资源名称。
可选参数
返回
Promise<ClientGroupsGetMembersCountResponse>
承诺<Models.ClientGroupsGetMembersCountResponse>
getMembersCount(string, string, string, ClientGroupsGetMembersCountOptionalParams, ServiceCallback<ClientGroupMembersCount>)
function getMembersCount(resourceGroupName: string, workspaceName: string, clientGroupName: string, options: ClientGroupsGetMembersCountOptionalParams, callback: ServiceCallback<ClientGroupMembersCount>)
参数
- resourceGroupName
-
string
指定 subscriptionId 中的资源组名称。
- workspaceName
-
string
包含相关资源的 OMS 工作区。
- clientGroupName
-
string
客户端组资源名称。
可选参数
- callback
回调
getMembersCount(string, string, string, ServiceCallback<ClientGroupMembersCount>)
function getMembersCount(resourceGroupName: string, workspaceName: string, clientGroupName: string, callback: ServiceCallback<ClientGroupMembersCount>)
参数
- resourceGroupName
-
string
指定 subscriptionId 中的资源组名称。
- workspaceName
-
string
包含相关资源的 OMS 工作区。
- clientGroupName
-
string
客户端组资源名称。
- callback
回调
listMembers(string, string, string, ClientGroupsListMembersOptionalParams)
返回指定时间间隔内客户端组的成员。
function listMembers(resourceGroupName: string, workspaceName: string, clientGroupName: string, options?: ClientGroupsListMembersOptionalParams): Promise<ClientGroupsListMembersResponse>
参数
- resourceGroupName
-
string
指定 subscriptionId 中的资源组名称。
- workspaceName
-
string
包含相关资源的 OMS 工作区。
- clientGroupName
-
string
客户端组资源名称。
可选参数
返回
Promise<ClientGroupsListMembersResponse>
承诺<Models.ClientGroupsListMembersResponse>
listMembers(string, string, string, ClientGroupsListMembersOptionalParams, ServiceCallback<ClientGroupMembersCollection>)
function listMembers(resourceGroupName: string, workspaceName: string, clientGroupName: string, options: ClientGroupsListMembersOptionalParams, callback: ServiceCallback<ClientGroupMembersCollection>)
参数
- resourceGroupName
-
string
指定 subscriptionId 中的资源组名称。
- workspaceName
-
string
包含相关资源的 OMS 工作区。
- clientGroupName
-
string
客户端组资源名称。
可选参数
- callback
回调
listMembers(string, string, string, ServiceCallback<ClientGroupMembersCollection>)
function listMembers(resourceGroupName: string, workspaceName: string, clientGroupName: string, callback: ServiceCallback<ClientGroupMembersCollection>)
参数
- resourceGroupName
-
string
指定 subscriptionId 中的资源组名称。
- workspaceName
-
string
包含相关资源的 OMS 工作区。
- clientGroupName
-
string
客户端组资源名称。
- callback
回调
listMembersNext(string, RequestOptionsBase)
返回指定时间间隔内客户端组的成员。
function listMembersNext(nextPageLink: string, options?: RequestOptionsBase): Promise<ClientGroupsListMembersNextResponse>
参数
- nextPageLink
-
string
上一次成功调用 List作的 NextLink。
- options
- RequestOptionsBase
可选参数
返回
Promise<ClientGroupsListMembersNextResponse>
承诺<Models.ClientGroupsListMembersNextResponse>
listMembersNext(string, RequestOptionsBase, ServiceCallback<ClientGroupMembersCollection>)
function listMembersNext(nextPageLink: string, options: RequestOptionsBase, callback: ServiceCallback<ClientGroupMembersCollection>)
参数
- nextPageLink
-
string
上一次成功调用 List作的 NextLink。
- options
- RequestOptionsBase
可选参数
- callback
回调
listMembersNext(string, ServiceCallback<ClientGroupMembersCollection>)
function listMembersNext(nextPageLink: string, callback: ServiceCallback<ClientGroupMembersCollection>)
参数
- nextPageLink
-
string
上一次成功调用 List作的 NextLink。
- callback
回调