From 869998113ddc8741f59a52c10ee6b4d36eee6c33 Mon Sep 17 00:00:00 2001 From: vinayada1 <28875764+vinayada1@users.noreply.github.com> Date: Wed, 20 Sep 2023 15:34:58 -0700 Subject: [PATCH] Run make generate --- .../types.json | 0 .../types.md | 0 .../types.json | 0 .../types.md | 0 .../types.json | 0 .../types.md | 0 .../types.json | 0 .../types.md | 0 pkg/cli/clients/mock_applicationsclient.go | 12 +- .../zz_generated_constants.go | 6 +- .../zz_generated_constants.go | 6 +- .../zz_generated_constants.go | 6 +- .../zz_generated_constants.go | 6 +- .../preview/2023-10-01-preview/openapi.json | 241 ------------------ .../preview/2023-10-01-preview/openapi.json | 90 ------- .../preview/2023-10-01-preview/openapi.json | 98 ------- .../preview/2023-10-01-preview/openapi.json | 33 --- .../preview/2023-10-01-preview/openapi.json | 110 -------- 18 files changed, 18 insertions(+), 590 deletions(-) rename hack/bicep-types-radius/generated/applications/applications.core/{2022-03-15-privatepreview => 2023-10-01-preview}/types.json (100%) rename hack/bicep-types-radius/generated/applications/applications.core/{2022-03-15-privatepreview => 2023-10-01-preview}/types.md (100%) rename hack/bicep-types-radius/generated/applications/applications.dapr/{2022-03-15-privatepreview => 2023-10-01-preview}/types.json (100%) rename hack/bicep-types-radius/generated/applications/applications.dapr/{2022-03-15-privatepreview => 2023-10-01-preview}/types.md (100%) rename hack/bicep-types-radius/generated/applications/applications.datastores/{2022-03-15-privatepreview => 2023-10-01-preview}/types.json (100%) rename hack/bicep-types-radius/generated/applications/applications.datastores/{2022-03-15-privatepreview => 2023-10-01-preview}/types.md (100%) rename hack/bicep-types-radius/generated/applications/applications.messaging/{2022-03-15-privatepreview => 2023-10-01-preview}/types.json (100%) rename hack/bicep-types-radius/generated/applications/applications.messaging/{2022-03-15-privatepreview => 2023-10-01-preview}/types.md (100%) diff --git a/hack/bicep-types-radius/generated/applications/applications.core/2022-03-15-privatepreview/types.json b/hack/bicep-types-radius/generated/applications/applications.core/2023-10-01-preview/types.json similarity index 100% rename from hack/bicep-types-radius/generated/applications/applications.core/2022-03-15-privatepreview/types.json rename to hack/bicep-types-radius/generated/applications/applications.core/2023-10-01-preview/types.json diff --git a/hack/bicep-types-radius/generated/applications/applications.core/2022-03-15-privatepreview/types.md b/hack/bicep-types-radius/generated/applications/applications.core/2023-10-01-preview/types.md similarity index 100% rename from hack/bicep-types-radius/generated/applications/applications.core/2022-03-15-privatepreview/types.md rename to hack/bicep-types-radius/generated/applications/applications.core/2023-10-01-preview/types.md diff --git a/hack/bicep-types-radius/generated/applications/applications.dapr/2022-03-15-privatepreview/types.json b/hack/bicep-types-radius/generated/applications/applications.dapr/2023-10-01-preview/types.json similarity index 100% rename from hack/bicep-types-radius/generated/applications/applications.dapr/2022-03-15-privatepreview/types.json rename to hack/bicep-types-radius/generated/applications/applications.dapr/2023-10-01-preview/types.json diff --git a/hack/bicep-types-radius/generated/applications/applications.dapr/2022-03-15-privatepreview/types.md b/hack/bicep-types-radius/generated/applications/applications.dapr/2023-10-01-preview/types.md similarity index 100% rename from hack/bicep-types-radius/generated/applications/applications.dapr/2022-03-15-privatepreview/types.md rename to hack/bicep-types-radius/generated/applications/applications.dapr/2023-10-01-preview/types.md diff --git a/hack/bicep-types-radius/generated/applications/applications.datastores/2022-03-15-privatepreview/types.json b/hack/bicep-types-radius/generated/applications/applications.datastores/2023-10-01-preview/types.json similarity index 100% rename from hack/bicep-types-radius/generated/applications/applications.datastores/2022-03-15-privatepreview/types.json rename to hack/bicep-types-radius/generated/applications/applications.datastores/2023-10-01-preview/types.json diff --git a/hack/bicep-types-radius/generated/applications/applications.datastores/2022-03-15-privatepreview/types.md b/hack/bicep-types-radius/generated/applications/applications.datastores/2023-10-01-preview/types.md similarity index 100% rename from hack/bicep-types-radius/generated/applications/applications.datastores/2022-03-15-privatepreview/types.md rename to hack/bicep-types-radius/generated/applications/applications.datastores/2023-10-01-preview/types.md diff --git a/hack/bicep-types-radius/generated/applications/applications.messaging/2022-03-15-privatepreview/types.json b/hack/bicep-types-radius/generated/applications/applications.messaging/2023-10-01-preview/types.json similarity index 100% rename from hack/bicep-types-radius/generated/applications/applications.messaging/2022-03-15-privatepreview/types.json rename to hack/bicep-types-radius/generated/applications/applications.messaging/2023-10-01-preview/types.json diff --git a/hack/bicep-types-radius/generated/applications/applications.messaging/2022-03-15-privatepreview/types.md b/hack/bicep-types-radius/generated/applications/applications.messaging/2023-10-01-preview/types.md similarity index 100% rename from hack/bicep-types-radius/generated/applications/applications.messaging/2022-03-15-privatepreview/types.md rename to hack/bicep-types-radius/generated/applications/applications.messaging/2023-10-01-preview/types.md diff --git a/pkg/cli/clients/mock_applicationsclient.go b/pkg/cli/clients/mock_applicationsclient.go index f988629d58..aa586eb1f1 100644 --- a/pkg/cli/clients/mock_applicationsclient.go +++ b/pkg/cli/clients/mock_applicationsclient.go @@ -11,7 +11,7 @@ import ( gomock "github.com/golang/mock/gomock" generated "github.com/radius-project/radius/pkg/cli/clients_new/generated" v20231001preview "github.com/radius-project/radius/pkg/corerp/api/v20231001preview" - ucp_v20231001preview "github.com/radius-project/radius/pkg/ucp/api/v20231001preview" + v20231001preview0 "github.com/radius-project/radius/pkg/ucp/api/v20231001preview" ) // MockApplicationsManagementClient is a mock of ApplicationsManagementClient interface. @@ -80,7 +80,7 @@ func (mr *MockApplicationsManagementClientMockRecorder) CreateOrUpdateApplicatio } // CreateUCPGroup mocks base method. -func (m *MockApplicationsManagementClient) CreateUCPGroup(arg0 context.Context, arg1, arg2, arg3 string, arg4 ucp_v20231001preview.ResourceGroupResource) error { +func (m *MockApplicationsManagementClient) CreateUCPGroup(arg0 context.Context, arg1, arg2, arg3 string, arg4 v20231001preview0.ResourceGroupResource) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "CreateUCPGroup", arg0, arg1, arg2, arg3, arg4) ret0, _ := ret[0].(error) @@ -289,10 +289,10 @@ func (mr *MockApplicationsManagementClientMockRecorder) ListEnvironmentsInResour } // ListUCPGroup mocks base method. -func (m *MockApplicationsManagementClient) ListUCPGroup(arg0 context.Context, arg1, arg2 string) ([]ucp_v20231001preview.ResourceGroupResource, error) { +func (m *MockApplicationsManagementClient) ListUCPGroup(arg0 context.Context, arg1, arg2 string) ([]v20231001preview0.ResourceGroupResource, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "ListUCPGroup", arg0, arg1, arg2) - ret0, _ := ret[0].([]ucp_v20231001preview.ResourceGroupResource) + ret0, _ := ret[0].([]v20231001preview0.ResourceGroupResource) ret1, _ := ret[1].(error) return ret0, ret1 } @@ -349,10 +349,10 @@ func (mr *MockApplicationsManagementClientMockRecorder) ShowResource(arg0, arg1, } // ShowUCPGroup mocks base method. -func (m *MockApplicationsManagementClient) ShowUCPGroup(arg0 context.Context, arg1, arg2, arg3 string) (ucp_v20231001preview.ResourceGroupResource, error) { +func (m *MockApplicationsManagementClient) ShowUCPGroup(arg0 context.Context, arg1, arg2, arg3 string) (v20231001preview0.ResourceGroupResource, error) { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "ShowUCPGroup", arg0, arg1, arg2, arg3) - ret0, _ := ret[0].(ucp_v20231001preview.ResourceGroupResource) + ret0, _ := ret[0].(v20231001preview0.ResourceGroupResource) ret1, _ := ret[1].(error) return ret0, ret1 } diff --git a/pkg/corerp/api/v20231001preview/zz_generated_constants.go b/pkg/corerp/api/v20231001preview/zz_generated_constants.go index fb6c1da417..f43027a15e 100644 --- a/pkg/corerp/api/v20231001preview/zz_generated_constants.go +++ b/pkg/corerp/api/v20231001preview/zz_generated_constants.go @@ -323,14 +323,14 @@ func PossibleTLSMinVersionValues() []TLSMinVersion { type Versions string const ( - // VersionsV20220315Privatepreview - 2023-10-01-preview - VersionsV20220315Privatepreview Versions = "2023-10-01-preview" + // VersionsV20231001Preview - 2023-10-01-preview + VersionsV20231001Preview Versions = "2023-10-01-preview" ) // PossibleVersionsValues returns the possible values for the Versions const type. func PossibleVersionsValues() []Versions { return []Versions{ - VersionsV20220315Privatepreview, + VersionsV20231001Preview, } } diff --git a/pkg/daprrp/api/v20231001preview/zz_generated_constants.go b/pkg/daprrp/api/v20231001preview/zz_generated_constants.go index de013d92da..984231f7e8 100644 --- a/pkg/daprrp/api/v20231001preview/zz_generated_constants.go +++ b/pkg/daprrp/api/v20231001preview/zz_generated_constants.go @@ -140,14 +140,14 @@ func PossibleResourceProvisioningValues() []ResourceProvisioning { type Versions string const ( - // VersionsV20220315Privatepreview - 2023-10-01-preview - VersionsV20220315Privatepreview Versions = "2023-10-01-preview" + // VersionsV20231001Preview - 2023-10-01-preview + VersionsV20231001Preview Versions = "2023-10-01-preview" ) // PossibleVersionsValues returns the possible values for the Versions const type. func PossibleVersionsValues() []Versions { return []Versions{ - VersionsV20220315Privatepreview, + VersionsV20231001Preview, } } diff --git a/pkg/datastoresrp/api/v20231001preview/zz_generated_constants.go b/pkg/datastoresrp/api/v20231001preview/zz_generated_constants.go index bf4251c574..c4ed64d61a 100644 --- a/pkg/datastoresrp/api/v20231001preview/zz_generated_constants.go +++ b/pkg/datastoresrp/api/v20231001preview/zz_generated_constants.go @@ -140,14 +140,14 @@ func PossibleResourceProvisioningValues() []ResourceProvisioning { type Versions string const ( - // VersionsV20220315Privatepreview - 2023-10-01-preview - VersionsV20220315Privatepreview Versions = "2023-10-01-preview" + // VersionsV20231001Preview - 2023-10-01-preview + VersionsV20231001Preview Versions = "2023-10-01-preview" ) // PossibleVersionsValues returns the possible values for the Versions const type. func PossibleVersionsValues() []Versions { return []Versions{ - VersionsV20220315Privatepreview, + VersionsV20231001Preview, } } diff --git a/pkg/messagingrp/api/v20231001preview/zz_generated_constants.go b/pkg/messagingrp/api/v20231001preview/zz_generated_constants.go index b7f3627ff6..7caa108f50 100644 --- a/pkg/messagingrp/api/v20231001preview/zz_generated_constants.go +++ b/pkg/messagingrp/api/v20231001preview/zz_generated_constants.go @@ -140,14 +140,14 @@ func PossibleResourceProvisioningValues() []ResourceProvisioning { type Versions string const ( - // VersionsV20220315Privatepreview - 2023-10-01-preview - VersionsV20220315Privatepreview Versions = "2023-10-01-preview" + // VersionsV20231001Preview - 2023-10-01-preview + VersionsV20231001Preview Versions = "2023-10-01-preview" ) // PossibleVersionsValues returns the possible values for the Versions const type. func PossibleVersionsValues() []Versions { return []Versions{ - VersionsV20220315Privatepreview, + VersionsV20231001Preview, } } diff --git a/swagger/specification/applications/resource-manager/Applications.Core/preview/2023-10-01-preview/openapi.json b/swagger/specification/applications/resource-manager/Applications.Core/preview/2023-10-01-preview/openapi.json index ca851d19e3..68d9ce4944 100644 --- a/swagger/specification/applications/resource-manager/Applications.Core/preview/2023-10-01-preview/openapi.json +++ b/swagger/specification/applications/resource-manager/Applications.Core/preview/2023-10-01-preview/openapi.json @@ -97,14 +97,6 @@ } } }, - "x-ms-examples": { - "Get applications by resource group": { - "$ref": "./examples/Applications_List.json" - }, - "Get applications by rootScope": { - "$ref": "./examples/Applications_ListByScope.json" - } - }, "x-ms-pageable": { "nextLinkName": "nextLink" } @@ -147,11 +139,6 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } - }, - "x-ms-examples": { - "Get an application resource": { - "$ref": "./examples/Applications_Get.json" - } } }, "put": { @@ -205,11 +192,6 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } - }, - "x-ms-examples": { - "Create or update an application resource": { - "$ref": "./examples/Applications_CreateOrUpdate.json" - } } }, "patch": { @@ -257,11 +239,6 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } - }, - "x-ms-examples": { - "Update (Patch) an application resource": { - "$ref": "./examples/Applications_Update.json" - } } }, "delete": { @@ -300,11 +277,6 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } - }, - "x-ms-examples": { - "Delete an application resource": { - "$ref": "./examples/Applications_Delete.json" - } } } }, @@ -337,14 +309,6 @@ } } }, - "x-ms-examples": { - "List containers at resource group": { - "$ref": "./examples/Containers_List.json" - }, - "List containers at root scope": { - "$ref": "./examples/Containers_ListByScope.json" - } - }, "x-ms-pageable": { "nextLinkName": "nextLink" } @@ -387,11 +351,6 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } - }, - "x-ms-examples": { - "Get an container resource": { - "$ref": "./examples/Containers_Get.json" - } } }, "put": { @@ -453,14 +412,6 @@ } } }, - "x-ms-examples": { - "Create or update an container resource": { - "$ref": "./examples/Containers_CreateOrUpdate.json" - }, - "Create or update an container resource with base manifest": { - "$ref": "./examples/Containers_CreateOrUpdate_BaseManifest.json" - } - }, "x-ms-long-running-operation-options": { "final-state-via": "azure-async-operation" }, @@ -582,11 +533,6 @@ } } }, - "x-ms-examples": { - "Delete an container resource": { - "$ref": "./examples/Containers_Delete.json" - } - }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, @@ -622,14 +568,6 @@ } } }, - "x-ms-examples": { - "Get environments by resource group": { - "$ref": "./examples/Environments_List.json" - }, - "Get environments by rootScope": { - "$ref": "./examples/Environments_ListByScope.json" - } - }, "x-ms-pageable": { "nextLinkName": "nextLink" } @@ -672,11 +610,6 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } - }, - "x-ms-examples": { - "Get an environment resource": { - "$ref": "./examples/Environments_GetEnv0.json" - } } }, "put": { @@ -730,11 +663,6 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } - }, - "x-ms-examples": { - "Create or Update an environment resource": { - "$ref": "./examples/Environments_CreateOrUpdate.json" - } } }, "patch": { @@ -782,11 +710,6 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } - }, - "x-ms-examples": { - "Update an environment resource": { - "$ref": "./examples/Environments_PatchEnv0.json" - } } }, "delete": { @@ -825,11 +748,6 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } - }, - "x-ms-examples": { - "Delete an environment resource": { - "$ref": "./examples/Environments_DeleteEnv0.json" - } } } }, @@ -879,11 +797,6 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } - }, - "x-ms-examples": { - "Get recipe metadata from environment": { - "$ref": "./examples/Environments_GetRecipeMetadata.json" - } } } }, @@ -916,14 +829,6 @@ } } }, - "x-ms-examples": { - "List extender resources by resource group": { - "$ref": "./examples/Extenders_List.json" - }, - "List extender resources by rootScope": { - "$ref": "./examples/Extenders_ListByRootScope.json" - } - }, "x-ms-pageable": { "nextLinkName": "nextLink" } @@ -966,11 +871,6 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } - }, - "x-ms-examples": { - "Get an extender resource": { - "$ref": "./examples/Extenders_Get.json" - } } }, "put": { @@ -1032,14 +932,6 @@ } } }, - "x-ms-examples": { - "Create or Update an extender resource": { - "$ref": "./examples/Extenders_CreateOrUpdate.json" - }, - "Create or Update an extender resource with recipe": { - "$ref": "./examples/Extenders_CreateOrUpdateWithRecipe.json" - } - }, "x-ms-long-running-operation-options": { "final-state-via": "azure-async-operation" }, @@ -1105,11 +997,6 @@ } } }, - "x-ms-examples": { - "Update an extender resource": { - "$ref": "./examples/Extenders_Update.json" - } - }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, @@ -1166,11 +1053,6 @@ } } }, - "x-ms-examples": { - "Delete an extender resource": { - "$ref": "./examples/Extenders_Delete.json" - } - }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, @@ -1224,11 +1106,6 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } - }, - "x-ms-examples": { - "List the secrets from extender resources": { - "$ref": "./examples/Extenders_ListSecrets.json" - } } } }, @@ -1261,14 +1138,6 @@ } } }, - "x-ms-examples": { - "List gateway resources": { - "$ref": "./examples/Gateways_List.json" - }, - "List gateway resources by rootScope": { - "$ref": "./examples/Gateways_ListByScope.json" - } - }, "x-ms-pageable": { "nextLinkName": "nextLink" } @@ -1311,11 +1180,6 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } - }, - "x-ms-examples": { - "Get an gateway resource": { - "$ref": "./examples/Gateways_Get.json" - } } }, "put": { @@ -1442,11 +1306,6 @@ } } }, - "x-ms-examples": { - "Create or update a gateway resource": { - "$ref": "./examples/Gateways_CreateOrUpdate.json" - } - }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, @@ -1503,11 +1362,6 @@ } } }, - "x-ms-examples": { - "Delete an gateway resource": { - "$ref": "./examples/Gateways_Delete.json" - } - }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, @@ -1543,14 +1397,6 @@ } } }, - "x-ms-examples": { - "List httpRoutes resources by resource group": { - "$ref": "./examples/HttpRoutes_List.json" - }, - "List httpRoutes resources by rootScope": { - "$ref": "./examples/HttpRoutes_ListByScope.json" - } - }, "x-ms-pageable": { "nextLinkName": "nextLink" } @@ -1593,11 +1439,6 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } - }, - "x-ms-examples": { - "Get a httpRoutes resource": { - "$ref": "./examples/HttpRoutes_Get.json" - } } }, "put": { @@ -1659,11 +1500,6 @@ } } }, - "x-ms-examples": { - "Create or Update httpRoutes resources": { - "$ref": "./examples/HttpRoutes_CreateOrUpdate.json" - } - }, "x-ms-long-running-operation-options": { "final-state-via": "azure-async-operation" }, @@ -1729,11 +1565,6 @@ } } }, - "x-ms-examples": { - "Update a httpRoutes resource": { - "$ref": "./examples/HttpRoutes_Update.json" - } - }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, @@ -1790,11 +1621,6 @@ } } }, - "x-ms-examples": { - "Delete a httpRoutes resource": { - "$ref": "./examples/HttpRoutes_Delete.json" - } - }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, @@ -1830,11 +1656,6 @@ } } }, - "x-ms-examples": { - "List secret stores": { - "$ref": "./examples/SecretStores_List.json" - } - }, "x-ms-pageable": { "nextLinkName": "nextLink" } @@ -1877,14 +1698,6 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } - }, - "x-ms-examples": { - "Get a secret store": { - "$ref": "./examples/SecretStores_Get.json" - }, - "Get a secret store for Azure Keyvault": { - "$ref": "./examples/SecretStores_Get_AzureKeyVault.json" - } } }, "put": { @@ -1946,14 +1759,6 @@ } } }, - "x-ms-examples": { - "Create or Update a secret store resource with azure keyvault": { - "$ref": "./examples/SecretStores_CreateOrUpdate.json" - }, - "Create or Update a secret store resource with valueFrom": { - "$ref": "./examples/SecretStores_CreateOrUpdateValueFrom.json" - } - }, "x-ms-long-running-operation-options": { "final-state-via": "azure-async-operation" }, @@ -2019,14 +1824,6 @@ } } }, - "x-ms-examples": { - "Update a secret store resource": { - "$ref": "./examples/SecretStores_Delete.json" - }, - "Update a secret store": { - "$ref": "./examples/SecretStores_Update.json" - } - }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, @@ -2136,11 +1933,6 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } - }, - "x-ms-examples": { - "List secret stores": { - "$ref": "./examples/SecretStores_ListSecrets.json" - } } } }, @@ -2173,14 +1965,6 @@ } } }, - "x-ms-examples": { - "List volumes by resource group": { - "$ref": "./examples/Volumes_List.json" - }, - "List volumes by rootScope": { - "$ref": "./examples/Volumes_ListByScope.json" - } - }, "x-ms-pageable": { "nextLinkName": "nextLink" } @@ -2223,11 +2007,6 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } - }, - "x-ms-examples": { - "Get a volume": { - "$ref": "./examples/Volumes_Get.json" - } } }, "put": { @@ -2289,11 +2068,6 @@ } } }, - "x-ms-examples": { - "Create or update a volume": { - "$ref": "./examples/Volumes_CreateOrUpdate.json" - } - }, "x-ms-long-running-operation-options": { "final-state-via": "azure-async-operation" }, @@ -2359,11 +2133,6 @@ } } }, - "x-ms-examples": { - "Update a volume": { - "$ref": "./examples/Volumes_Update.json" - } - }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, @@ -2420,11 +2189,6 @@ } } }, - "x-ms-examples": { - "Delete a volume": { - "$ref": "./examples/Volumes_Delete.json" - } - }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, @@ -2457,11 +2221,6 @@ } } }, - "x-ms-examples": { - "Get the operations for the Applications.Core resource provider": { - "$ref": "./examples/Operations_List.json" - } - }, "x-ms-pageable": { "nextLinkName": "nextLink" } diff --git a/swagger/specification/applications/resource-manager/Applications.Dapr/preview/2023-10-01-preview/openapi.json b/swagger/specification/applications/resource-manager/Applications.Dapr/preview/2023-10-01-preview/openapi.json index 69eeb0d50f..9450e76f59 100644 --- a/swagger/specification/applications/resource-manager/Applications.Dapr/preview/2023-10-01-preview/openapi.json +++ b/swagger/specification/applications/resource-manager/Applications.Dapr/preview/2023-10-01-preview/openapi.json @@ -82,14 +82,6 @@ } } }, - "x-ms-examples": { - "List a PubSubBroker resource by resource group": { - "$ref": "./examples/PubSubBrokers_List.json" - }, - "List a PubSubBroker resource by rootScope": { - "$ref": "./examples/PubSubBrokers_ListByRootScope.json" - } - }, "x-ms-pageable": { "nextLinkName": "nextLink" } @@ -132,11 +124,6 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } - }, - "x-ms-examples": { - "Get a PubSubBroker resource": { - "$ref": "./examples/PubSubBrokers_Get.json" - } } }, "put": { @@ -198,14 +185,6 @@ } } }, - "x-ms-examples": { - "Create or update a PubSubBroker resource": { - "$ref": "./examples/PubSubBrokers_CreateOrUpdate.json" - }, - "Create or update a PubSubBroker resource with recipe": { - "$ref": "./examples/PubSubBrokers_CreateOrUpdateWithRecipe.json" - } - }, "x-ms-long-running-operation-options": { "final-state-via": "azure-async-operation" }, @@ -271,11 +250,6 @@ } } }, - "x-ms-examples": { - "Update a PubSubBroker resource": { - "$ref": "./examples/PubSubBrokers_Update.json" - } - }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, @@ -332,11 +306,6 @@ } } }, - "x-ms-examples": { - "Delete a PubSubBroker resource": { - "$ref": "./examples/PubSubBrokers_Delete.json" - } - }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, @@ -372,14 +341,6 @@ } } }, - "x-ms-examples": { - "List SecretStore resources by resource group": { - "$ref": "./examples/SecretStores_List.json" - }, - "List SecretStore resources by rootScope": { - "$ref": "./examples/SecretStores_ListByRootScope.json" - } - }, "x-ms-pageable": { "nextLinkName": "nextLink" } @@ -422,11 +383,6 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } - }, - "x-ms-examples": { - "Get a SecretStore resource": { - "$ref": "./examples/SecretStores_Get.json" - } } }, "put": { @@ -488,11 +444,6 @@ } } }, - "x-ms-examples": { - "Create or update an SecretStore resource": { - "$ref": "./examples/SecretStores_CreateOrUpdate.json" - } - }, "x-ms-long-running-operation-options": { "final-state-via": "azure-async-operation" }, @@ -558,11 +509,6 @@ } } }, - "x-ms-examples": { - "Update an SecretStore resource": { - "$ref": "./examples/SecretStores_Update.json" - } - }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, @@ -619,11 +565,6 @@ } } }, - "x-ms-examples": { - "Delete a SecretStore resource": { - "$ref": "./examples/SecretStores_Delete.json" - } - }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, @@ -659,14 +600,6 @@ } } }, - "x-ms-examples": { - "List StateStore resources by resource group": { - "$ref": "./examples/StateStores_List.json" - }, - "List StateStore resources by rootScope": { - "$ref": "./examples/StateStores_ListByRootScope.json" - } - }, "x-ms-pageable": { "nextLinkName": "nextLink" } @@ -709,11 +642,6 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } - }, - "x-ms-examples": { - "Get a StateStore resource": { - "$ref": "./examples/StateStores_Get.json" - } } }, "put": { @@ -775,14 +703,6 @@ } } }, - "x-ms-examples": { - "Create or update a StateStore resource": { - "$ref": "./examples/StateStores_CreateOrUpdate.json" - }, - "Create or update a StateStore resource with recipe": { - "$ref": "./examples/StateStores_CreateOrUpdateWithRecipe.json" - } - }, "x-ms-long-running-operation-options": { "final-state-via": "azure-async-operation" }, @@ -848,11 +768,6 @@ } } }, - "x-ms-examples": { - "Update a StateStore resource": { - "$ref": "./examples/StateStores_Update.json" - } - }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, @@ -909,11 +824,6 @@ } } }, - "x-ms-examples": { - "Delete a StateStore resource": { - "$ref": "./examples/StateStores_Delete.json" - } - }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, diff --git a/swagger/specification/applications/resource-manager/Applications.Datastores/preview/2023-10-01-preview/openapi.json b/swagger/specification/applications/resource-manager/Applications.Datastores/preview/2023-10-01-preview/openapi.json index 1dc9632980..1d2e7bdadb 100644 --- a/swagger/specification/applications/resource-manager/Applications.Datastores/preview/2023-10-01-preview/openapi.json +++ b/swagger/specification/applications/resource-manager/Applications.Datastores/preview/2023-10-01-preview/openapi.json @@ -82,14 +82,6 @@ } } }, - "x-ms-examples": { - "List MongoDatabase resources by resource group": { - "$ref": "./examples/MongoDatabases_List.json" - }, - "List MongoDatabase resources by rootScope": { - "$ref": "./examples/MongoDatabases_ListByRootScope.json" - } - }, "x-ms-pageable": { "nextLinkName": "nextLink" } @@ -132,11 +124,6 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } - }, - "x-ms-examples": { - "Get a MongoDatabase resource": { - "$ref": "./examples/MongoDatabases_Get.json" - } } }, "put": { @@ -198,14 +185,6 @@ } } }, - "x-ms-examples": { - "Create or update a MongoDatabase resource with recipe": { - "$ref": "./examples/MongoDatabases_CreateOrUpdateRecipe.json" - }, - "Create or update a MongoDatabase resource": { - "$ref": "./examples/MongoDatabases_CreateOrUpdateValues.json" - } - }, "x-ms-long-running-operation-options": { "final-state-via": "azure-async-operation" }, @@ -327,11 +306,6 @@ } } }, - "x-ms-examples": { - "Delete a MongoDatabase resource": { - "$ref": "./examples/MongoDatabases_Delete.json" - } - }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, @@ -385,11 +359,6 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } - }, - "x-ms-examples": { - "List the secrets of a MongoDatabase resource": { - "$ref": "./examples/MongoDatabases_ListSecrets.json" - } } } }, @@ -422,14 +391,6 @@ } } }, - "x-ms-examples": { - "List RedisCache resources by resource group": { - "$ref": "./examples/RedisCaches_List.json" - }, - "List RedisCache resources by rootScope": { - "$ref": "./examples/RedisCaches_ListByRootScope.json" - } - }, "x-ms-pageable": { "nextLinkName": "nextLink" } @@ -472,11 +433,6 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } - }, - "x-ms-examples": { - "Get a RedisCache resource": { - "$ref": "./examples/RedisCaches_Get.json" - } } }, "put": { @@ -538,17 +494,6 @@ } } }, - "x-ms-examples": { - "Create or update a RedisCache resource": { - "$ref": "./examples/RedisCaches_CreateOrUpdate.json" - }, - "Create or update a RedisCache resource with recipe": { - "$ref": "./examples/RedisCaches_CreateOrUpdateRecipe.json" - }, - "Create or update a RedisCache resource with values": { - "$ref": "./examples/RedisCaches_CreateOrUpdateValues.json" - } - }, "x-ms-long-running-operation-options": { "final-state-via": "azure-async-operation" }, @@ -614,11 +559,6 @@ } } }, - "x-ms-examples": { - "Update a RedisCache resource": { - "$ref": "./examples/RedisCaches_Update.json" - } - }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, @@ -675,11 +615,6 @@ } } }, - "x-ms-examples": { - "Delete a RedisCache resource": { - "$ref": "./examples/RedisCaches_Delete.json" - } - }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, @@ -733,11 +668,6 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } - }, - "x-ms-examples": { - "List the secrets of a RedisCaches resource": { - "$ref": "./examples/RedisCaches_ListSecrets.json" - } } } }, @@ -770,14 +700,6 @@ } } }, - "x-ms-examples": { - "List SqlDatabases resources by resource group": { - "$ref": "./examples/SQLDatabases_List.json" - }, - "List SqlDatabases resources by rootScope": { - "$ref": "./examples/SQLDatabases_ListByRootScope.json" - } - }, "x-ms-pageable": { "nextLinkName": "nextLink" } @@ -820,11 +742,6 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } - }, - "x-ms-examples": { - "Get a SqlDatabase resource": { - "$ref": "./examples/SQLDatabases_Get.json" - } } }, "put": { @@ -886,11 +803,6 @@ } } }, - "x-ms-examples": { - "Create or update a SqlDatabase resource": { - "$ref": "./examples/SQLDatabases_CreateOrUpdate.json" - } - }, "x-ms-long-running-operation-options": { "final-state-via": "azure-async-operation" }, @@ -956,11 +868,6 @@ } } }, - "x-ms-examples": { - "Update a SqlDatabase resource": { - "$ref": "./examples/SQLDatabases_Update.json" - } - }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, @@ -1017,11 +924,6 @@ } } }, - "x-ms-examples": { - "Delete a SqlDatabase resource": { - "$ref": "./examples/SQLDatabases_Delete.json" - } - }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, diff --git a/swagger/specification/applications/resource-manager/Applications.Messaging/preview/2023-10-01-preview/openapi.json b/swagger/specification/applications/resource-manager/Applications.Messaging/preview/2023-10-01-preview/openapi.json index c8fea81d01..fa618cf40c 100644 --- a/swagger/specification/applications/resource-manager/Applications.Messaging/preview/2023-10-01-preview/openapi.json +++ b/swagger/specification/applications/resource-manager/Applications.Messaging/preview/2023-10-01-preview/openapi.json @@ -76,14 +76,6 @@ } } }, - "x-ms-examples": { - "List RabbitMQQueue resources by resource group": { - "$ref": "./examples/RabbitMQQueues_List.json" - }, - "List RabbitMQQueue resources by rootScope": { - "$ref": "./examples/RabbitMQQueues_ListByRootScope.json" - } - }, "x-ms-pageable": { "nextLinkName": "nextLink" } @@ -126,11 +118,6 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } - }, - "x-ms-examples": { - "Get a RabbitMQQueue resource": { - "$ref": "./examples/RabbitMQQueues_Get.json" - } } }, "put": { @@ -192,11 +179,6 @@ } } }, - "x-ms-examples": { - "Create Or Update a RabbitMQQueue resource": { - "$ref": "./examples/RabbitMQQueues_CreateOrUpdate.json" - } - }, "x-ms-long-running-operation-options": { "final-state-via": "azure-async-operation" }, @@ -262,11 +244,6 @@ } } }, - "x-ms-examples": { - "Update a RabbitMQQueue resource": { - "$ref": "./examples/RabbitMQQueues_Update.json" - } - }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, @@ -323,11 +300,6 @@ } } }, - "x-ms-examples": { - "Delete a RabbitMQQueue resource": { - "$ref": "./examples/RabbitMQQueues_Delete.json" - } - }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, @@ -381,11 +353,6 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } - }, - "x-ms-examples": { - "List the secrets of a RabbitMQQueue resource": { - "$ref": "./examples/RabbitMQQueues_ListSecrets.json" - } } } }, diff --git a/swagger/specification/ucp/resource-manager/UCP/preview/2023-10-01-preview/openapi.json b/swagger/specification/ucp/resource-manager/UCP/preview/2023-10-01-preview/openapi.json index 8a5ea79c48..ebfe0776f9 100644 --- a/swagger/specification/ucp/resource-manager/UCP/preview/2023-10-01-preview/openapi.json +++ b/swagger/specification/ucp/resource-manager/UCP/preview/2023-10-01-preview/openapi.json @@ -82,11 +82,6 @@ } } }, - "x-ms-examples": { - "List planes": { - "$ref": "./examples/Planes_List.json" - } - }, "x-ms-pageable": { "nextLinkName": "nextLink" } @@ -125,11 +120,6 @@ } } }, - "x-ms-examples": { - "List planes by planeType": { - "$ref": "./examples/Planes_ListPlanesByType.json" - } - }, "x-ms-pageable": { "nextLinkName": "nextLink" } @@ -170,11 +160,6 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } - }, - "x-ms-examples": { - "Get a plane": { - "$ref": "./examples/Planes_GetPlaneLocal.json" - } } }, "put": { @@ -234,11 +219,6 @@ } } }, - "x-ms-examples": { - "Create or update a plane": { - "$ref": "./examples/Planes_CreateOrUpdate.json" - } - }, "x-ms-long-running-operation-options": { "final-state-via": "azure-async-operation" }, @@ -302,11 +282,6 @@ } } }, - "x-ms-examples": { - "Update a plane": { - "$ref": "./examples/Planes_Update.json" - } - }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, @@ -361,11 +336,6 @@ } } }, - "x-ms-examples": { - "Delete a plane": { - "$ref": "./examples/Planes_Delete.json" - } - }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, @@ -408,11 +378,6 @@ } } }, - "x-ms-examples": { - "List resource groups": { - "$ref": "./examples/ResourceGroups_List.json" - } - }, "x-ms-pageable": { "nextLinkName": "nextLink" } @@ -462,11 +427,6 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } - }, - "x-ms-examples": { - "Get a resource group": { - "$ref": "./examples/ResourceGroups_Get.json" - } } }, "put": { @@ -527,11 +487,6 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } - }, - "x-ms-examples": { - "Create or update a resource group": { - "$ref": "./examples/ResourceGroups_CreateOrUpdate.json" - } } }, "patch": { @@ -586,11 +541,6 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } - }, - "x-ms-examples": { - "Update a resource group": { - "$ref": "./examples/ResourceGroups_Update.json" - } } }, "delete": { @@ -636,11 +586,6 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } - }, - "x-ms-examples": { - "Delete a resource group": { - "$ref": "./examples/ResourceGroups_Delete.json" - } } } }, @@ -689,11 +634,6 @@ } } }, - "x-ms-examples": { - "List resources in a resource group.": { - "$ref": "./examples/Resources_List.json" - } - }, "x-ms-pageable": { "nextLinkName": "nextLink" } @@ -728,11 +668,6 @@ } } }, - "x-ms-examples": { - "List AWS credentials": { - "$ref": "./examples/AWSCredential_List.json" - } - }, "x-ms-pageable": { "nextLinkName": "nextLink" } @@ -775,11 +710,6 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } - }, - "x-ms-examples": { - "Get a AWS credential": { - "$ref": "./examples/AWSCredential_Get.json" - } } }, "put": { @@ -833,11 +763,6 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } - }, - "x-ms-examples": { - "Create or update a AWS credential": { - "$ref": "./examples/AWSCredential_CreateOrUpdate.json" - } } }, "patch": { @@ -885,11 +810,6 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } - }, - "x-ms-examples": { - "Update a AWS credential": { - "$ref": "./examples/AWSCredential_Update.json" - } } }, "delete": { @@ -928,11 +848,6 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } - }, - "x-ms-examples": { - "Delete a AWS credential": { - "$ref": "./examples/AWSCredential_Delete.json" - } } } }, @@ -965,11 +880,6 @@ } } }, - "x-ms-examples": { - "List Azure credentials": { - "$ref": "./examples/AzureCredential_List.json" - } - }, "x-ms-pageable": { "nextLinkName": "nextLink" } @@ -1012,11 +922,6 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } - }, - "x-ms-examples": { - "Get a Azure credential": { - "$ref": "./examples/AzureCredential_Get.json" - } } }, "put": { @@ -1070,11 +975,6 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } - }, - "x-ms-examples": { - "Create or update a Azure credential": { - "$ref": "./examples/AzureCredential_CreateOrUpdate.json" - } } }, "patch": { @@ -1122,11 +1022,6 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } - }, - "x-ms-examples": { - "Update a Azure credential": { - "$ref": "./examples/AzureCredential_Update.json" - } } }, "delete": { @@ -1165,11 +1060,6 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } - }, - "x-ms-examples": { - "Delete a Azure credential": { - "$ref": "./examples/AzureCredential_Delete.json" - } } } }