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

Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
{
"swagger": "2.0",
"info": {
"version": "2017-06-01",
"title": "Azure Stack Azure Bridge Client"
},
"host": "management.azure.com",
"schemes": [
"https"
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"paths": {
"/providers/Microsoft.AzureStack/cloudmanifestfile": {
AndyTao0402 marked this conversation as resolved.
Show resolved Hide resolved
"get": {
"x-ms-examples": {
"Returns the properties of a cloud specific manifest file.": {
"$ref": "examples/CloudManifestFile/Get.json"
}
},
"tags": [
"CloudManifestFile"
],
"description": "Returns a cloud specific manifest JSON file.",
"operationId": "CloudManifestFile_Get",
"parameters": [
{
"$ref": "AzureStack.json#/parameters/ApiVersionParameter"
},
{
"name": "verificationVersion",
"in": "query",
"description": "Signing verification key version.",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/CloudManifestFileResponse"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "AzureStack.json#/definitions/ErrorResponse"
allenjzhang marked this conversation as resolved.
Show resolved Hide resolved
}
}
}
}
}
},
"definitions": {
"CloudManifestFileResponse": {
"description": "Cloud specific manifest JSON file.",
"type": "object",
"properties": {
"deploymentData": {
"description": "Cloud specific manifest data.",
"x-ms-client-flatten": true,
"$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": {
"cloudName": {
"description": "Cloud identifier.",
"type": "string"
},
"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"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"parameters": {
"api-version": "2017-06-01"
},
"responses": {
"200": {
"body": {
"id": "/providers/Microsoft.AzureStack/cloudmanifestfile",
"name": "azurestack",
"type": "Microsoft.AzureStack/cloudManifestFile",
"location": "global",
"properties": {
"deploymentData": {
"cloudName": "USSec",
"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