Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Hub Generated] Review request for Microsoft.AzureStack to add version stable/2017-06-01 #8240

2 changes: 2 additions & 0 deletions custom-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1696,3 +1696,5 @@ getactivesessions
disconnectactivesessions
bsls
sessionids
Dsms
cloudmanifestfiles
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,86 @@
"nextLinkName": "nextLink"
}
}
},
"/providers/Microsoft.AzureStack/cloudmanifestfiles": {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you camel case the resource type name? cloudManifestFiles?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this not caught by linter? surprised

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

"get": {
"x-ms-examples": {
"Returns the properties of the cloud specific manifest file latest version.": {
"$ref": "examples/CloudManifestFile/List.json"
}
},
"tags": [
"AzureStack"
],
"description": "Returns the cloud specific manifest JSON file latest version.",
"operationId": "CloudManifestFile_List",
"parameters": [
{
"$ref": "#/parameters/ApiVersionParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/CloudManifestFileResponse"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
}
}
}
},
"/providers/Microsoft.AzureStack/cloudmanifestfiles/{verificationVersion}": {
"get": {
"x-ms-examples": {
"Returns the properties of a cloud specific manifest file.": {
"$ref": "examples/CloudManifestFile/Get.json"
}
},
"tags": [
"AzureStack"
],
"description": "Returns a cloud specific manifest JSON file.",
"operationId": "CloudManifestFile_Get",
"parameters": [
{
"name": "verificationVersion",
"in": "path",
"description": "Signing verification key version.",
"required": true,
"type": "string"
},
{
"name": "versionCreationDate",
"in": "query",
"description": "Signing verification key version creation date.",
"required": false,
"type": "string"
},
{
"$ref": "#/parameters/ApiVersionParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/CloudManifestFileResponse"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
}
}
}
}
},
"definitions": {
Expand Down Expand Up @@ -191,6 +271,68 @@
}
}
},
"CloudManifestFileResponse": {
"description": "Cloud specific manifest GET response.",
"type": "object",
"properties": {
"properties": {
"description": "Cloud specific manifest data.",
"$ref": "#/definitions/CloudManifestFileProperties"
}
},
"allOf": [
{
"$ref": "#/definitions/Resource"
}
]
},
"CloudManifestFileProperties": {
"description": "Cloud specific manifest JSON properties.",
"type": "object",
"properties": {
"deploymentData": {
"description": "Cloud specific manifest data.",
"$ref": "#/definitions/CloudManifestFileDeploymentData"
},
"signature": {
"description": "Signature of the cloud specific manifest data.",
"type": "string"
}
}
},
"CloudManifestFileDeploymentData": {
"description": "Cloud specific manifest data for AzureStack deployment.",
"type": "object",
"properties": {
"externalDsmsCertificates": {
"description": "Dsms external certificates.",
"type": "string"
},
"customCloudVerificationKey": {
"description": "Signing verification public key.",
"type": "string"
},
"customEnvironmentEndpoints": {
"description": "Environment endpoints.",
"x-ms-client-flatten": true,
"$ref": "#/definitions/CloudManifestFileEnvironmentEndpoints"
}
}
},
"CloudManifestFileEnvironmentEndpoints": {
"description": "Cloud specific environment endpoints for AzureStack deployment.",
"type": "object",
"properties": {
"customCloudArmEndpoint": {
"description": "ARM endpoint.",
"type": "string"
},
"externalDsmsEndpoint": {
"description": "Dsms endpoint.",
"type": "string"
}
}
},
"ErrorDetails": {
"description": "The details of the error.",
"properties": {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"parameters": {
"verificationVersion": "latest",
"api-version": "2017-06-01"
},
"responses": {
"200": {
"body": {
"id": "/providers/Microsoft.AzureStack/cloudmanifestfiles/latest",
"name": "latest",
"type": "Microsoft.AzureStack/cloudmanifestfiles",
"properties": {
"deploymentData": {
"externalDsmsCertificates": "",
"customCloudVerificationKey": "",
"customEnvironmentEndpoints": {
"customCloudArmEndpoint": "https://management.azure.microsoft.scloud/",
"externalDsmsEndpoint": "https://global-dsms.dsms.core.microsoft.scloud/dsms/issuercertificates"
}
},
"signature": ""
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"parameters": {
"api-version": "2017-06-01"
},
"responses": {
"200": {
"body": {
"id": "/providers/Microsoft.AzureStack/cloudmanifestfiles/latest",
"name": "latest",
"type": "Microsoft.AzureStack/cloudmanifestfiles",
"properties": {
"deploymentData": {
"externalDsmsCertificates": "",
"customCloudVerificationKey": "",
"customEnvironmentEndpoints": {
"customCloudArmEndpoint": "https://management.azure.microsoft.scloud/",
"externalDsmsEndpoint": "https://global-dsms.dsms.core.microsoft.scloud/dsms/issuercertificates"
}
},
"signature": ""
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,16 @@
},
"origin": "user,system"
},
{
"name": "Microsoft.AzureStack/cloudmanifestfile/read",
"display": {
"provider": "Azure Stack Resource Provider.",
"resource": "Azure Stack Cloud Manifest File",
"operation": "Read Resource Provider Operations",
"description": "Gets the cloud specific manifest file."
},
"origin": "user,system"
},
{
"name": "Microsoft.AzureStack/Operations/read",
"display": {
Expand Down