diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/preview/2024-05-02-preview/examples/ContainerServiceGetOSOptions.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/preview/2024-05-02-preview/examples/ContainerServiceGetOSOptions.json deleted file mode 100644 index 0d2f84c9114b..000000000000 --- a/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/preview/2024-05-02-preview/examples/ContainerServiceGetOSOptions.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "parameters": { - "api-version": "2024-05-02-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "location": "location1" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/location1/osOptions/default", - "name": "default", - "type": "Microsoft.ContainerService/locations/osOptions", - "properties": { - "osOptionPropertyList": [ - { - "os-type": "Linux", - "enable-fips-image": false - }, - { - "os-type": "Windows", - "enable-fips-image": false - } - ] - } - } - } - } -} diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/preview/2024-05-02-preview/examples/Operation_List.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/preview/2024-05-02-preview/examples/Operation_List.json index af89d466e6fc..b783dd80b33c 100644 --- a/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/preview/2024-05-02-preview/examples/Operation_List.json +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/preview/2024-05-02-preview/examples/Operation_List.json @@ -26,16 +26,6 @@ "name": "Microsoft.ContainerService/locations/orchestrators/read", "origin": "user,system" }, - { - "display": { - "description": "Gets OS options", - "operation": "Get OS Options", - "provider": "Microsoft Container Service", - "resource": "OSOptions" - }, - "name": "Microsoft.ContainerService/locations/osOptions/read", - "origin": "user,system" - }, { "display": { "description": "Lists operations available on Microsoft.ContainerService resource provider", diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/preview/2024-05-02-preview/managedClusters.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/preview/2024-05-02-preview/managedClusters.json index 0b5b5a600872..44f14ebca342 100644 --- a/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/preview/2024-05-02-preview/managedClusters.json +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/preview/2024-05-02-preview/managedClusters.json @@ -70,48 +70,6 @@ } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/locations/{location}/osOptions/default": { - "get": { - "tags": [ - "ManagedClusters" - ], - "operationId": "ManagedClusters_GetOSOptions", - "summary": "Gets supported OS options in the specified subscription.", - "parameters": [ - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" - }, - { - "$ref": "#/parameters/ResourceTypeParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/OSOptionProfile" - } - }, - "default": { - "description": "Error response describing why the operation failed", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Get Container Service OS Options": { - "$ref": "./examples/ContainerServiceGetOSOptions.json" - } - } - } - }, "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/locations/{location}/kubernetesVersions": { "get": { "tags": [ @@ -8020,70 +7978,6 @@ } } }, - "OSOptionProperty": { - "type": "object", - "properties": { - "os-type": { - "type": "string", - "description": "The OS type." - }, - "enable-fips-image": { - "type": "boolean", - "description": "Whether the image is FIPS-enabled." - } - }, - "required": [ - "os-type", - "enable-fips-image" - ], - "description": "OS option property." - }, - "OSOptionPropertyList": { - "type": "object", - "properties": { - "osOptionPropertyList": { - "type": "array", - "items": { - "$ref": "#/definitions/OSOptionProperty" - }, - "x-ms-identifiers": [], - "description": "The list of OS options." - } - }, - "required": [ - "osOptionPropertyList" - ], - "description": "The list of OS option properties." - }, - "OSOptionProfile": { - "type": "object", - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "The ID of the OS option resource." - }, - "name": { - "readOnly": true, - "type": "string", - "description": "The name of the OS option resource." - }, - "type": { - "readOnly": true, - "type": "string", - "description": "The type of the OS option resource." - }, - "properties": { - "$ref": "#/definitions/OSOptionPropertyList", - "description": "The list of OS options.", - "x-ms-client-flatten": true - } - }, - "required": [ - "properties" - ], - "description": "The OS option profile." - }, "GuardrailsAvailableVersionsProperties": { "type": "object", "description": "Whether the version is default or not and support info.",