Skip to content

Commit 50f264c

Browse files
committed
added running state and mccf update example
1 parent 44482d9 commit 50f264c

File tree

2 files changed

+61
-6
lines changed

2 files changed

+61
-6
lines changed

specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2023-06-28-preview/examples/ManagedCCF_Update.json

Lines changed: 42 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
"ManagedCCF": {
88
"properties": {
99
"deploymentType": {
10-
"languageRuntime": "CPP",
11-
"appSourceUri": "https://myaccount.blob.core.windows.net/storage/mccfsource?sv=2022-02-11%st=2022-03-11"
10+
"languageRuntime": "JS",
11+
"appSourceUri": "sample"
1212
}
1313
},
1414
"location": "EastUS",
@@ -18,9 +18,45 @@
1818
}
1919
},
2020
"responses": {
21-
"200": {
22-
"headers": {
23-
"azure-asyncoperation": "http://azure.async.operation/status"
21+
"201": {
22+
"body": {
23+
"properties": {
24+
"appName": "DummyMccfAppName",
25+
"appUri": "https://dummymccfappname.confidential-ledger.azure.com",
26+
"identityServiceUri": "https://identity.confidential-ledger.core.azure.com/ledgerIdentity/dummymccfappname",
27+
"runningState": "Active",
28+
"deploymentType": {
29+
"languageRuntime": "JS",
30+
"appSourceUri": "sample"
31+
},
32+
"memberIdentityCertificates": [
33+
{
34+
"certificate": "-----BEGIN CERTIFICATE-----MIIBsjCCATigAwIBAgIUZWIbyG79TniQLd2UxJuU74tqrKcwCgYIKoZIzj0EAwMwEDEOMAwGA1UEAwwFdXNlcjAwHhcNMjEwMzE2MTgwNjExWhcNMjIwMzE2MTgwNjExWjAQMQ4wDAYDVQQDDAV1c2VyMDB2MBAGByqGSM49AgEGBSuBBAAiA2IABBiWSo/j8EFit7aUMm5lF+lUmCu+IgfnpFD+7QMgLKtxRJ3aGSqgS/GpqcYVGddnODtSarNE/HyGKUFUolLPQ5ybHcouUk0kyfA7XMeSoUA4lBz63Wha8wmXo+NdBRo39qNTMFEwHQYDVR0OBBYEFPtuhrwgGjDFHeUUT4nGsXaZn69KMB8GA1UdIwQYMBaAFPtuhrwgGjDFHeUUT4nGsXaZn69KMA8GA1UdEwEB/wQFMAMBAf8wCgYIKoZIzj0EAwMDaAAwZQIxAOnozm2CyqRwSSQLls5r+mUHRGRyXHXwYtM4Dcst/VEZdmS9fqvHRCHbjUlO/+HNfgIwMWZ4FmsjD3wnPxONOm9YdVn/PRD7SsPRPbOjwBiE4EBGaHDsLjYAGDSGi7NJnSkA-----END CERTIFICATE-----",
35+
"encryptionkey": "ledgerencryptionkey",
36+
"tags": {
37+
"additionalProps1": "additional properties"
38+
}
39+
}
40+
],
41+
"nodeCount": 3
42+
},
43+
"provisioningState": "Succeeded",
44+
"resourceGroup": "DummyResourceGroupName",
45+
"name": "DummyMccfAppName",
46+
"id": "/subscriptions/00000000-0000-0000-0000-000000000001/providers/Microsoft.ConfidentialLedger/ManagedCCFs/DummyMccfAppName",
47+
"type": "Microsoft.ConfidentialLedger/ManagedCCFs",
48+
"location": "EastUS",
49+
"tags": {
50+
"additionalProps1": "additional properties"
51+
},
52+
"systemData": {
53+
"createdBy": "[email protected]",
54+
"createdByType": "Admin1",
55+
"createdAt": "2020-12-01T00:00:00.1234567Z",
56+
"lastModifiedBy": "[email protected]",
57+
"lastModifiedByType": "Admin2",
58+
"lastModifiedAt": "2020-12-02T00:00:00.1234567Z"
59+
}
2460
}
2561
},
2662
"202": {
@@ -29,4 +65,4 @@
2965
}
3066
}
3167
}
32-
}
68+
}

specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2023-06-28-preview/managedccf.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -344,6 +344,21 @@
344344
"modelAsString": true
345345
}
346346
},
347+
"RunningState": {
348+
"type": "string",
349+
"description": "Object representing RunningState for Confidential Ledger.",
350+
"enum": [
351+
"Active",
352+
"Paused",
353+
"Unknown",
354+
"Pausing",
355+
"Resuming"
356+
],
357+
"x-ms-enum": {
358+
"name": "RunningState",
359+
"modelAsString": true
360+
}
361+
},
347362
"LanguageRuntime": {
348363
"type": "string",
349364
"description": "Object representing LanguageRuntime for Manged CCF.",
@@ -447,6 +462,10 @@
447462
"description": "Deployment Type of Managed CCF",
448463
"$ref": "#/definitions/DeploymentType"
449464
},
465+
"runningState": {
466+
"description": "Object representing RunningState for Ledger.",
467+
"$ref": "#/definitions/RunningState"
468+
},
450469
"provisioningState": {
451470
"description": "Provisioning state of Ledger Resource",
452471
"readOnly": true,

0 commit comments

Comments
 (0)