Skip to content

Commit 3f0baea

Browse files
kamusta-msftanandanthony
authored andcommitted
[BUG] Compute ProtectedSettingsFromKeyVault (Azure#20101)
* init * folder fix * model fixes
1 parent 6c5252d commit 3f0baea

File tree

4 files changed

+27
-7
lines changed

4 files changed

+27
-7
lines changed

specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachines_ListAll_MaximumSet_Gen.json

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,12 @@
522522
]
523523
},
524524
"suppressFailures": true,
525-
"protectedSettingsFromKeyVault": {}
525+
"protectedSettingsFromKeyVault": {
526+
"sourceVault": {
527+
"id": "/subscriptions/a53f7094-a16c-47af-abe4-b05c05d0d79a/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/kvName"
528+
},
529+
"secretUrl": "https://kvName.vault.azure.net/secrets/secretName/79b88b3a6f5440ffb2e73e44a0db712e"
530+
}
526531
},
527532
"id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
528533
"name": "aaaaaaaaaaaaa",
@@ -1065,7 +1070,12 @@
10651070
]
10661071
},
10671072
"suppressFailures": true,
1068-
"protectedSettingsFromKeyVault": {}
1073+
"protectedSettingsFromKeyVault": {
1074+
"sourceVault": {
1075+
"id": "/subscriptions/a53f7094-a16c-47af-abe4-b05c05d0d79a/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/kvName"
1076+
},
1077+
"secretUrl": "https://kvName.vault.azure.net/secrets/secretName/79b88b3a6f5440ffb2e73e44a0db712e"
1078+
}
10691079
},
10701080
"id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
10711081
"name": "aaaaaaaaaaaaa",

specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/examples/virtualMachineExamples/VirtualMachines_List_MaximumSet_Gen.json

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,12 @@
522522
]
523523
},
524524
"suppressFailures": true,
525-
"protectedSettingsFromKeyVault": {}
525+
"protectedSettingsFromKeyVault": {
526+
"sourceVault": {
527+
"id": "/subscriptions/a53f7094-a16c-47af-abe4-b05c05d0d79a/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/kvName"
528+
},
529+
"secretUrl": "https://kvName.vault.azure.net/secrets/secretName/79b88b3a6f5440ffb2e73e44a0db712e"
530+
}
526531
},
527532
"id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
528533
"name": "aaaaaaaaaaaaa",
@@ -1065,7 +1070,12 @@
10651070
]
10661071
},
10671072
"suppressFailures": true,
1068-
"protectedSettingsFromKeyVault": {}
1073+
"protectedSettingsFromKeyVault": {
1074+
"sourceVault": {
1075+
"id": "/subscriptions/a53f7094-a16c-47af-abe4-b05c05d0d79a/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/kvName"
1076+
},
1077+
"secretUrl": "https://kvName.vault.azure.net/secrets/secretName/79b88b3a6f5440ffb2e73e44a0db712e"
1078+
}
10691079
},
10701080
"id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
10711081
"name": "aaaaaaaaaaaaa",

specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/virtualMachine.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1953,7 +1953,7 @@
19531953
"description": "Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false."
19541954
},
19551955
"protectedSettingsFromKeyVault": {
1956-
"type": "object",
1956+
"$ref": "./computeRPCommon.json#/definitions/KeyVaultSecretReference",
19571957
"description": "The extensions protected settings that are passed by reference, and consumed from key vault"
19581958
}
19591959
},
@@ -1998,7 +1998,7 @@
19981998
"description": "Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false."
19991999
},
20002000
"protectedSettingsFromKeyVault": {
2001-
"type": "object",
2001+
"$ref": "./computeRPCommon.json#/definitions/KeyVaultSecretReference",
20022002
"description": "The extensions protected settings that are passed by reference, and consumed from key vault"
20032003
}
20042004
},

specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/virtualMachineScaleSet.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4498,7 +4498,7 @@
44984498
"description": "Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false."
44994499
},
45004500
"protectedSettingsFromKeyVault": {
4501-
"type": "object",
4501+
"$ref": "./computeRPCommon.json#/definitions/KeyVaultSecretReference",
45024502
"description": "The extensions protected settings that are passed by reference, and consumed from key vault"
45034503
}
45044504
},

0 commit comments

Comments
 (0)