зеркало из https://github.com/Azure/ARO-RP.git
align swagger
This commit is contained in:
Родитель
60d6004087
Коммит
13685a37f2
|
@ -2,7 +2,7 @@
|
|||
"swagger": "2.0",
|
||||
"info": {
|
||||
"title": "Azure Red Hat OpenShift Client",
|
||||
"description": "Rest API for Azure Red Hat OpenShift",
|
||||
"description": "Rest API for Azure Red Hat OpenShift 4",
|
||||
"version": "2020-04-30"
|
||||
},
|
||||
"host": "management.azure.com",
|
||||
|
@ -22,7 +22,7 @@
|
|||
"Operations"
|
||||
],
|
||||
"summary": "Lists all of the available RP operations.",
|
||||
"description": "Lists all of the available RP operations. The operation returns the RP operations.",
|
||||
"description": "The operation returns the RP operations.",
|
||||
"operationId": "Operations_List",
|
||||
"parameters": [
|
||||
{
|
||||
|
@ -59,7 +59,7 @@
|
|||
"OpenShiftClusters"
|
||||
],
|
||||
"summary": "Lists OpenShift clusters in the specified subscription.",
|
||||
"description": "Lists OpenShift clusters in the specified subscription. The operation returns properties of each OpenShift cluster.",
|
||||
"description": "The operation returns properties of each OpenShift cluster.",
|
||||
"operationId": "OpenShiftClusters_List",
|
||||
"parameters": [
|
||||
{
|
||||
|
@ -99,7 +99,7 @@
|
|||
"OpenShiftClusters"
|
||||
],
|
||||
"summary": "Lists OpenShift clusters in the specified subscription and resource group.",
|
||||
"description": "Lists OpenShift clusters in the specified subscription and resource group. The operation returns properties of each OpenShift cluster.",
|
||||
"description": "The operation returns properties of each OpenShift cluster.",
|
||||
"operationId": "OpenShiftClusters_ListByResourceGroup",
|
||||
"parameters": [
|
||||
{
|
||||
|
@ -142,7 +142,7 @@
|
|||
"OpenShiftClusters"
|
||||
],
|
||||
"summary": "Gets a OpenShift cluster with the specified subscription, resource group and resource name.",
|
||||
"description": "Gets a OpenShift cluster with the specified subscription, resource group and resource name. The operation returns properties of a OpenShift cluster.",
|
||||
"description": "The operation returns properties of a OpenShift cluster.",
|
||||
"operationId": "OpenShiftClusters_Get",
|
||||
"parameters": [
|
||||
{
|
||||
|
@ -187,7 +187,7 @@
|
|||
"OpenShiftClusters"
|
||||
],
|
||||
"summary": "Creates or updates a OpenShift cluster with the specified subscription, resource group and resource name.",
|
||||
"description": "Creates or updates a OpenShift cluster with the specified subscription, resource group and resource name. The operation returns properties of a OpenShift cluster.",
|
||||
"description": "The operation returns properties of a OpenShift cluster.",
|
||||
"operationId": "OpenShiftClusters_CreateOrUpdate",
|
||||
"parameters": [
|
||||
{
|
||||
|
@ -248,7 +248,7 @@
|
|||
"OpenShiftClusters"
|
||||
],
|
||||
"summary": "Deletes a OpenShift cluster with the specified subscription, resource group and resource name.",
|
||||
"description": "Deletes a OpenShift cluster with the specified subscription, resource group and resource name. The operation returns nothing.",
|
||||
"description": "The operation returns nothing.",
|
||||
"operationId": "OpenShiftClusters_Delete",
|
||||
"parameters": [
|
||||
{
|
||||
|
@ -294,7 +294,7 @@
|
|||
"OpenShiftClusters"
|
||||
],
|
||||
"summary": "Creates or updates a OpenShift cluster with the specified subscription, resource group and resource name.",
|
||||
"description": "Creates or updates a OpenShift cluster with the specified subscription, resource group and resource name. The operation returns properties of a OpenShift cluster.",
|
||||
"description": "The operation returns properties of a OpenShift cluster.",
|
||||
"operationId": "OpenShiftClusters_Update",
|
||||
"parameters": [
|
||||
{
|
||||
|
@ -357,7 +357,7 @@
|
|||
"OpenShiftClusters"
|
||||
],
|
||||
"summary": "Lists credentials of an OpenShift cluster with the specified subscription, resource group and resource name.",
|
||||
"description": "Lists credentials of an OpenShift cluster with the specified subscription, resource group and resource name. The operation returns the credentials.",
|
||||
"description": "The operation returns the credentials.",
|
||||
"operationId": "OpenShiftClusters_ListCredentials",
|
||||
"parameters": [
|
||||
{
|
||||
|
@ -405,14 +405,14 @@
|
|||
"properties": {
|
||||
"visibility": {
|
||||
"$ref": "#/definitions/Visibility",
|
||||
"description": "API server visibility (immutable)."
|
||||
"description": "API server visibility."
|
||||
},
|
||||
"url": {
|
||||
"description": "The URL to access the cluster API server (immutable).",
|
||||
"description": "The URL to access the cluster API server.",
|
||||
"type": "string"
|
||||
},
|
||||
"ip": {
|
||||
"description": "The IP of the cluster API server (immutable).",
|
||||
"description": "The IP of the cluster API server.",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
|
@ -454,19 +454,19 @@
|
|||
"description": "ClusterProfile represents a cluster profile.",
|
||||
"properties": {
|
||||
"pullSecret": {
|
||||
"description": "The pull secret for the cluster (immutable).",
|
||||
"description": "The pull secret for the cluster.",
|
||||
"type": "string"
|
||||
},
|
||||
"domain": {
|
||||
"description": "The domain for the cluster (immutable).",
|
||||
"description": "The domain for the cluster.",
|
||||
"type": "string"
|
||||
},
|
||||
"version": {
|
||||
"description": "The version of the cluster (immutable).",
|
||||
"description": "The version of the cluster.",
|
||||
"type": "string"
|
||||
},
|
||||
"resourceGroupId": {
|
||||
"description": "The ID of the cluster resource group (immutable).",
|
||||
"description": "The ID of the cluster resource group.",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
|
@ -475,7 +475,7 @@
|
|||
"description": "ConsoleProfile represents a console profile.",
|
||||
"properties": {
|
||||
"url": {
|
||||
"description": "The URL to access the cluster console (immutable).",
|
||||
"description": "The URL to access the cluster console.",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
|
@ -505,15 +505,15 @@
|
|||
"description": "IngressProfile represents an ingress profile.",
|
||||
"properties": {
|
||||
"name": {
|
||||
"description": "The ingress profile name. Must be \"default\" (immutable).",
|
||||
"description": "The ingress profile name.",
|
||||
"type": "string"
|
||||
},
|
||||
"visibility": {
|
||||
"$ref": "#/definitions/Visibility",
|
||||
"description": "Ingress visibility (immutable)."
|
||||
"description": "Ingress visibility."
|
||||
},
|
||||
"ip": {
|
||||
"description": "The IP of the ingress (immutable).",
|
||||
"description": "The IP of the ingress.",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
|
@ -523,10 +523,10 @@
|
|||
"properties": {
|
||||
"vmSize": {
|
||||
"$ref": "#/definitions/VMSize",
|
||||
"description": "The size of the master VMs (immutable)."
|
||||
"description": "The size of the master VMs."
|
||||
},
|
||||
"subnetId": {
|
||||
"description": "The Azure resource ID of the master subnet (immutable).",
|
||||
"description": "The Azure resource ID of the master subnet.",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
|
@ -535,11 +535,11 @@
|
|||
"description": "NetworkProfile represents a network profile.",
|
||||
"properties": {
|
||||
"podCidr": {
|
||||
"description": "The CIDR used for OpenShift/Kubernetes Pods (immutable).",
|
||||
"description": "The CIDR used for OpenShift/Kubernetes Pods.",
|
||||
"type": "string"
|
||||
},
|
||||
"serviceCidr": {
|
||||
"description": "The CIDR used for OpenShift/Kubernetes Services (immutable).",
|
||||
"description": "The CIDR used for OpenShift/Kubernetes Services.",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
|
@ -560,14 +560,14 @@
|
|||
}
|
||||
},
|
||||
"OpenShiftClusterCredentials": {
|
||||
"description": "OpenShiftClusterCredentials represents an OpenShift cluster's credentials",
|
||||
"description": "OpenShiftClusterCredentials represents an OpenShift cluster's credentials.",
|
||||
"properties": {
|
||||
"kubeadminUsername": {
|
||||
"description": "The username for the kubeadmin user",
|
||||
"description": "The username for the kubeadmin user.",
|
||||
"type": "string"
|
||||
},
|
||||
"kubeadminPassword": {
|
||||
"description": "The password for the kubeadmin user",
|
||||
"description": "The password for the kubeadmin user.",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
|
@ -593,7 +593,7 @@
|
|||
"properties": {
|
||||
"provisioningState": {
|
||||
"$ref": "#/definitions/ProvisioningState",
|
||||
"description": "The cluster provisioning state (immutable)."
|
||||
"description": "The cluster provisioning state."
|
||||
},
|
||||
"clusterProfile": {
|
||||
"$ref": "#/definitions/ClusterProfile",
|
||||
|
@ -698,11 +698,11 @@
|
|||
"description": "ServicePrincipalProfile represents a service principal profile.",
|
||||
"properties": {
|
||||
"clientId": {
|
||||
"description": "The client ID used for the cluster (immutable).",
|
||||
"description": "The client ID used for the cluster.",
|
||||
"type": "string"
|
||||
},
|
||||
"clientSecret": {
|
||||
"description": "The client secret used for the cluster (immutable).",
|
||||
"description": "The client secret used for the cluster.",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
|
@ -735,7 +735,11 @@
|
|||
"Standard_F4s_v2",
|
||||
"Standard_F8s_v2"
|
||||
],
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"x-ms-enum": {
|
||||
"name": "VMSize",
|
||||
"modelAsString": true
|
||||
}
|
||||
},
|
||||
"Visibility": {
|
||||
"description": "Visibility represents visibility.",
|
||||
|
@ -749,19 +753,19 @@
|
|||
"description": "WorkerProfile represents a worker profile.",
|
||||
"properties": {
|
||||
"name": {
|
||||
"description": "The worker profile name. Must be \"worker\" (immutable).",
|
||||
"description": "The worker profile name.",
|
||||
"type": "string"
|
||||
},
|
||||
"vmSize": {
|
||||
"$ref": "#/definitions/VMSize",
|
||||
"description": "The size of the worker VMs (immutable)."
|
||||
"description": "The size of the worker VMs."
|
||||
},
|
||||
"diskSizeGB": {
|
||||
"description": "The disk size of the worker VMs. Must be 128 or greater (immutable).",
|
||||
"description": "The disk size of the worker VMs.",
|
||||
"type": "integer"
|
||||
},
|
||||
"subnetId": {
|
||||
"description": "The Azure resource ID of the worker subnet (immutable).",
|
||||
"description": "The Azure resource ID of the worker subnet.",
|
||||
"type": "string"
|
||||
},
|
||||
"count": {
|
||||
|
|
Загрузка…
Ссылка в новой задаче