diff --git a/specification/common-types/resource-management/v1/privatelinks.json b/specification/common-types/resource-management/v1/privatelinks.json index 91e640b03feb..5ceea8c222c7 100644 --- a/specification/common-types/resource-management/v1/privatelinks.json +++ b/specification/common-types/resource-management/v1/privatelinks.json @@ -7,6 +7,7 @@ "paths": {}, "definitions": { "PrivateEndpoint": { + "type": "object", "properties": { "id": { "readOnly": true, @@ -17,6 +18,7 @@ "description": "The Private Endpoint resource." }, "PrivateEndpointConnection": { + "type": "object", "properties": { "properties": { "$ref": "#/definitions/PrivateEndpointConnectionProperties", @@ -32,6 +34,7 @@ "description": "The Private Endpoint Connection resource." }, "PrivateEndpointConnectionProperties": { + "type": "object", "properties": { "privateEndpoint": { "$ref": "#/definitions/PrivateEndpoint", @@ -52,6 +55,7 @@ "description": "Properties of the PrivateEndpointConnectProperties." }, "PrivateLinkServiceConnectionState": { + "type": "object", "properties": { "status": { "$ref": "#/definitions/PrivateEndpointServiceConnectionStatus", @@ -97,6 +101,7 @@ } }, "PrivateLinkResource": { + "type": "object", "properties": { "properties": { "$ref": "#/definitions/PrivateLinkResourceProperties", @@ -112,6 +117,7 @@ "description": "A private link resource" }, "PrivateLinkResourceProperties": { + "type": "object", "properties": { "groupId": { "description": "The private link resource group id.", @@ -137,6 +143,7 @@ "description": "Properties of a private link resource." }, "PrivateEndpointConnectionListResult": { + "type": "object", "properties": { "value": { "type": "array", @@ -149,6 +156,7 @@ "description": "List of private endpoint connection associated with the specified storage account" }, "PrivateLinkResourceListResult": { + "type": "object", "properties": { "value": { "type": "array", diff --git a/specification/common-types/resource-management/v1/types.json b/specification/common-types/resource-management/v1/types.json index bf35ea6116c8..8a817487e2b9 100644 --- a/specification/common-types/resource-management/v1/types.json +++ b/specification/common-types/resource-management/v1/types.json @@ -9,6 +9,7 @@ "Resource": { "title": "Resource", "description": "Common fields that are returned in the response for all Azure Resource Manager resources", + "type": "object", "properties": { "id": { "readOnly": true, @@ -32,6 +33,7 @@ "x-ms-client-name": "AzureEntityResource", "title": "Entity Resource", "description": "The resource model definition for an Azure Resource Manager resource with an etag.", + "type": "object", "properties": { "etag": { "type": "string", @@ -48,6 +50,7 @@ "TrackedResource": { "title": "Tracked Resource", "description": "The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'", + "type": "object", "properties": { "tags": { "type": "object", @@ -82,6 +85,7 @@ "ProxyResource": { "title": "Proxy Resource", "description": "The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location", + "type": "object", "allOf": [ { "$ref": "#/definitions/Resource" @@ -90,6 +94,7 @@ }, "ResourceModelWithAllowedPropertySet": { "description": "The resource model definition containing the full set of allowed properties for a resource. Except properties bag, there cannot be a top level property outside of this set.", + "type": "object", "properties": { "id": { "readOnly": true, @@ -181,6 +186,7 @@ }, "Sku": { "description": "The resource model definition representing SKU", + "type": "object", "properties": { "name": { "type": "string", @@ -220,6 +226,7 @@ }, "Identity": { "description": "Identity for the resource.", + "type": "object", "properties": { "principalId": { "readOnly": true, @@ -245,6 +252,7 @@ } }, "Plan": { + "type": "object", "properties": { "name": { "type": "string", @@ -277,6 +285,7 @@ "ErrorResponse": { "title": "Error Response", "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.)", + "type": "object", "properties": { "code": { "readOnly": true, @@ -312,6 +321,7 @@ } }, "ErrorAdditionalInfo": { + "type": "object", "properties": { "type": { "readOnly": true, @@ -343,6 +353,7 @@ }, "display": { "description": "Localized display information for this particular operation.", + "type": "object", "properties": { "provider": { "description": "The localized friendly form of the resource provider name, e.g. \"Microsoft Monitoring Insights\" or \"Microsoft Compute\".", @@ -396,6 +407,7 @@ }, "OperationListResult": { "description": "A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results.", + "type": "object", "properties": { "value": { "type": "array", diff --git a/specification/common-types/resource-management/v2/privatelinks.json b/specification/common-types/resource-management/v2/privatelinks.json index be415f3555ea..117c93054e7b 100644 --- a/specification/common-types/resource-management/v2/privatelinks.json +++ b/specification/common-types/resource-management/v2/privatelinks.json @@ -7,6 +7,7 @@ "paths": {}, "definitions": { "PrivateEndpoint": { + "type": "object", "properties": { "id": { "readOnly": true, @@ -17,6 +18,7 @@ "description": "The Private Endpoint resource." }, "PrivateEndpointConnection": { + "type": "object", "properties": { "properties": { "$ref": "#/definitions/PrivateEndpointConnectionProperties", @@ -32,6 +34,7 @@ "description": "The Private Endpoint Connection resource." }, "PrivateEndpointConnectionProperties": { + "type": "object", "properties": { "privateEndpoint": { "$ref": "#/definitions/PrivateEndpoint", @@ -52,6 +55,7 @@ "description": "Properties of the PrivateEndpointConnectProperties." }, "PrivateLinkServiceConnectionState": { + "type": "object", "properties": { "status": { "$ref": "#/definitions/PrivateEndpointServiceConnectionStatus", @@ -97,6 +101,7 @@ } }, "PrivateLinkResource": { + "type": "object", "properties": { "properties": { "$ref": "#/definitions/PrivateLinkResourceProperties", @@ -112,6 +117,7 @@ "description": "A private link resource" }, "PrivateLinkResourceProperties": { + "type": "object", "properties": { "groupId": { "description": "The private link resource group id.", @@ -137,6 +143,7 @@ "description": "Properties of a private link resource." }, "PrivateEndpointConnectionListResult": { + "type": "object", "properties": { "value": { "type": "array", @@ -149,6 +156,7 @@ "description": "List of private endpoint connection associated with the specified storage account" }, "PrivateLinkResourceListResult": { + "type": "object", "properties": { "value": { "type": "array", diff --git a/specification/common-types/resource-management/v2/types.json b/specification/common-types/resource-management/v2/types.json index e7e871a7a89d..a6224050586b 100644 --- a/specification/common-types/resource-management/v2/types.json +++ b/specification/common-types/resource-management/v2/types.json @@ -9,6 +9,7 @@ "Resource": { "title": "Resource", "description": "Common fields that are returned in the response for all Azure Resource Manager resources", + "type": "object", "properties": { "id": { "readOnly": true, @@ -32,6 +33,7 @@ "x-ms-client-name": "AzureEntityResource", "title": "Entity Resource", "description": "The resource model definition for an Azure Resource Manager resource with an etag.", + "type": "object", "properties": { "etag": { "type": "string", @@ -48,6 +50,7 @@ "TrackedResource": { "title": "Tracked Resource", "description": "The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'", + "type": "object", "properties": { "tags": { "type": "object", @@ -82,6 +85,7 @@ "ProxyResource": { "title": "Proxy Resource", "description": "The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location", + "type": "object", "allOf": [ { "$ref": "#/definitions/Resource" @@ -90,6 +94,7 @@ }, "ResourceModelWithAllowedPropertySet": { "description": "The resource model definition containing the full set of allowed properties for a resource. Except properties bag, there cannot be a top level property outside of this set.", + "type": "object", "properties": { "id": { "readOnly": true, @@ -181,6 +186,7 @@ }, "Sku": { "description": "The resource model definition representing SKU", + "type": "object", "properties": { "name": { "type": "string", @@ -220,6 +226,7 @@ }, "Identity": { "description": "Identity for the resource.", + "type": "object", "properties": { "principalId": { "readOnly": true, @@ -245,6 +252,7 @@ } }, "Plan": { + "type": "object", "properties": { "name": { "type": "string", @@ -276,6 +284,7 @@ }, "ErrorDetail": { "description": "The error detail.", + "type": "object", "properties": { "code": { "readOnly": true, @@ -313,6 +322,7 @@ "ErrorResponse": { "title": "Error response", "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).", + "type": "object", "properties": { "error": { "description": "The error object.", @@ -321,6 +331,7 @@ } }, "ErrorAdditionalInfo": { + "type": "object", "properties": { "type": { "readOnly": true, @@ -352,6 +363,7 @@ }, "display": { "description": "Localized display information for this particular operation.", + "type": "object", "properties": { "provider": { "description": "The localized friendly form of the resource provider name, e.g. \"Microsoft Monitoring Insights\" or \"Microsoft Compute\".", @@ -405,6 +417,7 @@ }, "OperationListResult": { "description": "A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results.", + "type": "object", "properties": { "value": { "type": "array",