diff --git a/specification/redhatopenshift/resource-manager/Microsoft.RedHatOpenShift/preview/2021-01-31-preview/examples/OpenShiftClusters_CreateOrUpdate.json b/specification/redhatopenshift/resource-manager/Microsoft.RedHatOpenShift/preview/2021-01-31-preview/examples/OpenShiftClusters_CreateOrUpdate.json deleted file mode 100644 index 219c8e5f041a..000000000000 --- a/specification/redhatopenshift/resource-manager/Microsoft.RedHatOpenShift/preview/2021-01-31-preview/examples/OpenShiftClusters_CreateOrUpdate.json +++ /dev/null @@ -1,162 +0,0 @@ -{ - "parameters": { - "api-version": "2021-01-31-preview", - "subscriptionId": "subscriptionId", - "resourceGroupName": "resourceGroup", - "resourceName": "resourceName", - "parameters": { - "location": "location", - "tags": { - "key": "value" - }, - "properties": { - "clusterProfile": { - "pullSecret": "{\"auths\":{\"registry.connect.redhat.com\":{\"auth\":\"\"},\"registry.redhat.io\":{\"auth\":\"\"}}}", - "domain": "cluster.location.aroapp.io", - "resourceGroupId": "/subscriptions/subscriptionId/resourceGroups/clusterResourceGroup" - }, - "consoleProfile": {}, - "servicePrincipalProfile": { - "clientId": "clientId", - "clientSecret": "clientSecret" - }, - "networkProfile": { - "podCidr": "10.128.0.0/14", - "serviceCidr": "172.30.0.0/16" - }, - "masterProfile": { - "vmSize": "Standard_D8s_v3", - "subnetId": "/subscriptions/subscriptionId/resourceGroups/vnetResourceGroup/providers/Microsoft.Network/virtualNetworks/vnet/subnets/master" - }, - "workerProfiles": [ - { - "name": "worker", - "vmSize": "Standard_D2s_v3", - "diskSizeGB": 128, - "subnetId": "/subscriptions/subscriptionId/resourceGroups/vnetResourceGroup/providers/Microsoft.Network/virtualNetworks/vnet/subnets/worker", - "count": 3 - } - ], - "apiserverProfile": { - "visibility": "Public" - }, - "ingressProfiles": [ - { - "name": "default", - "visibility": "Public" - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.RedHatOpenShift/OpenShiftClusters/resourceName", - "name": "resourceName", - "type": "Microsoft.RedHatOpenShift/OpenShiftClusters", - "location": "location", - "tags": { - "key": "value" - }, - "properties": { - "provisioningState": "Succeeded", - "clusterProfile": { - "domain": "cluster.location.aroapp.io", - "version": "4.3.0", - "resourceGroupId": "/subscriptions/subscriptionId/resourceGroups/clusterResourceGroup" - }, - "consoleProfile": { - "url": "https://console-openshift-console.apps.cluster.location.aroapp.io/" - }, - "servicePrincipalProfile": { - "clientId": "clientId" - }, - "networkProfile": { - "podCidr": "10.128.0.0/14", - "serviceCidr": "172.30.0.0/16" - }, - "masterProfile": { - "vmSize": "Standard_D8s_v3", - "subnetId": "/subscriptions/subscriptionId/resourceGroups/vnetResourceGroup/providers/Microsoft.Network/virtualNetworks/vnet/subnets/master" - }, - "workerProfiles": [ - { - "name": "worker", - "vmSize": "Standard_D2s_v3", - "diskSizeGB": 128, - "subnetId": "/subscriptions/subscriptionId/resourceGroups/vnetResourceGroup/providers/Microsoft.Network/virtualNetworks/vnet/subnets/worker", - "count": 3 - } - ], - "apiserverProfile": { - "visibility": "Public", - "url": "https://api.cluster.location.aroapp.io:6443/", - "ip": "1.2.3.4" - }, - "ingressProfiles": [ - { - "name": "default", - "visibility": "Public", - "ip": "1.2.3.4" - } - ] - } - } - }, - "201": { - "body": { - "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.RedHatOpenShift/OpenShiftClusters/resourceName", - "name": "resourceName", - "type": "Microsoft.RedHatOpenShift/OpenShiftClusters", - "location": "location", - "tags": { - "key": "value" - }, - "properties": { - "provisioningState": "Succeeded", - "clusterProfile": { - "domain": "cluster.location.aroapp.io", - "version": "4.3.0", - "resourceGroupId": "/subscriptions/subscriptionId/resourceGroups/clusterResourceGroup" - }, - "consoleProfile": { - "url": "https://console-openshift-console.apps.cluster.location.aroapp.io/" - }, - "servicePrincipalProfile": { - "clientId": "clientId" - }, - "networkProfile": { - "podCidr": "10.128.0.0/14", - "serviceCidr": "172.30.0.0/16" - }, - "masterProfile": { - "vmSize": "Standard_D8s_v3", - "subnetId": "/subscriptions/subscriptionId/resourceGroups/vnetResourceGroup/providers/Microsoft.Network/virtualNetworks/vnet/subnets/master" - }, - "workerProfiles": [ - { - "name": "worker", - "vmSize": "Standard_D2s_v3", - "diskSizeGB": 128, - "subnetId": "/subscriptions/subscriptionId/resourceGroups/vnetResourceGroup/providers/Microsoft.Network/virtualNetworks/vnet/subnets/worker", - "count": 3 - } - ], - "apiserverProfile": { - "visibility": "Public", - "url": "https://api.cluster.location.aroapp.io:6443/", - "ip": "1.2.3.4" - }, - "ingressProfiles": [ - { - "name": "default", - "visibility": "Public", - "ip": "1.2.3.4" - } - ] - } - } - } - } -} diff --git a/specification/redhatopenshift/resource-manager/Microsoft.RedHatOpenShift/preview/2021-01-31-preview/examples/OpenShiftClusters_Delete.json b/specification/redhatopenshift/resource-manager/Microsoft.RedHatOpenShift/preview/2021-01-31-preview/examples/OpenShiftClusters_Delete.json deleted file mode 100644 index 54c01567f77d..000000000000 --- a/specification/redhatopenshift/resource-manager/Microsoft.RedHatOpenShift/preview/2021-01-31-preview/examples/OpenShiftClusters_Delete.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "parameters": { - "api-version": "2021-01-31-preview", - "subscriptionId": "subscriptionId", - "resourceGroupName": "resourceGroup", - "resourceName": "resourceName" - }, - "responses": { - "202": {}, - "204": {} - } -} diff --git a/specification/redhatopenshift/resource-manager/Microsoft.RedHatOpenShift/preview/2021-01-31-preview/examples/OpenShiftClusters_Get.json b/specification/redhatopenshift/resource-manager/Microsoft.RedHatOpenShift/preview/2021-01-31-preview/examples/OpenShiftClusters_Get.json deleted file mode 100644 index 220b8974e9a2..000000000000 --- a/specification/redhatopenshift/resource-manager/Microsoft.RedHatOpenShift/preview/2021-01-31-preview/examples/OpenShiftClusters_Get.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "parameters": { - "api-version": "2021-01-31-preview", - "subscriptionId": "subscriptionId", - "resourceGroupName": "resourceGroup", - "resourceName": "resourceName" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.RedHatOpenShift/OpenShiftClusters/resourceName", - "name": "resourceName", - "type": "Microsoft.RedHatOpenShift/OpenShiftClusters", - "location": "location", - "tags": { - "key": "value" - }, - "properties": { - "provisioningState": "Succeeded", - "clusterProfile": { - "domain": "cluster.location.aroapp.io", - "version": "4.3.0", - "resourceGroupId": "/subscriptions/subscriptionId/resourceGroups/clusterResourceGroup" - }, - "consoleProfile": { - "url": "https://console-openshift-console.apps.cluster.location.aroapp.io/" - }, - "servicePrincipalProfile": { - "clientId": "clientId" - }, - "networkProfile": { - "podCidr": "10.128.0.0/14", - "serviceCidr": "172.30.0.0/16" - }, - "masterProfile": { - "vmSize": "Standard_D8s_v3", - "subnetId": "/subscriptions/subscriptionId/resourceGroups/vnetResourceGroup/providers/Microsoft.Network/virtualNetworks/vnet/subnets/master" - }, - "workerProfiles": [ - { - "name": "worker", - "vmSize": "Standard_D2s_v3", - "diskSizeGB": 128, - "subnetId": "/subscriptions/subscriptionId/resourceGroups/vnetResourceGroup/providers/Microsoft.Network/virtualNetworks/vnet/subnets/worker", - "count": 3 - } - ], - "apiserverProfile": { - "visibility": "Public", - "url": "https://api.cluster.location.aroapp.io:6443/", - "ip": "1.2.3.4" - }, - "ingressProfiles": [ - { - "name": "default", - "visibility": "Public", - "ip": "1.2.3.4" - } - ] - } - } - } - } -} diff --git a/specification/redhatopenshift/resource-manager/Microsoft.RedHatOpenShift/preview/2021-01-31-preview/examples/OpenShiftClusters_List.json b/specification/redhatopenshift/resource-manager/Microsoft.RedHatOpenShift/preview/2021-01-31-preview/examples/OpenShiftClusters_List.json deleted file mode 100644 index 64b834e87d57..000000000000 --- a/specification/redhatopenshift/resource-manager/Microsoft.RedHatOpenShift/preview/2021-01-31-preview/examples/OpenShiftClusters_List.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "parameters": { - "api-version": "2021-01-31-preview", - "subscriptionId": "subscriptionId" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.RedHatOpenShift/OpenShiftClusters/resourceName", - "name": "resourceName", - "type": "Microsoft.RedHatOpenShift/OpenShiftClusters", - "location": "location", - "tags": { - "key": "value" - }, - "properties": { - "provisioningState": "Succeeded", - "clusterProfile": { - "domain": "cluster.location.aroapp.io", - "version": "4.3.0", - "resourceGroupId": "/subscriptions/subscriptionId/resourceGroups/clusterResourceGroup" - }, - "consoleProfile": { - "url": "https://console-openshift-console.apps.cluster.location.aroapp.io/" - }, - "servicePrincipalProfile": { - "clientId": "clientId" - }, - "networkProfile": { - "podCidr": "10.128.0.0/14", - "serviceCidr": "172.30.0.0/16" - }, - "masterProfile": { - "vmSize": "Standard_D8s_v3", - "subnetId": "/subscriptions/subscriptionId/resourceGroups/vnetResourceGroup/providers/Microsoft.Network/virtualNetworks/vnet/subnets/master" - }, - "workerProfiles": [ - { - "name": "worker", - "vmSize": "Standard_D2s_v3", - "diskSizeGB": 128, - "subnetId": "/subscriptions/subscriptionId/resourceGroups/vnetResourceGroup/providers/Microsoft.Network/virtualNetworks/vnet/subnets/worker", - "count": 3 - } - ], - "apiserverProfile": { - "visibility": "Public", - "url": "https://api.cluster.location.aroapp.io:6443/", - "ip": "1.2.3.4" - }, - "ingressProfiles": [ - { - "name": "default", - "visibility": "Public", - "ip": "1.2.3.4" - } - ] - } - } - ] - } - } - } -} diff --git a/specification/redhatopenshift/resource-manager/Microsoft.RedHatOpenShift/preview/2021-01-31-preview/examples/OpenShiftClusters_ListAdminKubeconfig.json b/specification/redhatopenshift/resource-manager/Microsoft.RedHatOpenShift/preview/2021-01-31-preview/examples/OpenShiftClusters_ListAdminKubeconfig.json deleted file mode 100644 index 2cdd52e4b07c..000000000000 --- a/specification/redhatopenshift/resource-manager/Microsoft.RedHatOpenShift/preview/2021-01-31-preview/examples/OpenShiftClusters_ListAdminKubeconfig.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "parameters": { - "api-version": "2021-01-31-preview", - "subscriptionId": "subscriptionId", - "resourceGroupName": "resourceGroup", - "resourceName": "resourceName" - }, - "responses": { - "200": { - "body": { - "kubeconfig": "e319" - } - } - } -} diff --git a/specification/redhatopenshift/resource-manager/Microsoft.RedHatOpenShift/preview/2021-01-31-preview/examples/OpenShiftClusters_ListByResourceGroup.json b/specification/redhatopenshift/resource-manager/Microsoft.RedHatOpenShift/preview/2021-01-31-preview/examples/OpenShiftClusters_ListByResourceGroup.json deleted file mode 100644 index 786f0bdead8c..000000000000 --- a/specification/redhatopenshift/resource-manager/Microsoft.RedHatOpenShift/preview/2021-01-31-preview/examples/OpenShiftClusters_ListByResourceGroup.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "parameters": { - "api-version": "2021-01-31-preview", - "subscriptionId": "subscriptionId", - "resourceGroupName": "resourceGroup" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.RedHatOpenShift/OpenShiftClusters/resourceName", - "name": "resourceName", - "type": "Microsoft.RedHatOpenShift/OpenShiftClusters", - "location": "location", - "tags": { - "key": "value" - }, - "properties": { - "provisioningState": "Succeeded", - "clusterProfile": { - "domain": "cluster.location.aroapp.io", - "version": "4.3.0", - "resourceGroupId": "/subscriptions/subscriptionId/resourceGroups/clusterResourceGroup" - }, - "consoleProfile": { - "url": "https://console-openshift-console.apps.cluster.location.aroapp.io/" - }, - "servicePrincipalProfile": { - "clientId": "clientId" - }, - "networkProfile": { - "podCidr": "10.128.0.0/14", - "serviceCidr": "172.30.0.0/16" - }, - "masterProfile": { - "vmSize": "Standard_D8s_v3", - "subnetId": "/subscriptions/subscriptionId/resourceGroups/vnetResourceGroup/providers/Microsoft.Network/virtualNetworks/vnet/subnets/master" - }, - "workerProfiles": [ - { - "name": "worker", - "vmSize": "Standard_D2s_v3", - "diskSizeGB": 128, - "subnetId": "/subscriptions/subscriptionId/resourceGroups/vnetResourceGroup/providers/Microsoft.Network/virtualNetworks/vnet/subnets/worker", - "count": 3 - } - ], - "apiserverProfile": { - "visibility": "Public", - "url": "https://api.cluster.location.aroapp.io:6443/", - "ip": "1.2.3.4" - }, - "ingressProfiles": [ - { - "name": "default", - "visibility": "Public", - "ip": "1.2.3.4" - } - ] - } - } - ] - } - } - } -} diff --git a/specification/redhatopenshift/resource-manager/Microsoft.RedHatOpenShift/preview/2021-01-31-preview/examples/OpenShiftClusters_ListCredentials.json b/specification/redhatopenshift/resource-manager/Microsoft.RedHatOpenShift/preview/2021-01-31-preview/examples/OpenShiftClusters_ListCredentials.json deleted file mode 100644 index 59b10134a459..000000000000 --- a/specification/redhatopenshift/resource-manager/Microsoft.RedHatOpenShift/preview/2021-01-31-preview/examples/OpenShiftClusters_ListCredentials.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "parameters": { - "api-version": "2021-01-31-preview", - "subscriptionId": "subscriptionId", - "resourceGroupName": "resourceGroup", - "resourceName": "resourceName" - }, - "responses": { - "200": { - "body": { - "kubeadminUsername": "kubeadmin", - "kubeadminPassword": "password" - } - } - } -} diff --git a/specification/redhatopenshift/resource-manager/Microsoft.RedHatOpenShift/preview/2021-01-31-preview/examples/OpenShiftClusters_Update.json b/specification/redhatopenshift/resource-manager/Microsoft.RedHatOpenShift/preview/2021-01-31-preview/examples/OpenShiftClusters_Update.json deleted file mode 100644 index 49863af16aca..000000000000 --- a/specification/redhatopenshift/resource-manager/Microsoft.RedHatOpenShift/preview/2021-01-31-preview/examples/OpenShiftClusters_Update.json +++ /dev/null @@ -1,161 +0,0 @@ -{ - "parameters": { - "api-version": "2021-01-31-preview", - "subscriptionId": "subscriptionId", - "resourceGroupName": "resourceGroup", - "resourceName": "resourceName", - "parameters": { - "tags": { - "key": "value" - }, - "properties": { - "clusterProfile": { - "pullSecret": "{\"auths\":{\"registry.connect.redhat.com\":{\"auth\":\"\"},\"registry.redhat.io\":{\"auth\":\"\"}}}", - "domain": "cluster.location.aroapp.io", - "resourceGroupId": "/subscriptions/subscriptionId/resourceGroups/clusterResourceGroup" - }, - "consoleProfile": {}, - "servicePrincipalProfile": { - "clientId": "clientId", - "clientSecret": "clientSecret" - }, - "networkProfile": { - "podCidr": "10.128.0.0/14", - "serviceCidr": "172.30.0.0/16" - }, - "masterProfile": { - "vmSize": "Standard_D8s_v3", - "subnetId": "/subscriptions/subscriptionId/resourceGroups/vnetResourceGroup/providers/Microsoft.Network/virtualNetworks/vnet/subnets/master" - }, - "workerProfiles": [ - { - "name": "worker", - "vmSize": "Standard_D2s_v3", - "diskSizeGB": 128, - "subnetId": "/subscriptions/subscriptionId/resourceGroups/vnetResourceGroup/providers/Microsoft.Network/virtualNetworks/vnet/subnets/worker", - "count": 3 - } - ], - "apiserverProfile": { - "visibility": "Public" - }, - "ingressProfiles": [ - { - "name": "default", - "visibility": "Public" - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.RedHatOpenShift/OpenShiftClusters/resourceName", - "name": "resourceName", - "type": "Microsoft.RedHatOpenShift/OpenShiftClusters", - "location": "location", - "tags": { - "key": "value" - }, - "properties": { - "provisioningState": "Succeeded", - "clusterProfile": { - "domain": "cluster.location.aroapp.io", - "version": "4.3.0", - "resourceGroupId": "/subscriptions/subscriptionId/resourceGroups/clusterResourceGroup" - }, - "consoleProfile": { - "url": "https://console-openshift-console.apps.cluster.location.aroapp.io/" - }, - "servicePrincipalProfile": { - "clientId": "clientId" - }, - "networkProfile": { - "podCidr": "10.128.0.0/14", - "serviceCidr": "172.30.0.0/16" - }, - "masterProfile": { - "vmSize": "Standard_D8s_v3", - "subnetId": "/subscriptions/subscriptionId/resourceGroups/vnetResourceGroup/providers/Microsoft.Network/virtualNetworks/vnet/subnets/master" - }, - "workerProfiles": [ - { - "name": "worker", - "vmSize": "Standard_D2s_v3", - "diskSizeGB": 128, - "subnetId": "/subscriptions/subscriptionId/resourceGroups/vnetResourceGroup/providers/Microsoft.Network/virtualNetworks/vnet/subnets/worker", - "count": 3 - } - ], - "apiserverProfile": { - "visibility": "Public", - "url": "https://api.cluster.location.aroapp.io:6443/", - "ip": "1.2.3.4" - }, - "ingressProfiles": [ - { - "name": "default", - "visibility": "Public", - "ip": "1.2.3.4" - } - ] - } - } - }, - "201": { - "body": { - "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.RedHatOpenShift/OpenShiftClusters/resourceName", - "name": "resourceName", - "type": "Microsoft.RedHatOpenShift/OpenShiftClusters", - "location": "location", - "tags": { - "key": "value" - }, - "properties": { - "provisioningState": "Succeeded", - "clusterProfile": { - "domain": "cluster.location.aroapp.io", - "version": "4.3.0", - "resourceGroupId": "/subscriptions/subscriptionId/resourceGroups/clusterResourceGroup" - }, - "consoleProfile": { - "url": "https://console-openshift-console.apps.cluster.location.aroapp.io/" - }, - "servicePrincipalProfile": { - "clientId": "clientId" - }, - "networkProfile": { - "podCidr": "10.128.0.0/14", - "serviceCidr": "172.30.0.0/16" - }, - "masterProfile": { - "vmSize": "Standard_D8s_v3", - "subnetId": "/subscriptions/subscriptionId/resourceGroups/vnetResourceGroup/providers/Microsoft.Network/virtualNetworks/vnet/subnets/master" - }, - "workerProfiles": [ - { - "name": "worker", - "vmSize": "Standard_D2s_v3", - "diskSizeGB": 128, - "subnetId": "/subscriptions/subscriptionId/resourceGroups/vnetResourceGroup/providers/Microsoft.Network/virtualNetworks/vnet/subnets/worker", - "count": 3 - } - ], - "apiserverProfile": { - "visibility": "Public", - "url": "https://api.cluster.location.aroapp.io:6443/", - "ip": "1.2.3.4" - }, - "ingressProfiles": [ - { - "name": "default", - "visibility": "Public", - "ip": "1.2.3.4" - } - ] - } - } - } - } -} diff --git a/specification/redhatopenshift/resource-manager/Microsoft.RedHatOpenShift/preview/2021-01-31-preview/examples/Operations_List.json b/specification/redhatopenshift/resource-manager/Microsoft.RedHatOpenShift/preview/2021-01-31-preview/examples/Operations_List.json deleted file mode 100644 index ed8708c6eb3b..000000000000 --- a/specification/redhatopenshift/resource-manager/Microsoft.RedHatOpenShift/preview/2021-01-31-preview/examples/Operations_List.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "parameters": { - "api-version": "2021-01-31-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "Microsoft.RedHatOpenShift/openShiftClusters/read", - "display": { - "provider": "Azure Red Hat OpenShift", - "resource": "openShiftClusters", - "operation": "Read OpenShift cluster" - } - } - ] - } - } - } -} diff --git a/specification/redhatopenshift/resource-manager/Microsoft.RedHatOpenShift/preview/2021-01-31-preview/redhatopenshift.json b/specification/redhatopenshift/resource-manager/Microsoft.RedHatOpenShift/preview/2021-01-31-preview/redhatopenshift.json deleted file mode 100644 index 6e4a14cc49ce..000000000000 --- a/specification/redhatopenshift/resource-manager/Microsoft.RedHatOpenShift/preview/2021-01-31-preview/redhatopenshift.json +++ /dev/null @@ -1,897 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "Azure Red Hat OpenShift Client", - "description": "Rest API for Azure Red Hat OpenShift 4", - "version": "2021-01-31-preview" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/providers/Microsoft.RedHatOpenShift/operations": { - "get": { - "tags": [ - "Operations" - ], - "summary": "Lists all of the available RP operations.", - "description": "The operation returns the RP operations.", - "operationId": "Operations_List", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/OperationList" - } - }, - "default": { - "description": "Error response describing why the operation failed. If the resource doesn't exist, 404 (Not Found) is returned. If any of the input parameters is wrong, 400 (Bad Request) is returned.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Lists all of the available RP operations.": { - "$ref": "./examples/Operations_List.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.RedHatOpenShift/openShiftClusters": { - "get": { - "tags": [ - "OpenShiftClusters" - ], - "summary": "Lists OpenShift clusters in the specified subscription.", - "description": "The operation returns properties of each OpenShift cluster.", - "operationId": "OpenShiftClusters_List", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/OpenShiftClusterList" - } - }, - "default": { - "description": "Error response describing why the operation failed. If the resource doesn't exist, 404 (Not Found) is returned. If any of the input parameters is wrong, 400 (Bad Request) is returned.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Lists OpenShift clusters in the specified subscription.": { - "$ref": "./examples/OpenShiftClusters_List.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters": { - "get": { - "tags": [ - "OpenShiftClusters" - ], - "summary": "Lists OpenShift clusters in the specified subscription and resource group.", - "description": "The operation returns properties of each OpenShift cluster.", - "operationId": "OpenShiftClusters_ListByResourceGroup", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/OpenShiftClusterList" - } - }, - "default": { - "description": "Error response describing why the operation failed. If the resource doesn't exist, 404 (Not Found) is returned. If any of the input parameters is wrong, 400 (Bad Request) is returned.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Lists OpenShift clusters in the specified subscription and resource group.": { - "$ref": "./examples/OpenShiftClusters_ListByResourceGroup.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}": { - "get": { - "tags": [ - "OpenShiftClusters" - ], - "summary": "Gets a OpenShift cluster with the specified subscription, resource group and resource name.", - "description": "The operation returns properties of a OpenShift cluster.", - "operationId": "OpenShiftClusters_Get", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "resourceName", - "in": "path", - "description": "The name of the OpenShift cluster resource.", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/OpenShiftCluster" - } - }, - "default": { - "description": "Error response describing why the operation failed. If the resource doesn't exist, 404 (Not Found) is returned. If any of the input parameters is wrong, 400 (Bad Request) is returned.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Gets a OpenShift cluster with the specified subscription, resource group and resource name.": { - "$ref": "./examples/OpenShiftClusters_Get.json" - } - } - }, - "put": { - "tags": [ - "OpenShiftClusters" - ], - "summary": "Creates or updates a OpenShift cluster with the specified subscription, resource group and resource name.", - "description": "The operation returns properties of a OpenShift cluster.", - "operationId": "OpenShiftClusters_CreateOrUpdate", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "resourceName", - "in": "path", - "description": "The name of the OpenShift cluster resource.", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "description": "The OpenShift cluster resource.", - "required": true, - "schema": { - "$ref": "#/definitions/OpenShiftCluster" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/OpenShiftCluster" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/OpenShiftCluster" - } - }, - "default": { - "description": "Error response describing why the operation failed. If the resource doesn't exist, 404 (Not Found) is returned. If any of the input parameters is wrong, 400 (Bad Request) is returned.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Creates or updates a OpenShift cluster with the specified subscription, resource group and resource name.": { - "$ref": "./examples/OpenShiftClusters_CreateOrUpdate.json" - } - } - }, - "delete": { - "tags": [ - "OpenShiftClusters" - ], - "summary": "Deletes a OpenShift cluster with the specified subscription, resource group and resource name.", - "description": "The operation returns nothing.", - "operationId": "OpenShiftClusters_Delete", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "resourceName", - "in": "path", - "description": "The name of the OpenShift cluster resource.", - "required": true, - "type": "string" - } - ], - "responses": { - "202": { - "description": "Accepted" - }, - "204": { - "description": "No Content" - }, - "default": { - "description": "Error response describing why the operation failed. If the resource doesn't exist, 404 (Not Found) is returned. If any of the input parameters is wrong, 400 (Bad Request) is returned.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Deletes a OpenShift cluster with the specified subscription, resource group and resource name.": { - "$ref": "./examples/OpenShiftClusters_Delete.json" - } - } - }, - "patch": { - "tags": [ - "OpenShiftClusters" - ], - "summary": "Creates or updates a OpenShift cluster with the specified subscription, resource group and resource name.", - "description": "The operation returns properties of a OpenShift cluster.", - "operationId": "OpenShiftClusters_Update", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "resourceName", - "in": "path", - "description": "The name of the OpenShift cluster resource.", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "description": "The OpenShift cluster resource.", - "required": true, - "schema": { - "$ref": "#/definitions/OpenShiftClusterUpdate" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/OpenShiftCluster" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/OpenShiftCluster" - } - }, - "default": { - "description": "Error response describing why the operation failed. If the resource doesn't exist, 404 (Not Found) is returned. If any of the input parameters is wrong, 400 (Bad Request) is returned.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Creates or updates a OpenShift cluster with the specified subscription, resource group and resource name.": { - "$ref": "./examples/OpenShiftClusters_Update.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}/listAdminCredentials": { - "post": { - "tags": [ - "OpenShiftClusters" - ], - "summary": "Lists admin kubeconfig of an OpenShift cluster with the specified subscription, resource group and resource name.", - "description": "The operation returns the admin kubeconfig.", - "operationId": "OpenShiftClusters_ListAdminKubeconfig", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "resourceName", - "in": "path", - "description": "The name of the OpenShift cluster resource.", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/OpenShiftClusterAdminKubeconfig" - } - }, - "default": { - "description": "Error response describing why the operation failed. If the resource doesn't exist, 404 (Not Found) is returned. If any of the input parameters is wrong, 400 (Bad Request) is returned.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Lists admin kubeconfig of an OpenShift cluster with the specified subscription, resource group and resource name.": { - "$ref": "./examples/OpenShiftClusters_ListAdminKubeconfig.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RedHatOpenShift/openShiftClusters/{resourceName}/listCredentials": { - "post": { - "tags": [ - "OpenShiftClusters" - ], - "summary": "Lists credentials of an OpenShift cluster with the specified subscription, resource group and resource name.", - "description": "The operation returns the credentials.", - "operationId": "OpenShiftClusters_ListCredentials", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "resourceName", - "in": "path", - "description": "The name of the OpenShift cluster resource.", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/OpenShiftClusterCredentials" - } - }, - "default": { - "description": "Error response describing why the operation failed. If the resource doesn't exist, 404 (Not Found) is returned. If any of the input parameters is wrong, 400 (Bad Request) is returned.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Lists credentials of an OpenShift cluster with the specified subscription, resource group and resource name.": { - "$ref": "./examples/OpenShiftClusters_ListCredentials.json" - } - } - } - } - }, - "definitions": { - "APIServerProfile": { - "description": "APIServerProfile represents an API server profile.", - "properties": { - "visibility": { - "$ref": "#/definitions/Visibility", - "description": "API server visibility." - }, - "url": { - "description": "The URL to access the cluster API server.", - "type": "string" - }, - "ip": { - "description": "The IP of the cluster API server.", - "type": "string" - } - } - }, - "CloudError": { - "description": "CloudError represents a cloud error.", - "properties": { - "error": { - "$ref": "#/definitions/CloudErrorBody", - "description": "An error response from the service." - } - } - }, - "CloudErrorBody": { - "description": "CloudErrorBody represents the body of a cloud error.", - "properties": { - "code": { - "description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically.", - "type": "string" - }, - "message": { - "description": "A message describing the error, intended to be suitable for display in a user interface.", - "type": "string" - }, - "target": { - "description": "The target of the particular error. For example, the name of the property in error.", - "type": "string" - }, - "details": { - "description": "A list of additional details about the error.", - "type": "array", - "items": { - "$ref": "#/definitions/CloudErrorBody" - } - } - } - }, - "ClusterProfile": { - "description": "ClusterProfile represents a cluster profile.", - "properties": { - "pullSecret": { - "description": "The pull secret for the cluster.", - "type": "string" - }, - "domain": { - "description": "The domain for the cluster.", - "type": "string" - }, - "version": { - "description": "The version of the cluster.", - "type": "string" - }, - "resourceGroupId": { - "description": "The ID of the cluster resource group.", - "type": "string" - } - } - }, - "ConsoleProfile": { - "description": "ConsoleProfile represents a console profile.", - "properties": { - "url": { - "description": "The URL to access the cluster console.", - "type": "string" - } - } - }, - "Display": { - "description": "Display represents the display details of an operation.", - "properties": { - "provider": { - "description": "Friendly name of the resource provider.", - "type": "string" - }, - "resource": { - "description": "Resource type on which the operation is performed.", - "type": "string" - }, - "operation": { - "description": "Operation type: read, write, delete, listKeys/action, etc.", - "type": "string" - }, - "description": { - "description": "Friendly name of the operation.", - "type": "string" - } - } - }, - "EncryptionAtHost": { - "description": "EncryptionAtHost constants.", - "enum": [ - "Disabled", - "Enabled" - ], - "type": "string" - }, - "IngressProfile": { - "description": "IngressProfile represents an ingress profile.", - "properties": { - "name": { - "description": "The ingress profile name.", - "type": "string" - }, - "visibility": { - "$ref": "#/definitions/Visibility", - "description": "Ingress visibility." - }, - "ip": { - "description": "The IP of the ingress.", - "type": "string" - } - } - }, - "MasterProfile": { - "description": "MasterProfile represents a master profile.", - "properties": { - "vmSize": { - "$ref": "#/definitions/VMSize", - "description": "The size of the master VMs." - }, - "subnetId": { - "description": "The Azure resource ID of the master subnet.", - "type": "string" - }, - "encryptionAtHost": { - "$ref": "#/definitions/EncryptionAtHost", - "description": "Whether master virtual machines are encrypted at host." - }, - "diskEncryptionSetId": { - "description": "The resource ID of an associated DiskEncryptionSet, if applicable.", - "type": "string" - } - } - }, - "NetworkProfile": { - "description": "NetworkProfile represents a network profile.", - "properties": { - "podCidr": { - "description": "The CIDR used for OpenShift/Kubernetes Pods.", - "type": "string" - }, - "serviceCidr": { - "description": "The CIDR used for OpenShift/Kubernetes Services.", - "type": "string" - }, - "sdnProvider": { - "$ref": "#/definitions/SDNProvider", - "description": "The SDN plugin used in the cluster." - } - } - }, - "OpenShiftCluster": { - "description": "OpenShiftCluster represents an Azure Red Hat OpenShift cluster.", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/TrackedResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/OpenShiftClusterProperties", - "description": "The cluster properties.", - "x-ms-client-flatten": true - }, - "systemData": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "description": "The system meta data relating to this resource.", - "readOnly": true - } - } - }, - "OpenShiftClusterAdminKubeconfig": { - "description": "OpenShiftClusterAdminKubeconfig represents an OpenShift cluster's admin kubeconfig.", - "properties": { - "kubeconfig": { - "description": "The base64-encoded kubeconfig file.", - "type": "string" - } - } - }, - "OpenShiftClusterCredentials": { - "description": "OpenShiftClusterCredentials represents an OpenShift cluster's credentials.", - "properties": { - "kubeadminUsername": { - "description": "The username for the kubeadmin user.", - "type": "string" - }, - "kubeadminPassword": { - "description": "The password for the kubeadmin user.", - "type": "string" - } - } - }, - "OpenShiftClusterList": { - "description": "OpenShiftClusterList represents a list of OpenShift clusters.", - "properties": { - "value": { - "description": "The list of OpenShift clusters.", - "type": "array", - "items": { - "$ref": "#/definitions/OpenShiftCluster" - } - }, - "nextLink": { - "description": "The link used to get the next page of operations.", - "type": "string" - } - } - }, - "OpenShiftClusterProperties": { - "description": "OpenShiftClusterProperties represents an OpenShift cluster's properties.", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "The cluster provisioning state." - }, - "clusterProfile": { - "$ref": "#/definitions/ClusterProfile", - "description": "The cluster profile." - }, - "consoleProfile": { - "$ref": "#/definitions/ConsoleProfile", - "description": "The console profile." - }, - "servicePrincipalProfile": { - "$ref": "#/definitions/ServicePrincipalProfile", - "description": "The cluster service principal profile." - }, - "networkProfile": { - "$ref": "#/definitions/NetworkProfile", - "description": "The cluster network profile." - }, - "masterProfile": { - "$ref": "#/definitions/MasterProfile", - "description": "The cluster master profile." - }, - "workerProfiles": { - "description": "The cluster worker profiles.", - "type": "array", - "items": { - "$ref": "#/definitions/WorkerProfile" - } - }, - "apiserverProfile": { - "$ref": "#/definitions/APIServerProfile", - "description": "The cluster API server profile." - }, - "ingressProfiles": { - "description": "The cluster ingress profiles.", - "type": "array", - "items": { - "$ref": "#/definitions/IngressProfile" - } - } - } - }, - "OpenShiftClusterUpdate": { - "description": "OpenShiftCluster represents an Azure Red Hat OpenShift cluster.", - "properties": { - "tags": { - "$ref": "#/definitions/Tags", - "description": "The resource tags." - }, - "properties": { - "$ref": "#/definitions/OpenShiftClusterProperties", - "description": "The cluster properties.", - "x-ms-client-flatten": true - } - } - }, - "Operation": { - "description": "Operation represents an RP operation.", - "properties": { - "name": { - "description": "Operation name: {provider}/{resource}/{operation}.", - "type": "string" - }, - "display": { - "$ref": "#/definitions/Display", - "description": "The object that describes the operation." - }, - "origin": { - "description": "Sources of requests to this operation. Comma separated list with valid values user or system, e.g. \"user,system\".", - "type": "string" - } - } - }, - "OperationList": { - "description": "OperationList represents an RP operation list.", - "properties": { - "value": { - "description": "List of operations supported by the resource provider.", - "type": "array", - "items": { - "$ref": "#/definitions/Operation" - } - }, - "nextLink": { - "description": "The link used to get the next page of operations.", - "type": "string" - } - } - }, - "ProvisioningState": { - "description": "ProvisioningState represents a provisioning state.", - "enum": [ - "AdminUpdating", - "Creating", - "Deleting", - "Failed", - "Succeeded", - "Updating" - ], - "type": "string" - }, - "SDNProvider": { - "description": "SDNProvider constants.", - "enum": [ - "OVNKubernetes", - "OpenShiftSDN" - ], - "type": "string", - "x-ms-enum": { - "name": "SDNProvider", - "modelAsString": true - } - }, - "ServicePrincipalProfile": { - "description": "ServicePrincipalProfile represents a service principal profile.", - "properties": { - "clientId": { - "description": "The client ID used for the cluster.", - "type": "string" - }, - "clientSecret": { - "description": "The client secret used for the cluster.", - "type": "string" - } - } - }, - "Tags": { - "description": "Tags represents an OpenShift cluster's tags.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "VMSize": { - "description": "VMSize represents a VM size.", - "enum": [ - "Standard_D16as_v4", - "Standard_D16s_v3", - "Standard_D2s_v3", - "Standard_D32as_v4", - "Standard_D32s_v3", - "Standard_D4as_v4", - "Standard_D4s_v3", - "Standard_D8as_v4", - "Standard_D8s_v3", - "Standard_E16s_v3", - "Standard_E32s_v3", - "Standard_E4s_v3", - "Standard_E8s_v3", - "Standard_F16s_v2", - "Standard_F32s_v2", - "Standard_F4s_v2", - "Standard_F8s_v2" - ], - "type": "string", - "x-ms-enum": { - "name": "VMSize", - "modelAsString": true - } - }, - "Visibility": { - "description": "Visibility represents visibility.", - "enum": [ - "Private", - "Public" - ], - "type": "string" - }, - "WorkerProfile": { - "description": "WorkerProfile represents a worker profile.", - "properties": { - "name": { - "description": "The worker profile name.", - "type": "string" - }, - "vmSize": { - "$ref": "#/definitions/VMSize", - "description": "The size of the worker VMs." - }, - "diskSizeGB": { - "description": "The disk size of the worker VMs.", - "type": "integer" - }, - "subnetId": { - "description": "The Azure resource ID of the worker subnet.", - "type": "string" - }, - "count": { - "description": "The number of worker VMs.", - "type": "integer" - }, - "encryptionAtHost": { - "$ref": "#/definitions/EncryptionAtHost", - "description": "Whether master virtual machines are encrypted at host." - }, - "diskEncryptionSetId": { - "description": "The resource ID of an associated DiskEncryptionSet, if applicable.", - "type": "string" - } - } - } - }, - "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" - } - } - }, - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ] -} diff --git a/specification/redhatopenshift/resource-manager/readme.azureresourceschema.md b/specification/redhatopenshift/resource-manager/readme.azureresourceschema.md index 79a42d6a46e2..0dcb1c1d1fea 100644 --- a/specification/redhatopenshift/resource-manager/readme.azureresourceschema.md +++ b/specification/redhatopenshift/resource-manager/readme.azureresourceschema.md @@ -7,7 +7,6 @@ These settings apply only when `--azureresourceschema` is specified on the comma ``` yaml $(azureresourceschema) && $(multiapi) batch: - tag: schema-redhatopenshift-2020-04-30 - - tag: schema-redhatopenshift-2021-01-31-preview ``` @@ -23,16 +22,3 @@ input-file: - Microsoft.RedHatOpenShift/stable/2020-04-30/redhatopenshift.json ``` - - -### Tag: schema-redhatopenshift-2021-01-31-preview and azureresourceschema - -``` yaml $(tag) == 'schema-redhatopenshift-2021-01-31-preview' && $(azureresourceschema) -output-folder: $(azureresourceschema-folder)/schemas - -# all the input files in this apiVersion -input-file: - - Microsoft.RedHatOpenShift/preview/2021-01-31-preview/redhatopenshift.json - -``` - diff --git a/specification/redhatopenshift/resource-manager/readme.go.md b/specification/redhatopenshift/resource-manager/readme.go.md index 09be96aed298..a43d0fcd9c52 100644 --- a/specification/redhatopenshift/resource-manager/readme.go.md +++ b/specification/redhatopenshift/resource-manager/readme.go.md @@ -14,7 +14,6 @@ go: ``` yaml $(go) && $(multiapi) batch: - tag: package-2020-04-30 - - tag: package-2021-01-31-preview ``` ### Tag: package-2020-04-30 and go @@ -25,12 +24,3 @@ Please also specify `--go-sdk-folder=`. - -``` yaml $(tag) == 'package-2021-01-31-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/mgmt/2021-01-31-preview/$(namespace) -``` diff --git a/specification/redhatopenshift/resource-manager/readme.md b/specification/redhatopenshift/resource-manager/readme.md index 016a56b6416c..291be7e51d7c 100644 --- a/specification/redhatopenshift/resource-manager/readme.md +++ b/specification/redhatopenshift/resource-manager/readme.md @@ -38,15 +38,6 @@ input-file: - Microsoft.RedHatOpenShift/stable/2020-04-30/redhatopenshift.json ``` -### Tag: package-2021-01-31-preview - -These settings apply only when `--tag=package-2021-01-31-preview` is specified on the command line. - -``` yaml $(tag) == 'package-2021-01-31-preview' -input-file: - - Microsoft.RedHatOpenShift/preview/2021-01-31-preview/redhatopenshift.json -``` - --- # Code Generation @@ -74,3 +65,8 @@ See configuration in [readme.go.md](./readme.go.md) ## Python See configuration in [readme.python.md](./readme.python.md) + +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + diff --git a/specification/redhatopenshift/resource-manager/readme.python.md b/specification/redhatopenshift/resource-manager/readme.python.md index 021a6620cfb2..9e505b34be50 100644 --- a/specification/redhatopenshift/resource-manager/readme.python.md +++ b/specification/redhatopenshift/resource-manager/readme.python.md @@ -26,12 +26,10 @@ Generate all API versions currently shipped for this package ```yaml $(python) && $(multiapi) && !$(track2) batch: - tag: package-2020-04-30 - - tag: package-2021-01-31-preview ``` ```yaml $(python) && $(multiapi) && $(track2) batch: - tag: package-2020-04-30 - - tag: package-2021-01-31-preview - multiapiscript: true ``` @@ -56,20 +54,3 @@ python: namespace: azure.mgmt.redhatopenshift.v2020_04_30 output-folder: $(python-sdks-folder)/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30 ``` - -### Tag: package-2021-01-31-preview and python - -These settings apply only when `--tag=package-2021-01-31-preview --python` is specified on the command line. -Please also specify `--python-sdks-folder=`. - -``` yaml $(tag) == 'package-2021-01-31-preview' && $(python) && !$(track2) -python: - namespace: azure.mgmt.redhatopenshift.v2021-01-31-preview - output-folder: $(python-sdks-folder)/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2021-01-31-preview -``` - -``` yaml $(tag) == 'package-2021-01-31-preview' && $(python) && $(track2) -namespace: azure.mgmt.redhatopenshift.v2021-01-31-preview -output-folder: $(python-sdks-folder)/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2021-01-31-preview -``` -