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

Release ServiceFabric 2017-07-01-preview swagger specification #1717

Merged
merged 7 commits into from
Sep 26, 2017
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "resRg",
"clusterName": "myCluster",
"api-version": "2016-09-01"
},
"responses": {
"200": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
{
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "resRg",
"clusterName": "myCluster",
"api-version": "2016-09-01"
},
"responses": {
"200": {
"headers": {},
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/clusters/myCluster",
"location": "southcentralus",
"name": "myCluster",
"properties": {
"provisioningState": "Succeeded",
"clusterId": "1a1acec2-8d75-424a-81af-2fb83dd1cac8",
"clusterCodeVersion": "5.5.149.9494",
"clusterState": "Ready",
"managementEndpoint": "https://myCluster.southcentralus.cloudapp.azure.com:19080",
"clusterEndpoint": "https://warp-test-winfabrp-southcentralus.trafficmanager.net/runtime/clusters/1a1acec2-8d75-424a-81af-2fb83dd1cac8",
"certificate": {
"thumbprint": "1901CF0F76AF711BEE53DF39941092BDAC8D9050",
"x509StoreName": "My"
},
"fabricSettings": [
{
"name": "Security",
"parameters": [
{
"name": "ClusterProtectionLevel",
"value": "EncryptAndSign"
}
]
}
],
"upgradeDescription": {
"forceRestart": true,
"upgradeReplicaSetCheckTimeout": "10675199.02:48:05.4775807",
"healthCheckWaitDuration": "00:05:00",
"healthCheckStableDuration": "00:05:00",
"healthCheckRetryTimeout": "00:45:00",
"upgradeTimeout": "12:00:00",
"upgradeDomainTimeout": "02:00:00",
"healthPolicy": {
"maxPercentUnhealthyNodes": 100,
"maxPercentUnhealthyApplications": 100
},
"deltaHealthPolicy": {
"maxPercentDeltaUnhealthyNodes": 0,
"maxPercentUpgradeDomainDeltaUnhealthyNodes": 0,
"maxPercentDeltaUnhealthyApplications": 0
}
},
"diagnosticsStorageAccountConfig": {
"storageAccountName": "3nrb4ixoj6ogq2",
"protectedAccountKeyName": "StorageAccountKey1",
"blobEndpoint": "https://3nrb4ixoj6ogq2.blob.core.windows.net/",
"queueEndpoint": "https://3nrb4ixoj6ogq2.queue.core.windows.net/",
"tableEndpoint": "https://3nrb4ixoj6ogq2.table.core.windows.net/"
},
"nodeTypes": [
{
"name": "nt1vm",
"clientConnectionEndpointPort": 19000,
"httpGatewayEndpointPort": 19080,
"applicationPorts": {
"startPort": 20000,
"endPort": 30000
},
"ephemeralPorts": {
"startPort": 49152,
"endPort": 65534
},
"isPrimary": true,
"vmInstanceCount": 5,
"durabilityLevel": "Bronze"
}
],
"vmImage": "Windows",
"reliabilityLevel": "Silver",
"upgradeMode": "Automatic",
"availableClusterVersions": [
{
"codeVersion": "5.5.67.9494",
"supportExpiryUtc": "9999-12-31T23:59:59.9999999",
"environment": "Windows"
},
{
"codeVersion": "5.5.149.9494",
"supportExpiryUtc": "9999-12-31T23:59:59.9999999",
"environment": "Windows"
}
]
},
"tags": {
"clusterName": "myCluster",
"resourceType": "Service Fabric"
},
"type": "Microsoft.ServiceFabric/clusters"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
{
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "resRg",
"api-version": "2016-09-01"
},
"responses": {
"200": {
"headers": {},
"body": {
"value": [
{
"type": "Microsoft.ServiceFabric/clusters",
"location": "southcentralus",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/psrg1/providers/Microsoft.ServiceFabric/clusters/testcluster",
"name": "testcluster",
"tags": {
"resourceType": "Service Fabric",
"clusterName": "testcluster"
},
"properties": {
"provisioningState": "Succeeded",
"clusterId": "29cfe945-7ff1-4234-b567-09871226d4f6",
"clusterCodeVersion": "5.5.216.0",
"clusterState": "Ready",
"managementEndpoint": "https://testcluster.southcentralus.cloudapp.azure.com:19080",
"clusterEndpoint": "https://warp-test-winfabrp-southcentralus.trafficmanager.net/runtime/clusters/29cfe945-7ff1-4234-b567-09871226d4f6",
"certificate": {
"thumbprint": "5F3660C715EBBDA31DB1FFDCF508302348DE8E7A",
"x509StoreName": "My"
},
"clientCertificateThumbprints": [],
"clientCertificateCommonNames": [],
"fabricSettings": [
{
"name": "Security",
"parameters": [
{
"name": "ClusterProtectionLevel",
"value": "EncryptAndSign"
}
]
}
],
"upgradeDescription": {
"forceRestart": false,
"upgradeReplicaSetCheckTimeout": "10675199.02:48:05.4775807",
"healthCheckWaitDuration": "00:05:00",
"healthCheckStableDuration": "00:05:00",
"healthCheckRetryTimeout": "00:45:00",
"upgradeTimeout": "12:00:00",
"upgradeDomainTimeout": "02:00:00",
"healthPolicy": {
"maxPercentUnhealthyNodes": 100,
"maxPercentUnhealthyApplications": 100
},
"deltaHealthPolicy": {
"maxPercentDeltaUnhealthyNodes": 0,
"maxPercentUpgradeDomainDeltaUnhealthyNodes": 0,
"maxPercentDeltaUnhealthyApplications": 0
}
},
"diagnosticsStorageAccountConfig": {
"storageAccountName": "sflogppe231337596",
"protectedAccountKeyName": "StorageAccountKey1",
"blobEndpoint": "https://sflogppe231337596.blob.core.windows.net/",
"queueEndpoint": "https://sflogppe231337596.queue.core.windows.net/",
"tableEndpoint": "https://sflogppe231337596.table.core.windows.net/"
},
"nodeTypes": [
{
"name": "n1",
"clientConnectionEndpointPort": 19000,
"httpGatewayEndpointPort": 19080,
"applicationPorts": {
"startPort": 20000,
"endPort": 30000
},
"ephemeralPorts": {
"startPort": 49152,
"endPort": 65534
},
"isPrimary": true,
"vmInstanceCount": 5,
"durabilityLevel": "Silver"
}
],
"vmImage": "Windows",
"reliabilityLevel": "Silver",
"upgradeMode": "Automatic",
"availableClusterVersions": [
{
"codeVersion": "5.5.216.0",
"supportExpiryUtc": "9999-12-31T23:59:59.9999999",
"environment": "Windows"
},
{
"codeVersion": "5.5.219.0",
"supportExpiryUtc": "9999-12-31T23:59:59.9999999",
"environment": "Windows"
}
]
}
}
]
}
}
}
}
Loading