|
| 1 | +{ |
| 2 | + "parameters": { |
| 3 | + "subscriptionId": "00000000-0000-0000-0000-000000000000", |
| 4 | + "resourceGroupName": "rgcloudhsm", |
| 5 | + "cloudHsmClusterName": "chsm1", |
| 6 | + "api-version": "2023-12-10-preview", |
| 7 | + "body": { |
| 8 | + "location": "eastus2", |
| 9 | + "sku": { |
| 10 | + "family": "B", |
| 11 | + "name": "Standard_B1" |
| 12 | + }, |
| 13 | + "tags": { |
| 14 | + "Dept": "hsm", |
| 15 | + "Environment": "dogfood" |
| 16 | + }, |
| 17 | + "properties": { |
| 18 | + "securityDomain": { |
| 19 | + "fipsState": 2 |
| 20 | + }, |
| 21 | + "publicNetworkAccess": "Disabled", |
| 22 | + "backupProperties": { |
| 23 | + "azureStorageResourceUri": "testStorageResourceUri" |
| 24 | + } |
| 25 | + }, |
| 26 | + "identity": { |
| 27 | + "type": "UserAssigned", |
| 28 | + "userAssignedIdentities": { |
| 29 | + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-resources/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-1": {} |
| 30 | + } |
| 31 | + } |
| 32 | + } |
| 33 | + }, |
| 34 | + "responses": { |
| 35 | + "200": { |
| 36 | + "body": { |
| 37 | + "name": "chsm1", |
| 38 | + "location": "eastus2", |
| 39 | + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/chsm1", |
| 40 | + "sku": { |
| 41 | + "family": "B", |
| 42 | + "name": "Standard_B1" |
| 43 | + }, |
| 44 | + "tags": { |
| 45 | + "Dept": "hsm", |
| 46 | + "Environment": "dogfood" |
| 47 | + }, |
| 48 | + "type": "Microsoft.HardwareSecurityModules/cloudHsmClusters", |
| 49 | + "systemData": { |
| 50 | + "createdBy": "CHsmUser1", |
| 51 | + "createdByType": "User", |
| 52 | + "createdAt": "2022-09-12T12:00:00.0000000Z", |
| 53 | + "lastModifiedBy": "CHsmUser2", |
| 54 | + "lastModifiedByType": "User", |
| 55 | + "lastModifiedAt": "2022-09-12T12:00:00.0000000Z" |
| 56 | + }, |
| 57 | + "properties": { |
| 58 | + "provisioningState": "Succeeded", |
| 59 | + "autoGeneratedDomainNameLabelScope": "TenantReuse", |
| 60 | + "securityDomain": { |
| 61 | + "fipsState": 2, |
| 62 | + "activationStatus": "null" |
| 63 | + }, |
| 64 | + "hsms": null, |
| 65 | + "publicNetworkAccess": "Disabled", |
| 66 | + "privateEndpointConnections": null, |
| 67 | + "backupProperties": { |
| 68 | + "azureStorageResourceUri": "testStorageResourceUri", |
| 69 | + "lastBackupDateTime": "2023-11-09T12:00:00.0000000Z", |
| 70 | + "lastBackupStatus": "Status Of last backup" |
| 71 | + }, |
| 72 | + "statusMessage": "This is a status message" |
| 73 | + }, |
| 74 | + "identity": { |
| 75 | + "type": "UserAssigned", |
| 76 | + "userAssignedIdentities": { |
| 77 | + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-resources/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-1": { |
| 78 | + "principalId": "00000000-0000-0000-0000-000000000000", |
| 79 | + "clientId": "00000000-0000-0000-0000-000000000000" |
| 80 | + } |
| 81 | + } |
| 82 | + } |
| 83 | + } |
| 84 | + }, |
| 85 | + "201": { |
| 86 | + "body": { |
| 87 | + "name": "chsm1", |
| 88 | + "location": "eastus2", |
| 89 | + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcloudhsm/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/chsm1", |
| 90 | + "sku": { |
| 91 | + "family": "B", |
| 92 | + "name": "Standard_B1" |
| 93 | + }, |
| 94 | + "tags": { |
| 95 | + "Dept": "hsm", |
| 96 | + "Environment": "dogfood" |
| 97 | + }, |
| 98 | + "type": "Microsoft.HardwareSecurityModules/cloudHsmClusters", |
| 99 | + "systemData": { |
| 100 | + "createdBy": "CHsmUser1", |
| 101 | + "createdByType": "User", |
| 102 | + "createdAt": "2022-09-12T12:00:00.0000000Z", |
| 103 | + "lastModifiedBy": "CHsmUser2", |
| 104 | + "lastModifiedByType": "User", |
| 105 | + "lastModifiedAt": "2022-09-12T12:00:00.0000000Z" |
| 106 | + }, |
| 107 | + "properties": { |
| 108 | + "provisioningState": "Succeeded", |
| 109 | + "autoGeneratedDomainNameLabelScope": "TenantReuse", |
| 110 | + "securityDomain": { |
| 111 | + "fipsState": 2, |
| 112 | + "activationStatus": "null" |
| 113 | + }, |
| 114 | + "hsms": null, |
| 115 | + "publicNetworkAccess": "Disabled", |
| 116 | + "privateEndpointConnections": null, |
| 117 | + "backupProperties": { |
| 118 | + "azureStorageResourceUri": "testStorageResourceUri", |
| 119 | + "lastBackupDateTime": "2023-11-09T12:00:00.0000000Z", |
| 120 | + "lastBackupStatus": "Status Of last backup" |
| 121 | + } |
| 122 | + }, |
| 123 | + "identity": { |
| 124 | + "type": "UserAssigned", |
| 125 | + "userAssignedIdentities": { |
| 126 | + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-resources/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity-1": { |
| 127 | + "principalId": "00000000-0000-0000-0000-000000000000", |
| 128 | + "clientId": "00000000-0000-0000-0000-000000000000" |
| 129 | + } |
| 130 | + } |
| 131 | + } |
| 132 | + } |
| 133 | + } |
| 134 | + } |
| 135 | +} |
0 commit comments