swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector Trigger API schemes: - https tags: - name: Trigger paths: ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shareSubscriptions/{shareSubscriptionName}/triggers/{triggerName} : get: tags: - Trigger summary: Microsoft Azure Get Trigger In A Sharesubscription description: Get a Trigger in a shareSubscription operationId: microsoftAzureTriggersGet parameters: - $ref: '#/parameters/subscriptionId' - $ref: '#/parameters/resourceGroupName' - $ref: '#/parameters/accountName' - name: shareSubscriptionName in: path description: The name of the shareSubscription. required: true type: string - name: triggerName in: path description: The name of the trigger. required: true type: string - $ref: '#/parameters/api-version' responses: '200': description: Success schema: $ref: '#/definitions/Trigger' default: description: An error response received from the Microsoft.DataShare resource provider. schema: $ref: '#/definitions/DataShareError' x-ms-examples: Triggers_Get: $ref: ./examples/Triggers_Get.json put: tags: - Trigger summary: Microsoft Azure This Method Creates A Trigger For A Share Subscription description: 'Create a Trigger ' operationId: microsoftAzureTriggersCreate parameters: - $ref: '#/parameters/subscriptionId' - $ref: '#/parameters/resourceGroupName' - $ref: '#/parameters/accountName' - name: shareSubscriptionName in: path description: The name of the share subscription which will hold the data set sink. required: true type: string - name: triggerName in: path description: The name of the trigger. required: true type: string - name: trigger in: body description: Trigger details. required: true schema: $ref: '#/definitions/Trigger' - $ref: '#/parameters/api-version' responses: '200': description: Success schema: $ref: '#/definitions/Trigger' '201': description: Success schema: $ref: '#/definitions/Trigger' default: description: An error response received from the Microsoft.DataShare resource provider. schema: $ref: '#/definitions/DataShareError' x-ms-long-running-operation: true x-ms-examples: Triggers_Create: $ref: ./examples/Triggers_Create.json delete: tags: - Trigger summary: Microsoft Azure Delete Trigger In A Sharesubscription description: Delete a Trigger in a shareSubscription operationId: microsoftAzureTriggersDelete parameters: - $ref: '#/parameters/subscriptionId' - $ref: '#/parameters/resourceGroupName' - $ref: '#/parameters/accountName' - name: shareSubscriptionName in: path description: The name of the shareSubscription. required: true type: string - name: triggerName in: path description: The name of the trigger. required: true type: string - $ref: '#/parameters/api-version' responses: '200': description: Success schema: $ref: '#/definitions/OperationResponse' '202': description: Accepted '204': description: Success default: description: An error response received from the Microsoft.DataShare resource provider. schema: $ref: '#/definitions/DataShareError' x-ms-long-running-operation: true x-ms-examples: Triggers_Delete: $ref: ./examples/Triggers_Delete.json ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shareSubscriptions/{shareSubscriptionName}/triggers : get: tags: - Trigger summary: Microsoft Azure List Triggers In A Share Subscription description: List Triggers in a share subscription operationId: microsoftAzureTriggersListbysharesubscription parameters: - $ref: '#/parameters/subscriptionId' - $ref: '#/parameters/resourceGroupName' - $ref: '#/parameters/accountName' - name: shareSubscriptionName in: path description: The name of the share subscription. required: true type: string - $ref: '#/parameters/api-version' - name: $skipToken in: query description: Continuation token required: false type: string responses: '200': description: Success schema: $ref: '#/definitions/TriggerList' default: description: An error response received from the Microsoft.DataShare resource provider. schema: $ref: '#/definitions/DataShareError' x-ms-pageable: nextLinkName: nextLink x-ms-examples: Triggers_ListByShareSubscription: $ref: ./examples/Triggers_ListByShareSubscription.json definitions: ProxyDto: description: Base data transfer object implementation for proxy resources. type: object properties: id: description: The resource id of the azure resource type: string readOnly: true name: description: Name of the azure resource type: string readOnly: true type: description: Type of the azure resource type: string readOnly: true x-ms-azure-resource: true Trigger: description: A Trigger data transfer object. required: - kind type: object allOf: - $ref: '#/definitions/ProxyDto' properties: kind: description: Kind of synchronization on trigger. enum: - ScheduleBased type: string x-ms-enum: name: triggerKind modelAsString: true discriminator: kind TriggerList: description: List response for get triggers required: - value type: object properties: nextLink: description: The Url of next result page. type: string value: description: Collection of items of type DataTransferObjects. uniqueItems: false type: array items: $ref: '#/definitions/Trigger' DataShareErrorInfo: description: The data share error body model. required: - code - message type: object properties: code: description: Code of the error type: string details: description: Nested details of the error model uniqueItems: false type: array items: $ref: '#/definitions/DataShareErrorInfo' message: description: Message of the error type: string target: description: Target of the error type: string DataShareError: description: The data share error model. required: - error type: object properties: error: $ref: '#/definitions/DataShareErrorInfo' description: The data share error body OperationResponse: description: Response for long running operation required: - status type: object properties: endTime: format: date-time description: start time type: string error: $ref: '#/definitions/DataShareErrorInfo' description: The error property when status is failed. startTime: format: date-time description: start time type: string status: description: Operation state of the long running operation. enum: - Accepted - InProgress - TransientFailure - Succeeded - Failed - Canceled type: string x-ms-enum: name: status modelAsString: true parameters: resourceGroupName: name: resourceGroupName in: path description: The resource group name. required: true type: string x-ms-parameter-location: method accountName: name: accountName in: path description: The name of the share account. required: true type: string x-ms-parameter-location: method subscriptionId: name: subscriptionId in: path description: The subscription identifier required: true type: string api-version: name: api-version in: query description: The api version to use. required: true type: string x-ms-parameterized-host: hostTemplate: '{endpoint}' useSchemePrefix: false parameters: - $ref: '#/parameters/Endpoint'