/
accounts-get-by-name.json
94 lines (94 loc) · 4.12 KB
/
accounts-get-by-name.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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "contoso",
"accountName": "contosotv",
"api-version": "2021-11-01"
},
"responses": {
"200": {
"body": {
"location": "South Central US",
"tags": {
"key1": "value1",
"key2": "value2"
},
"identity": {
"type": "UserAssigned",
"userAssignedIdentities": {
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {
"principalId": "00000000-0000-0000-0000-000000000000",
"clientId": "00000000-0000-0000-0000-000000000000"
},
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id2": {
"principalId": "00000000-0000-0000-0000-000000000000",
"clientId": "00000000-0000-0000-0000-000000000000"
}
}
},
"properties": {
"encryption": {
"type": "CustomerKey",
"keyVaultProperties": {
"keyIdentifier": "https://keyvault.vault.azure.net/keys/key1",
"currentKeyIdentifier": "https://keyvault.vault.azure.net/keys/key1/ver1"
},
"identity": {
"userAssignedIdentity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1",
"useSystemAssignedIdentity": false
}
},
"storageAccounts": [
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Storage/storageAccounts/contososportsstore",
"type": "Primary",
"identity": {
"userAssignedIdentity": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1",
"useSystemAssignedIdentity": false
}
}
],
"storageAuthentication": "ManagedIdentity",
"publicNetworkAccess": "Enabled",
"keyDelivery": {
"accessControl": {
"defaultAction": "Allow"
}
},
"privateEndpointConnections": [
{
"name": "00000000-0000-0000-0000-000000000001",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosotv/privateEndpointConnections/00000000-0000-0000-0000-000000000001",
"type": "Microsoft.Media/mediaservices/privateEndpointConnections",
"properties": {
"provisioningState": "Succeeded",
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "test description"
},
"privateEndpoint": {
"id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/reosuceGroup1/providers/Microsoft.Network/privateEndpoints/pe1"
}
}
},
{
"name": "00000000-0000-0000-0000-000000000002",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosotv/privateEndpointConnections/00000000-0000-0000-0000-000000000002",
"type": "Microsoft.Media/mediaservices/privateEndpointConnections",
"properties": {
"provisioningState": "Succeeded",
"privateLinkServiceConnectionState": {
"status": "Pending",
"description": "test description"
},
"privateEndpoint": {
"id": "/subscriptions/22222222-2222-2222-2222-222222222222/resourceGroups/reosuceGroup2/providers/Microsoft.Network/privateEndpoints/pe2"
}
}
}
]
}
}
}
}
}