Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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": {
Comment thread
AndyTao0402 marked this conversation as resolved.
Outdated
"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"
Comment thread
allenjzhang marked this conversation as resolved.
Outdated
}
}
}
}
}
},
"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