Skip to content

Commit

Permalink
Update ARM Specs (#535)
Browse files Browse the repository at this point in the history
Automated PR generated by the ARM Spec Updater action
  • Loading branch information
lawrencegripper committed Nov 7, 2023
2 parents 4e2e90d + f0008c9 commit 55f2c1b
Show file tree
Hide file tree
Showing 31 changed files with 4,854 additions and 6,968 deletions.
658 changes: 300 additions & 358 deletions internal/pkg/expanders/swagger-armspecs.generated.go

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
{
"swagger": "2.0",
"security": [
{
"azure_auth": [
"user_impersonation"
]
}
],
"securityDefinitions": {
"azure_auth": {
"type": "oauth2",
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
"flow": "implicit",
"description": "Azure Active Directory OAuth2 Flow",
"scopes": {
"user_impersonation": "impersonate your user account"
}
}
},
"info": {
"version": "2018-06-10",
"title": "Common types"
},
"paths": {},
"definitions": {
"PrivateEndpointConnection": {
"description": "A private endpoint connection",
"type": "object",
"properties": {
"properties": {
"$ref": "#/definitions/PrivateEndpointConnectionProperties",
"description": "Resource properties.",
"x-ms-client-flatten": true
}
},
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"
}
]
},
"PrivateEndpointConnectionProperties": {
"description": "Properties of a private endpoint connection.",
"type": "object",
"properties": {
"privateEndpoint": {
"$ref": "#/definitions/PrivateEndpointProperty",
"description": "Private endpoint which the connection belongs to."
},
"groupIds": {
"$ref": "#/definitions/GroupIdsProperty",
"description": "Gets the groupIds."
},
"privateLinkServiceConnectionState": {
"$ref": "#/definitions/PrivateLinkServiceConnectionStateProperty",
"description": "Connection State of the Private Endpoint Connection."
}
}
},
"PrivateEndpointProperty": {
"type": "object",
"description": "Private endpoint which the connection belongs to.",
"properties": {
"id": {
"type": "string",
"description": "Resource id of the private endpoint."
}
}
},
"GroupIdsProperty": {
"type": "array",
"items": {
"type": "string"
},
"description": "Gets the groupIds."
},
"PrivateLinkServiceConnectionStateProperty": {
"type": "object",
"description": "Connection State of the Private Endpoint Connection.",
"properties": {
"status": {
"type": "string",
"description": "The private link service connection status."
},
"description": {
"type": "string",
"description": "The private link service connection description."
},
"actionsRequired": {
"type": "string",
"description": "Any action that is required beyond basic workflow (approve/ reject/ disconnect)",
"readOnly": true
}
}
}
},
"parameters": {
"RuntimeEnvironmentNameParameter": {
"name": "runtimeEnvironmentName",
"description": "The name of the Runtime Environment.",
"type": "string",
"required": true,
"in": "path",
"x-ms-parameter-location": "method",
"pattern": "^[a-zA-Z][a-zA-Z-_0-9]*$"
},
"AutomationAccountNameParameter": {
"name": "automationAccountName",
"description": "The name of the automation account.",
"type": "string",
"required": true,
"in": "path",
"x-ms-parameter-location": "method",
"pattern": "^[a-zA-Z][a-zA-Z-_0-9]*$"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,11 @@
"OperationStatus": {
"description": "The status of operation.",
"type": "object",
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
}
],
"properties": {
"id": {
"type": "string",
Expand All @@ -109,11 +114,6 @@
"status": {
"type": "string",
"description": "The status of the operation."
},
"error": {
"type": "object",
"description": "The error detail of the operation if any.",
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
"version": "2023-08-01-preview",
"version": "2023-11-01-preview",
"title": "ContainerRegistryManagementClient"
},
"host": "management.azure.com",
Expand Down Expand Up @@ -6191,6 +6191,19 @@
"description": "Enables registry-wide pull from unauthenticated clients.",
"default": false,
"type": "boolean"
},
"metadataSearch": {
"description": "Determines whether registry artifacts are indexed for metadata search.",
"default": "Disabled",
"enum": [
"Enabled",
"Disabled"
],
"type": "string",
"x-ms-enum": {
"name": "MetadataSearch",
"modelAsString": true
}
}
}
},
Expand Down Expand Up @@ -6608,6 +6621,19 @@
"anonymousPullEnabled": {
"description": "Enables registry-wide pull from unauthenticated clients.",
"type": "boolean"
},
"metadataSearch": {
"description": "Determines whether registry artifacts are indexed for metadata search.",
"default": "Disabled",
"enum": [
"Enabled",
"Disabled"
],
"type": "string",
"x-ms-enum": {
"name": "MetadataSearch",
"modelAsString": true
}
}
}
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"addition_input_file_paths": [], "input_files": ["Microsoft.ContainerRegistry/preview/2023-08-01-preview/containerregistry.json"], "name": "package-2023-08-preview-only"}
{"addition_input_file_paths": [], "input_files": ["Microsoft.ContainerRegistry/preview/2023-11-01-preview/containerregistry.json"], "name": "package-2023-11-preview-only"}
Original file line number Diff line number Diff line change
Expand Up @@ -964,6 +964,13 @@
"type": "object"
}
},
"metadata": {
"description": "The thread metadata",
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"participants": {
"description": "The list of properties of participants who are part of the thread",
"type": "array",
Expand Down Expand Up @@ -1060,6 +1067,13 @@
"format": "date-time",
"type": "string"
},
"metadata": {
"description": "The thread metadata",
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"properties": {
"description": "The updated thread properties",
"type": "object",
Expand Down Expand Up @@ -1093,6 +1107,13 @@
"additionalProperties": {
"type": "object"
}
},
"metadata": {
"description": "The thread metadata",
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
},
Expand Down Expand Up @@ -1655,6 +1676,13 @@
"participantCommunicationIdentifier": {
"description": "The communication identifier of the user",
"$ref": "../../../../../communication/data-plane/Common/stable/2021-03-07/common.json#/definitions/CommunicationIdentifierModel"
},
"metadata": {
"description": "The metadata of the user",
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
},
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"swagger": "2.0",
"info": {
"version": "2018-01-01",
"title": "Schema of Azure Resource Management events published to Azure Event Grid via Azure Resource Notifications",
"description": "Describes the schema of the Azure Resource Management events published to Azure Event Grid. This corresponds to the Data property of an EventGridEvent."
},
"paths": {},
"definitions": {
"ResourceNotificationsResourceManagementCreatedOrUpdatedEventData": {
"description": "Schema of the Data property of an EventGridEvent for a Microsoft.ResourceNotifications.Resources.CreatedOrUpdated event.",
"type": "object",
"allOf": [
{
"$ref": "./common.json#/definitions/ResourceNotificationsResourceUpdatedEventData"
}
],
"x-ms-examples": {
"ResourceNotificationsResourceCreatedOrUpdatedEventGridSchema": {
"$ref": "./examples/event-grid-schema/Resources_CreatedOrUpdated.json"
},
"ResourceNotificationsResourceCreatedOrUpdatedCloudEventsSchema": {
"$ref": "./examples/cloud-events-schema/Resources_CreatedOrUpdated.json"
}
}
},
"ResourceNotificationsResourceManagementDeletedEventData": {
"description": "Schema of the Data property of an EventGridEvent for a Microsoft.ResourceNotifications.Resources.Deleted event.",
"type": "object",
"allOf": [
{
"$ref": "./common.json#/definitions/ResourceNotificationsResourceDeletedEventData"
}
],
"x-ms-examples": {
"ResourceNotificationsResourceDeletedEventGridSchema": {
"$ref": "./examples/event-grid-schema/Resources_Deleted.json"
},
"ResourceNotificationsResourceDeletedCloudEventsSchema": {
"$ref": "./examples/cloud-events-schema/Resources_Deleted.json"
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,49 @@
"$ref": "#/definitions/ResourceNotificationsResourceUpdatedDetails",
"x-ms-client-name": "resourceDetails"
},
"apiVersion": {
"description": "api version of the resource properties bag",
"type": "string"
},
"operationalInfo": {
"description": "details about operational info",
"$ref": "#/definitions/ResourceNotificationsOperationalDetails",
"x-ms-client-name": "operationalDetails"
}
}
},
"ResourceNotificationsResourceDeletedDetails": {
"description": "Describes the schema of the properties under resource info which are common across all ARN system topic delete events",
"type": "object",
"properties": {
"id": {
"description": "id of the resource for which the event is being emitted",
"type": "string",
"format": "arm-id"
},
"apiVersion": {
"description": "api version of the resource properties bag",
"name": {
"description": "name of the resource for which the event is being emitted",
"type": "string"
},
"type": {
"description": "the type of the resource for which the event is being emitted",
"type": "string"
}
}
},
"ResourceNotificationsResourceDeletedEventData": {
"description": "Describes the schema of the common properties across all ARN system topic delete events",
"type": "object",
"properties": {
"resourceInfo": {
"description": "resourceInfo details for delete event",
"$ref": "#/definitions/ResourceNotificationsResourceDeletedDetails",
"x-ms-client-name": "resourceDetails"
},
"operationalInfo": {
"description": "details about operational info",
"$ref": "#/definitions/ResourceNotificationsOperationalDetails",
"x-ms-client-name": "operationalDetails"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion swagger-specs/eventgrid/data-plane/api-set.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"addition_input_file_paths": [], "input_files": ["Microsoft.Storage/stable/2018-01-01/Storage.json", "Microsoft.EventHub/stable/2018-01-01/EventHub.json", "Microsoft.Resources/stable/2018-01-01/Resources.json", "Microsoft.EventGrid/stable/2018-01-01/EventGrid.json", "Microsoft.EventGrid/stable/2018-01-01/SystemEvents.json", "Microsoft.DataBox/stable/2018-01-01/DataBox.json", "Microsoft.Devices/stable/2018-01-01/IotHub.json", "Microsoft.ContainerRegistry/stable/2018-01-01/ContainerRegistry.json", "Microsoft.ServiceBus/stable/2018-01-01/ServiceBus.json", "Microsoft.Media/stable/2018-01-01/MediaServices.json", "Microsoft.Maps/stable/2018-01-01/Maps.json", "Microsoft.AppConfiguration/stable/2018-01-01/AppConfiguration.json", "Microsoft.SignalRService/stable/2018-01-01/SignalRService.json", "Microsoft.KeyVault/stable/2018-01-01/KeyVault.json", "Microsoft.MachineLearningServices/stable/2018-01-01/MachineLearningServices.json", "Microsoft.Cache/stable/2018-01-01/RedisCache.json", "Microsoft.Web/stable/2018-01-01/Web.json", "Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json", "Microsoft.PolicyInsights/stable/2018-01-01/PolicyInsights.json", "Microsoft.ContainerService/stable/2018-01-01/ContainerService.json", "Microsoft.ApiManagement/stable/2018-01-01/APIManagement.json", "Microsoft.HealthcareApis/stable/2018-01-01/HealthcareApis.json", "Microsoft.ResourceNotifications/stable/2018-01-01/common.json", "Microsoft.ResourceNotifications/stable/2018-01-01/HealthResources.json"], "name": "package-2018-01"}
{"addition_input_file_paths": [], "input_files": ["Microsoft.Storage/stable/2018-01-01/Storage.json", "Microsoft.EventHub/stable/2018-01-01/EventHub.json", "Microsoft.Resources/stable/2018-01-01/Resources.json", "Microsoft.EventGrid/stable/2018-01-01/EventGrid.json", "Microsoft.EventGrid/stable/2018-01-01/SystemEvents.json", "Microsoft.DataBox/stable/2018-01-01/DataBox.json", "Microsoft.Devices/stable/2018-01-01/IotHub.json", "Microsoft.ContainerRegistry/stable/2018-01-01/ContainerRegistry.json", "Microsoft.ServiceBus/stable/2018-01-01/ServiceBus.json", "Microsoft.Media/stable/2018-01-01/MediaServices.json", "Microsoft.Maps/stable/2018-01-01/Maps.json", "Microsoft.AppConfiguration/stable/2018-01-01/AppConfiguration.json", "Microsoft.SignalRService/stable/2018-01-01/SignalRService.json", "Microsoft.KeyVault/stable/2018-01-01/KeyVault.json", "Microsoft.MachineLearningServices/stable/2018-01-01/MachineLearningServices.json", "Microsoft.Cache/stable/2018-01-01/RedisCache.json", "Microsoft.Web/stable/2018-01-01/Web.json", "Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json", "Microsoft.PolicyInsights/stable/2018-01-01/PolicyInsights.json", "Microsoft.ContainerService/stable/2018-01-01/ContainerService.json", "Microsoft.ApiManagement/stable/2018-01-01/APIManagement.json", "Microsoft.HealthcareApis/stable/2018-01-01/HealthcareApis.json", "Microsoft.ResourceNotifications/stable/2018-01-01/common.json", "Microsoft.ResourceNotifications/stable/2018-01-01/HealthResources.json", "Microsoft.ResourceNotifications/stable/2018-01-01/Resources.json"], "name": "package-2018-01"}

0 comments on commit 55f2c1b

Please sign in to comment.