From a419195da10fc10429100ddd79713135ce98990f Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Thu, 7 Feb 2019 16:14:49 -0800 Subject: [PATCH] Generated from bddc29df0c1abc1a1f25b2b2a07c6deb2043c2e6 (#4053) add description of access policies required condition --- services/keyvault/mgmt/2016-10-01/keyvault/models.go | 2 +- services/keyvault/mgmt/2018-02-14/keyvault/models.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/services/keyvault/mgmt/2016-10-01/keyvault/models.go b/services/keyvault/mgmt/2016-10-01/keyvault/models.go index 1cbfa89b5293..aad7fc9bbbde 100644 --- a/services/keyvault/mgmt/2016-10-01/keyvault/models.go +++ b/services/keyvault/mgmt/2016-10-01/keyvault/models.go @@ -1212,7 +1212,7 @@ type VaultProperties struct { TenantID *uuid.UUID `json:"tenantId,omitempty"` // Sku - SKU details Sku *Sku `json:"sku,omitempty"` - // AccessPolicies - An array of 0 to 16 identities that have access to the key vault. All identities in the array must use the same tenant ID as the key vault's tenant ID. + // AccessPolicies - An array of 0 to 16 identities that have access to the key vault. All identities in the array must use the same tenant ID as the key vault's tenant ID. When `createMode` is set to `recover`, access policies are not required. Otherwise, access policies are required. AccessPolicies *[]AccessPolicyEntry `json:"accessPolicies,omitempty"` // VaultURI - The URI of the vault for performing operations on keys and secrets. VaultURI *string `json:"vaultUri,omitempty"` diff --git a/services/keyvault/mgmt/2018-02-14/keyvault/models.go b/services/keyvault/mgmt/2018-02-14/keyvault/models.go index d9025bc3c2f4..9383678d7c90 100644 --- a/services/keyvault/mgmt/2018-02-14/keyvault/models.go +++ b/services/keyvault/mgmt/2018-02-14/keyvault/models.go @@ -1266,7 +1266,7 @@ type VaultProperties struct { TenantID *uuid.UUID `json:"tenantId,omitempty"` // Sku - SKU details Sku *Sku `json:"sku,omitempty"` - // AccessPolicies - An array of 0 to 16 identities that have access to the key vault. All identities in the array must use the same tenant ID as the key vault's tenant ID. + // AccessPolicies - An array of 0 to 16 identities that have access to the key vault. All identities in the array must use the same tenant ID as the key vault's tenant ID. When `createMode` is set to `recover`, access policies are not required. Otherwise, access policies are required. AccessPolicies *[]AccessPolicyEntry `json:"accessPolicies,omitempty"` // VaultURI - The URI of the vault for performing operations on keys and secrets. VaultURI *string `json:"vaultUri,omitempty"`