Skip to content

Commit

Permalink
Update databox.json
Browse files Browse the repository at this point in the history
  • Loading branch information
aakash049 committed Oct 13, 2022
1 parent c411990 commit 215f002
Showing 1 changed file with 288 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -868,6 +868,193 @@
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}/eventGridFilters": {
"get": {
"tags": [
"EventGridSubscription"
],
"description": "Gets the list of event grid filter subscriptions for a job",
"produces": [
"application/json"
],
"parameters": [
{
"$ref": "#/parameters/subscriptionIdParameter"
},
{
"$ref": "#/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/parameters/jobNameParameter"
},
{
"$ref": "#/parameters/apiVersionParameter"
}
],
"responses": {
"200": {
"description": "Success",
"schema": {
"type": "array",
"items": {
"$ref": "#/definitions/EventGridSubscription"
}
}
},
"default": {
"description": "Error response describing reason for operation failure.",
"schema": {
"$ref": "#/definitions/ApiError"
}
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}/eventGridFilters/{eventGridFilterName}": {
"put": {
"tags": [
"EventGridSubscription"
],
"description": "Updates a event grid filter subscription for this service",
"consumes": [
"application/json-patch+json",
"application/json",
"text/json",
"application/*+json"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "path",
"name": "eventGridFilterName",
"required": true,
"type": "string"
},
{
"$ref": "#/parameters/subscriptionIdParameter"
},
{
"$ref": "#/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/parameters/jobNameParameter"
},
{
"$ref": "#/parameters/apiVersionParameter"
},
{
"in": "body",
"name": "body",
"description": "Request body",
"schema": {
"$ref": "#/definitions/EventGridSubscription"
}
}
],
"responses": {
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/EventGridSubscription"
}
},
"default": {
"description": "Error response describing reason for operation failure.",
"schema": {
"$ref": "#/definitions/ApiError"
}
}
}
},
"get": {
"tags": [
"EventGridSubscription"
],
"description": "Gets a event grid filter subscription for this service",
"produces": [
"application/json"
],
"parameters": [
{
"in": "path",
"name": "eventGridFilterName",
"required": true,
"type": "string"
},
{
"$ref": "#/parameters/subscriptionIdParameter"
},
{
"$ref": "#/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/parameters/jobNameParameter"
},
{
"$ref": "#/parameters/apiVersionParameter"
}
],
"responses": {
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/EventGridSubscription"
}
},
"default": {
"description": "Error response describing reason for operation failure.",
"schema": {
"$ref": "#/definitions/ApiError"
}
}
}
},
"delete": {
"tags": [
"EventGridSubscription"
],
"description": "Deletes a event grid filter subscription for this service",
"produces": [
"application/json"
],
"parameters": [
{
"in": "path",
"name": "eventGridFilterName",
"required": true,
"type": "string"
},
{
"$ref": "#/parameters/subscriptionIdParameter"
},
{
"$ref": "#/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/parameters/jobNameParameter"
},
{
"$ref": "#/parameters/apiVersionParameter"
}
],
"responses": {
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/EventGridSubscription"
}
},
"default": {
"description": "Error response describing reason for operation failure.",
"schema": {
"$ref": "#/definitions/ApiError"
}
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBox/jobs/{jobName}/listCredentials": {
"post": {
"tags": [
Expand Down Expand Up @@ -3477,6 +3664,107 @@
}
}
},
"EventGridFilterNotificationProperties": {
"type": "object",
"properties": {
"filter": {
"$ref": "#/definitions/EventGridFilterProperties"
},
"subscriberIdentityInfo": {
"$ref": "#/definitions/EventGridFilterSubscriberIdentityInfo"
},
"provisioningState": {
"format": "int32",
"enum": [
"Succeeded",
"Canceled",
"Failed",
"Pending"
],
"type": "integer",
"x-ms-enum": {
"name ": "EventGridFilterNotificationProvisioningState",
"modelAsExtensible": true,
"values": [
{
"value": "Succeeded",
"description": "Provisioning has succeeded"
},
{
"value": "Canceled",
"description": "Provisioning has been canceled"
},
{
"value": "Failed",
"description": "Provisioning has failed"
},
{
"value": "Pending",
"description": "Provisioning is pending"
}
]
}
}
},
"additionalProperties": false
},
"EventGridFilterProperties": {
"type": "object",
"properties": {
"subjectBeginsWith": {
"type": "string"
},
"subjectEndsWith": {
"type": "string"
},
"includedEventTypes": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
},
"EventGridFilterSubscriberIdentityInfo": {
"type": "object",
"properties": {
"clientPrincipalId": {
"type": "string"
},
"clientObjectId": {
"type": "string"
},
"clientTenantId": {
"type": "string"
},
"clientApplicationId": {
"type": "string"
},
"clientAuthorizationSource": {
"type": "string"
}
},
"additionalProperties": false
},
"EventGridSubscription": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"properties": {
"$ref": "#/definitions/EventGridFilterNotificationProperties"
}
},
"additionalProperties": false
},
"FilterFileDetails": {
"description": "Details of the filter files to be used for data transfer.",
"required": [
Expand Down

0 comments on commit 215f002

Please sign in to comment.