From 2b98a3a972022c71fb54040008a3630d71a6eaa8 Mon Sep 17 00:00:00 2001 From: Allen Zhang Date: Wed, 12 Jun 2024 22:50:24 -0700 Subject: [PATCH 1/3] green typespec-next --- .../AzureFleet.Management/fleet.tsp | 2 +- .../azurefleet/AzureFleet.Management/main.tsp | 3 ++- .../2023-11-01-preview/azurefleet.json | 8 ++++---- .../2024-05-01-preview/azurefleet.json | 8 ++++---- .../Fleet.Management/fleet.tsp | 4 ++-- .../ContainerStorage.Management/pool.tsp | 2 +- .../DatabaseWatcher.Management/watcher.tsp | 2 +- .../DeviceRegistry.Management/main.tsp | 20 +++---------------- .../Astronomer.Astro.Management/main.tsp | 2 +- .../2024-03-01-preview/mongoCluster.json | 17 +--------------- .../typespec/azureMonitorWorkspace.tsp | 1 - .../typespec/pipelineGroup.tsp | 1 - .../2023-10-01-preview/azuremonitor.json | 17 +--------------- .../NetworkAnalytics.Management/main.tsp | 2 +- .../PurviewPolicy.Management/backcompat.tsp | 2 +- specification/vmware/Microsoft.AVS/models.tsp | 2 +- 16 files changed, 24 insertions(+), 69 deletions(-) diff --git a/specification/azurefleet/AzureFleet.Management/fleet.tsp b/specification/azurefleet/AzureFleet.Management/fleet.tsp index a81b5e1bf163..62f67327c91b 100644 --- a/specification/azurefleet/AzureFleet.Management/fleet.tsp +++ b/specification/azurefleet/AzureFleet.Management/fleet.tsp @@ -46,7 +46,7 @@ model FleetUpdate { } model ManagedServiceIdentityUpdate - is OptionalProperties>; + is OptionalProperties>; model ResourcePlanUpdate is OptionalProperties>; diff --git a/specification/azurefleet/AzureFleet.Management/main.tsp b/specification/azurefleet/AzureFleet.Management/main.tsp index 126e15a3e1b2..17ef95fcf8e7 100644 --- a/specification/azurefleet/AzureFleet.Management/main.tsp +++ b/specification/azurefleet/AzureFleet.Management/main.tsp @@ -16,17 +16,18 @@ using Azure.ResourceManager; @service({ title: "Microsoft.AzureFleet", }) -@armCommonTypesVersion(Azure.ResourceManager.CommonTypes.Versions.v5) @versioned(Versions) namespace Microsoft.AzureFleet; /** Api versions */ enum Versions { @useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) + @armCommonTypesVersion(Azure.ResourceManager.CommonTypes.Versions.v5) @doc("Private Preview Api version") v2023_11_01_preview: "2023-11-01-preview", @useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) + @armCommonTypesVersion(Azure.ResourceManager.CommonTypes.Versions.v5) @doc("Public Preview Api version") v2024_05_01_preview: "2024-05-01-preview", } diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json index c43841c89456..e9b58101a246 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json @@ -492,9 +492,9 @@ } }, "definitions": { - "Azure.ResourceManager.Foundations.ManagedServiceIdentityType": { + "Azure.ResourceManager.Legacy.ManagedServiceIdentityType": { "type": "string", - "description": "The kind of managed identity assigned to this resource.", + "description": "Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).", "enum": [ "None", "SystemAssigned", @@ -744,7 +744,7 @@ "description": "The template for adding optional properties.", "properties": { "type": { - "$ref": "#/definitions/Azure.ResourceManager.Foundations.ManagedServiceIdentityType", + "$ref": "#/definitions/Azure.ResourceManager.Legacy.ManagedServiceIdentityType", "description": "The type of managed identity assigned to this resource." }, "userAssignedIdentities": { @@ -865,7 +865,7 @@ }, "product": { "type": "string", - "description": "The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding. " + "description": "The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding." }, "promotionCode": { "type": "string", diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json index cce4bab982ec..f89fa2b026ac 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json @@ -468,9 +468,9 @@ } }, "definitions": { - "Azure.ResourceManager.Foundations.ManagedServiceIdentityType": { + "Azure.ResourceManager.Legacy.ManagedServiceIdentityType": { "type": "string", - "description": "The kind of managed identity assigned to this resource.", + "description": "Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).", "enum": [ "None", "SystemAssigned", @@ -730,7 +730,7 @@ "description": "The template for adding optional properties.", "properties": { "type": { - "$ref": "#/definitions/Azure.ResourceManager.Foundations.ManagedServiceIdentityType", + "$ref": "#/definitions/Azure.ResourceManager.Legacy.ManagedServiceIdentityType", "description": "The type of managed identity assigned to this resource." }, "userAssignedIdentities": { @@ -857,7 +857,7 @@ }, "product": { "type": "string", - "description": "The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding. " + "description": "The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding." }, "promotionCode": { "type": "string", diff --git a/specification/containerservice/Fleet.Management/fleet.tsp b/specification/containerservice/Fleet.Management/fleet.tsp index 3d9a84a8f01f..df75bf9acedc 100644 --- a/specification/containerservice/Fleet.Management/fleet.tsp +++ b/specification/containerservice/Fleet.Management/fleet.tsp @@ -33,7 +33,7 @@ model Fleet is TrackedResource { #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "https://github.com/Azure/typespec-azure/issues/2840" @added(Versions.v2023_06_15_preview) @doc("Managed identity.") - identity?: Azure.ResourceManager.Foundations.ManagedServiceIdentity; + identity?: Azure.ResourceManager.Legacy.ManagedServiceIdentityV4; } @doc("Fleet properties.") @@ -154,7 +154,7 @@ model FleetPatch { #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "https://github.com/Azure/typespec-azure/issues/2840" @added(Versions.v2023_06_15_preview) @doc("Managed identity.") - identity?: Azure.ResourceManager.Foundations.ManagedServiceIdentity; + identity?: Azure.ResourceManager.Legacy.ManagedServiceIdentityV4; } @doc("One credential result item.") diff --git a/specification/containerstorage/ContainerStorage.Management/pool.tsp b/specification/containerstorage/ContainerStorage.Management/pool.tsp index 42352735d4ef..662e943c31e3 100644 --- a/specification/containerstorage/ContainerStorage.Management/pool.tsp +++ b/specification/containerstorage/ContainerStorage.Management/pool.tsp @@ -192,7 +192,7 @@ model Encryption { @doc("The URI of the key vault.") keyVaultUri: string; - ...ManagedServiceIdentityProperty; + ...Legacy.ManagedServiceIdentityV4Property; } @doc("Elastic San Pool Properties") diff --git a/specification/databasewatcher/DatabaseWatcher.Management/watcher.tsp b/specification/databasewatcher/DatabaseWatcher.Management/watcher.tsp index 1ab06acbe142..4d90639e4cf3 100644 --- a/specification/databasewatcher/DatabaseWatcher.Management/watcher.tsp +++ b/specification/databasewatcher/DatabaseWatcher.Management/watcher.tsp @@ -40,7 +40,7 @@ model Watcher is TrackedResource { @segment("watchers") name: string; - ...ManagedServiceIdentityProperty; + ...Legacy.ManagedServiceIdentityV4Property; } @doc("The RP specific properties of the resource.") diff --git a/specification/deviceregistry/DeviceRegistry.Management/main.tsp b/specification/deviceregistry/DeviceRegistry.Management/main.tsp index b20e7ad8756f..288893f99336 100644 --- a/specification/deviceregistry/DeviceRegistry.Management/main.tsp +++ b/specification/deviceregistry/DeviceRegistry.Management/main.tsp @@ -47,22 +47,8 @@ interface OperationStatus { ...LocationParameter, - @path - @segment("operationStatuses") - @minLength(1) - @doc("The ID of an ongoing async operation.") - @armCommonParameter( - "OperationIdParameter", - Azure.ResourceManager.CommonTypes.Versions.v3 - ) - @armCommonParameter( - "OperationIdParameter", - Azure.ResourceManager.CommonTypes.Versions.v4 - ) - @armCommonParameter( - "OperationIdParameter", - Azure.ResourceManager.CommonTypes.Versions.v5 - ) - operationId: string, + ...Foundations.OperationIdParameter, ): ArmResponse | ErrorResponse; } + +@@segment(OperationStatus.get::parameters.operationId, "operationStatuses"); diff --git a/specification/liftrastronomer/Astronomer.Astro.Management/main.tsp b/specification/liftrastronomer/Astronomer.Astro.Management/main.tsp index 6ccb1fa54587..e02856267934 100644 --- a/specification/liftrastronomer/Astronomer.Astro.Management/main.tsp +++ b/specification/liftrastronomer/Astronomer.Astro.Management/main.tsp @@ -41,7 +41,7 @@ model OrganizationResource is TrackedResource { @path name: string; - ...ManagedServiceIdentityProperty; + ...Legacy.ManagedServiceIdentityV4Property; } @armResourceOperations diff --git a/specification/mongocluster/resource-manager/Microsoft.DocumentDB/preview/2024-03-01-preview/mongoCluster.json b/specification/mongocluster/resource-manager/Microsoft.DocumentDB/preview/2024-03-01-preview/mongoCluster.json index 4cccfe99fd57..ea08773fcbe3 100644 --- a/specification/mongocluster/resource-manager/Microsoft.DocumentDB/preview/2024-03-01-preview/mongoCluster.json +++ b/specification/mongocluster/resource-manager/Microsoft.DocumentDB/preview/2024-03-01-preview/mongoCluster.json @@ -1119,21 +1119,6 @@ } }, "definitions": { - "Azure.ResourceManager.PrivateEndpointConnection": { - "type": "object", - "description": "The private endpoint connection resource", - "properties": { - "properties": { - "$ref": "../../../../../common-types/resource-management/v5/privatelinks.json#/definitions/PrivateEndpointConnectionProperties", - "description": "The private endpoint connection properties" - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" - } - ] - }, "ConnectionString": { "type": "object", "description": "Connection string for the mongo cluster", @@ -1365,7 +1350,7 @@ "type": "array", "description": "List of private endpoint connections.", "items": { - "$ref": "#/definitions/Azure.ResourceManager.PrivateEndpointConnection" + "$ref": "../../../../../common-types/resource-management/v5/privatelinks.json#/definitions/PrivateEndpointConnection" }, "readOnly": true } diff --git a/specification/monitor/Microsoft.Monitor/typespec/azureMonitorWorkspace.tsp b/specification/monitor/Microsoft.Monitor/typespec/azureMonitorWorkspace.tsp index 8c64844408a4..d02420de7cfc 100644 --- a/specification/monitor/Microsoft.Monitor/typespec/azureMonitorWorkspace.tsp +++ b/specification/monitor/Microsoft.Monitor/typespec/azureMonitorWorkspace.tsp @@ -9,7 +9,6 @@ using TypeSpec.Rest; using TypeSpec.Versioning; using Azure.Core; using Azure.ResourceManager; -using Azure.ResourceManager.Private; using OpenAPI; namespace Microsoft.Monitor; diff --git a/specification/monitor/Microsoft.Monitor/typespec/pipelineGroup.tsp b/specification/monitor/Microsoft.Monitor/typespec/pipelineGroup.tsp index 49ea9844ce73..0ceb17c19270 100644 --- a/specification/monitor/Microsoft.Monitor/typespec/pipelineGroup.tsp +++ b/specification/monitor/Microsoft.Monitor/typespec/pipelineGroup.tsp @@ -16,7 +16,6 @@ using TypeSpec.Rest; using TypeSpec.Versioning; using Azure.Core; using Azure.ResourceManager; -using Azure.ResourceManager.Private; using OpenAPI; namespace Microsoft.Monitor; diff --git a/specification/monitor/resource-manager/Microsoft.Monitor/preview/2023-10-01-preview/azuremonitor.json b/specification/monitor/resource-manager/Microsoft.Monitor/preview/2023-10-01-preview/azuremonitor.json index 36eec30d4693..5c12fad8b54b 100644 --- a/specification/monitor/resource-manager/Microsoft.Monitor/preview/2023-10-01-preview/azuremonitor.json +++ b/specification/monitor/resource-manager/Microsoft.Monitor/preview/2023-10-01-preview/azuremonitor.json @@ -741,21 +741,6 @@ } }, "definitions": { - "Azure.ResourceManager.PrivateEndpointConnection": { - "type": "object", - "description": "The private endpoint connection resource", - "properties": { - "properties": { - "$ref": "../../../../../common-types/resource-management/v4/privatelinks.json#/definitions/PrivateEndpointConnectionProperties", - "description": "The private endpoint connection properties" - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" - } - ] - }, "AzureMonitorWorkspace": { "type": "object", "description": "An Azure Monitor Workspace definition.", @@ -867,7 +852,7 @@ "type": "array", "description": "List of private endpoint connections.", "items": { - "$ref": "#/definitions/Azure.ResourceManager.PrivateEndpointConnection" + "$ref": "../../../../../common-types/resource-management/v3/privatelinks.json#/definitions/PrivateEndpointConnection" }, "readOnly": true }, diff --git a/specification/networkanalytics/NetworkAnalytics.Management/main.tsp b/specification/networkanalytics/NetworkAnalytics.Management/main.tsp index e9b78b9a026e..36853645c013 100644 --- a/specification/networkanalytics/NetworkAnalytics.Management/main.tsp +++ b/specification/networkanalytics/NetworkAnalytics.Management/main.tsp @@ -152,7 +152,7 @@ model DataProduct is TrackedResource { @maxLength(63) name: string; - ...ManagedServiceIdentityProperty; + ...Legacy.ManagedServiceIdentityV4Property; } @doc("The data product properties.") diff --git a/specification/purviewpolicy/PurviewPolicy.Management/backcompat.tsp b/specification/purviewpolicy/PurviewPolicy.Management/backcompat.tsp index 84328570e6a6..e9c3ff64e9e5 100644 --- a/specification/purviewpolicy/PurviewPolicy.Management/backcompat.tsp +++ b/specification/purviewpolicy/PurviewPolicy.Management/backcompat.tsp @@ -5,7 +5,7 @@ using TypeSpec.Http; using Azure.ResourceManager; @@path(ResourceUriParameter.resourceUri, "scope"); -@@Azure.ResourceManager.Private.armCommonParameter(ResourceUriParameter.resourceUri, +@@Azure.ResourceManager.CommonTypes.Private.armCommonParameter(ResourceUriParameter.resourceUri, "ScopeParameter", Azure.ResourceManager.CommonTypes.Versions.v5 ); diff --git a/specification/vmware/Microsoft.AVS/models.tsp b/specification/vmware/Microsoft.AVS/models.tsp index bf9826866f9a..2e021b929dba 100644 --- a/specification/vmware/Microsoft.AVS/models.tsp +++ b/specification/vmware/Microsoft.AVS/models.tsp @@ -600,7 +600,7 @@ model Location is ProxyResource { @key("location") @path @segment("locations") - @Azure.ResourceManager.Private.armCommonParameter( + @Azure.ResourceManager.CommonTypes.Private.armCommonParameter( "LocationParameter", Azure.ResourceManager.CommonTypes.Versions.v5 ) From 2d1f79f89d07ecfbffb507645a359cd3d9990ef5 Mon Sep 17 00:00:00 2001 From: Allen Zhang Date: Wed, 12 Jun 2024 23:25:10 -0700 Subject: [PATCH 2/3] Fix DeviceRegistry --- specification/deviceregistry/DeviceRegistry.Management/main.tsp | 1 - 1 file changed, 1 deletion(-) diff --git a/specification/deviceregistry/DeviceRegistry.Management/main.tsp b/specification/deviceregistry/DeviceRegistry.Management/main.tsp index 288893f99336..5fb0dd46c348 100644 --- a/specification/deviceregistry/DeviceRegistry.Management/main.tsp +++ b/specification/deviceregistry/DeviceRegistry.Management/main.tsp @@ -46,7 +46,6 @@ interface OperationStatus { provider: "Microsoft.DeviceRegistry", ...LocationParameter, - ...Foundations.OperationIdParameter, ): ArmResponse | ErrorResponse; } From 0403d481fb49f7e2ecc9c0a27434fffd66b35763 Mon Sep 17 00:00:00 2001 From: Allen Zhang Date: Thu, 13 Jun 2024 01:03:11 -0700 Subject: [PATCH 3/3] upgrade monitor to v4. Taking arm-id and subId uuid SDK breaking change. This should get rid of ModelValidation error --- .../Microsoft.Monitor/typespec/service.tsp | 1 + .../2023-10-01-preview/azuremonitor.json | 104 +++++++++--------- 2 files changed, 53 insertions(+), 52 deletions(-) diff --git a/specification/monitor/Microsoft.Monitor/typespec/service.tsp b/specification/monitor/Microsoft.Monitor/typespec/service.tsp index 0cffc4c28b64..3313dfeee219 100644 --- a/specification/monitor/Microsoft.Monitor/typespec/service.tsp +++ b/specification/monitor/Microsoft.Monitor/typespec/service.tsp @@ -24,6 +24,7 @@ namespace Microsoft.Monitor; @doc("Microsoft.Monitor Versions") enum Versions { @useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) + @armCommonTypesVersion(Azure.ResourceManager.CommonTypes.Versions.v4) @doc("API Version 2023-10-01-preview") `2023-10-01-preview`, } diff --git a/specification/monitor/resource-manager/Microsoft.Monitor/preview/2023-10-01-preview/azuremonitor.json b/specification/monitor/resource-manager/Microsoft.Monitor/preview/2023-10-01-preview/azuremonitor.json index 5c12fad8b54b..9692991c5239 100644 --- a/specification/monitor/resource-manager/Microsoft.Monitor/preview/2023-10-01-preview/azuremonitor.json +++ b/specification/monitor/resource-manager/Microsoft.Monitor/preview/2023-10-01-preview/azuremonitor.json @@ -59,20 +59,20 @@ "description": "List the operations for the provider", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" } ], "responses": { "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationListResult" + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/OperationListResult" } }, "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" } } }, @@ -95,10 +95,10 @@ "description": "Lists all workspaces in the specified subscription", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -111,7 +111,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" } } }, @@ -134,10 +134,10 @@ "description": "Lists all workspaces in the specified subscription", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -150,7 +150,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" } } }, @@ -173,13 +173,13 @@ "description": "Lists all workspaces in the specified resource group", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" } ], "responses": { @@ -192,7 +192,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" } } }, @@ -215,13 +215,13 @@ "description": "Returns the specific Azure Monitor workspace", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "azureMonitorWorkspaceName", @@ -242,7 +242,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" } } }, @@ -260,13 +260,13 @@ "description": "Create or update a workspace", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "azureMonitorWorkspaceName", @@ -309,7 +309,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" } } }, @@ -331,13 +331,13 @@ "description": "Updates part of a workspace", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "azureMonitorWorkspaceName", @@ -367,7 +367,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" } } }, @@ -385,13 +385,13 @@ "description": "Delete a workspace", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "azureMonitorWorkspaceName", @@ -423,7 +423,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" } } }, @@ -447,13 +447,13 @@ "description": "Lists all workspaces in the specified resource group", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" } ], "responses": { @@ -466,7 +466,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" } } }, @@ -489,13 +489,13 @@ "description": "Returns the specific pipeline group instance.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "pipelineGroupName", @@ -516,7 +516,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" } } }, @@ -534,13 +534,13 @@ "description": "Create or update a pipeline group instance.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "pipelineGroupName", @@ -583,7 +583,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" } } }, @@ -614,13 +614,13 @@ "description": "Updates a pipeline group instance", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "pipelineGroupName", @@ -664,7 +664,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" } } }, @@ -686,13 +686,13 @@ "description": "Delete a pipeline group instance.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "pipelineGroupName", @@ -724,7 +724,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" } } }, @@ -753,7 +753,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/TrackedResource" } ] }, @@ -852,7 +852,7 @@ "type": "array", "description": "List of private endpoint connections.", "items": { - "$ref": "../../../../../common-types/resource-management/v3/privatelinks.json#/definitions/PrivateEndpointConnection" + "$ref": "../../../../../common-types/resource-management/v4/privatelinks.json#/definitions/PrivateEndpointConnection" }, "readOnly": true }, @@ -1248,7 +1248,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/TrackedResource" } ] },