swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector Data Collection Rules API schemes: - https tags: - name: Data Collection Rules paths: /dataCollectionRules/{ruleId}/streams/{stream}: post: tags: - Data Collection Rules summary: Microsoft Azure Ingestion Api Used To Directly Ingest Data Using Data Collection Rules description: See error response code and error response message for more detail. operationId: microsoftAzureUpload consumes: - application/json produces: - application/json parameters: - in: path name: ruleId description: The immutable Id of the Data Collection Rule resource. required: true type: string - in: path name: stream description: The streamDeclaration name as defined in the Data Collection Rule. required: true type: string - in: query name: api-version required: true type: string description: The API version to use for this operation. - in: header name: Content-Encoding description: gzip type: string - in: header name: x-ms-client-request-id description: Client request Id type: string - in: body name: body description: An array of objects matching the schema defined by the provided stream. required: true schema: type: array items: type: object x-ms-examples: postIngestUsingDataCollectionRule: $ref: ./examples/post_IngestUsingDataCollectionRule.json responses: '204': description: Ingestion request accepted default: description: An error response object. schema: $ref: ../../../../../common-types/data-plane/v1/types.json#/definitions/ErrorResponse headers: x-ms-error-code: description: A value that indicates the ingestion service error code. type: string x-ms-parameterized-host: hostTemplate: '{endpoint}' useSchemePrefix: false parameters: - $ref: '#/parameters/Endpoint'