/
FluidRelayServers_CreateWithCmk.json
77 lines (77 loc) · 2.86 KB
/
FluidRelayServers_CreateWithCmk.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
"parameters": {
"subscriptionId": "xxxx-xxxx-xxxx-xxxx",
"resourceGroup": "myResourceGroup",
"fluidRelayServerName": "myFluidRelayServer",
"api-version": "2022-06-01",
"resource": {
"location": "west-us",
"identity": {
"type": "UserAssigned",
"userAssignedIdentities": {
"/subscriptions/xxxx-xxxx-xxxx-xxxx/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityForCMK": {}
}
},
"properties": {
"storagesku": "basic",
"encryption": {
"customerManagedKeyEncryption": {
"keyEncryptionKeyIdentity": {
"identityType": "UserAssigned",
"userAssignedIdentityResourceId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityForCMK"
},
"keyEncryptionKeyUrl": "https://contosovault.vault.azure.net/keys/contosokek"
}
}
},
"tags": {
"Category": "sales"
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourceGroups/myResourceGroup/Microsoft.FluidRelay/fluidRelayServers/myFluidRelayServer",
"name": "myFluidRelayServer",
"type": "Microsoft.FluidRelay/fluidRelayServers",
"location": "west-us",
"identity": {
"type": "UserAssigned",
"principalId": "00000000-0000-0000-0000-000000000000",
"tenantId": "00000000-0000-0000-0000-000000000000",
"userAssignedIdentities": {
"/subscriptions/xxxx-xxxx-xxxx-xxxx/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityForCMK": {
"clientId": "00000000-0000-0000-0000-000000000000",
"principalId": "00000000-0000-0000-0000-000000000000"
}
}
},
"properties": {
"frsTenantId": "yyyy-yyyy-yyyyy-yyyy",
"fluidRelayEndpoints": {
"ordererEndpoints": [
"https://www.contoso.org/orderer"
],
"storageEndpoints": [
"https://www.contoso.org/storage"
],
"serviceEndpoints": [
"https://www.afd.contoso.org"
]
},
"provisioningState": "Succeeded",
"encryption": {
"customerManagedKeyEncryption": {
"keyEncryptionKeyIdentity": {
"identityType": "UserAssigned",
"userAssignedIdentityResourceId": "/subscriptions/xxxx-xxxx-xxxx-xxxx/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityForCMK"
},
"keyEncryptionKeyUrl": "https://contosovault.vault.azure.net/keys/contosokek"
}
}
}
}
}
}
}