swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector RootCauseAnalysisInstance API schemes: - https tags: - name: RootCauseAnalysisInstance paths: /rootCauseAnalysis/instances/{instanceId}: put: tags: - RootCauseAnalysisInstance summary: Microsoft Azure Create An Instance For Root Cause Analysis operationId: microsoftAzureCreaterootcauseanalysisinstance consumes: - application/json produces: - application/json parameters: - in: path name: instanceId description: Instance unique id, should be a string of uuid. required: true type: string format: uuid - in: body name: body description: Create a root cause analysis instance request required: true schema: $ref: '#/definitions/CreateRootCauseAnalysisInstance' responses: '201': description: Success headers: Location: description: Location of the newly created resource. type: string default: description: Client error or server error (4xx or 5xx) schema: $ref: '#/definitions/ErrorDetail' headers: x-ms-error-code: description: error code type: string x-ms-examples: Create an instance for root cause analysis: $ref: ./examples/CreateRootCauseAnalysisInstance.json description: Needs a more full description created. get: tags: - RootCauseAnalysisInstance summary: Microsoft Azure Query An Instance Information For Root Cause Analysis operationId: microsoftAzureGetrootcauseanalysisinstance produces: - application/json parameters: - in: path name: instanceId description: Instance unique id, should be a string of uuid. required: true type: string format: uuid responses: '200': description: Success schema: $ref: '#/definitions/RootCauseAnalysisInstance' default: description: Client error or server error (4xx or 5xx) schema: $ref: '#/definitions/ErrorDetail' headers: x-ms-error-code: description: error code type: string x-ms-examples: Query an instance information for root cause analysis: $ref: ./examples/GetRootCauseAnalysisInstance.json description: Needs a more full description created. delete: tags: - RootCauseAnalysisInstance summary: Microsoft Azure Delete An Instance For Root Cause Analysis operationId: microsoftAzureDeleterootcauseanalysisinstance produces: - application/json parameters: - in: path name: instanceId description: Instance unique id required: true type: string format: uuid responses: '204': description: The resource is deleted successfully or does not exist. default: description: Client error or server error (4xx or 5xx) schema: $ref: '#/definitions/ErrorDetail' headers: x-ms-error-code: description: error code type: string x-ms-examples: Delete an instance for root cause analysis: $ref: ./examples/DeleteRootCauseAnalysisInstance.json description: Needs a more full description created. /rootCauseAnalysis/instances: get: tags: - RootCauseAnalysisInstance summary: Microsoft Azure Get Instance List For Root Cause Analysis operationId: microsoftAzureListrootcauseanalysisinstances produces: - application/json parameters: - in: query name: skip description: For paging, skipped number type: integer format: int32 - in: query name: maxpagesize description: The maximum number of items in one page type: integer format: int32 - in: query name: filter description: The filter expression filters out the resources to be returned, currently contains(displayName, 'filter name’) is supported type: string responses: '200': description: Success schema: $ref: '#/definitions/RootCauseAnalysisInstanceResponseList' default: description: Client error or server error (4xx or 5xx) schema: $ref: '#/definitions/ErrorDetail' headers: x-ms-error-code: description: error code type: string x-ms-pageable: nextLinkName: nextLink x-ms-examples: Get instance list for root cause analysis: $ref: ./examples/ListRootCauseAnalysisInstances.json description: Needs a more full description created. definitions: CreateRootCauseAnalysisInstance: required: - displayName - kind type: object properties: kind: description: Root cause analysis type enum: - multidimensional type: string x-ms-enum: name: RootCauseAnalysisType modelAsString: true displayName: description: Instance name for root cause analysis type: string discriminator: kind example: targetMeasure: dataSetId: 01234567-8901-2345-6789-012345678901 measureName: Failure Rate assistiveMeasures: - dataSetId: 01234567-8901-2345-6789-012345678901 measureName: Error Count - dataSetId: 01234567-8901-2345-6789-012345678901 measureName: Total Count displayName: Sample Root Cause Analysis Instance Name kind: multidimensional ErrorDetail: type: object properties: message: description: Human-readable error message type: string code: description: Error code type: string RootCauseAnalysisInstance: required: - displayName - instanceId - kind type: object properties: kind: description: Root cause analysis type enum: - multidimensional type: string x-ms-enum: name: RootCauseAnalysisType modelAsString: true instanceId: format: uuid description: Instance unique ID for root cause analysis type: string displayName: description: Instance name for root cause analysis type: string discriminator: kind RootCauseAnalysisInstanceResponseList: required: - value type: object properties: nextLink: description: Link of next page, only provided when there are next pages type: string value: description: Response values type: array items: $ref: '#/definitions/RootCauseAnalysisInstance' x-ms-parameterized-host: hostTemplate: '{endpoint}' useSchemePrefix: false parameters: - $ref: '#/parameters/Endpoint'