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
回呼