swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector MachineGroups API schemes: - https tags: - name: MachineGroups paths: ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/features/serviceMap/machines/{machineName}/machineGroups : get: tags: - MachineGroups operationId: microsoftAzureMachinesListmachinegroupmembership x-ms-examples: SMMachinesListMachineGroupMembershipGet: $ref: ./examples/Machines/MachineGroups/SMMachinesListMachineGroupMembershipGet.json description: Returns a collection of machine groups this machine belongs to during the specified time interval. parameters: - $ref: '#/parameters/SubscriptionIdParameter' - $ref: '#/parameters/ResourceGroupNameParameter' - $ref: '#/parameters/WorkspaceNameParameter' - $ref: '#/parameters/ApiVersionParameter' - $ref: '#/parameters/MachineNameParameter' - name: startTime in: query required: false type: string format: date-time description: UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m - name: endTime in: query required: false type: string format: date-time description: UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow responses: '200': description: The operation completed successfully. schema: $ref: '#/definitions/MachineGroupCollection' default: description: An error occurred while processing the request. See the error.code parameter to identify the specific error. schema: $ref: '#/definitions/ErrorResponse' x-ms-pageable: nextLinkName: nextLink summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Operationalinsights Workspaces Workspacename Features Servicemap Machines Machinename Machinegroups ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/features/serviceMap/machineGroups : get: tags: - MachineGroups operationId: microsoftAzureMachinegroupsListbyworkspace x-ms-examples: SMMachineGroupsListByWorkspaceGet: $ref: ./examples/MachineGroups/SMMachineGroupsListByWorkspaceGet.json description: Returns all machine groups during the specified time interval. parameters: - $ref: '#/parameters/SubscriptionIdParameter' - $ref: '#/parameters/ResourceGroupNameParameter' - $ref: '#/parameters/WorkspaceNameParameter' - $ref: '#/parameters/ApiVersionParameter' - name: startTime in: query required: false type: string format: date-time description: UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m - name: endTime in: query required: false type: string format: date-time description: UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow responses: '200': description: The operation completed successfully. schema: $ref: '#/definitions/MachineGroupCollection' default: description: An error occurred while processing the request. See the error.code parameter to identify the specific error. schema: $ref: '#/definitions/ErrorResponse' x-ms-pageable: nextLinkName: nextLink summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Operationalinsights Workspaces Workspacename Features Servicemap Machinegroups post: tags: - MachineGroups operationId: microsoftAzureMachinegroupsCreate x-ms-examples: SMMachineGroupsCreatePost: $ref: ./examples/MachineGroups/SMMachineGroupsCreatePost.json description: Creates a new machine group. parameters: - $ref: '#/parameters/SubscriptionIdParameter' - $ref: '#/parameters/ResourceGroupNameParameter' - $ref: '#/parameters/WorkspaceNameParameter' - $ref: '#/parameters/ApiVersionParameter' - name: machineGroup in: body required: true schema: $ref: '#/definitions/MachineGroup' description: Machine Group resource to create. responses: '201': description: The operation completed successfully. schema: $ref: '#/definitions/MachineGroup' default: description: An error occurred while processing the request. See the error.code parameter to identify the specific error. schema: $ref: '#/definitions/ErrorResponse' summary: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Operationalinsights Workspaces Workspacename Features Servicemap Machinegroups ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/features/serviceMap/machineGroups/{machineGroupName} : get: tags: - MachineGroups operationId: microsoftAzureMachinegroupsGet x-ms-examples: SMMachineGroupsGetGet: $ref: ./examples/MachineGroups/SMMachineGroupsGetGet.json description: Returns the specified machine group as it existed during the specified time interval. parameters: - $ref: '#/parameters/SubscriptionIdParameter' - $ref: '#/parameters/ResourceGroupNameParameter' - $ref: '#/parameters/WorkspaceNameParameter' - $ref: '#/parameters/ApiVersionParameter' - $ref: '#/parameters/MachineGroupNameParameter' - name: startTime in: query required: false type: string format: date-time description: UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m - name: endTime in: query required: false type: string format: date-time description: UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow responses: '200': description: The operation completed successfully. schema: $ref: '#/definitions/MachineGroup' default: description: An error occurred while processing the request. See the error.code parameter to identify the specific error. schema: $ref: '#/definitions/ErrorResponse' summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Operationalinsights Workspaces Workspacename Features Servicemap Machinegroups Machinegroupname put: tags: - MachineGroups operationId: microsoftAzureMachinegroupsUpdate x-ms-examples: SMMachineGroupsUpdatePut: $ref: ./examples/MachineGroups/SMMachineGroupsUpdatePut.json description: Updates a machine group. parameters: - $ref: '#/parameters/SubscriptionIdParameter' - $ref: '#/parameters/ResourceGroupNameParameter' - $ref: '#/parameters/WorkspaceNameParameter' - $ref: '#/parameters/ApiVersionParameter' - $ref: '#/parameters/MachineGroupNameParameter' - name: machineGroup in: body required: true schema: $ref: '#/definitions/MachineGroup' description: Machine Group resource to update. responses: '200': description: The operation completed successfully. schema: $ref: '#/definitions/MachineGroup' default: description: An error occurred while processing the request. See the error.code parameter to identify the specific error. schema: $ref: '#/definitions/ErrorResponse' summary: Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Operationalinsights Workspaces Workspacename Features Servicemap Machinegroups Machinegroupname delete: tags: - MachineGroups operationId: microsoftAzureMachinegroupsDelete x-ms-examples: SMMachineGroupsDeleteDelete: $ref: ./examples/MachineGroups/SMMachineGroupsDeleteDelete.json description: Deletes the specified Machine Group. parameters: - $ref: '#/parameters/SubscriptionIdParameter' - $ref: '#/parameters/ResourceGroupNameParameter' - $ref: '#/parameters/WorkspaceNameParameter' - $ref: '#/parameters/ApiVersionParameter' - $ref: '#/parameters/MachineGroupNameParameter' responses: '204': description: The operation completed successfully. default: description: An error occurred while processing the request. See the error.code parameter to identify the specific error. schema: $ref: '#/definitions/ErrorResponse' summary: Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Operationalinsights Workspaces Workspacename Features Servicemap Machinegroups Machinegroupname definitions: ErrorResponse: type: object description: An error response from the API. properties: error: $ref: '#/definitions/Error' description: Error information. required: - error ResourceReference: description: Represents a reference to another resource. discriminator: kind properties: id: type: string description: Resource URI. type: type: string description: Resource type qualifier. readOnly: true name: type: string description: Resource name. readOnly: true kind: type: string description: Specifies the sub-class of the reference. enum: - ref:machine - ref:machinewithhints - ref:process - ref:port - ref:onmachine - ref:clientgroup required: - id - kind Resource: description: Resource model definition. properties: id: type: string description: Resource identifier. readOnly: true type: type: string description: Resource type. readOnly: true name: type: string description: Resource name. readOnly: true x-ms-azure-resource: true CoreResource: description: Marker resource for the core Service Map resources allOf: - $ref: '#/definitions/Resource' discriminator: kind properties: etag: type: string description: Resource ETAG. kind: type: string description: Additional resource type qualifier. enum: - machine - process - port - clientGroup - machineGroup required: - kind MachineGroupCollection: type: object description: Collection of Machine Group resources. properties: value: type: array items: $ref: '#/definitions/MachineGroup' description: Collection of Machine Group resources. nextLink: type: string description: The URL to the next set of resources. OperatingSystemFamily: description: Specifies the operating system family, e.g., Linux, Windows, etc. type: string enum: - unknown - windows - linux - solaris - aix x-ms-enum: name: OperatingSystemFamily modelAsString: false MachineReferenceWithHints: description: A machine reference with a hint of the machine's name and operating system. allOf: - $ref: '#/definitions/ResourceReference' x-ms-discriminator-value: ref:machinewithhints properties: properties: x-ms-client-flatten: true type: object description: Machine reference with name and os hints. properties: displayNameHint: description: Last known display name. type: string readOnly: true osFamilyHint: description: Last known operating system family. $ref: '#/definitions/OperatingSystemFamily' readOnly: true MachineGroup: description: A user-defined logical grouping of machines. allOf: - $ref: '#/definitions/CoreResource' x-ms-discriminator-value: machineGroup properties: etag: type: string description: Resource ETAG. properties: x-ms-client-flatten: true type: object description: Resource properties. properties: groupType: type: string enum: - unknown - azure-cs - azure-sf - azure-vmss - user-static x-ms-enum: name: MachineGroupType modelAsString: true description: Type of the machine group displayName: type: string description: User defined name for the group minLength: 1 maxLength: 256 count: type: integer format: int32 description: Count of machines in this group. The value of count may be bigger than the number of machines in case of the group has been truncated due to exceeding the max number of machines a group can handle. machines: type: array items: $ref: '#/definitions/MachineReferenceWithHints' description: References of the machines in this group. The hints within each reference do not represent the current value of the corresponding fields. They are a snapshot created during the last time the machine group was updated. required: - displayName Error: type: object description: Error details. properties: code: type: string description: Error code identifying the specific error. message: type: string description: Error message in the caller's locale. required: - code parameters: MachineGroupNameParameter: name: machineGroupName in: path x-ms-parameter-location: method required: true type: string description: Machine Group resource name. minLength: 36 maxLength: 36 ResourceGroupNameParameter: name: resourceGroupName in: path x-ms-parameter-location: method required: true type: string description: Resource group name within the specified subscriptionId. maxLength: 64 minLength: 1 pattern: '[a-zA-Z0-9_-]+' ApiVersionParameter: name: api-version in: query required: true type: string description: API version. MachineNameParameter: name: machineName in: path x-ms-parameter-location: method required: true type: string description: Machine resource name. minLength: 3 maxLength: 64 WorkspaceNameParameter: name: workspaceName in: path x-ms-parameter-location: method required: true type: string description: OMS workspace containing the resources of interest. minLength: 3 maxLength: 63 pattern: '[a-zA-Z0-9_][a-zA-Z0-9_-]+[a-zA-Z0-9_]' SubscriptionIdParameter: name: subscriptionId in: path required: true type: string description: Azure subscription identifier. x-ms-parameterized-host: hostTemplate: '{endpoint}' useSchemePrefix: false parameters: - $ref: '#/parameters/Endpoint'