openapi: 3.2.0 info: title: Universal Control Plane Resource Management API Versions API version: 2023-10-01-preview description: REST APIs for Universal Control Plane x-typespec-generated: - emitter: '@azure-tools/typespec-autorest' servers: - url: https://management.azure.com security: - azure_auth: - user_impersonation tags: - name: API Versions paths: ? /planes/radius/{planeName}/providers/System.Resources/resourceproviders/{resourceProviderName}/resourcetypes/{resourceTypeName}/apiversions : get: operationId: ApiVersions_List tags: - API Versions description: List API versions. parameters: - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter - name: planeName in: path description: The plane name. required: true schema: type: string maxLength: 63 pattern: ^[A-Za-z]([-A-Za-z0-9]*[A-Za-z0-9])?$ - name: resourceProviderName in: path description: 'The resource provider name. This is also the resource provider namespace. Example: ''Applications.Datastores''.' required: true schema: type: string maxLength: 63 pattern: ^([A-Za-z]([-A-Za-z0-9]*[A-Za-z0-9]))\.([A-Za-z]([-A-Za-z0-9]*[A-Za-z0-9]))?$ - name: resourceTypeName in: path description: The resource type name. required: true schema: type: string maxLength: 63 pattern: ^([A-Za-z]([-A-Za-z0-9]*[A-Za-z0-9]))$ responses: '200': description: Azure operation completed successfully. content: application/json: schema: $ref: '#/components/schemas/ApiVersionResourceListResult' default: description: An unexpected error response. content: application/json: schema: $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse x-ms-examples: List api versions defined by a resource type supported by a resource provider.: $ref: ./examples/ApiVersions_List.json x-ms-pageable: nextLinkName: nextLink summary: Api versions list x-summary-source: derived ? /planes/radius/{planeName}/providers/System.Resources/resourceproviders/{resourceProviderName}/resourcetypes/{resourceTypeName}/apiversions/{apiVersionName} : get: operationId: ApiVersions_Get tags: - API Versions description: Get the specified API version. parameters: - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter - name: planeName in: path description: The plane name. required: true schema: type: string maxLength: 63 pattern: ^[A-Za-z]([-A-Za-z0-9]*[A-Za-z0-9])?$ - name: resourceProviderName in: path description: 'The resource provider name. This is also the resource provider namespace. Example: ''Applications.Datastores''.' required: true schema: type: string maxLength: 63 pattern: ^([A-Za-z]([-A-Za-z0-9]*[A-Za-z0-9]))\.([A-Za-z]([-A-Za-z0-9]*[A-Za-z0-9]))?$ - name: resourceTypeName in: path description: The resource type name. required: true schema: type: string maxLength: 63 pattern: ^([A-Za-z]([-A-Za-z0-9]*[A-Za-z0-9]))$ - name: apiVersionName in: path description: The API version name. required: true schema: type: string maxLength: 63 pattern: ^\d{4}-\d{2}-\d{2}(-preview)?$ responses: '200': description: Azure operation completed successfully. content: application/json: schema: $ref: '#/components/schemas/ApiVersionResource' default: description: An unexpected error response. content: application/json: schema: $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse x-ms-examples: Get an api version defined by a resource type supported by a resource provider.: $ref: ./examples/ApiVersions_Get.json summary: Api versions get x-summary-source: derived put: operationId: ApiVersions_CreateOrUpdate tags: - API Versions description: Create or update an API version. parameters: - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter - name: planeName in: path description: The plane name. required: true schema: type: string maxLength: 63 pattern: ^[A-Za-z]([-A-Za-z0-9]*[A-Za-z0-9])?$ - name: resourceProviderName in: path description: 'The resource provider name. This is also the resource provider namespace. Example: ''Applications.Datastores''.' required: true schema: type: string maxLength: 63 pattern: ^([A-Za-z]([-A-Za-z0-9]*[A-Za-z0-9]))\.([A-Za-z]([-A-Za-z0-9]*[A-Za-z0-9]))?$ - name: resourceTypeName in: path description: The resource type name. required: true schema: type: string maxLength: 63 pattern: ^([A-Za-z]([-A-Za-z0-9]*[A-Za-z0-9]))$ - name: apiVersionName in: path description: The API version name. required: true schema: type: string maxLength: 63 pattern: ^\d{4}-\d{2}-\d{2}(-preview)?$ responses: '200': description: Resource 'ApiVersionResource' update operation succeeded content: application/json: schema: $ref: '#/components/schemas/ApiVersionResource' '201': description: Resource 'ApiVersionResource' create operation succeeded headers: Retry-After: description: The Retry-After header can indicate how long the client should wait before polling the operation status. schema: type: integer format: int32 content: application/json: schema: $ref: '#/components/schemas/ApiVersionResource' default: description: An unexpected error response. content: application/json: schema: $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse x-ms-examples: Create or update an api version defined by a resource type supported by a resource provider.: $ref: ./examples/ApiVersions_CreateOrUpdate.json x-ms-long-running-operation-options: final-state-via: azure-async-operation x-ms-long-running-operation: true requestBody: content: application/json: schema: $ref: '#/components/schemas/ApiVersionResource' description: Resource create parameters. required: true summary: Api versions create or update x-summary-source: derived delete: operationId: ApiVersions_Delete tags: - API Versions description: Delete an API version. parameters: - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter - name: planeName in: path description: The plane name. required: true schema: type: string maxLength: 63 pattern: ^[A-Za-z]([-A-Za-z0-9]*[A-Za-z0-9])?$ - name: resourceProviderName in: path description: 'The resource provider name. This is also the resource provider namespace. Example: ''Applications.Datastores''.' required: true schema: type: string maxLength: 63 pattern: ^([A-Za-z]([-A-Za-z0-9]*[A-Za-z0-9]))\.([A-Za-z]([-A-Za-z0-9]*[A-Za-z0-9]))?$ - name: resourceTypeName in: path description: The resource type name. required: true schema: type: string maxLength: 63 pattern: ^([A-Za-z]([-A-Za-z0-9]*[A-Za-z0-9]))$ - name: apiVersionName in: path description: The API version name. required: true schema: type: string maxLength: 63 pattern: ^\d{4}-\d{2}-\d{2}(-preview)?$ responses: '200': description: Resource deleted successfully. '202': description: Resource deletion accepted. headers: Location: description: The Location header contains the URL where the status of the long running operation can be checked. schema: type: string Retry-After: description: The Retry-After header can indicate how long the client should wait before polling the operation status. schema: type: integer format: int32 '204': description: Resource does not exist. default: description: An unexpected error response. content: application/json: schema: $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse x-ms-examples: Delete an api version of a resource type supported by a resource provider.: $ref: ./examples/ApiVersions_Delete.json x-ms-long-running-operation-options: final-state-via: location x-ms-long-running-operation: true summary: Api versions delete x-summary-source: derived components: schemas: ApiVersionProperties: type: object description: The properties of an API version. properties: provisioningState: $ref: '#/components/schemas/ProvisioningState' description: The status of the asynchronous operation. readOnly: true schema: type: object description: Schema is the schema for the resource type. additionalProperties: {} ApiVersionResource: type: object description: The resource type for defining an API version of a resource type supported by the containing resource provider. properties: properties: $ref: '#/components/schemas/ApiVersionProperties' description: The resource-specific properties for this resource. allOf: - $ref: ../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource ApiVersionResourceListResult: type: object description: The response of a ApiVersionResource list operation. properties: value: type: array description: The ApiVersionResource items on this page items: $ref: '#/components/schemas/ApiVersionResource' nextLink: type: string format: uri description: The link to the next page of items required: - value ProvisioningState: type: string description: Provisioning state of the resource at the time the operation was called enum: - Creating - Updating - Deleting - Accepted - Provisioning - Succeeded - Failed - Canceled x-ms-enum: name: ProvisioningState modelAsString: false values: - name: Creating value: Creating description: The resource is being created - name: Updating value: Updating description: The resource is being updated - name: Deleting value: Deleting description: The resource is being deleted - name: Accepted value: Accepted description: The resource create request has been accepted - name: Provisioning value: Provisioning description: The resource is being provisioned - name: Succeeded value: Succeeded description: The resource has been successfully provisioned - name: Failed value: Failed description: The resource provisioning has failed - name: Canceled value: Canceled description: The resource provisioning has been canceled readOnly: true securitySchemes: azure_auth: type: oauth2 flows: implicit: scopes: user_impersonation: impersonate your user account authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize description: Azure Active Directory OAuth2 Flow.