зеркало из https://github.com/Azure/ARO-RP.git
Rename "Create" to "CreateOrUpdate"
This commit is contained in:
Родитель
3c3d33adf2
Коммит
eb263af53e
|
@ -130,7 +130,7 @@ func populateTopLevelPaths(resourceProviderNamespace, resourceType, friendlyName
|
||||||
Tags: []string{strings.Title(resourceType) + "s"},
|
Tags: []string{strings.Title(resourceType) + "s"},
|
||||||
Summary: "Creates or updates a " + friendlyName + " with the specified subscription, resource group and resource name.",
|
Summary: "Creates or updates a " + friendlyName + " with the specified subscription, resource group and resource name.",
|
||||||
Description: "Creates or updates a " + friendlyName + " with the specified subscription, resource group and resource name. The operation returns properties of a " + friendlyName + ".",
|
Description: "Creates or updates a " + friendlyName + " with the specified subscription, resource group and resource name. The operation returns properties of a " + friendlyName + ".",
|
||||||
OperationID: strings.Title(resourceType) + "s_Create",
|
OperationID: strings.Title(resourceType) + "s_CreateOrUpdate",
|
||||||
Parameters: populateParameters(4, strings.Title(resourceType), friendlyName),
|
Parameters: populateParameters(4, strings.Title(resourceType), friendlyName),
|
||||||
Responses: populateResponses(strings.Title(resourceType), false, http.StatusOK, http.StatusCreated),
|
Responses: populateResponses(strings.Title(resourceType), false, http.StatusOK, http.StatusCreated),
|
||||||
LongRunningOperation: true,
|
LongRunningOperation: true,
|
||||||
|
|
|
@ -187,7 +187,7 @@
|
||||||
],
|
],
|
||||||
"summary": "Creates or updates a OpenShift cluster with the specified subscription, resource group and resource name.",
|
"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": "Creates or updates a OpenShift cluster with the specified subscription, resource group and resource name. The operation returns properties of a OpenShift cluster.",
|
||||||
"operationId": "OpenShiftClusters_Create",
|
"operationId": "OpenShiftClusters_CreateOrUpdate",
|
||||||
"parameters": [
|
"parameters": [
|
||||||
{
|
{
|
||||||
"$ref": "#/parameters/ApiVersionParameter"
|
"$ref": "#/parameters/ApiVersionParameter"
|
||||||
|
@ -242,7 +242,7 @@
|
||||||
"x-ms-long-running-operation": true,
|
"x-ms-long-running-operation": true,
|
||||||
"x-ms-examples": {
|
"x-ms-examples": {
|
||||||
"Creates or updates a OpenShift cluster with the specified subscription, resource group and resource name.": {
|
"Creates or updates a OpenShift cluster with the specified subscription, resource group and resource name.": {
|
||||||
"$ref": "./examples/OpenShiftClusters_Create.json"
|
"$ref": "./examples/OpenShiftClusters_CreateOrUpdate.json"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Загрузка…
Ссылка в новой задаче