diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/EventGrid.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/EventGrid.json index 0d0acaba28cb..be2a6d7513ab 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/EventGrid.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/EventGrid.json @@ -163,6 +163,9 @@ } ], "responses": { + "200": { + "description": "OK" + }, "202": { "description": "Accepted" }, @@ -619,6 +622,9 @@ } ], "responses": { + "200": { + "description": "OK" + }, "202": { "description": "Accepted" }, @@ -1382,6 +1388,9 @@ } ], "responses": { + "200": { + "description": "OK" + }, "202": { "description": "Accepted" }, @@ -1816,6 +1825,9 @@ } ], "responses": { + "200": { + "description": "OK" + }, "202": { "description": "Accepted" }, @@ -2811,6 +2823,9 @@ } ], "responses": { + "200": { + "description": "OK" + }, "202": { "description": "Accepted" }, @@ -4444,6 +4459,9 @@ } ], "responses": { + "200": { + "description": "OK" + }, "202": { "description": "Accepted" }, @@ -5176,6 +5194,9 @@ "schema": { "$ref": "#/definitions/ExtensionTopic" } + }, + "default": { + "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error." } }, "x-ms-examples": { @@ -5378,7 +5399,8 @@ "x-ms-enum": { "name": "PublicNetworkAccess", "modelAsString": true - } + }, + "default": "Enabled" }, "inboundIpRules": { "description": "This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are considered only if PublicNetworkAccess is enabled.", @@ -5501,12 +5523,12 @@ "readOnly": true }, "name": { - "description": "Name of the resource", + "description": "Name of the resource.", "type": "string", "readOnly": true }, "type": { - "description": "Type of the resource", + "description": "Type of the resource.", "type": "string", "readOnly": true } @@ -5725,7 +5747,8 @@ }, "sku": { "$ref": "#/definitions/ResourceSku", - "description": "The Sku pricing tier for the domain." + "description": "The Sku pricing tier for the domain.", + "default": "Basic" }, "identity": { "$ref": "#/definitions/IdentityInfo", @@ -5773,7 +5796,8 @@ "x-ms-enum": { "name": "PublicNetworkAccess", "modelAsString": true - } + }, + "default": "Enabled" }, "inboundIpRules": { "description": "This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are considered only if PublicNetworkAccess is enabled.", @@ -6251,6 +6275,12 @@ "$ref": "#/definitions/EventChannelProperties", "description": "Properties of the EventChannel.", "x-ms-client-flatten": true + }, + "systemData": { + "description": "The system metadata relating to Event Channel resource.", + "type": "object", + "readOnly": true, + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" } } }, @@ -6324,6 +6354,7 @@ }, "eventDeliverySchema": { "description": "The event delivery schema for the event subscription.", + "default": "EventGridSchema", "enum": [ "EventGridSchema", "CustomInputSchema", @@ -6454,7 +6485,8 @@ "properties": { "endpointUrl": { "description": "The URL that represents the endpoint of the destination of an event subscription.", - "type": "string" + "type": "string", + "x-ms-secret": true }, "endpointBaseUrl": { "description": "The base URL that represents the endpoint of the destination of an event subscription.", @@ -6464,11 +6496,13 @@ "maxEventsPerBatch": { "format": "int32", "description": "Maximum number of events per batch.", + "default": 1, "type": "integer" }, "preferredBatchSizeInKilobytes": { "format": "int32", "description": "Preferred batch size in Kilobytes.", + "default": 64, "type": "integer" }, "azureActiveDirectoryTenantId": { @@ -6700,11 +6734,13 @@ "maxEventsPerBatch": { "format": "int32", "description": "Maximum number of events per batch.", + "default": 1, "type": "integer" }, "preferredBatchSizeInKilobytes": { "format": "int32", "description": "Preferred batch size in Kilobytes.", + "default": 64, "type": "integer" } } @@ -6766,6 +6802,12 @@ "$ref": "#/definitions/EventSubscriptionProperties", "description": "Properties of the event subscription.", "x-ms-client-flatten": true + }, + "systemData": { + "description": "The system metadata relating to Event Subscription resource.", + "type": "object", + "readOnly": true, + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" } } }, @@ -6954,6 +6996,12 @@ "$ref": "#/definitions/PartnerNamespaceProperties", "description": "Properties of the partner namespace.", "x-ms-client-flatten": true + }, + "systemData": { + "description": "The system metadata relating to Partner Namespace resource.", + "type": "object", + "readOnly": true, + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" } } }, @@ -7110,6 +7158,12 @@ "$ref": "#/definitions/PartnerRegistrationProperties", "description": "Properties of the partner registration.", "x-ms-client-flatten": true + }, + "systemData": { + "description": "The system metadata relating to Partner Registration resource.", + "type": "object", + "readOnly": true, + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" } } }, @@ -7300,6 +7354,12 @@ "$ref": "#/definitions/PartnerTopicProperties", "description": "Properties of the partner topic.", "x-ms-client-flatten": true + }, + "systemData": { + "description": "The system metadata relating to Partner Topic resource.", + "type": "object", + "readOnly": true, + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" } } }, @@ -7432,11 +7492,11 @@ "type": "string" }, "name": { - "description": "Name of the resource", + "description": "Name of the resource.", "type": "string" }, "type": { - "description": "Type of the resource", + "description": "Type of the resource.", "type": "string" } } @@ -7530,6 +7590,12 @@ "$ref": "#/definitions/SystemTopicProperties", "description": "Properties of the system topic.", "x-ms-client-flatten": true + }, + "systemData": { + "description": "The system metadata relating to System Topic resource.", + "type": "object", + "readOnly": true, + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" } } }, @@ -7628,7 +7694,8 @@ "x-ms-enum": { "name": "PublicNetworkAccess", "modelAsString": true - } + }, + "default": "Enabled" }, "inboundIpRules": { "description": "This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are considered only if PublicNetworkAccess is enabled.", @@ -7655,7 +7722,8 @@ }, "sku": { "$ref": "#/definitions/ResourceSku", - "description": "The Sku pricing tier for the topic." + "description": "The Sku pricing tier for the topic.", + "default": "Basic" }, "identity": { "$ref": "#/definitions/IdentityInfo", @@ -7703,7 +7771,8 @@ "x-ms-enum": { "name": "PublicNetworkAccess", "modelAsString": true - } + }, + "default": "Enabled" }, "inboundIpRules": { "description": "This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are considered only if PublicNetworkAccess is enabled.", @@ -7904,6 +7973,7 @@ "description": "The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page.", "required": false, "type": "integer", + "format": "int32", "x-ms-parameter-location": "method" } }, diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/DomainTopics_Delete.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/DomainTopics_Delete.json index 2f7779e09554..5be4e21b3bfe 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/DomainTopics_Delete.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/DomainTopics_Delete.json @@ -7,6 +7,7 @@ "api-version": "2020-04-01-preview" }, "responses": { + "200": {}, "202": {}, "204": {} } diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Domains_Delete.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Domains_Delete.json index a963710c69a0..3712305de1f9 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Domains_Delete.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/Domains_Delete.json @@ -6,6 +6,7 @@ "api-version": "2020-04-01-preview" }, "responses": { + "200": {}, "202": {}, "204": {} } diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/PartnerNamespaces_Delete.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/PartnerNamespaces_Delete.json index 0705701a6575..4aa99e8d5351 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/PartnerNamespaces_Delete.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/PartnerNamespaces_Delete.json @@ -6,6 +6,7 @@ "api-version": "2020-04-01-preview" }, "responses": { + "200": {}, "202": {}, "204": {} } diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/PartnerTopicEventSubscriptions_Delete.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/PartnerTopicEventSubscriptions_Delete.json index 542fabb75ef6..625919571387 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/PartnerTopicEventSubscriptions_Delete.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/PartnerTopicEventSubscriptions_Delete.json @@ -7,6 +7,7 @@ "api-version": "2020-04-01-preview" }, "responses": { + "200": {}, "202": {}, "204": {} } diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/SystemTopicEventSubscriptions_Delete.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/SystemTopicEventSubscriptions_Delete.json index 2c6bf3ea129c..f595913a4e04 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/SystemTopicEventSubscriptions_Delete.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/SystemTopicEventSubscriptions_Delete.json @@ -7,6 +7,7 @@ "api-version": "2020-04-01-preview" }, "responses": { + "200": {}, "202": {}, "204": {} } diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/SystemTopics_Delete.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/SystemTopics_Delete.json index 2bab4abe8b38..606afc866672 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/SystemTopics_Delete.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-04-01-preview/examples/SystemTopics_Delete.json @@ -6,6 +6,7 @@ "api-version": "2020-04-01-preview" }, "responses": { + "200": {}, "202": {}, "204": {} } diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-10-15-preview/EventGrid.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-10-15-preview/EventGrid.json index e15fc9d85507..36956f7dd4fd 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-10-15-preview/EventGrid.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-10-15-preview/EventGrid.json @@ -163,6 +163,9 @@ } ], "responses": { + "200": { + "description": "OK" + }, "202": { "description": "Accepted" }, @@ -619,6 +622,9 @@ } ], "responses": { + "200": { + "description": "OK" + }, "202": { "description": "Accepted" }, @@ -5250,7 +5256,7 @@ } }, "202": { - "description": "Topic regenerate key request accepted." + "description": "Accepted" }, "default": { "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error." @@ -5568,7 +5574,8 @@ "x-ms-enum": { "name": "PublicNetworkAccess", "modelAsString": true - } + }, + "default": "Enabled" }, "inboundIpRules": { "description": "This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are considered only if PublicNetworkAccess is enabled.", @@ -5915,11 +5922,18 @@ }, "sku": { "$ref": "#/definitions/ResourceSku", - "description": "The Sku pricing tier for the domain." + "description": "The Sku pricing tier for the domain.", + "default": "Basic" }, "identity": { "$ref": "#/definitions/IdentityInfo", "description": "Identity information for the resource." + }, + "systemData": { + "description": "The system metadata relating to Domain resource.", + "type": "object", + "readOnly": true, + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" } } }, @@ -5963,7 +5977,8 @@ "x-ms-enum": { "name": "PublicNetworkAccess", "modelAsString": true - } + }, + "default": "Enabled" }, "inboundIpRules": { "description": "This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are considered only if PublicNetworkAccess is enabled.", @@ -6053,6 +6068,12 @@ "$ref": "#/definitions/DomainTopicProperties", "description": "Properties of the Domain Topic.", "x-ms-client-flatten": true + }, + "systemData": { + "description": "The system metadata relating to Domain Topic resource.", + "type": "object", + "readOnly": true, + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" } } }, @@ -6579,7 +6600,8 @@ "x-ms-client-flatten": true }, "systemData": { - "description": "The system metadata relating to this resource.", + "description": "The system metadata relating to Event Channel resource.", + "type": "object", "readOnly": true, "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" } @@ -6655,6 +6677,7 @@ }, "eventDeliverySchema": { "description": "The event delivery schema for the event subscription.", + "default": "EventGridSchema", "enum": [ "EventGridSchema", "CustomInputSchema", @@ -6738,11 +6761,13 @@ "maxDeliveryAttempts": { "format": "int32", "description": "Maximum number of delivery retry attempts for events.", + "default": 30, "type": "integer" }, "eventTimeToLiveInMinutes": { "format": "int32", "description": "Time To Live (in minutes) for events.", + "default": 1440, "type": "integer" } } @@ -6789,7 +6814,8 @@ "properties": { "endpointUrl": { "description": "The URL that represents the endpoint of the destination of an event subscription.", - "type": "string" + "type": "string", + "x-ms-secret": true }, "endpointBaseUrl": { "description": "The base URL that represents the endpoint of the destination of an event subscription.", @@ -6799,11 +6825,13 @@ "maxEventsPerBatch": { "format": "int32", "description": "Maximum number of events per batch.", + "default": 1, "type": "integer" }, "preferredBatchSizeInKilobytes": { "format": "int32", "description": "Preferred batch size in Kilobytes.", + "default": 64, "type": "integer" }, "azureActiveDirectoryTenantId": { @@ -7159,11 +7187,13 @@ "maxEventsPerBatch": { "format": "int32", "description": "Maximum number of events per batch.", + "default": 1, "type": "integer" }, "preferredBatchSizeInKilobytes": { "format": "int32", "description": "Preferred batch size in Kilobytes.", + "default": 64, "type": "integer" }, "deliveryAttributeMappings": { @@ -7234,7 +7264,8 @@ "x-ms-client-flatten": true }, "systemData": { - "description": "The system metadata relating to this resource.", + "description": "The system metadata relating to Event Subscription resource.", + "type": "object", "readOnly": true, "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" } @@ -7440,7 +7471,8 @@ "x-ms-client-flatten": true }, "systemData": { - "description": "The system metadata relating to this resource.", + "description": "The system metadata relating to Partner Namespace resource.", + "type": "object", "readOnly": true, "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" } @@ -7601,7 +7633,8 @@ "x-ms-client-flatten": true }, "systemData": { - "description": "The system metadata relating to this resource.", + "description": "The system metadata relating to Partner Registration resource.", + "type": "object", "readOnly": true, "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" } @@ -7800,7 +7833,8 @@ "description": "Identity information for the resource." }, "systemData": { - "description": "The system metadata relating to this resource.", + "description": "The system metadata relating to Partner Topic resource.", + "type": "object", "readOnly": true, "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" } @@ -8144,7 +8178,8 @@ "x-ms-enum": { "name": "PublicNetworkAccess", "modelAsString": true - } + }, + "default": "Enabled" }, "inboundIpRules": { "description": "This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are considered only if PublicNetworkAccess is enabled.", @@ -8185,7 +8220,8 @@ }, "sku": { "$ref": "#/definitions/ResourceSku", - "description": "The Sku pricing tier for the topic." + "description": "The Sku pricing tier for the topic.", + "default": "Basic" }, "identity": { "$ref": "#/definitions/IdentityInfo", @@ -8206,6 +8242,12 @@ "extendedLocation": { "$ref": "#/definitions/ExtendedLocation", "description": "Extended location of the resource." + }, + "systemData": { + "description": "The system metadata relating to Topic resource.", + "type": "object", + "readOnly": true, + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" } } }, @@ -8249,7 +8291,8 @@ "x-ms-enum": { "name": "PublicNetworkAccess", "modelAsString": true - } + }, + "default": "Enabled" }, "inboundIpRules": { "description": "This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are considered only if PublicNetworkAccess is enabled.", @@ -8462,6 +8505,7 @@ "description": "The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page.", "required": false, "type": "integer", + "format": "int32", "x-ms-parameter-location": "method" } }, diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-10-15-preview/examples/DomainTopics_Delete.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-10-15-preview/examples/DomainTopics_Delete.json index 89d58d738ea7..0613729b83f6 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-10-15-preview/examples/DomainTopics_Delete.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-10-15-preview/examples/DomainTopics_Delete.json @@ -7,6 +7,7 @@ "api-version": "2020-10-15-preview" }, "responses": { + "200": {}, "202": {}, "204": {} } diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-10-15-preview/examples/Domains_Delete.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-10-15-preview/examples/Domains_Delete.json index 4719e9db481e..ae3239e3feee 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-10-15-preview/examples/Domains_Delete.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-10-15-preview/examples/Domains_Delete.json @@ -6,6 +6,7 @@ "api-version": "2020-10-15-preview" }, "responses": { + "200": {}, "202": {}, "204": {} } diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json index 7a2d45b3710e..28cfb574780c 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/EventGrid.json @@ -163,6 +163,9 @@ } ], "responses": { + "200": { + "description": "OK" + }, "202": { "description": "Accepted" }, @@ -619,6 +622,9 @@ } ], "responses": { + "200": { + "description": "OK" + }, "202": { "description": "Accepted" }, @@ -2108,7 +2114,8 @@ "Topics_RegenerateKey": { "$ref": "./examples/Topics_RegenerateKey.json" } - } + }, + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/{parentType}/{parentName}/privateEndpointConnections/{privateEndpointConnectionName}": { @@ -2601,13 +2608,13 @@ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error." } }, - "x-ms-pageable": { - "nextLinkName": null - }, "x-ms-examples": { "Topics_ListEventTypes": { "$ref": "./examples/Topics_ListEventTypes.json" } + }, + "x-ms-pageable": { + "nextLinkName": null } } }, @@ -2804,7 +2811,8 @@ "x-ms-enum": { "name": "PublicNetworkAccess", "modelAsString": true - } + }, + "default": "Enabled" }, "inboundIpRules": { "description": "This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are considered only if PublicNetworkAccess is enabled.", @@ -3081,6 +3089,12 @@ "$ref": "#/definitions/DomainProperties", "description": "Properties of the domain.", "x-ms-client-flatten": true + }, + "systemData": { + "description": "The system metadata relating to Domain resource.", + "type": "object", + "readOnly": true, + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" } } }, @@ -3116,7 +3130,8 @@ "x-ms-enum": { "name": "PublicNetworkAccess", "modelAsString": true - } + }, + "default": "Enabled" }, "inboundIpRules": { "description": "This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are considered only if PublicNetworkAccess is enabled.", @@ -3206,6 +3221,12 @@ "$ref": "#/definitions/DomainTopicProperties", "description": "Properties of the Domain Topic.", "x-ms-client-flatten": true + }, + "systemData": { + "description": "The system metadata relating to Domain Topic resource.", + "type": "object", + "readOnly": true, + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" } } }, @@ -3275,6 +3296,7 @@ }, "eventDeliverySchema": { "description": "The event delivery schema for the event subscription.", + "default": "EventGridSchema", "enum": [ "EventGridSchema", "CustomInputSchema", @@ -3336,11 +3358,13 @@ "maxDeliveryAttempts": { "format": "int32", "description": "Maximum number of delivery retry attempts for events.", + "default": 30, "type": "integer" }, "eventTimeToLiveInMinutes": { "format": "int32", "description": "Time To Live (in minutes) for events.", + "default": 1440, "type": "integer" } } @@ -3351,7 +3375,8 @@ "properties": { "endpointUrl": { "description": "The URL that represents the endpoint of the destination of an event subscription.", - "type": "string" + "type": "string", + "x-ms-secret": true }, "endpointBaseUrl": { "description": "The base URL that represents the endpoint of the destination of an event subscription.", @@ -3361,11 +3386,13 @@ "maxEventsPerBatch": { "format": "int32", "description": "Maximum number of events per batch.", + "default": 1, "type": "integer" }, "preferredBatchSizeInKilobytes": { "format": "int32", "description": "Preferred batch size in Kilobytes.", + "default": 64, "type": "integer" }, "azureActiveDirectoryTenantId": { @@ -3852,11 +3879,13 @@ "maxEventsPerBatch": { "format": "int32", "description": "Maximum number of events per batch.", + "default": 1, "type": "integer" }, "preferredBatchSizeInKilobytes": { "format": "int32", "description": "Preferred batch size in Kilobytes.", + "default": 64, "type": "integer" } } @@ -3918,6 +3947,12 @@ "$ref": "#/definitions/EventSubscriptionProperties", "description": "Properties of the event subscription.", "x-ms-client-flatten": true + }, + "systemData": { + "description": "The system metadata relating to Event Subscription resource.", + "type": "object", + "readOnly": true, + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" } } }, @@ -4084,11 +4119,11 @@ "type": "string" }, "name": { - "description": "Name of the resource", + "description": "Name of the resource.", "type": "string" }, "type": { - "description": "Type of the resource", + "description": "Type of the resource.", "type": "string" } } @@ -4198,7 +4233,8 @@ "x-ms-enum": { "name": "PublicNetworkAccess", "modelAsString": true - } + }, + "default": "Enabled" }, "inboundIpRules": { "description": "This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are considered only if PublicNetworkAccess is enabled.", @@ -4222,6 +4258,12 @@ "$ref": "#/definitions/TopicProperties", "description": "Properties of the topic.", "x-ms-client-flatten": true + }, + "systemData": { + "description": "The system metadata relating to Topic resource.", + "type": "object", + "readOnly": true, + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" } } }, @@ -4257,7 +4299,8 @@ "x-ms-enum": { "name": "PublicNetworkAccess", "modelAsString": true - } + }, + "default": "Enabled" }, "inboundIpRules": { "description": "This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are considered only if PublicNetworkAccess is enabled.", @@ -4479,6 +4522,7 @@ "description": "The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page.", "required": false, "type": "integer", + "format": "int32", "x-ms-parameter-location": "method" } }, diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/DomainTopics_Delete.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/DomainTopics_Delete.json index 2f7779e09554..5be4e21b3bfe 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/DomainTopics_Delete.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/DomainTopics_Delete.json @@ -7,6 +7,7 @@ "api-version": "2020-04-01-preview" }, "responses": { + "200": {}, "202": {}, "204": {} } diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Domains_Delete.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Domains_Delete.json index a963710c69a0..3712305de1f9 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Domains_Delete.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2020-06-01/examples/Domains_Delete.json @@ -6,6 +6,7 @@ "api-version": "2020-04-01-preview" }, "responses": { + "200": {}, "202": {}, "204": {} }