diff --git a/pkg/azure/clientv2/apiversion.go b/pkg/azure/clientv2/apiversion.go index 965f907d74..807830dbeb 100644 --- a/pkg/azure/clientv2/apiversion.go +++ b/pkg/azure/clientv2/apiversion.go @@ -17,10 +17,10 @@ limitations under the License. package clientv2 var ( - AccountsClientAPIVersion = "2022-09-01" - StateStoreClientAPIVersion = "2022-09-01" - ServiceBusClientAPIVersion = "2022-01-01-preview" - MSIClientAPIVersion = "2022-01-31-preview" + AccountsClientAPIVersion = "2023-10-01" + StateStoreClientAPIVersion = "2023-10-01" + ServiceBusClientAPIVersion = "2023-10-01-preview" + MSIClientAPIVersion = "2023-10-01-preview" RoleAssignmentClientAPIVersion = "2022-04-01" // https://github.com/Azure/azure-rest-api-specs/blob/main/specification/sql/resource-manager/readme.md diff --git a/swagger/specification/applications/resource-manager/Test.Resource/preview/2022-08-19-preview/examples/TestAsyncResource_CreateOrUpdate.json b/swagger/specification/applications/resource-manager/Test.Resource/preview/2022-08-19-preview/examples/TestAsyncResource_CreateOrUpdate.json new file mode 100644 index 0000000000..4b6cf1b500 --- /dev/null +++ b/swagger/specification/applications/resource-manager/Test.Resource/preview/2022-08-19-preview/examples/TestAsyncResource_CreateOrUpdate.json @@ -0,0 +1,30 @@ +{ + "operationId": "TestAsyncResources_CreateOrUpdate", + "title": "Create or Update TestAsyncResource resources", + "parameters": { + "rootScope": "/planes/radius/local/resourceGroups/testGroup", + "testAsyncResourceName": "resource0", + "api-version": "2022-08-19-preview", + "TestAsyncResource": { + "location": "global", + "properties": { + "application": "/planes/radius/local/resourceGroups/testGroup/providers/Applications.Core/applications/app0", + "property1": "test" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/planes/radius/local/resourceGroups/testGroup/providers/Test.Resource/testAsyncResources/resource0", + "name": "resource0", + "type": "Test.Resource/testAsyncResources", + "properties": { + "provisioningState": "Succeeded", + "application": "/planes/radius/local/resourceGroups/testGroup/providers/Applications.Core/applications/app0", + "property1": "test" + } + } + } + } +} diff --git a/swagger/specification/applications/resource-manager/Test.Resource/preview/2022-08-19-preview/examples/TestAsyncResource_Delete.json b/swagger/specification/applications/resource-manager/Test.Resource/preview/2022-08-19-preview/examples/TestAsyncResource_Delete.json new file mode 100644 index 0000000000..dc4fd265ef --- /dev/null +++ b/swagger/specification/applications/resource-manager/Test.Resource/preview/2022-08-19-preview/examples/TestAsyncResource_Delete.json @@ -0,0 +1,14 @@ +{ + "operationId": "TestAsyncResources_Delete", + "title": "Delete a TestAsyncResource resource", + "parameters": { + "rootScope": "/planes/radius/local/resourceGroups/testGroup", + "testAsyncResourceName": "resource0", + "api-version": "2022-08-19-preview" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/swagger/specification/applications/resource-manager/Test.Resource/preview/2022-08-19-preview/examples/TestAsyncResource_Get.json b/swagger/specification/applications/resource-manager/Test.Resource/preview/2022-08-19-preview/examples/TestAsyncResource_Get.json new file mode 100644 index 0000000000..8c4f351bc3 --- /dev/null +++ b/swagger/specification/applications/resource-manager/Test.Resource/preview/2022-08-19-preview/examples/TestAsyncResource_Get.json @@ -0,0 +1,22 @@ +{ + "operationId": "TestAsyncResources_Get", + "title": "Get a TestAsyncResource resource", + "parameters": { + "rootScope": "/planes/radius/local/resourceGroups/testGroup", + "testAsyncResourceName": "resource0", + "api-version": "2022-08-19-preview" + }, + "responses": { + "200": { + "body": { + "id": "/planes/radius/local/resourceGroups/testGroup/providers/Test.Resource/testAsyncResources/resource0", + "name": "resource0", + "type": "Test.Resource/testAsyncResources", + "properties": { + "provisioningState": "Succeeded", + "application": "/planes/radius/local/resourceGroups/testGroup/providers/Applications.Core/applications/app0" + } + } + } + } +} diff --git a/swagger/specification/applications/resource-manager/Test.Resource/preview/2022-08-19-preview/examples/TestAsyncResource_List.json b/swagger/specification/applications/resource-manager/Test.Resource/preview/2022-08-19-preview/examples/TestAsyncResource_List.json new file mode 100644 index 0000000000..7047cc5ad3 --- /dev/null +++ b/swagger/specification/applications/resource-manager/Test.Resource/preview/2022-08-19-preview/examples/TestAsyncResource_List.json @@ -0,0 +1,35 @@ +{ + "operationId": "TestAsyncResources_ListByScope", + "title": "List TestAsyncResource resources by resourcegroup", + "parameters": { + "rootScope": "/planes/radius/local/resourceGroups/testGroup", + "api-version": "2023-10-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/planes/radius/local/resourceGroups/testGroup/providers/Test.Resource/testAsyncResources/resource0", + "name": "resource0", + "type": "Test.Resource/testAsyncResources", + "properties": { + "provisioningState": "Succeeded", + "application": "/planes/radius/local/resourceGroups/testGroup/providers/Applications.Core/applications/app0" + } + }, + { + "id": "/planes/radius/local/resourceGroups/testGroup/providers/Test.Resource/testAsyncResources/resource1", + "name": "resource1", + "type": "Test.Resource/testAsyncResources", + "properties": { + "provisioningState": "Succeeded", + "application": "/planes/radius/local/resourceGroups/testGroup/providers/Applications.Core/applications/app0" + } + } + ], + "nextLink": "https://serviceRoot/planes/radius/local/providers/Test.Resource/testAsyncResources?api-version=2022-08-19-preview&$skiptoken=X'12345'" + } + } + } +} diff --git a/swagger/specification/applications/resource-manager/Test.Resource/preview/2022-08-19-preview/examples/TestAsyncResource_ListByScope.json b/swagger/specification/applications/resource-manager/Test.Resource/preview/2022-08-19-preview/examples/TestAsyncResource_ListByScope.json new file mode 100644 index 0000000000..e76c6e46f3 --- /dev/null +++ b/swagger/specification/applications/resource-manager/Test.Resource/preview/2022-08-19-preview/examples/TestAsyncResource_ListByScope.json @@ -0,0 +1,35 @@ +{ + "operationId": "TestAsyncResources_ListByScope", + "title": "List TestAsyncResource resources at root scope", + "parameters": { + "rootScope": "/planes/radius/local", + "api-version": "2023-10-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/planes/radius/local/resourceGroups/testGroup/providers/Test.Resource/testAsyncResources/resource0", + "name": "resource0", + "type": "Test.Resource/testAsyncResources", + "properties": { + "provisioningState": "Succeeded", + "application": "/planes/radius/local/resourceGroups/testGroup/providers/Applications.Core/applications/app0" + } + }, + { + "id": "/planes/radius/local/resourceGroups/testGroup/providers/Test.Resource/testAsyncResources/resource1", + "name": "resource1", + "type": "Test.Resource/testAsyncResources", + "properties": { + "provisioningState": "Succeeded", + "application": "/planes/radius/local/resourceGroups/testGroup/providers/Applications.Core/applications/app0" + } + } + ], + "nextLink": "https://serviceRoot/planes/radius/local/providers/Test.Resource/testAsyncResources?api-version=2022-08-19-preview&$skiptoken=X'12345'" + } + } + } +} diff --git a/swagger/specification/applications/resource-manager/Test.Resource/preview/2022-08-19-preview/examples/TestAsyncResource_Update.json b/swagger/specification/applications/resource-manager/Test.Resource/preview/2022-08-19-preview/examples/TestAsyncResource_Update.json new file mode 100644 index 0000000000..e23e021d59 --- /dev/null +++ b/swagger/specification/applications/resource-manager/Test.Resource/preview/2022-08-19-preview/examples/TestAsyncResource_Update.json @@ -0,0 +1,30 @@ +{ + "operationId": "TestAsyncResources_Update", + "title": "Update TestAsyncResource resources", + "parameters": { + "rootScope": "/planes/radius/local/resourceGroups/testGroup", + "testSyncResourceName": "resource0", + "api-version": "2022-08-19-preview", + "TestSyncResource": { + "location": "global", + "properties": { + "application": "/planes/radius/local/resourceGroups/testGroup/providers/Applications.Core/applications/app0", + "property1": "test" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/planes/radius/local/resourceGroups/testGroup/providers/Test.Resource/testAsyncResources/resource0", + "name": "resource0", + "type": "Test.Resource/testAsyncResources", + "properties": { + "provisioningState": "Succeeded", + "application": "/planes/radius/local/resourceGroups/testGroup/providers/Applications.Core/applications/app0", + "property1": "test" + } + } + } + } +} diff --git a/swagger/specification/applications/resource-manager/Test.Resource/preview/2022-08-19-preview/openapi.json b/swagger/specification/applications/resource-manager/Test.Resource/preview/2022-08-19-preview/openapi.json new file mode 100644 index 0000000000..0479c3f953 --- /dev/null +++ b/swagger/specification/applications/resource-manager/Test.Resource/preview/2022-08-19-preview/openapi.json @@ -0,0 +1,744 @@ +{ + "swagger": "2.0", + "info": { + "title": "Test.Resource Resource Management APIs", + "version": "2022-08-19-preview", + "description": "REST APIs for Test.Resource", + "x-typespec-generated": [ + { + "emitter": "@azure-tools/typespec-autorest" + } + ] + }, + "schemes": [ + "https" + ], + "host": "management.azure.com", + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow.", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "tags": [ + { + "name": "Operations" + }, + { + "name": "TestAsyncResources" + } + ], + "paths": { + "/{rootScope}/providers/Test.Resource/testAsyncResources": { + "get": { + "operationId": "TestAsyncResources_ListByScope", + "tags": [ + "TestAsyncResources" + ], + "description": "List TestAsyncResource resources by Scope", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/RootScopeParameter" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/TestAsyncResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List TestAsyncResource resources by resourcegroup": { + "$ref": "./examples/TestAsyncResource_List.json" + }, + "List TestAsyncResource resources at root scope": { + "$ref": "./examples/TestAsyncResource_ListByScope.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/{rootScope}/providers/Test.Resource/testAsyncResources/{testAsyncResourceName}": { + "get": { + "operationId": "TestAsyncResources_Get", + "tags": [ + "TestAsyncResources" + ], + "description": "Get a TestAsyncResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/RootScopeParameter" + }, + { + "name": "testAsyncResourceName", + "in": "path", + "description": "The name of TestSyncResource", + "required": true, + "type": "string", + "maxLength": 63, + "pattern": "^[A-Za-z]([-A-Za-z0-9]*[A-Za-z0-9])?$" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/TestAsyncResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get a TestAsyncResource resource": { + "$ref": "./examples/TestAsyncResource_Get.json" + } + } + }, + "put": { + "operationId": "TestAsyncResources_CreateOrUpdate", + "tags": [ + "TestAsyncResources" + ], + "description": "Create a TestAsyncResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/RootScopeParameter" + }, + { + "name": "testAsyncResourceName", + "in": "path", + "description": "The name of TestSyncResource", + "required": true, + "type": "string", + "maxLength": 63, + "pattern": "^[A-Za-z]([-A-Za-z0-9]*[A-Za-z0-9])?$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/TestAsyncResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'TestAsyncResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/TestAsyncResource" + } + }, + "201": { + "description": "Resource 'TestAsyncResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/TestAsyncResource" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create or Update TestAsyncResource resources": { + "$ref": "./examples/TestAsyncResource_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "TestAsyncResources_Update", + "tags": [ + "TestAsyncResources" + ], + "description": "Update a TestAsyncResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/RootScopeParameter" + }, + { + "name": "testAsyncResourceName", + "in": "path", + "description": "The name of TestSyncResource", + "required": true, + "type": "string", + "maxLength": 63, + "pattern": "^[A-Za-z]([-A-Za-z0-9]*[A-Za-z0-9])?$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/TestAsyncResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/TestAsyncResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Update TestAsyncResource resources": { + "$ref": "./examples/TestAsyncResource_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "TestAsyncResources_Delete", + "tags": [ + "TestAsyncResources" + ], + "description": "Delete a TestAsyncResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/RootScopeParameter" + }, + { + "name": "testAsyncResourceName", + "in": "path", + "description": "The name of TestSyncResource", + "required": true, + "type": "string", + "maxLength": 63, + "pattern": "^[A-Za-z]([-A-Za-z0-9]*[A-Za-z0-9])?$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "204": { + "description": "Resource deleted successfully." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete a TestAsyncResource resource": { + "$ref": "./examples/TestAsyncResource_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/providers/Test.Resource/operations": { + "get": { + "operationId": "Operations_List", + "tags": [ + "Operations" + ], + "description": "List the operations for the provider", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "EnvironmentCompute": { + "type": "object", + "description": "Represents backing compute resource", + "properties": { + "kind": { + "type": "string", + "description": "Discriminator property for EnvironmentCompute." + }, + "resourceId": { + "type": "string", + "description": "The resource id of the compute resource for application environment." + }, + "identity": { + "$ref": "#/definitions/IdentitySettings", + "description": "Configuration for supported external identity providers" + } + }, + "discriminator": "kind", + "required": [ + "kind" + ] + }, + "IdentitySettingKind": { + "type": "string", + "description": "IdentitySettingKind is the kind of supported external identity setting", + "enum": [ + "undefined", + "azure.com.workload" + ], + "x-ms-enum": { + "name": "IdentitySettingKind", + "modelAsString": true, + "values": [ + { + "name": "undefined", + "value": "undefined", + "description": "undefined identity" + }, + { + "name": "azure.com.workload", + "value": "azure.com.workload", + "description": "azure ad workload identity" + } + ] + } + }, + "IdentitySettings": { + "type": "object", + "description": "IdentitySettings is the external identity setting.", + "properties": { + "kind": { + "$ref": "#/definitions/IdentitySettingKind", + "description": "kind of identity setting" + }, + "oidcIssuer": { + "type": "string", + "description": "The URI for your compute platform's OIDC issuer" + }, + "resource": { + "type": "string", + "description": "The resource ID of the provisioned identity" + } + }, + "required": [ + "kind" + ] + }, + "KubernetesCompute": { + "type": "object", + "description": "The Kubernetes compute configuration", + "properties": { + "namespace": { + "type": "string", + "description": "The namespace to use for the environment." + } + }, + "required": [ + "namespace" + ], + "allOf": [ + { + "$ref": "#/definitions/EnvironmentCompute" + } + ], + "x-ms-discriminator-value": "kubernetes" + }, + "OutputResource": { + "type": "object", + "description": "Properties of an output resource.", + "properties": { + "localId": { + "type": "string", + "description": "The logical identifier scoped to the owning Radius resource. This is only needed or used when a resource has a dependency relationship. LocalIDs do not have any particular format or meaning beyond being compared to determine dependency relationships." + }, + "id": { + "type": "string", + "description": "The UCP resource ID of the underlying resource." + }, + "radiusManaged": { + "type": "boolean", + "description": "Determines whether Radius manages the lifecycle of the underlying resource." + } + } + }, + "ProvisioningState": { + "type": "string", + "description": "Provisioning state of the portable resource at the time the operation was called", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Provisioning", + "Updating", + "Deleting", + "Accepted" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + }, + { + "name": "Provisioning", + "value": "Provisioning", + "description": "The resource is being provisioned" + }, + { + "name": "Updating", + "value": "Updating", + "description": "The resource is updating" + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "The resource is being deleted" + }, + { + "name": "Accepted", + "value": "Accepted", + "description": "The resource create request has been accepted" + } + ] + }, + "readOnly": true + }, + "ResourceStatus": { + "type": "object", + "description": "Status of a resource.", + "properties": { + "compute": { + "$ref": "#/definitions/EnvironmentCompute", + "description": "The compute resource associated with the resource." + }, + "outputResources": { + "type": "array", + "description": "Properties of an output resource", + "items": { + "$ref": "#/definitions/OutputResource" + }, + "x-ms-identifiers": [] + } + } + }, + "TestAsyncResource": { + "type": "object", + "description": "The TestAsyncResource which implements asynchornous API.", + "properties": { + "properties": { + "$ref": "#/definitions/TestAsyncResourceProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true, + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "TestAsyncResourceListResult": { + "type": "object", + "description": "The response of a TestAsyncResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The TestAsyncResource items on this page", + "items": { + "$ref": "#/definitions/TestAsyncResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "TestAsyncResourceProperties": { + "type": "object", + "description": "TestAsyncResource properties", + "properties": { + "environment": { + "type": "string", + "description": "Fully qualified resource ID for the environment that the portable resource is linked to (if applicable)" + }, + "application": { + "type": "string", + "description": "Fully qualified resource ID for the application that the portable resource is consumed by" + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the asynchronous operation.", + "readOnly": true + }, + "status": { + "$ref": "#/definitions/ResourceStatus", + "description": "Status of a resource.", + "readOnly": true + }, + "property1": { + "type": "string", + "description": "The property1 of TestASyncResource" + } + }, + "required": [ + "application", + "property1" + ] + }, + "TestAsyncResourceUpdate": { + "type": "object", + "description": "The type used for update operations of the TestAsyncResource.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/TestAsyncResourceUpdateProperties", + "x-ms-client-flatten": true + } + } + }, + "TestAsyncResourceUpdateProperties": { + "type": "object", + "description": "The updatable properties of the TestAsyncResource.", + "properties": { + "environment": { + "type": "string", + "description": "Fully qualified resource ID for the environment that the portable resource is linked to (if applicable)" + }, + "application": { + "type": "string", + "description": "Fully qualified resource ID for the application that the portable resource is consumed by" + }, + "property1": { + "type": "string", + "description": "The property1 of TestASyncResource" + } + } + }, + "TestSyncResource": { + "type": "object", + "description": "The TestSyncResource type.", + "properties": { + "properties": { + "$ref": "#/definitions/TestSyncResourceProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true, + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "TestSyncResourceProperties": { + "type": "object", + "description": "TestSyncResource properties", + "properties": { + "environment": { + "type": "string", + "description": "Fully qualified resource ID for the environment that the portable resource is linked to (if applicable)" + }, + "application": { + "type": "string", + "description": "Fully qualified resource ID for the application that the portable resource is consumed by" + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the asynchronous operation.", + "readOnly": true + }, + "status": { + "$ref": "#/definitions/ResourceStatus", + "description": "Status of a resource.", + "readOnly": true + }, + "property1": { + "type": "string", + "description": "The property1 of TestSyncResource" + } + }, + "required": [ + "application", + "property1" + ] + }, + "Versions": { + "type": "string", + "description": "Supported API versions for the Test.Resource resource provider.", + "enum": [ + "2022-08-19-preview", + "2023-08-19" + ], + "x-ms-enum": { + "name": "Versions", + "modelAsString": true, + "values": [ + { + "name": "v2022_08_19_preview", + "value": "2022-08-19-preview", + "description": "2022-08-19-preview" + }, + { + "name": "v2023_08_19", + "value": "2023-08-19", + "description": "2023-08-19" + } + ] + } + } + }, + "parameters": { + "RootScopeParameter": { + "name": "rootScope", + "in": "path", + "description": "The scope in which the resource is present. UCP Scope is /planes/{planeType}/{planeName}/resourceGroup/{resourcegroupID} and Azure resource scope is /subscriptions/{subscriptionID}/resourceGroup/{resourcegroupID}", + "required": true, + "type": "string", + "minLength": 1, + "x-ms-parameter-location": "client", + "x-ms-skip-url-encoding": true + } + } +} diff --git a/swagger/specification/applications/resource-manager/Test.Resource/stable/2023-08-19/examples/TestAsyncResource_CreateOrUpdate.json b/swagger/specification/applications/resource-manager/Test.Resource/stable/2023-08-19/examples/TestAsyncResource_CreateOrUpdate.json new file mode 100644 index 0000000000..ab9354729d --- /dev/null +++ b/swagger/specification/applications/resource-manager/Test.Resource/stable/2023-08-19/examples/TestAsyncResource_CreateOrUpdate.json @@ -0,0 +1,30 @@ +{ + "operationId": "TestAsyncResources_CreateOrUpdate", + "title": "Create or Update TestAsyncResource resources", + "parameters": { + "rootScope": "/planes/radius/local/resourceGroups/testGroup", + "testAsyncResourceName": "resource0", + "api-version": "2023-08-19", + "TestAsyncResource": { + "location": "global", + "properties": { + "application": "/planes/radius/local/resourceGroups/testGroup/providers/Applications.Core/applications/app0", + "property1": "test" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/planes/radius/local/resourceGroups/testGroup/providers/Test.Resource/testAsyncResources/resource0", + "name": "resource0", + "type": "Test.Resource/testAsyncResources", + "properties": { + "provisioningState": "Succeeded", + "application": "/planes/radius/local/resourceGroups/testGroup/providers/Applications.Core/applications/app0", + "property1": "test" + } + } + } + } +} diff --git a/swagger/specification/applications/resource-manager/Test.Resource/stable/2023-08-19/examples/TestAsyncResource_Delete.json b/swagger/specification/applications/resource-manager/Test.Resource/stable/2023-08-19/examples/TestAsyncResource_Delete.json new file mode 100644 index 0000000000..bf27a5e050 --- /dev/null +++ b/swagger/specification/applications/resource-manager/Test.Resource/stable/2023-08-19/examples/TestAsyncResource_Delete.json @@ -0,0 +1,14 @@ +{ + "operationId": "TestAsyncResources_Delete", + "title": "Delete a TestAsyncResource resource", + "parameters": { + "rootScope": "/planes/radius/local/resourceGroups/testGroup", + "testAsyncResourceName": "resource0", + "api-version": "2023-08-19" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/swagger/specification/applications/resource-manager/Test.Resource/stable/2023-08-19/examples/TestAsyncResource_Get.json b/swagger/specification/applications/resource-manager/Test.Resource/stable/2023-08-19/examples/TestAsyncResource_Get.json new file mode 100644 index 0000000000..be851ac706 --- /dev/null +++ b/swagger/specification/applications/resource-manager/Test.Resource/stable/2023-08-19/examples/TestAsyncResource_Get.json @@ -0,0 +1,22 @@ +{ + "operationId": "TestAsyncResources_Get", + "title": "Get a TestAsyncResource resource", + "parameters": { + "rootScope": "/planes/radius/local/resourceGroups/testGroup", + "testAsyncResourceName": "resource0", + "api-version": "2023-08-19" + }, + "responses": { + "200": { + "body": { + "id": "/planes/radius/local/resourceGroups/testGroup/providers/Test.Resource/testAsyncResources/resource0", + "name": "resource0", + "type": "Test.Resource/testAsyncResources", + "properties": { + "provisioningState": "Succeeded", + "application": "/planes/radius/local/resourceGroups/testGroup/providers/Applications.Core/applications/app0" + } + } + } + } +} diff --git a/swagger/specification/applications/resource-manager/Test.Resource/stable/2023-08-19/examples/TestAsyncResource_List.json b/swagger/specification/applications/resource-manager/Test.Resource/stable/2023-08-19/examples/TestAsyncResource_List.json new file mode 100644 index 0000000000..3dee519fa0 --- /dev/null +++ b/swagger/specification/applications/resource-manager/Test.Resource/stable/2023-08-19/examples/TestAsyncResource_List.json @@ -0,0 +1,35 @@ +{ + "operationId": "TestAsyncResources_ListByScope", + "title": "List TestAsyncResource resources by resourcegroup", + "parameters": { + "rootScope": "/planes/radius/local/resourceGroups/testGroup", + "api-version": "2023-10-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/planes/radius/local/resourceGroups/testGroup/providers/Test.Resource/testAsyncResources/resource0", + "name": "resource0", + "type": "Test.Resource/testAsyncResources", + "properties": { + "provisioningState": "Succeeded", + "application": "/planes/radius/local/resourceGroups/testGroup/providers/Applications.Core/applications/app0" + } + }, + { + "id": "/planes/radius/local/resourceGroups/testGroup/providers/Test.Resource/testAsyncResources/resource1", + "name": "resource1", + "type": "Test.Resource/testAsyncResources", + "properties": { + "provisioningState": "Succeeded", + "application": "/planes/radius/local/resourceGroups/testGroup/providers/Applications.Core/applications/app0" + } + } + ], + "nextLink": "https://serviceRoot/planes/radius/local/providers/Test.Resource/testAsyncResources?api-version=2023-08-19&$skiptoken=X'12345'" + } + } + } +} diff --git a/swagger/specification/applications/resource-manager/Test.Resource/stable/2023-08-19/examples/TestAsyncResource_ListByScope.json b/swagger/specification/applications/resource-manager/Test.Resource/stable/2023-08-19/examples/TestAsyncResource_ListByScope.json new file mode 100644 index 0000000000..437c8a8f41 --- /dev/null +++ b/swagger/specification/applications/resource-manager/Test.Resource/stable/2023-08-19/examples/TestAsyncResource_ListByScope.json @@ -0,0 +1,35 @@ +{ + "operationId": "TestAsyncResources_ListByScope", + "title": "List TestAsyncResource resources at root scope", + "parameters": { + "rootScope": "/planes/radius/local", + "api-version": "2023-10-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/planes/radius/local/resourceGroups/testGroup/providers/Test.Resource/testAsyncResources/resource0", + "name": "resource0", + "type": "Test.Resource/testAsyncResources", + "properties": { + "provisioningState": "Succeeded", + "application": "/planes/radius/local/resourceGroups/testGroup/providers/Applications.Core/applications/app0" + } + }, + { + "id": "/planes/radius/local/resourceGroups/testGroup/providers/Test.Resource/testAsyncResources/resource1", + "name": "resource1", + "type": "Test.Resource/testAsyncResources", + "properties": { + "provisioningState": "Succeeded", + "application": "/planes/radius/local/resourceGroups/testGroup/providers/Applications.Core/applications/app0" + } + } + ], + "nextLink": "https://serviceRoot/planes/radius/local/providers/Test.Resource/testAsyncResources?api-version=2023-08-19&$skiptoken=X'12345'" + } + } + } +} diff --git a/swagger/specification/applications/resource-manager/Test.Resource/stable/2023-08-19/examples/TestAsyncResource_Update.json b/swagger/specification/applications/resource-manager/Test.Resource/stable/2023-08-19/examples/TestAsyncResource_Update.json new file mode 100644 index 0000000000..2c1ff5c348 --- /dev/null +++ b/swagger/specification/applications/resource-manager/Test.Resource/stable/2023-08-19/examples/TestAsyncResource_Update.json @@ -0,0 +1,30 @@ +{ + "operationId": "TestAsyncResources_Update", + "title": "Update TestAsyncResource resources", + "parameters": { + "rootScope": "/planes/radius/local/resourceGroups/testGroup", + "testSyncResourceName": "resource0", + "api-version": "2023-08-19", + "TestSyncResource": { + "location": "global", + "properties": { + "application": "/planes/radius/local/resourceGroups/testGroup/providers/Applications.Core/applications/app0", + "property1": "test" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/planes/radius/local/resourceGroups/testGroup/providers/Test.Resource/testAsyncResources/resource0", + "name": "resource0", + "type": "Test.Resource/testAsyncResources", + "properties": { + "provisioningState": "Succeeded", + "application": "/planes/radius/local/resourceGroups/testGroup/providers/Applications.Core/applications/app0", + "property1": "test" + } + } + } + } +} diff --git a/swagger/specification/applications/resource-manager/Test.Resource/stable/2023-08-19/examples/TestSyncResource_CreateOrUpdate.json b/swagger/specification/applications/resource-manager/Test.Resource/stable/2023-08-19/examples/TestSyncResource_CreateOrUpdate.json new file mode 100644 index 0000000000..d449d53a12 --- /dev/null +++ b/swagger/specification/applications/resource-manager/Test.Resource/stable/2023-08-19/examples/TestSyncResource_CreateOrUpdate.json @@ -0,0 +1,30 @@ +{ + "operationId": "TestSyncResources_CreateOrUpdate", + "title": "Create or Update TestSyncResource resources", + "parameters": { + "rootScope": "/planes/radius/local/resourceGroups/testGroup", + "testSyncResourceName": "resource0", + "api-version": "2023-08-19", + "TestSyncResource": { + "location": "global", + "properties": { + "application": "/planes/radius/local/resourceGroups/testGroup/providers/Applications.Core/applications/app0", + "property1": "test" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/planes/radius/local/resourceGroups/testGroup/providers/Test.Resource/testSyncResources/resource0", + "name": "resource0", + "type": "Test.Resource/testSyncResources", + "properties": { + "provisioningState": "Succeeded", + "application": "/planes/radius/local/resourceGroups/testGroup/providers/Applications.Core/applications/app0", + "property1": "test" + } + } + } + } +} diff --git a/swagger/specification/applications/resource-manager/Test.Resource/stable/2023-08-19/examples/TestSyncResource_Get.json b/swagger/specification/applications/resource-manager/Test.Resource/stable/2023-08-19/examples/TestSyncResource_Get.json new file mode 100644 index 0000000000..a3b3d18932 --- /dev/null +++ b/swagger/specification/applications/resource-manager/Test.Resource/stable/2023-08-19/examples/TestSyncResource_Get.json @@ -0,0 +1,22 @@ +{ + "operationId": "TestSyncResources_Get", + "title": "Get a TestSyncResources resource", + "parameters": { + "rootScope": "/planes/radius/local/resourceGroups/testGroup", + "testSyncResourceName": "resource0", + "api-version": "2023-08-19" + }, + "responses": { + "200": { + "body": { + "id": "/planes/radius/local/resourceGroups/testGroup/providers/Test.Resource/testSyncResources/resource0", + "name": "resource0", + "type": "Test.Resource/testSyncResources", + "properties": { + "provisioningState": "Succeeded", + "application": "/planes/radius/local/resourceGroups/testGroup/providers/Applications.Core/applications/app0" + } + } + } + } +} diff --git a/swagger/specification/applications/resource-manager/Test.Resource/stable/2023-08-19/examples/TestSyncResource_List.json b/swagger/specification/applications/resource-manager/Test.Resource/stable/2023-08-19/examples/TestSyncResource_List.json new file mode 100644 index 0000000000..2738f17a34 --- /dev/null +++ b/swagger/specification/applications/resource-manager/Test.Resource/stable/2023-08-19/examples/TestSyncResource_List.json @@ -0,0 +1,35 @@ +{ + "operationId": "TestSyncResources_ListByScope", + "title": "List TestSyncResource resources by resourcegroup", + "parameters": { + "rootScope": "/planes/radius/local/resourceGroups/testGroup", + "api-version": "2023-03-15-privatepreview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/planes/radius/local/resourceGroups/testGroup/providers/Test.Resource/testSyncResources/resource0", + "name": "resource0", + "type": "Test.Resource/testSyncResources", + "properties": { + "provisioningState": "Succeeded", + "application": "/planes/radius/local/resourceGroups/testGroup/providers/Applications.Core/applications/app0" + } + }, + { + "id": "/planes/radius/local/resourceGroups/testGroup/providers/Test.Resource/testSyncResources/resource1", + "name": "resource1", + "type": "Test.Resource/testSyncResources", + "properties": { + "provisioningState": "Succeeded", + "application": "/planes/radius/local/resourceGroups/testGroup/providers/Applications.Core/applications/app0" + } + } + ], + "nextLink": "https://serviceRoot/planes/radius/local/providers/Test.Resource/testSyncResources?api-version=2023-08-19&$skiptoken=X'12345'" + } + } + } +} diff --git a/swagger/specification/applications/resource-manager/Test.Resource/stable/2023-08-19/examples/TestSyncResource_ListByScope.json b/swagger/specification/applications/resource-manager/Test.Resource/stable/2023-08-19/examples/TestSyncResource_ListByScope.json new file mode 100644 index 0000000000..78a0e58803 --- /dev/null +++ b/swagger/specification/applications/resource-manager/Test.Resource/stable/2023-08-19/examples/TestSyncResource_ListByScope.json @@ -0,0 +1,35 @@ +{ + "operationId": "TestSyncResources_ListByScope", + "title": "List TestSyncResource resources at root scope", + "parameters": { + "rootScope": "/planes/radius/local", + "api-version": "2023-03-15-privatepreview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/planes/radius/local/resourceGroups/testGroup/providers/Test.Resource/testSyncResources/resource0", + "name": "resource0", + "type": "Test.Resource/testSyncResources", + "properties": { + "provisioningState": "Succeeded", + "application": "/planes/radius/local/resourceGroups/testGroup/providers/Applications.Core/applications/app0" + } + }, + { + "id": "/planes/radius/local/resourceGroups/testGroup/providers/Test.Resource/testSyncResources/resource1", + "name": "resource1", + "type": "Test.Resource/testSyncResources", + "properties": { + "provisioningState": "Succeeded", + "application": "/planes/radius/local/resourceGroups/testGroup/providers/Applications.Core/applications/app0" + } + } + ], + "nextLink": "https://serviceRoot/planes/radius/local/providers/Test.Resource/testSyncResources?api-version=2023-08-19&$skiptoken=X'12345'" + } + } + } +} diff --git a/swagger/specification/applications/resource-manager/Test.Resource/stable/2023-08-19/examples/TestSyncResource_Update.json b/swagger/specification/applications/resource-manager/Test.Resource/stable/2023-08-19/examples/TestSyncResource_Update.json new file mode 100644 index 0000000000..f710358466 --- /dev/null +++ b/swagger/specification/applications/resource-manager/Test.Resource/stable/2023-08-19/examples/TestSyncResource_Update.json @@ -0,0 +1,30 @@ +{ + "operationId": "TestSyncResources_Update", + "title": "Update TestSyncResource resources", + "parameters": { + "rootScope": "/planes/radius/local/resourceGroups/testGroup", + "testSyncResourceName": "resource0", + "api-version": "2023-08-19", + "TestSyncResource": { + "location": "global", + "properties": { + "application": "/planes/radius/local/resourceGroups/testGroup/providers/Applications.Core/applications/app0", + "property1": "test" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/planes/radius/local/resourceGroups/testGroup/providers/Test.Resource/testSyncResources/resource0", + "name": "resource0", + "type": "Test.Resource/testSyncResources", + "properties": { + "provisioningState": "Succeeded", + "application": "/planes/radius/local/resourceGroups/testGroup/providers/Applications.Core/applications/app0", + "property1": "test" + } + } + } + } +} diff --git a/swagger/specification/applications/resource-manager/Test.Resource/stable/2023-08-19/openapi.json b/swagger/specification/applications/resource-manager/Test.Resource/stable/2023-08-19/openapi.json new file mode 100644 index 0000000000..0cd70b56f6 --- /dev/null +++ b/swagger/specification/applications/resource-manager/Test.Resource/stable/2023-08-19/openapi.json @@ -0,0 +1,1038 @@ +{ + "swagger": "2.0", + "info": { + "title": "Test.Resource Resource Management APIs", + "version": "2023-08-19", + "description": "REST APIs for Test.Resource", + "x-typespec-generated": [ + { + "emitter": "@azure-tools/typespec-autorest" + } + ] + }, + "schemes": [ + "https" + ], + "host": "management.azure.com", + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow.", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "tags": [ + { + "name": "Operations" + }, + { + "name": "TestSyncResources" + }, + { + "name": "TestAsyncResources" + } + ], + "paths": { + "/{rootScope}/providers/Test.Resource/testAsyncResources": { + "get": { + "operationId": "TestAsyncResources_ListByScope", + "tags": [ + "TestAsyncResources" + ], + "description": "List TestAsyncResource resources by Scope", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/RootScopeParameter" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/TestAsyncResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List TestAsyncResource resources by resourcegroup": { + "$ref": "./examples/TestAsyncResource_List.json" + }, + "List TestAsyncResource resources at root scope": { + "$ref": "./examples/TestAsyncResource_ListByScope.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/{rootScope}/providers/Test.Resource/testAsyncResources/{testAsyncResourceName}": { + "get": { + "operationId": "TestAsyncResources_Get", + "tags": [ + "TestAsyncResources" + ], + "description": "Get a TestAsyncResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/RootScopeParameter" + }, + { + "name": "testAsyncResourceName", + "in": "path", + "description": "The name of TestSyncResource", + "required": true, + "type": "string", + "maxLength": 63, + "pattern": "^[A-Za-z]([-A-Za-z0-9]*[A-Za-z0-9])?$" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/TestAsyncResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get a TestAsyncResource resource": { + "$ref": "./examples/TestAsyncResource_Get.json" + } + } + }, + "put": { + "operationId": "TestAsyncResources_CreateOrUpdate", + "tags": [ + "TestAsyncResources" + ], + "description": "Create a TestAsyncResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/RootScopeParameter" + }, + { + "name": "testAsyncResourceName", + "in": "path", + "description": "The name of TestSyncResource", + "required": true, + "type": "string", + "maxLength": 63, + "pattern": "^[A-Za-z]([-A-Za-z0-9]*[A-Za-z0-9])?$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/TestAsyncResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'TestAsyncResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/TestAsyncResource" + } + }, + "201": { + "description": "Resource 'TestAsyncResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/TestAsyncResource" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create or Update TestAsyncResource resources": { + "$ref": "./examples/TestAsyncResource_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "TestAsyncResources_Update", + "tags": [ + "TestAsyncResources" + ], + "description": "Update a TestAsyncResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/RootScopeParameter" + }, + { + "name": "testAsyncResourceName", + "in": "path", + "description": "The name of TestSyncResource", + "required": true, + "type": "string", + "maxLength": 63, + "pattern": "^[A-Za-z]([-A-Za-z0-9]*[A-Za-z0-9])?$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/TestAsyncResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/TestAsyncResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Update TestAsyncResource resources": { + "$ref": "./examples/TestAsyncResource_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "TestAsyncResources_Delete", + "tags": [ + "TestAsyncResources" + ], + "description": "Delete a TestAsyncResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/RootScopeParameter" + }, + { + "name": "testAsyncResourceName", + "in": "path", + "description": "The name of TestSyncResource", + "required": true, + "type": "string", + "maxLength": 63, + "pattern": "^[A-Za-z]([-A-Za-z0-9]*[A-Za-z0-9])?$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + } + } + }, + "204": { + "description": "Resource deleted successfully." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete a TestAsyncResource resource": { + "$ref": "./examples/TestAsyncResource_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/{rootScope}/providers/Test.Resource/testSyncResources": { + "get": { + "operationId": "TestSyncResources_ListByScope", + "tags": [ + "TestSyncResources" + ], + "description": "List TestSyncResource resources by Scope", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/RootScopeParameter" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/TestSyncResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List TestSyncResource resources by resourcegroup": { + "$ref": "./examples/TestSyncResource_List.json" + }, + "List TestSyncResource resources at root scope": { + "$ref": "./examples/TestSyncResource_ListByScope.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/{rootScope}/providers/Test.Resource/testSyncResources/{testSyncResourceName}": { + "get": { + "operationId": "TestSyncResources_Get", + "tags": [ + "TestSyncResources" + ], + "description": "Get a TestSyncResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/RootScopeParameter" + }, + { + "name": "testSyncResourceName", + "in": "path", + "description": "The name of TestSyncResource", + "required": true, + "type": "string", + "maxLength": 63, + "pattern": "^[A-Za-z]([-A-Za-z0-9]*[A-Za-z0-9])?$" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/TestSyncResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get a TestSyncResources resource": { + "$ref": "./examples/TestSyncResource_Get.json" + } + } + }, + "put": { + "operationId": "TestSyncResources_CreateOrUpdate", + "tags": [ + "TestSyncResources" + ], + "description": "Create a TestSyncResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/RootScopeParameter" + }, + { + "name": "testSyncResourceName", + "in": "path", + "description": "The name of TestSyncResource", + "required": true, + "type": "string", + "maxLength": 63, + "pattern": "^[A-Za-z]([-A-Za-z0-9]*[A-Za-z0-9])?$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/TestSyncResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'TestSyncResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/TestSyncResource" + } + }, + "201": { + "description": "Resource 'TestSyncResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/TestSyncResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create or Update TestSyncResource resources": { + "$ref": "./examples/TestSyncResource_CreateOrUpdate.json" + } + } + }, + "patch": { + "operationId": "TestSyncResources_Update", + "tags": [ + "TestSyncResources" + ], + "description": "Update a TestSyncResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/RootScopeParameter" + }, + { + "name": "testSyncResourceName", + "in": "path", + "description": "The name of TestSyncResource", + "required": true, + "type": "string", + "maxLength": 63, + "pattern": "^[A-Za-z]([-A-Za-z0-9]*[A-Za-z0-9])?$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/TestSyncResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/TestSyncResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Update TestSyncResource resources": { + "$ref": "./examples/TestSyncResource_Update.json" + } + } + }, + "delete": { + "operationId": "TestSyncResources_Delete", + "tags": [ + "TestSyncResources" + ], + "description": "Delete a TestSyncResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/RootScopeParameter" + }, + { + "name": "testSyncResourceName", + "in": "path", + "description": "The name of TestSyncResource", + "required": true, + "type": "string", + "maxLength": 63, + "pattern": "^[A-Za-z]([-A-Za-z0-9]*[A-Za-z0-9])?$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource deleted successfully." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Test.Resource/operations": { + "get": { + "operationId": "Operations_List", + "tags": [ + "Operations" + ], + "description": "List the operations for the provider", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "EnvironmentCompute": { + "type": "object", + "description": "Represents backing compute resource", + "properties": { + "kind": { + "type": "string", + "description": "Discriminator property for EnvironmentCompute." + }, + "resourceId": { + "type": "string", + "description": "The resource id of the compute resource for application environment." + }, + "identity": { + "$ref": "#/definitions/IdentitySettings", + "description": "Configuration for supported external identity providers" + } + }, + "discriminator": "kind", + "required": [ + "kind" + ] + }, + "IdentitySettingKind": { + "type": "string", + "description": "IdentitySettingKind is the kind of supported external identity setting", + "enum": [ + "undefined", + "azure.com.workload" + ], + "x-ms-enum": { + "name": "IdentitySettingKind", + "modelAsString": true, + "values": [ + { + "name": "undefined", + "value": "undefined", + "description": "undefined identity" + }, + { + "name": "azure.com.workload", + "value": "azure.com.workload", + "description": "azure ad workload identity" + } + ] + } + }, + "IdentitySettings": { + "type": "object", + "description": "IdentitySettings is the external identity setting.", + "properties": { + "kind": { + "$ref": "#/definitions/IdentitySettingKind", + "description": "kind of identity setting" + }, + "oidcIssuer": { + "type": "string", + "description": "The URI for your compute platform's OIDC issuer" + }, + "resource": { + "type": "string", + "description": "The resource ID of the provisioned identity" + } + }, + "required": [ + "kind" + ] + }, + "KubernetesCompute": { + "type": "object", + "description": "The Kubernetes compute configuration", + "properties": { + "namespace": { + "type": "string", + "description": "The namespace to use for the environment." + } + }, + "required": [ + "namespace" + ], + "allOf": [ + { + "$ref": "#/definitions/EnvironmentCompute" + } + ], + "x-ms-discriminator-value": "kubernetes" + }, + "OutputResource": { + "type": "object", + "description": "Properties of an output resource.", + "properties": { + "localId": { + "type": "string", + "description": "The logical identifier scoped to the owning Radius resource. This is only needed or used when a resource has a dependency relationship. LocalIDs do not have any particular format or meaning beyond being compared to determine dependency relationships." + }, + "id": { + "type": "string", + "description": "The UCP resource ID of the underlying resource." + }, + "radiusManaged": { + "type": "boolean", + "description": "Determines whether Radius manages the lifecycle of the underlying resource." + } + } + }, + "ProvisioningState": { + "type": "string", + "description": "Provisioning state of the portable resource at the time the operation was called", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Provisioning", + "Updating", + "Deleting", + "Accepted" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + }, + { + "name": "Provisioning", + "value": "Provisioning", + "description": "The resource is being provisioned" + }, + { + "name": "Updating", + "value": "Updating", + "description": "The resource is updating" + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "The resource is being deleted" + }, + { + "name": "Accepted", + "value": "Accepted", + "description": "The resource create request has been accepted" + } + ] + }, + "readOnly": true + }, + "ResourceStatus": { + "type": "object", + "description": "Status of a resource.", + "properties": { + "compute": { + "$ref": "#/definitions/EnvironmentCompute", + "description": "The compute resource associated with the resource." + }, + "outputResources": { + "type": "array", + "description": "Properties of an output resource", + "items": { + "$ref": "#/definitions/OutputResource" + }, + "x-ms-identifiers": [] + } + } + }, + "TestAsyncResource": { + "type": "object", + "description": "The TestAsyncResource which implements asynchornous API.", + "properties": { + "properties": { + "$ref": "#/definitions/TestAsyncResourceProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true, + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "TestAsyncResourceListResult": { + "type": "object", + "description": "The response of a TestAsyncResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The TestAsyncResource items on this page", + "items": { + "$ref": "#/definitions/TestAsyncResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "TestAsyncResourceProperties": { + "type": "object", + "description": "TestAsyncResource properties", + "properties": { + "environment": { + "type": "string", + "description": "Fully qualified resource ID for the environment that the portable resource is linked to (if applicable)" + }, + "application": { + "type": "string", + "description": "Fully qualified resource ID for the application that the portable resource is consumed by" + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the asynchronous operation.", + "readOnly": true + }, + "status": { + "$ref": "#/definitions/ResourceStatus", + "description": "Status of a resource.", + "readOnly": true + }, + "property1": { + "type": "string", + "description": "The property1 of TestASyncResource" + } + }, + "required": [ + "application", + "property1" + ] + }, + "TestAsyncResourceUpdate": { + "type": "object", + "description": "The type used for update operations of the TestAsyncResource.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/TestAsyncResourceUpdateProperties", + "x-ms-client-flatten": true + } + } + }, + "TestAsyncResourceUpdateProperties": { + "type": "object", + "description": "The updatable properties of the TestAsyncResource.", + "properties": { + "environment": { + "type": "string", + "description": "Fully qualified resource ID for the environment that the portable resource is linked to (if applicable)" + }, + "application": { + "type": "string", + "description": "Fully qualified resource ID for the application that the portable resource is consumed by" + }, + "property1": { + "type": "string", + "description": "The property1 of TestASyncResource" + } + } + }, + "TestSyncResource": { + "type": "object", + "description": "The TestSyncResource type.", + "properties": { + "properties": { + "$ref": "#/definitions/TestSyncResourceProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true, + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "TestSyncResourceListResult": { + "type": "object", + "description": "The response of a TestSyncResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The TestSyncResource items on this page", + "items": { + "$ref": "#/definitions/TestSyncResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "TestSyncResourceProperties": { + "type": "object", + "description": "TestSyncResource properties", + "properties": { + "environment": { + "type": "string", + "description": "Fully qualified resource ID for the environment that the portable resource is linked to (if applicable)" + }, + "application": { + "type": "string", + "description": "Fully qualified resource ID for the application that the portable resource is consumed by" + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the asynchronous operation.", + "readOnly": true + }, + "status": { + "$ref": "#/definitions/ResourceStatus", + "description": "Status of a resource.", + "readOnly": true + }, + "property1": { + "type": "string", + "description": "The property1 of TestSyncResource" + } + }, + "required": [ + "application", + "property1" + ] + }, + "TestSyncResourceUpdate": { + "type": "object", + "description": "The type used for update operations of the TestSyncResource.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/TestSyncResourceUpdateProperties", + "x-ms-client-flatten": true + } + } + }, + "TestSyncResourceUpdateProperties": { + "type": "object", + "description": "The updatable properties of the TestSyncResource.", + "properties": { + "environment": { + "type": "string", + "description": "Fully qualified resource ID for the environment that the portable resource is linked to (if applicable)" + }, + "application": { + "type": "string", + "description": "Fully qualified resource ID for the application that the portable resource is consumed by" + }, + "property1": { + "type": "string", + "description": "The property1 of TestSyncResource" + } + } + }, + "Versions": { + "type": "string", + "description": "Supported API versions for the Test.Resource resource provider.", + "enum": [ + "2022-08-19-preview", + "2023-08-19" + ], + "x-ms-enum": { + "name": "Versions", + "modelAsString": true, + "values": [ + { + "name": "v2022_08_19_preview", + "value": "2022-08-19-preview", + "description": "2022-08-19-preview" + }, + { + "name": "v2023_08_19", + "value": "2023-08-19", + "description": "2023-08-19" + } + ] + } + } + }, + "parameters": { + "RootScopeParameter": { + "name": "rootScope", + "in": "path", + "description": "The scope in which the resource is present. UCP Scope is /planes/{planeType}/{planeName}/resourceGroup/{resourcegroupID} and Azure resource scope is /subscriptions/{subscriptionID}/resourceGroup/{resourcegroupID}", + "required": true, + "type": "string", + "minLength": 1, + "x-ms-parameter-location": "client", + "x-ms-skip-url-encoding": true + } + } +} diff --git a/typespec/Applications.Core/examples/2022-03-15-privatepreview/Applications_CreateOrUpdate.json b/typespec/Applications.Core/examples/2023-10-01-preview/Applications_CreateOrUpdate.json similarity index 100% rename from typespec/Applications.Core/examples/2022-03-15-privatepreview/Applications_CreateOrUpdate.json rename to typespec/Applications.Core/examples/2023-10-01-preview/Applications_CreateOrUpdate.json diff --git a/typespec/Applications.Core/examples/2022-03-15-privatepreview/Applications_Delete.json b/typespec/Applications.Core/examples/2023-10-01-preview/Applications_Delete.json similarity index 100% rename from typespec/Applications.Core/examples/2022-03-15-privatepreview/Applications_Delete.json rename to typespec/Applications.Core/examples/2023-10-01-preview/Applications_Delete.json diff --git a/typespec/Applications.Core/examples/2022-03-15-privatepreview/Applications_Get.json b/typespec/Applications.Core/examples/2023-10-01-preview/Applications_Get.json similarity index 100% rename from typespec/Applications.Core/examples/2022-03-15-privatepreview/Applications_Get.json rename to typespec/Applications.Core/examples/2023-10-01-preview/Applications_Get.json diff --git a/typespec/Applications.Core/examples/2022-03-15-privatepreview/Applications_List.json b/typespec/Applications.Core/examples/2023-10-01-preview/Applications_List.json similarity index 100% rename from typespec/Applications.Core/examples/2022-03-15-privatepreview/Applications_List.json rename to typespec/Applications.Core/examples/2023-10-01-preview/Applications_List.json diff --git a/typespec/Applications.Core/examples/2022-03-15-privatepreview/Applications_ListByScope.json b/typespec/Applications.Core/examples/2023-10-01-preview/Applications_ListByScope.json similarity index 100% rename from typespec/Applications.Core/examples/2022-03-15-privatepreview/Applications_ListByScope.json rename to typespec/Applications.Core/examples/2023-10-01-preview/Applications_ListByScope.json diff --git a/typespec/Applications.Core/examples/2022-03-15-privatepreview/Applications_Update.json b/typespec/Applications.Core/examples/2023-10-01-preview/Applications_Update.json similarity index 100% rename from typespec/Applications.Core/examples/2022-03-15-privatepreview/Applications_Update.json rename to typespec/Applications.Core/examples/2023-10-01-preview/Applications_Update.json diff --git a/typespec/Applications.Core/examples/2022-03-15-privatepreview/Containers_CreateOrUpdate.json b/typespec/Applications.Core/examples/2023-10-01-preview/Containers_CreateOrUpdate.json similarity index 100% rename from typespec/Applications.Core/examples/2022-03-15-privatepreview/Containers_CreateOrUpdate.json rename to typespec/Applications.Core/examples/2023-10-01-preview/Containers_CreateOrUpdate.json diff --git a/typespec/Applications.Core/examples/2022-03-15-privatepreview/Containers_CreateOrUpdate_BaseManifest.json b/typespec/Applications.Core/examples/2023-10-01-preview/Containers_CreateOrUpdate_BaseManifest.json similarity index 100% rename from typespec/Applications.Core/examples/2022-03-15-privatepreview/Containers_CreateOrUpdate_BaseManifest.json rename to typespec/Applications.Core/examples/2023-10-01-preview/Containers_CreateOrUpdate_BaseManifest.json diff --git a/typespec/Applications.Core/examples/2022-03-15-privatepreview/Containers_Delete.json b/typespec/Applications.Core/examples/2023-10-01-preview/Containers_Delete.json similarity index 100% rename from typespec/Applications.Core/examples/2022-03-15-privatepreview/Containers_Delete.json rename to typespec/Applications.Core/examples/2023-10-01-preview/Containers_Delete.json diff --git a/typespec/Applications.Core/examples/2022-03-15-privatepreview/Containers_Get.json b/typespec/Applications.Core/examples/2023-10-01-preview/Containers_Get.json similarity index 100% rename from typespec/Applications.Core/examples/2022-03-15-privatepreview/Containers_Get.json rename to typespec/Applications.Core/examples/2023-10-01-preview/Containers_Get.json diff --git a/typespec/Applications.Core/examples/2022-03-15-privatepreview/Containers_List.json b/typespec/Applications.Core/examples/2023-10-01-preview/Containers_List.json similarity index 100% rename from typespec/Applications.Core/examples/2022-03-15-privatepreview/Containers_List.json rename to typespec/Applications.Core/examples/2023-10-01-preview/Containers_List.json diff --git a/typespec/Applications.Core/examples/2022-03-15-privatepreview/Containers_ListByScope.json b/typespec/Applications.Core/examples/2023-10-01-preview/Containers_ListByScope.json similarity index 100% rename from typespec/Applications.Core/examples/2022-03-15-privatepreview/Containers_ListByScope.json rename to typespec/Applications.Core/examples/2023-10-01-preview/Containers_ListByScope.json diff --git a/typespec/Applications.Core/examples/2022-03-15-privatepreview/Containers_Update.json b/typespec/Applications.Core/examples/2023-10-01-preview/Containers_Update.json similarity index 100% rename from typespec/Applications.Core/examples/2022-03-15-privatepreview/Containers_Update.json rename to typespec/Applications.Core/examples/2023-10-01-preview/Containers_Update.json diff --git a/typespec/Applications.Core/examples/2022-03-15-privatepreview/Environments_CreateOrUpdate.json b/typespec/Applications.Core/examples/2023-10-01-preview/Environments_CreateOrUpdate.json similarity index 100% rename from typespec/Applications.Core/examples/2022-03-15-privatepreview/Environments_CreateOrUpdate.json rename to typespec/Applications.Core/examples/2023-10-01-preview/Environments_CreateOrUpdate.json diff --git a/typespec/Applications.Core/examples/2022-03-15-privatepreview/Environments_DeleteEnv0.json b/typespec/Applications.Core/examples/2023-10-01-preview/Environments_DeleteEnv0.json similarity index 100% rename from typespec/Applications.Core/examples/2022-03-15-privatepreview/Environments_DeleteEnv0.json rename to typespec/Applications.Core/examples/2023-10-01-preview/Environments_DeleteEnv0.json diff --git a/typespec/Applications.Core/examples/2022-03-15-privatepreview/Environments_GetEnv0.json b/typespec/Applications.Core/examples/2023-10-01-preview/Environments_GetEnv0.json similarity index 100% rename from typespec/Applications.Core/examples/2022-03-15-privatepreview/Environments_GetEnv0.json rename to typespec/Applications.Core/examples/2023-10-01-preview/Environments_GetEnv0.json diff --git a/typespec/Applications.Core/examples/2022-03-15-privatepreview/Environments_GetRecipeMetadata.json b/typespec/Applications.Core/examples/2023-10-01-preview/Environments_GetRecipeMetadata.json similarity index 100% rename from typespec/Applications.Core/examples/2022-03-15-privatepreview/Environments_GetRecipeMetadata.json rename to typespec/Applications.Core/examples/2023-10-01-preview/Environments_GetRecipeMetadata.json diff --git a/typespec/Applications.Core/examples/2022-03-15-privatepreview/Environments_List.json b/typespec/Applications.Core/examples/2023-10-01-preview/Environments_List.json similarity index 100% rename from typespec/Applications.Core/examples/2022-03-15-privatepreview/Environments_List.json rename to typespec/Applications.Core/examples/2023-10-01-preview/Environments_List.json diff --git a/typespec/Applications.Core/examples/2022-03-15-privatepreview/Environments_ListByScope.json b/typespec/Applications.Core/examples/2023-10-01-preview/Environments_ListByScope.json similarity index 100% rename from typespec/Applications.Core/examples/2022-03-15-privatepreview/Environments_ListByScope.json rename to typespec/Applications.Core/examples/2023-10-01-preview/Environments_ListByScope.json diff --git a/typespec/Applications.Core/examples/2022-03-15-privatepreview/Environments_PatchEnv0.json b/typespec/Applications.Core/examples/2023-10-01-preview/Environments_PatchEnv0.json similarity index 100% rename from typespec/Applications.Core/examples/2022-03-15-privatepreview/Environments_PatchEnv0.json rename to typespec/Applications.Core/examples/2023-10-01-preview/Environments_PatchEnv0.json diff --git a/typespec/Applications.Core/examples/2022-03-15-privatepreview/Extenders_CreateOrUpdate.json b/typespec/Applications.Core/examples/2023-10-01-preview/Extenders_CreateOrUpdate.json similarity index 100% rename from typespec/Applications.Core/examples/2022-03-15-privatepreview/Extenders_CreateOrUpdate.json rename to typespec/Applications.Core/examples/2023-10-01-preview/Extenders_CreateOrUpdate.json diff --git a/typespec/Applications.Core/examples/2022-03-15-privatepreview/Extenders_CreateOrUpdateWithRecipe.json b/typespec/Applications.Core/examples/2023-10-01-preview/Extenders_CreateOrUpdateWithRecipe.json similarity index 100% rename from typespec/Applications.Core/examples/2022-03-15-privatepreview/Extenders_CreateOrUpdateWithRecipe.json rename to typespec/Applications.Core/examples/2023-10-01-preview/Extenders_CreateOrUpdateWithRecipe.json diff --git a/typespec/Applications.Core/examples/2022-03-15-privatepreview/Extenders_Delete.json b/typespec/Applications.Core/examples/2023-10-01-preview/Extenders_Delete.json similarity index 100% rename from typespec/Applications.Core/examples/2022-03-15-privatepreview/Extenders_Delete.json rename to typespec/Applications.Core/examples/2023-10-01-preview/Extenders_Delete.json diff --git a/typespec/Applications.Core/examples/2022-03-15-privatepreview/Extenders_Get.json b/typespec/Applications.Core/examples/2023-10-01-preview/Extenders_Get.json similarity index 100% rename from typespec/Applications.Core/examples/2022-03-15-privatepreview/Extenders_Get.json rename to typespec/Applications.Core/examples/2023-10-01-preview/Extenders_Get.json diff --git a/typespec/Applications.Core/examples/2022-03-15-privatepreview/Extenders_List.json b/typespec/Applications.Core/examples/2023-10-01-preview/Extenders_List.json similarity index 100% rename from typespec/Applications.Core/examples/2022-03-15-privatepreview/Extenders_List.json rename to typespec/Applications.Core/examples/2023-10-01-preview/Extenders_List.json diff --git a/typespec/Applications.Core/examples/2022-03-15-privatepreview/Extenders_ListByRootScope.json b/typespec/Applications.Core/examples/2023-10-01-preview/Extenders_ListByRootScope.json similarity index 100% rename from typespec/Applications.Core/examples/2022-03-15-privatepreview/Extenders_ListByRootScope.json rename to typespec/Applications.Core/examples/2023-10-01-preview/Extenders_ListByRootScope.json diff --git a/typespec/Applications.Core/examples/2022-03-15-privatepreview/Extenders_ListSecrets.json b/typespec/Applications.Core/examples/2023-10-01-preview/Extenders_ListSecrets.json similarity index 100% rename from typespec/Applications.Core/examples/2022-03-15-privatepreview/Extenders_ListSecrets.json rename to typespec/Applications.Core/examples/2023-10-01-preview/Extenders_ListSecrets.json diff --git a/typespec/Applications.Core/examples/2022-03-15-privatepreview/Extenders_Update.json b/typespec/Applications.Core/examples/2023-10-01-preview/Extenders_Update.json similarity index 100% rename from typespec/Applications.Core/examples/2022-03-15-privatepreview/Extenders_Update.json rename to typespec/Applications.Core/examples/2023-10-01-preview/Extenders_Update.json diff --git a/typespec/Applications.Core/examples/2022-03-15-privatepreview/Gateways_CreateOrUpdate.json b/typespec/Applications.Core/examples/2023-10-01-preview/Gateways_CreateOrUpdate.json similarity index 100% rename from typespec/Applications.Core/examples/2022-03-15-privatepreview/Gateways_CreateOrUpdate.json rename to typespec/Applications.Core/examples/2023-10-01-preview/Gateways_CreateOrUpdate.json diff --git a/typespec/Applications.Core/examples/2022-03-15-privatepreview/Gateways_Delete.json b/typespec/Applications.Core/examples/2023-10-01-preview/Gateways_Delete.json similarity index 100% rename from typespec/Applications.Core/examples/2022-03-15-privatepreview/Gateways_Delete.json rename to typespec/Applications.Core/examples/2023-10-01-preview/Gateways_Delete.json diff --git a/typespec/Applications.Core/examples/2022-03-15-privatepreview/Gateways_Get.json b/typespec/Applications.Core/examples/2023-10-01-preview/Gateways_Get.json similarity index 100% rename from typespec/Applications.Core/examples/2022-03-15-privatepreview/Gateways_Get.json rename to typespec/Applications.Core/examples/2023-10-01-preview/Gateways_Get.json diff --git a/typespec/Applications.Core/examples/2022-03-15-privatepreview/Gateways_List.json b/typespec/Applications.Core/examples/2023-10-01-preview/Gateways_List.json similarity index 100% rename from typespec/Applications.Core/examples/2022-03-15-privatepreview/Gateways_List.json rename to typespec/Applications.Core/examples/2023-10-01-preview/Gateways_List.json diff --git a/typespec/Applications.Core/examples/2022-03-15-privatepreview/Gateways_ListByScope.json b/typespec/Applications.Core/examples/2023-10-01-preview/Gateways_ListByScope.json similarity index 100% rename from typespec/Applications.Core/examples/2022-03-15-privatepreview/Gateways_ListByScope.json rename to typespec/Applications.Core/examples/2023-10-01-preview/Gateways_ListByScope.json diff --git a/typespec/Applications.Core/examples/2022-03-15-privatepreview/Gateways_Update.json b/typespec/Applications.Core/examples/2023-10-01-preview/Gateways_Update.json similarity index 100% rename from typespec/Applications.Core/examples/2022-03-15-privatepreview/Gateways_Update.json rename to typespec/Applications.Core/examples/2023-10-01-preview/Gateways_Update.json diff --git a/typespec/Applications.Core/examples/2022-03-15-privatepreview/HttpRoutes_CreateOrUpdate.json b/typespec/Applications.Core/examples/2023-10-01-preview/HttpRoutes_CreateOrUpdate.json similarity index 100% rename from typespec/Applications.Core/examples/2022-03-15-privatepreview/HttpRoutes_CreateOrUpdate.json rename to typespec/Applications.Core/examples/2023-10-01-preview/HttpRoutes_CreateOrUpdate.json diff --git a/typespec/Applications.Core/examples/2022-03-15-privatepreview/HttpRoutes_Delete.json b/typespec/Applications.Core/examples/2023-10-01-preview/HttpRoutes_Delete.json similarity index 100% rename from typespec/Applications.Core/examples/2022-03-15-privatepreview/HttpRoutes_Delete.json rename to typespec/Applications.Core/examples/2023-10-01-preview/HttpRoutes_Delete.json diff --git a/typespec/Applications.Core/examples/2022-03-15-privatepreview/HttpRoutes_Get.json b/typespec/Applications.Core/examples/2023-10-01-preview/HttpRoutes_Get.json similarity index 100% rename from typespec/Applications.Core/examples/2022-03-15-privatepreview/HttpRoutes_Get.json rename to typespec/Applications.Core/examples/2023-10-01-preview/HttpRoutes_Get.json diff --git a/typespec/Applications.Core/examples/2022-03-15-privatepreview/HttpRoutes_List.json b/typespec/Applications.Core/examples/2023-10-01-preview/HttpRoutes_List.json similarity index 100% rename from typespec/Applications.Core/examples/2022-03-15-privatepreview/HttpRoutes_List.json rename to typespec/Applications.Core/examples/2023-10-01-preview/HttpRoutes_List.json diff --git a/typespec/Applications.Core/examples/2022-03-15-privatepreview/HttpRoutes_ListByScope.json b/typespec/Applications.Core/examples/2023-10-01-preview/HttpRoutes_ListByScope.json similarity index 100% rename from typespec/Applications.Core/examples/2022-03-15-privatepreview/HttpRoutes_ListByScope.json rename to typespec/Applications.Core/examples/2023-10-01-preview/HttpRoutes_ListByScope.json diff --git a/typespec/Applications.Core/examples/2022-03-15-privatepreview/HttpRoutes_Update.json b/typespec/Applications.Core/examples/2023-10-01-preview/HttpRoutes_Update.json similarity index 100% rename from typespec/Applications.Core/examples/2022-03-15-privatepreview/HttpRoutes_Update.json rename to typespec/Applications.Core/examples/2023-10-01-preview/HttpRoutes_Update.json diff --git a/typespec/Applications.Core/examples/2022-03-15-privatepreview/Operations_List.json b/typespec/Applications.Core/examples/2023-10-01-preview/Operations_List.json similarity index 100% rename from typespec/Applications.Core/examples/2022-03-15-privatepreview/Operations_List.json rename to typespec/Applications.Core/examples/2023-10-01-preview/Operations_List.json diff --git a/typespec/Applications.Core/examples/2022-03-15-privatepreview/SecretStores_CreateOrUpdate.json b/typespec/Applications.Core/examples/2023-10-01-preview/SecretStores_CreateOrUpdate.json similarity index 100% rename from typespec/Applications.Core/examples/2022-03-15-privatepreview/SecretStores_CreateOrUpdate.json rename to typespec/Applications.Core/examples/2023-10-01-preview/SecretStores_CreateOrUpdate.json diff --git a/typespec/Applications.Core/examples/2022-03-15-privatepreview/SecretStores_CreateOrUpdateValueFrom.json b/typespec/Applications.Core/examples/2023-10-01-preview/SecretStores_CreateOrUpdateValueFrom.json similarity index 100% rename from typespec/Applications.Core/examples/2022-03-15-privatepreview/SecretStores_CreateOrUpdateValueFrom.json rename to typespec/Applications.Core/examples/2023-10-01-preview/SecretStores_CreateOrUpdateValueFrom.json diff --git a/typespec/Applications.Core/examples/2022-03-15-privatepreview/SecretStores_Delete.json b/typespec/Applications.Core/examples/2023-10-01-preview/SecretStores_Delete.json similarity index 100% rename from typespec/Applications.Core/examples/2022-03-15-privatepreview/SecretStores_Delete.json rename to typespec/Applications.Core/examples/2023-10-01-preview/SecretStores_Delete.json diff --git a/typespec/Applications.Core/examples/2022-03-15-privatepreview/SecretStores_Get.json b/typespec/Applications.Core/examples/2023-10-01-preview/SecretStores_Get.json similarity index 100% rename from typespec/Applications.Core/examples/2022-03-15-privatepreview/SecretStores_Get.json rename to typespec/Applications.Core/examples/2023-10-01-preview/SecretStores_Get.json diff --git a/typespec/Applications.Core/examples/2022-03-15-privatepreview/SecretStores_Get_AzureKeyVault.json b/typespec/Applications.Core/examples/2023-10-01-preview/SecretStores_Get_AzureKeyVault.json similarity index 100% rename from typespec/Applications.Core/examples/2022-03-15-privatepreview/SecretStores_Get_AzureKeyVault.json rename to typespec/Applications.Core/examples/2023-10-01-preview/SecretStores_Get_AzureKeyVault.json diff --git a/typespec/Applications.Core/examples/2022-03-15-privatepreview/SecretStores_List.json b/typespec/Applications.Core/examples/2023-10-01-preview/SecretStores_List.json similarity index 100% rename from typespec/Applications.Core/examples/2022-03-15-privatepreview/SecretStores_List.json rename to typespec/Applications.Core/examples/2023-10-01-preview/SecretStores_List.json diff --git a/typespec/Applications.Core/examples/2022-03-15-privatepreview/SecretStores_ListSecrets.json b/typespec/Applications.Core/examples/2023-10-01-preview/SecretStores_ListSecrets.json similarity index 100% rename from typespec/Applications.Core/examples/2022-03-15-privatepreview/SecretStores_ListSecrets.json rename to typespec/Applications.Core/examples/2023-10-01-preview/SecretStores_ListSecrets.json diff --git a/typespec/Applications.Core/examples/2022-03-15-privatepreview/SecretStores_Update.json b/typespec/Applications.Core/examples/2023-10-01-preview/SecretStores_Update.json similarity index 100% rename from typespec/Applications.Core/examples/2022-03-15-privatepreview/SecretStores_Update.json rename to typespec/Applications.Core/examples/2023-10-01-preview/SecretStores_Update.json diff --git a/typespec/Applications.Core/examples/2022-03-15-privatepreview/Volumes_CreateOrUpdate.json b/typespec/Applications.Core/examples/2023-10-01-preview/Volumes_CreateOrUpdate.json similarity index 100% rename from typespec/Applications.Core/examples/2022-03-15-privatepreview/Volumes_CreateOrUpdate.json rename to typespec/Applications.Core/examples/2023-10-01-preview/Volumes_CreateOrUpdate.json diff --git a/typespec/Applications.Core/examples/2022-03-15-privatepreview/Volumes_Delete.json b/typespec/Applications.Core/examples/2023-10-01-preview/Volumes_Delete.json similarity index 100% rename from typespec/Applications.Core/examples/2022-03-15-privatepreview/Volumes_Delete.json rename to typespec/Applications.Core/examples/2023-10-01-preview/Volumes_Delete.json diff --git a/typespec/Applications.Core/examples/2022-03-15-privatepreview/Volumes_Get.json b/typespec/Applications.Core/examples/2023-10-01-preview/Volumes_Get.json similarity index 100% rename from typespec/Applications.Core/examples/2022-03-15-privatepreview/Volumes_Get.json rename to typespec/Applications.Core/examples/2023-10-01-preview/Volumes_Get.json diff --git a/typespec/Applications.Core/examples/2022-03-15-privatepreview/Volumes_List.json b/typespec/Applications.Core/examples/2023-10-01-preview/Volumes_List.json similarity index 100% rename from typespec/Applications.Core/examples/2022-03-15-privatepreview/Volumes_List.json rename to typespec/Applications.Core/examples/2023-10-01-preview/Volumes_List.json diff --git a/typespec/Applications.Core/examples/2022-03-15-privatepreview/Volumes_ListByScope.json b/typespec/Applications.Core/examples/2023-10-01-preview/Volumes_ListByScope.json similarity index 100% rename from typespec/Applications.Core/examples/2022-03-15-privatepreview/Volumes_ListByScope.json rename to typespec/Applications.Core/examples/2023-10-01-preview/Volumes_ListByScope.json diff --git a/typespec/Applications.Core/examples/2022-03-15-privatepreview/Volumes_Update.json b/typespec/Applications.Core/examples/2023-10-01-preview/Volumes_Update.json similarity index 100% rename from typespec/Applications.Core/examples/2022-03-15-privatepreview/Volumes_Update.json rename to typespec/Applications.Core/examples/2023-10-01-preview/Volumes_Update.json diff --git a/typespec/Applications.Dapr/examples/2022-03-15-privatepreview/PubSubBrokers_CreateOrUpdate.json b/typespec/Applications.Dapr/examples/2023-10-01-preview/PubSubBrokers_CreateOrUpdate.json similarity index 100% rename from typespec/Applications.Dapr/examples/2022-03-15-privatepreview/PubSubBrokers_CreateOrUpdate.json rename to typespec/Applications.Dapr/examples/2023-10-01-preview/PubSubBrokers_CreateOrUpdate.json diff --git a/typespec/Applications.Dapr/examples/2022-03-15-privatepreview/PubSubBrokers_CreateOrUpdateWithRecipe.json b/typespec/Applications.Dapr/examples/2023-10-01-preview/PubSubBrokers_CreateOrUpdateWithRecipe.json similarity index 100% rename from typespec/Applications.Dapr/examples/2022-03-15-privatepreview/PubSubBrokers_CreateOrUpdateWithRecipe.json rename to typespec/Applications.Dapr/examples/2023-10-01-preview/PubSubBrokers_CreateOrUpdateWithRecipe.json diff --git a/typespec/Applications.Dapr/examples/2022-03-15-privatepreview/PubSubBrokers_Delete.json b/typespec/Applications.Dapr/examples/2023-10-01-preview/PubSubBrokers_Delete.json similarity index 100% rename from typespec/Applications.Dapr/examples/2022-03-15-privatepreview/PubSubBrokers_Delete.json rename to typespec/Applications.Dapr/examples/2023-10-01-preview/PubSubBrokers_Delete.json diff --git a/typespec/Applications.Dapr/examples/2022-03-15-privatepreview/PubSubBrokers_Get.json b/typespec/Applications.Dapr/examples/2023-10-01-preview/PubSubBrokers_Get.json similarity index 100% rename from typespec/Applications.Dapr/examples/2022-03-15-privatepreview/PubSubBrokers_Get.json rename to typespec/Applications.Dapr/examples/2023-10-01-preview/PubSubBrokers_Get.json diff --git a/typespec/Applications.Dapr/examples/2022-03-15-privatepreview/PubSubBrokers_List.json b/typespec/Applications.Dapr/examples/2023-10-01-preview/PubSubBrokers_List.json similarity index 100% rename from typespec/Applications.Dapr/examples/2022-03-15-privatepreview/PubSubBrokers_List.json rename to typespec/Applications.Dapr/examples/2023-10-01-preview/PubSubBrokers_List.json diff --git a/typespec/Applications.Dapr/examples/2022-03-15-privatepreview/PubSubBrokers_ListByRootScope.json b/typespec/Applications.Dapr/examples/2023-10-01-preview/PubSubBrokers_ListByRootScope.json similarity index 100% rename from typespec/Applications.Dapr/examples/2022-03-15-privatepreview/PubSubBrokers_ListByRootScope.json rename to typespec/Applications.Dapr/examples/2023-10-01-preview/PubSubBrokers_ListByRootScope.json diff --git a/typespec/Applications.Dapr/examples/2022-03-15-privatepreview/PubSubBrokers_Update.json b/typespec/Applications.Dapr/examples/2023-10-01-preview/PubSubBrokers_Update.json similarity index 100% rename from typespec/Applications.Dapr/examples/2022-03-15-privatepreview/PubSubBrokers_Update.json rename to typespec/Applications.Dapr/examples/2023-10-01-preview/PubSubBrokers_Update.json diff --git a/typespec/Applications.Dapr/examples/2022-03-15-privatepreview/SecretStores_CreateOrUpdate.json b/typespec/Applications.Dapr/examples/2023-10-01-preview/SecretStores_CreateOrUpdate.json similarity index 100% rename from typespec/Applications.Dapr/examples/2022-03-15-privatepreview/SecretStores_CreateOrUpdate.json rename to typespec/Applications.Dapr/examples/2023-10-01-preview/SecretStores_CreateOrUpdate.json diff --git a/typespec/Applications.Dapr/examples/2022-03-15-privatepreview/SecretStores_Delete.json b/typespec/Applications.Dapr/examples/2023-10-01-preview/SecretStores_Delete.json similarity index 100% rename from typespec/Applications.Dapr/examples/2022-03-15-privatepreview/SecretStores_Delete.json rename to typespec/Applications.Dapr/examples/2023-10-01-preview/SecretStores_Delete.json diff --git a/typespec/Applications.Dapr/examples/2022-03-15-privatepreview/SecretStores_Get.json b/typespec/Applications.Dapr/examples/2023-10-01-preview/SecretStores_Get.json similarity index 100% rename from typespec/Applications.Dapr/examples/2022-03-15-privatepreview/SecretStores_Get.json rename to typespec/Applications.Dapr/examples/2023-10-01-preview/SecretStores_Get.json diff --git a/typespec/Applications.Dapr/examples/2022-03-15-privatepreview/SecretStores_List.json b/typespec/Applications.Dapr/examples/2023-10-01-preview/SecretStores_List.json similarity index 100% rename from typespec/Applications.Dapr/examples/2022-03-15-privatepreview/SecretStores_List.json rename to typespec/Applications.Dapr/examples/2023-10-01-preview/SecretStores_List.json diff --git a/typespec/Applications.Dapr/examples/2022-03-15-privatepreview/SecretStores_ListByRootScope.json b/typespec/Applications.Dapr/examples/2023-10-01-preview/SecretStores_ListByRootScope.json similarity index 100% rename from typespec/Applications.Dapr/examples/2022-03-15-privatepreview/SecretStores_ListByRootScope.json rename to typespec/Applications.Dapr/examples/2023-10-01-preview/SecretStores_ListByRootScope.json diff --git a/typespec/Applications.Dapr/examples/2022-03-15-privatepreview/SecretStores_Update.json b/typespec/Applications.Dapr/examples/2023-10-01-preview/SecretStores_Update.json similarity index 100% rename from typespec/Applications.Dapr/examples/2022-03-15-privatepreview/SecretStores_Update.json rename to typespec/Applications.Dapr/examples/2023-10-01-preview/SecretStores_Update.json diff --git a/typespec/Applications.Dapr/examples/2022-03-15-privatepreview/StateStores_CreateOrUpdate.json b/typespec/Applications.Dapr/examples/2023-10-01-preview/StateStores_CreateOrUpdate.json similarity index 100% rename from typespec/Applications.Dapr/examples/2022-03-15-privatepreview/StateStores_CreateOrUpdate.json rename to typespec/Applications.Dapr/examples/2023-10-01-preview/StateStores_CreateOrUpdate.json diff --git a/typespec/Applications.Dapr/examples/2022-03-15-privatepreview/StateStores_CreateOrUpdateWithRecipe.json b/typespec/Applications.Dapr/examples/2023-10-01-preview/StateStores_CreateOrUpdateWithRecipe.json similarity index 100% rename from typespec/Applications.Dapr/examples/2022-03-15-privatepreview/StateStores_CreateOrUpdateWithRecipe.json rename to typespec/Applications.Dapr/examples/2023-10-01-preview/StateStores_CreateOrUpdateWithRecipe.json diff --git a/typespec/Applications.Dapr/examples/2022-03-15-privatepreview/StateStores_Delete.json b/typespec/Applications.Dapr/examples/2023-10-01-preview/StateStores_Delete.json similarity index 100% rename from typespec/Applications.Dapr/examples/2022-03-15-privatepreview/StateStores_Delete.json rename to typespec/Applications.Dapr/examples/2023-10-01-preview/StateStores_Delete.json diff --git a/typespec/Applications.Dapr/examples/2022-03-15-privatepreview/StateStores_Get.json b/typespec/Applications.Dapr/examples/2023-10-01-preview/StateStores_Get.json similarity index 100% rename from typespec/Applications.Dapr/examples/2022-03-15-privatepreview/StateStores_Get.json rename to typespec/Applications.Dapr/examples/2023-10-01-preview/StateStores_Get.json diff --git a/typespec/Applications.Dapr/examples/2022-03-15-privatepreview/StateStores_List.json b/typespec/Applications.Dapr/examples/2023-10-01-preview/StateStores_List.json similarity index 100% rename from typespec/Applications.Dapr/examples/2022-03-15-privatepreview/StateStores_List.json rename to typespec/Applications.Dapr/examples/2023-10-01-preview/StateStores_List.json diff --git a/typespec/Applications.Dapr/examples/2022-03-15-privatepreview/StateStores_ListByRootScope.json b/typespec/Applications.Dapr/examples/2023-10-01-preview/StateStores_ListByRootScope.json similarity index 100% rename from typespec/Applications.Dapr/examples/2022-03-15-privatepreview/StateStores_ListByRootScope.json rename to typespec/Applications.Dapr/examples/2023-10-01-preview/StateStores_ListByRootScope.json diff --git a/typespec/Applications.Dapr/examples/2022-03-15-privatepreview/StateStores_Update.json b/typespec/Applications.Dapr/examples/2023-10-01-preview/StateStores_Update.json similarity index 100% rename from typespec/Applications.Dapr/examples/2022-03-15-privatepreview/StateStores_Update.json rename to typespec/Applications.Dapr/examples/2023-10-01-preview/StateStores_Update.json diff --git a/typespec/Applications.Datastores/examples/2022-03-15-privatepreview/MongoDatabases_CreateOrUpdateRecipe.json b/typespec/Applications.Datastores/examples/2023-10-01-preview/MongoDatabases_CreateOrUpdateRecipe.json similarity index 100% rename from typespec/Applications.Datastores/examples/2022-03-15-privatepreview/MongoDatabases_CreateOrUpdateRecipe.json rename to typespec/Applications.Datastores/examples/2023-10-01-preview/MongoDatabases_CreateOrUpdateRecipe.json diff --git a/typespec/Applications.Datastores/examples/2022-03-15-privatepreview/MongoDatabases_CreateOrUpdateValues.json b/typespec/Applications.Datastores/examples/2023-10-01-preview/MongoDatabases_CreateOrUpdateValues.json similarity index 100% rename from typespec/Applications.Datastores/examples/2022-03-15-privatepreview/MongoDatabases_CreateOrUpdateValues.json rename to typespec/Applications.Datastores/examples/2023-10-01-preview/MongoDatabases_CreateOrUpdateValues.json diff --git a/typespec/Applications.Datastores/examples/2022-03-15-privatepreview/MongoDatabases_Delete.json b/typespec/Applications.Datastores/examples/2023-10-01-preview/MongoDatabases_Delete.json similarity index 100% rename from typespec/Applications.Datastores/examples/2022-03-15-privatepreview/MongoDatabases_Delete.json rename to typespec/Applications.Datastores/examples/2023-10-01-preview/MongoDatabases_Delete.json diff --git a/typespec/Applications.Datastores/examples/2022-03-15-privatepreview/MongoDatabases_Get.json b/typespec/Applications.Datastores/examples/2023-10-01-preview/MongoDatabases_Get.json similarity index 100% rename from typespec/Applications.Datastores/examples/2022-03-15-privatepreview/MongoDatabases_Get.json rename to typespec/Applications.Datastores/examples/2023-10-01-preview/MongoDatabases_Get.json diff --git a/typespec/Applications.Datastores/examples/2022-03-15-privatepreview/MongoDatabases_List.json b/typespec/Applications.Datastores/examples/2023-10-01-preview/MongoDatabases_List.json similarity index 100% rename from typespec/Applications.Datastores/examples/2022-03-15-privatepreview/MongoDatabases_List.json rename to typespec/Applications.Datastores/examples/2023-10-01-preview/MongoDatabases_List.json diff --git a/typespec/Applications.Datastores/examples/2022-03-15-privatepreview/MongoDatabases_ListByRootScope.json b/typespec/Applications.Datastores/examples/2023-10-01-preview/MongoDatabases_ListByRootScope.json similarity index 100% rename from typespec/Applications.Datastores/examples/2022-03-15-privatepreview/MongoDatabases_ListByRootScope.json rename to typespec/Applications.Datastores/examples/2023-10-01-preview/MongoDatabases_ListByRootScope.json diff --git a/typespec/Applications.Datastores/examples/2022-03-15-privatepreview/MongoDatabases_ListSecrets.json b/typespec/Applications.Datastores/examples/2023-10-01-preview/MongoDatabases_ListSecrets.json similarity index 100% rename from typespec/Applications.Datastores/examples/2022-03-15-privatepreview/MongoDatabases_ListSecrets.json rename to typespec/Applications.Datastores/examples/2023-10-01-preview/MongoDatabases_ListSecrets.json diff --git a/typespec/Applications.Datastores/examples/2022-03-15-privatepreview/RedisCaches_CreateOrUpdate.json b/typespec/Applications.Datastores/examples/2023-10-01-preview/RedisCaches_CreateOrUpdate.json similarity index 100% rename from typespec/Applications.Datastores/examples/2022-03-15-privatepreview/RedisCaches_CreateOrUpdate.json rename to typespec/Applications.Datastores/examples/2023-10-01-preview/RedisCaches_CreateOrUpdate.json diff --git a/typespec/Applications.Datastores/examples/2022-03-15-privatepreview/RedisCaches_CreateOrUpdateRecipe.json b/typespec/Applications.Datastores/examples/2023-10-01-preview/RedisCaches_CreateOrUpdateRecipe.json similarity index 100% rename from typespec/Applications.Datastores/examples/2022-03-15-privatepreview/RedisCaches_CreateOrUpdateRecipe.json rename to typespec/Applications.Datastores/examples/2023-10-01-preview/RedisCaches_CreateOrUpdateRecipe.json diff --git a/typespec/Applications.Datastores/examples/2022-03-15-privatepreview/RedisCaches_CreateOrUpdateValues.json b/typespec/Applications.Datastores/examples/2023-10-01-preview/RedisCaches_CreateOrUpdateValues.json similarity index 100% rename from typespec/Applications.Datastores/examples/2022-03-15-privatepreview/RedisCaches_CreateOrUpdateValues.json rename to typespec/Applications.Datastores/examples/2023-10-01-preview/RedisCaches_CreateOrUpdateValues.json diff --git a/typespec/Applications.Datastores/examples/2022-03-15-privatepreview/RedisCaches_Delete.json b/typespec/Applications.Datastores/examples/2023-10-01-preview/RedisCaches_Delete.json similarity index 100% rename from typespec/Applications.Datastores/examples/2022-03-15-privatepreview/RedisCaches_Delete.json rename to typespec/Applications.Datastores/examples/2023-10-01-preview/RedisCaches_Delete.json diff --git a/typespec/Applications.Datastores/examples/2022-03-15-privatepreview/RedisCaches_Get.json b/typespec/Applications.Datastores/examples/2023-10-01-preview/RedisCaches_Get.json similarity index 100% rename from typespec/Applications.Datastores/examples/2022-03-15-privatepreview/RedisCaches_Get.json rename to typespec/Applications.Datastores/examples/2023-10-01-preview/RedisCaches_Get.json diff --git a/typespec/Applications.Datastores/examples/2022-03-15-privatepreview/RedisCaches_List.json b/typespec/Applications.Datastores/examples/2023-10-01-preview/RedisCaches_List.json similarity index 100% rename from typespec/Applications.Datastores/examples/2022-03-15-privatepreview/RedisCaches_List.json rename to typespec/Applications.Datastores/examples/2023-10-01-preview/RedisCaches_List.json diff --git a/typespec/Applications.Datastores/examples/2022-03-15-privatepreview/RedisCaches_ListByRootScope.json b/typespec/Applications.Datastores/examples/2023-10-01-preview/RedisCaches_ListByRootScope.json similarity index 100% rename from typespec/Applications.Datastores/examples/2022-03-15-privatepreview/RedisCaches_ListByRootScope.json rename to typespec/Applications.Datastores/examples/2023-10-01-preview/RedisCaches_ListByRootScope.json diff --git a/typespec/Applications.Datastores/examples/2022-03-15-privatepreview/RedisCaches_ListSecrets.json b/typespec/Applications.Datastores/examples/2023-10-01-preview/RedisCaches_ListSecrets.json similarity index 100% rename from typespec/Applications.Datastores/examples/2022-03-15-privatepreview/RedisCaches_ListSecrets.json rename to typespec/Applications.Datastores/examples/2023-10-01-preview/RedisCaches_ListSecrets.json diff --git a/typespec/Applications.Datastores/examples/2022-03-15-privatepreview/RedisCaches_Update.json b/typespec/Applications.Datastores/examples/2023-10-01-preview/RedisCaches_Update.json similarity index 100% rename from typespec/Applications.Datastores/examples/2022-03-15-privatepreview/RedisCaches_Update.json rename to typespec/Applications.Datastores/examples/2023-10-01-preview/RedisCaches_Update.json diff --git a/typespec/Applications.Datastores/examples/2022-03-15-privatepreview/SQLDatabases_CreateOrUpdate.json b/typespec/Applications.Datastores/examples/2023-10-01-preview/SQLDatabases_CreateOrUpdate.json similarity index 100% rename from typespec/Applications.Datastores/examples/2022-03-15-privatepreview/SQLDatabases_CreateOrUpdate.json rename to typespec/Applications.Datastores/examples/2023-10-01-preview/SQLDatabases_CreateOrUpdate.json diff --git a/typespec/Applications.Datastores/examples/2022-03-15-privatepreview/SQLDatabases_Delete.json b/typespec/Applications.Datastores/examples/2023-10-01-preview/SQLDatabases_Delete.json similarity index 100% rename from typespec/Applications.Datastores/examples/2022-03-15-privatepreview/SQLDatabases_Delete.json rename to typespec/Applications.Datastores/examples/2023-10-01-preview/SQLDatabases_Delete.json diff --git a/typespec/Applications.Datastores/examples/2022-03-15-privatepreview/SQLDatabases_Get.json b/typespec/Applications.Datastores/examples/2023-10-01-preview/SQLDatabases_Get.json similarity index 100% rename from typespec/Applications.Datastores/examples/2022-03-15-privatepreview/SQLDatabases_Get.json rename to typespec/Applications.Datastores/examples/2023-10-01-preview/SQLDatabases_Get.json diff --git a/typespec/Applications.Datastores/examples/2022-03-15-privatepreview/SQLDatabases_List.json b/typespec/Applications.Datastores/examples/2023-10-01-preview/SQLDatabases_List.json similarity index 100% rename from typespec/Applications.Datastores/examples/2022-03-15-privatepreview/SQLDatabases_List.json rename to typespec/Applications.Datastores/examples/2023-10-01-preview/SQLDatabases_List.json diff --git a/typespec/Applications.Datastores/examples/2022-03-15-privatepreview/SQLDatabases_ListByRootScope.json b/typespec/Applications.Datastores/examples/2023-10-01-preview/SQLDatabases_ListByRootScope.json similarity index 100% rename from typespec/Applications.Datastores/examples/2022-03-15-privatepreview/SQLDatabases_ListByRootScope.json rename to typespec/Applications.Datastores/examples/2023-10-01-preview/SQLDatabases_ListByRootScope.json diff --git a/typespec/Applications.Datastores/examples/2022-03-15-privatepreview/SQLDatabases_ListSecrets.json b/typespec/Applications.Datastores/examples/2023-10-01-preview/SQLDatabases_ListSecrets.json similarity index 100% rename from typespec/Applications.Datastores/examples/2022-03-15-privatepreview/SQLDatabases_ListSecrets.json rename to typespec/Applications.Datastores/examples/2023-10-01-preview/SQLDatabases_ListSecrets.json diff --git a/typespec/Applications.Datastores/examples/2022-03-15-privatepreview/SQLDatabases_Update.json b/typespec/Applications.Datastores/examples/2023-10-01-preview/SQLDatabases_Update.json similarity index 100% rename from typespec/Applications.Datastores/examples/2022-03-15-privatepreview/SQLDatabases_Update.json rename to typespec/Applications.Datastores/examples/2023-10-01-preview/SQLDatabases_Update.json diff --git a/typespec/Applications.Messaging/examples/2022-03-15-privatepreview/RabbitMQQueues_CreateOrUpdate.json b/typespec/Applications.Messaging/examples/2023-10-01-preview/RabbitMQQueues_CreateOrUpdate.json similarity index 100% rename from typespec/Applications.Messaging/examples/2022-03-15-privatepreview/RabbitMQQueues_CreateOrUpdate.json rename to typespec/Applications.Messaging/examples/2023-10-01-preview/RabbitMQQueues_CreateOrUpdate.json diff --git a/typespec/Applications.Messaging/examples/2022-03-15-privatepreview/RabbitMQQueues_Delete.json b/typespec/Applications.Messaging/examples/2023-10-01-preview/RabbitMQQueues_Delete.json similarity index 100% rename from typespec/Applications.Messaging/examples/2022-03-15-privatepreview/RabbitMQQueues_Delete.json rename to typespec/Applications.Messaging/examples/2023-10-01-preview/RabbitMQQueues_Delete.json diff --git a/typespec/Applications.Messaging/examples/2022-03-15-privatepreview/RabbitMQQueues_Get.json b/typespec/Applications.Messaging/examples/2023-10-01-preview/RabbitMQQueues_Get.json similarity index 100% rename from typespec/Applications.Messaging/examples/2022-03-15-privatepreview/RabbitMQQueues_Get.json rename to typespec/Applications.Messaging/examples/2023-10-01-preview/RabbitMQQueues_Get.json diff --git a/typespec/Applications.Messaging/examples/2022-03-15-privatepreview/RabbitMQQueues_List.json b/typespec/Applications.Messaging/examples/2023-10-01-preview/RabbitMQQueues_List.json similarity index 100% rename from typespec/Applications.Messaging/examples/2022-03-15-privatepreview/RabbitMQQueues_List.json rename to typespec/Applications.Messaging/examples/2023-10-01-preview/RabbitMQQueues_List.json diff --git a/typespec/Applications.Messaging/examples/2022-03-15-privatepreview/RabbitMQQueues_ListByRootScope.json b/typespec/Applications.Messaging/examples/2023-10-01-preview/RabbitMQQueues_ListByRootScope.json similarity index 100% rename from typespec/Applications.Messaging/examples/2022-03-15-privatepreview/RabbitMQQueues_ListByRootScope.json rename to typespec/Applications.Messaging/examples/2023-10-01-preview/RabbitMQQueues_ListByRootScope.json diff --git a/typespec/Applications.Messaging/examples/2022-03-15-privatepreview/RabbitMQQueues_ListSecrets.json b/typespec/Applications.Messaging/examples/2023-10-01-preview/RabbitMQQueues_ListSecrets.json similarity index 100% rename from typespec/Applications.Messaging/examples/2022-03-15-privatepreview/RabbitMQQueues_ListSecrets.json rename to typespec/Applications.Messaging/examples/2023-10-01-preview/RabbitMQQueues_ListSecrets.json diff --git a/typespec/Applications.Messaging/examples/2022-03-15-privatepreview/RabbitMQQueues_Update.json b/typespec/Applications.Messaging/examples/2023-10-01-preview/RabbitMQQueues_Update.json similarity index 100% rename from typespec/Applications.Messaging/examples/2022-03-15-privatepreview/RabbitMQQueues_Update.json rename to typespec/Applications.Messaging/examples/2023-10-01-preview/RabbitMQQueues_Update.json diff --git a/typespec/UCP/examples/2022-09-01-privatepreview/AWSCredential_CreateOrUpdate.json b/typespec/UCP/examples/2023-10-01-preview/AWSCredential_CreateOrUpdate.json similarity index 100% rename from typespec/UCP/examples/2022-09-01-privatepreview/AWSCredential_CreateOrUpdate.json rename to typespec/UCP/examples/2023-10-01-preview/AWSCredential_CreateOrUpdate.json diff --git a/typespec/UCP/examples/2022-09-01-privatepreview/AWSCredential_Delete.json b/typespec/UCP/examples/2023-10-01-preview/AWSCredential_Delete.json similarity index 100% rename from typespec/UCP/examples/2022-09-01-privatepreview/AWSCredential_Delete.json rename to typespec/UCP/examples/2023-10-01-preview/AWSCredential_Delete.json diff --git a/typespec/UCP/examples/2022-09-01-privatepreview/AWSCredential_Get.json b/typespec/UCP/examples/2023-10-01-preview/AWSCredential_Get.json similarity index 100% rename from typespec/UCP/examples/2022-09-01-privatepreview/AWSCredential_Get.json rename to typespec/UCP/examples/2023-10-01-preview/AWSCredential_Get.json diff --git a/typespec/UCP/examples/2022-09-01-privatepreview/AWSCredential_List.json b/typespec/UCP/examples/2023-10-01-preview/AWSCredential_List.json similarity index 100% rename from typespec/UCP/examples/2022-09-01-privatepreview/AWSCredential_List.json rename to typespec/UCP/examples/2023-10-01-preview/AWSCredential_List.json diff --git a/typespec/UCP/examples/2022-09-01-privatepreview/AWSCredential_Update.json b/typespec/UCP/examples/2023-10-01-preview/AWSCredential_Update.json similarity index 100% rename from typespec/UCP/examples/2022-09-01-privatepreview/AWSCredential_Update.json rename to typespec/UCP/examples/2023-10-01-preview/AWSCredential_Update.json diff --git a/typespec/UCP/examples/2022-09-01-privatepreview/AzureCredential_CreateOrUpdate.json b/typespec/UCP/examples/2023-10-01-preview/AzureCredential_CreateOrUpdate.json similarity index 100% rename from typespec/UCP/examples/2022-09-01-privatepreview/AzureCredential_CreateOrUpdate.json rename to typespec/UCP/examples/2023-10-01-preview/AzureCredential_CreateOrUpdate.json diff --git a/typespec/UCP/examples/2022-09-01-privatepreview/AzureCredential_Delete.json b/typespec/UCP/examples/2023-10-01-preview/AzureCredential_Delete.json similarity index 100% rename from typespec/UCP/examples/2022-09-01-privatepreview/AzureCredential_Delete.json rename to typespec/UCP/examples/2023-10-01-preview/AzureCredential_Delete.json diff --git a/typespec/UCP/examples/2022-09-01-privatepreview/AzureCredential_Get.json b/typespec/UCP/examples/2023-10-01-preview/AzureCredential_Get.json similarity index 100% rename from typespec/UCP/examples/2022-09-01-privatepreview/AzureCredential_Get.json rename to typespec/UCP/examples/2023-10-01-preview/AzureCredential_Get.json diff --git a/typespec/UCP/examples/2022-09-01-privatepreview/AzureCredential_List.json b/typespec/UCP/examples/2023-10-01-preview/AzureCredential_List.json similarity index 100% rename from typespec/UCP/examples/2022-09-01-privatepreview/AzureCredential_List.json rename to typespec/UCP/examples/2023-10-01-preview/AzureCredential_List.json diff --git a/typespec/UCP/examples/2022-09-01-privatepreview/AzureCredential_Update.json b/typespec/UCP/examples/2023-10-01-preview/AzureCredential_Update.json similarity index 100% rename from typespec/UCP/examples/2022-09-01-privatepreview/AzureCredential_Update.json rename to typespec/UCP/examples/2023-10-01-preview/AzureCredential_Update.json diff --git a/typespec/UCP/examples/2022-09-01-privatepreview/Planes_CreateOrUpdate.json b/typespec/UCP/examples/2023-10-01-preview/Planes_CreateOrUpdate.json similarity index 100% rename from typespec/UCP/examples/2022-09-01-privatepreview/Planes_CreateOrUpdate.json rename to typespec/UCP/examples/2023-10-01-preview/Planes_CreateOrUpdate.json diff --git a/typespec/UCP/examples/2022-09-01-privatepreview/Planes_Delete.json b/typespec/UCP/examples/2023-10-01-preview/Planes_Delete.json similarity index 100% rename from typespec/UCP/examples/2022-09-01-privatepreview/Planes_Delete.json rename to typespec/UCP/examples/2023-10-01-preview/Planes_Delete.json diff --git a/typespec/UCP/examples/2022-09-01-privatepreview/Planes_GetPlaneLocal.json b/typespec/UCP/examples/2023-10-01-preview/Planes_GetPlaneLocal.json similarity index 100% rename from typespec/UCP/examples/2022-09-01-privatepreview/Planes_GetPlaneLocal.json rename to typespec/UCP/examples/2023-10-01-preview/Planes_GetPlaneLocal.json diff --git a/typespec/UCP/examples/2022-09-01-privatepreview/Planes_List.json b/typespec/UCP/examples/2023-10-01-preview/Planes_List.json similarity index 100% rename from typespec/UCP/examples/2022-09-01-privatepreview/Planes_List.json rename to typespec/UCP/examples/2023-10-01-preview/Planes_List.json diff --git a/typespec/UCP/examples/2022-09-01-privatepreview/Planes_ListPlanesByType.json b/typespec/UCP/examples/2023-10-01-preview/Planes_ListPlanesByType.json similarity index 100% rename from typespec/UCP/examples/2022-09-01-privatepreview/Planes_ListPlanesByType.json rename to typespec/UCP/examples/2023-10-01-preview/Planes_ListPlanesByType.json diff --git a/typespec/UCP/examples/2022-09-01-privatepreview/Planes_Update.json b/typespec/UCP/examples/2023-10-01-preview/Planes_Update.json similarity index 100% rename from typespec/UCP/examples/2022-09-01-privatepreview/Planes_Update.json rename to typespec/UCP/examples/2023-10-01-preview/Planes_Update.json diff --git a/typespec/UCP/examples/2022-09-01-privatepreview/ResourceGroups_CreateOrUpdate.json b/typespec/UCP/examples/2023-10-01-preview/ResourceGroups_CreateOrUpdate.json similarity index 100% rename from typespec/UCP/examples/2022-09-01-privatepreview/ResourceGroups_CreateOrUpdate.json rename to typespec/UCP/examples/2023-10-01-preview/ResourceGroups_CreateOrUpdate.json diff --git a/typespec/UCP/examples/2022-09-01-privatepreview/ResourceGroups_Delete.json b/typespec/UCP/examples/2023-10-01-preview/ResourceGroups_Delete.json similarity index 100% rename from typespec/UCP/examples/2022-09-01-privatepreview/ResourceGroups_Delete.json rename to typespec/UCP/examples/2023-10-01-preview/ResourceGroups_Delete.json diff --git a/typespec/UCP/examples/2022-09-01-privatepreview/ResourceGroups_Get.json b/typespec/UCP/examples/2023-10-01-preview/ResourceGroups_Get.json similarity index 100% rename from typespec/UCP/examples/2022-09-01-privatepreview/ResourceGroups_Get.json rename to typespec/UCP/examples/2023-10-01-preview/ResourceGroups_Get.json diff --git a/typespec/UCP/examples/2022-09-01-privatepreview/ResourceGroups_List.json b/typespec/UCP/examples/2023-10-01-preview/ResourceGroups_List.json similarity index 100% rename from typespec/UCP/examples/2022-09-01-privatepreview/ResourceGroups_List.json rename to typespec/UCP/examples/2023-10-01-preview/ResourceGroups_List.json diff --git a/typespec/UCP/examples/2022-09-01-privatepreview/ResourceGroups_Update.json b/typespec/UCP/examples/2023-10-01-preview/ResourceGroups_Update.json similarity index 100% rename from typespec/UCP/examples/2022-09-01-privatepreview/ResourceGroups_Update.json rename to typespec/UCP/examples/2023-10-01-preview/ResourceGroups_Update.json diff --git a/typespec/UCP/examples/2022-09-01-privatepreview/Resources_List.json b/typespec/UCP/examples/2023-10-01-preview/Resources_List.json similarity index 100% rename from typespec/UCP/examples/2022-09-01-privatepreview/Resources_List.json rename to typespec/UCP/examples/2023-10-01-preview/Resources_List.json