From 988abc32c863bec48d31a5b2e3a29bbd1696329b Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Fri, 17 Mar 2023 18:27:14 +0000 Subject: [PATCH] CodeGen from PR 22967 in Azure/azure-rest-api-specs Merge f8844a5c321dc6c7f7966ad0a76bfc310af9cdff into 5e214177eb252d0f7e3198f80e3658a746f5d8cf --- .../Azure.ResourceManager.PostgreSql.netstandard2.0.cs | 2 +- .../Models/PostgreSqlFlexibleServerDataEncryption.cs | 4 ++-- .../Generated/Models/PostgreSqlFlexibleServerKeyType.cs | 8 ++++---- .../Azure.ResourceManager.PostgreSql/src/autorest.md | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/sdk/postgresql/Azure.ResourceManager.PostgreSql/api/Azure.ResourceManager.PostgreSql.netstandard2.0.cs b/sdk/postgresql/Azure.ResourceManager.PostgreSql/api/Azure.ResourceManager.PostgreSql.netstandard2.0.cs index 7c02cf257eda9..6b2ed6d4d670e 100644 --- a/sdk/postgresql/Azure.ResourceManager.PostgreSql/api/Azure.ResourceManager.PostgreSql.netstandard2.0.cs +++ b/sdk/postgresql/Azure.ResourceManager.PostgreSql/api/Azure.ResourceManager.PostgreSql.netstandard2.0.cs @@ -990,7 +990,7 @@ internal PostgreSqlFlexibleServerHyperscaleNodeEditionCapability() { } private readonly int _dummyPrimitive; public PostgreSqlFlexibleServerKeyType(string value) { throw null; } public static Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerKeyType AzureKeyVault { get { throw null; } } - public static Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerKeyType SystemAssigned { get { throw null; } } + public static Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerKeyType SystemManaged { get { throw null; } } public bool Equals(Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerKeyType other) { throw null; } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override bool Equals(object obj) { throw null; } diff --git a/sdk/postgresql/Azure.ResourceManager.PostgreSql/src/PostgreSqlFlexibleServers/Generated/Models/PostgreSqlFlexibleServerDataEncryption.cs b/sdk/postgresql/Azure.ResourceManager.PostgreSql/src/PostgreSqlFlexibleServers/Generated/Models/PostgreSqlFlexibleServerDataEncryption.cs index 365884adabb4e..111c992ac848d 100644 --- a/sdk/postgresql/Azure.ResourceManager.PostgreSql/src/PostgreSqlFlexibleServers/Generated/Models/PostgreSqlFlexibleServerDataEncryption.cs +++ b/sdk/postgresql/Azure.ResourceManager.PostgreSql/src/PostgreSqlFlexibleServers/Generated/Models/PostgreSqlFlexibleServerDataEncryption.cs @@ -21,7 +21,7 @@ public PostgreSqlFlexibleServerDataEncryption() /// Initializes a new instance of PostgreSqlFlexibleServerDataEncryption. /// URI for the key for data encryption for primary server. /// Resource Id for the User assigned identity to be used for data encryption for primary server. - /// Data encryption type to depict if it is System assigned vs Azure Key vault. + /// Data encryption type to depict if it is System Managed vs Azure Key vault. internal PostgreSqlFlexibleServerDataEncryption(Uri primaryKeyUri, ResourceIdentifier primaryUserAssignedIdentityId, PostgreSqlFlexibleServerKeyType? keyType) { PrimaryKeyUri = primaryKeyUri; @@ -33,7 +33,7 @@ internal PostgreSqlFlexibleServerDataEncryption(Uri primaryKeyUri, ResourceIdent public Uri PrimaryKeyUri { get; set; } /// Resource Id for the User assigned identity to be used for data encryption for primary server. public ResourceIdentifier PrimaryUserAssignedIdentityId { get; set; } - /// Data encryption type to depict if it is System assigned vs Azure Key vault. + /// Data encryption type to depict if it is System Managed vs Azure Key vault. public PostgreSqlFlexibleServerKeyType? KeyType { get; set; } } } diff --git a/sdk/postgresql/Azure.ResourceManager.PostgreSql/src/PostgreSqlFlexibleServers/Generated/Models/PostgreSqlFlexibleServerKeyType.cs b/sdk/postgresql/Azure.ResourceManager.PostgreSql/src/PostgreSqlFlexibleServers/Generated/Models/PostgreSqlFlexibleServerKeyType.cs index 4c2c933963e9d..51613de146b09 100644 --- a/sdk/postgresql/Azure.ResourceManager.PostgreSql/src/PostgreSqlFlexibleServers/Generated/Models/PostgreSqlFlexibleServerKeyType.cs +++ b/sdk/postgresql/Azure.ResourceManager.PostgreSql/src/PostgreSqlFlexibleServers/Generated/Models/PostgreSqlFlexibleServerKeyType.cs @@ -10,7 +10,7 @@ namespace Azure.ResourceManager.PostgreSql.FlexibleServers.Models { - /// Data encryption type to depict if it is System assigned vs Azure Key vault. + /// Data encryption type to depict if it is System Managed vs Azure Key vault. public readonly partial struct PostgreSqlFlexibleServerKeyType : IEquatable { private readonly string _value; @@ -22,11 +22,11 @@ public PostgreSqlFlexibleServerKeyType(string value) _value = value ?? throw new ArgumentNullException(nameof(value)); } - private const string SystemAssignedValue = "SystemAssigned"; + private const string SystemManagedValue = "SystemManaged"; private const string AzureKeyVaultValue = "AzureKeyVault"; - /// SystemAssigned. - public static PostgreSqlFlexibleServerKeyType SystemAssigned { get; } = new PostgreSqlFlexibleServerKeyType(SystemAssignedValue); + /// SystemManaged. + public static PostgreSqlFlexibleServerKeyType SystemManaged { get; } = new PostgreSqlFlexibleServerKeyType(SystemManagedValue); /// AzureKeyVault. public static PostgreSqlFlexibleServerKeyType AzureKeyVault { get; } = new PostgreSqlFlexibleServerKeyType(AzureKeyVaultValue); /// Determines if two values are the same. diff --git a/sdk/postgresql/Azure.ResourceManager.PostgreSql/src/autorest.md b/sdk/postgresql/Azure.ResourceManager.PostgreSql/src/autorest.md index d97f998ed5891..cf2ddea56f2ce 100644 --- a/sdk/postgresql/Azure.ResourceManager.PostgreSql/src/autorest.md +++ b/sdk/postgresql/Azure.ResourceManager.PostgreSql/src/autorest.md @@ -21,7 +21,7 @@ batch: ``` yaml $(tag) == 'package-2020-01-01' namespace: Azure.ResourceManager.PostgreSql -require: https://github.com/Azure/azure-rest-api-specs/blob/eca38ee0caf445cb1e79c8e7bbaf9e1dca36479a/specification/postgresql/resource-manager/readme.md +require: /mnt/vss/_work/1/s/azure-rest-api-specs/specification/postgresql/resource-manager/readme.md output-folder: $(this-folder)/PostgreSql/Generated format-by-name-rules: @@ -146,7 +146,7 @@ directive: ``` yaml $(tag) == 'package-flexibleserver-2022-12-01' namespace: Azure.ResourceManager.PostgreSql.FlexibleServers -require: https://github.com/Azure/azure-rest-api-specs/blob/deba715c80b5b523a84d32fa2764c0f6e867b4d0/specification/postgresql/resource-manager/readme.md +require: /mnt/vss/_work/1/s/azure-rest-api-specs/specification/postgresql/resource-manager/readme.md output-folder: $(this-folder)/PostgreSqlFlexibleServers/Generated format-by-name-rules: