diff --git a/eng/Packages.Data.props b/eng/Packages.Data.props index b88751d2c4217..55228ca1da6cc 100644 --- a/eng/Packages.Data.props +++ b/eng/Packages.Data.props @@ -152,7 +152,7 @@ All should have PrivateAssets="All" set so they don't become package dependencies --> - + diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/AfdSecurityPolicyData.cs b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/AfdSecurityPolicyData.cs index a98d5c66b23a9..84377a45163c3 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/AfdSecurityPolicyData.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/AfdSecurityPolicyData.cs @@ -45,14 +45,14 @@ internal AfdSecurityPolicyData(ResourceIdentifier id, string name, Core.Resource /// object which contains security policy parameters. internal SecurityPolicyPropertiesParameters Parameters { get; set; } /// The type of the Security policy to create. - internal SecurityPolicyType ParametersSecurityPolicyType + internal SecurityPolicyType ParametersPolicyType { - get => Parameters is null ? default : Parameters.SecurityPolicyType; + get => Parameters is null ? default : Parameters.PolicyType; set { if (Parameters is null) Parameters = new SecurityPolicyPropertiesParameters(); - Parameters.SecurityPolicyType = value; + Parameters.PolicyType = value; } } } diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/PatchableAfdSecurityPolicyData.cs b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/PatchableAfdSecurityPolicyData.cs index 1c1d66a1e8c39..d2d603bf89a4d 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/PatchableAfdSecurityPolicyData.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/PatchableAfdSecurityPolicyData.cs @@ -18,14 +18,14 @@ public PatchableAfdSecurityPolicyData() /// object which contains security policy parameters. internal SecurityPolicyPropertiesParameters Parameters { get; set; } /// The type of the Security policy to create. - internal SecurityPolicyType ParametersSecurityPolicyType + internal SecurityPolicyType ParametersPolicyType { - get => Parameters is null ? default : Parameters.SecurityPolicyType; + get => Parameters is null ? default : Parameters.PolicyType; set { if (Parameters is null) Parameters = new SecurityPolicyPropertiesParameters(); - Parameters.SecurityPolicyType = value; + Parameters.PolicyType = value; } } } diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/SecurityPolicyProperties.cs b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/SecurityPolicyProperties.cs index 08622901bcbed..0f20b58bcb760 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/SecurityPolicyProperties.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/SecurityPolicyProperties.cs @@ -20,10 +20,10 @@ internal SecurityPolicyProperties() /// object which contains security policy parameters. internal SecurityPolicyPropertiesParameters Parameters { get; } /// The type of the Security policy to create. - internal SecurityPolicyType ParametersSecurityPolicyType + internal SecurityPolicyType ParametersPolicyType { - get => Parameters.SecurityPolicyType; - set => Parameters.SecurityPolicyType = value; + get => Parameters.PolicyType; + set => Parameters.PolicyType = value; } } } diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/SecurityPolicyPropertiesParameters.Serialization.cs b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/SecurityPolicyPropertiesParameters.Serialization.cs index 26a8cd3c3fa59..ddb73f743cc17 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/SecurityPolicyPropertiesParameters.Serialization.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/SecurityPolicyPropertiesParameters.Serialization.cs @@ -16,7 +16,7 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) { writer.WriteStartObject(); writer.WritePropertyName("type"); - writer.WriteStringValue(SecurityPolicyType.ToString()); + writer.WriteStringValue(PolicyType.ToString()); writer.WriteEndObject(); } diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/SecurityPolicyPropertiesParameters.cs b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/SecurityPolicyPropertiesParameters.cs index cb395528a9744..85172c913208b 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/SecurityPolicyPropertiesParameters.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/SecurityPolicyPropertiesParameters.cs @@ -16,13 +16,13 @@ public SecurityPolicyPropertiesParameters() } /// Initializes a new instance of SecurityPolicyPropertiesParameters. - /// The type of the Security policy to create. - internal SecurityPolicyPropertiesParameters(SecurityPolicyType securityPolicyType) + /// The type of the Security policy to create. + internal SecurityPolicyPropertiesParameters(SecurityPolicyType policyType) { - SecurityPolicyType = securityPolicyType; + PolicyType = policyType; } /// The type of the Security policy to create. - internal SecurityPolicyType SecurityPolicyType { get; set; } + internal SecurityPolicyType PolicyType { get; set; } } } diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/SecurityPolicyWebApplicationFirewallParameters.Serialization.cs b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/SecurityPolicyWebApplicationFirewallParameters.Serialization.cs index c22b30d860103..5328e9fd20d2e 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/SecurityPolicyWebApplicationFirewallParameters.Serialization.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/SecurityPolicyWebApplicationFirewallParameters.Serialization.cs @@ -33,7 +33,7 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WriteEndArray(); } writer.WritePropertyName("type"); - writer.WriteStringValue(SecurityPolicyType.ToString()); + writer.WriteStringValue(PolicyType.ToString()); writer.WriteEndObject(); } diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/SecurityPolicyWebApplicationFirewallParameters.cs b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/SecurityPolicyWebApplicationFirewallParameters.cs index 083388be03647..415dc4d28f72c 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/SecurityPolicyWebApplicationFirewallParameters.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/SecurityPolicyWebApplicationFirewallParameters.cs @@ -18,18 +18,18 @@ internal partial class SecurityPolicyWebApplicationFirewallParameters : Security public SecurityPolicyWebApplicationFirewallParameters() { Associations = new ChangeTrackingList(); - SecurityPolicyType = SecurityPolicyType.WebApplicationFirewall; + PolicyType = SecurityPolicyType.WebApplicationFirewall; } /// Initializes a new instance of SecurityPolicyWebApplicationFirewallParameters. - /// The type of the Security policy to create. + /// The type of the Security policy to create. /// Resource ID. /// Waf associations. - internal SecurityPolicyWebApplicationFirewallParameters(SecurityPolicyType securityPolicyType, WritableSubResource wafPolicy, IList associations) : base(securityPolicyType) + internal SecurityPolicyWebApplicationFirewallParameters(SecurityPolicyType policyType, WritableSubResource wafPolicy, IList associations) : base(policyType) { WafPolicy = wafPolicy; Associations = associations; - SecurityPolicyType = securityPolicyType; + PolicyType = policyType; } /// Resource ID. diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/tests/Helper/ResourceDataHelper.cs b/sdk/cdn/Azure.ResourceManager.Cdn/tests/Helper/ResourceDataHelper.cs index 0cbef96972b53..4c1a6a234e004 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/tests/Helper/ResourceDataHelper.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/tests/Helper/ResourceDataHelper.cs @@ -488,7 +488,7 @@ public static void AssertValidAfdSecurityPolicy(AfdSecurityPolicyResource model, Assert.AreEqual(model.Data.ResourceType, getResult.Data.ResourceType); Assert.AreEqual(model.Data.ProvisioningState, getResult.Data.ProvisioningState); Assert.AreEqual(model.Data.DeploymentStatus, getResult.Data.DeploymentStatus); - Assert.AreEqual(model.Data.Parameters.SecurityPolicyType, getResult.Data.Parameters.SecurityPolicyType); + Assert.AreEqual(model.Data.Parameters.PolicyType, getResult.Data.Parameters.PolicyType); } public static void AssertAfdSecurityPolicyUpdate(AfdSecurityPolicyResource updatedSecurityPolicy, PatchableAfdSecurityPolicyData updateOptions) diff --git a/sdk/compute/Azure.ResourceManager.Compute/api/Azure.ResourceManager.Compute.netstandard2.0.cs b/sdk/compute/Azure.ResourceManager.Compute/api/Azure.ResourceManager.Compute.netstandard2.0.cs index c6b86cf24bddc..f94c658a59c7d 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/api/Azure.ResourceManager.Compute.netstandard2.0.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/api/Azure.ResourceManager.Compute.netstandard2.0.cs @@ -4305,8 +4305,8 @@ public partial class ResourceSkuRestrictions { internal ResourceSkuRestrictions() { } public Azure.ResourceManager.Compute.Models.ResourceSkuRestrictionsReasonCode? ReasonCode { get { throw null; } } - public Azure.ResourceManager.Compute.Models.ResourceSkuRestrictionsType? ResourceSkuRestrictionsType { get { throw null; } } public Azure.ResourceManager.Compute.Models.ResourceSkuRestrictionInfo RestrictionInfo { get { throw null; } } + public Azure.ResourceManager.Compute.Models.ResourceSkuRestrictionsType? RestrictionsType { get { throw null; } } public System.Collections.Generic.IReadOnlyList Values { get { throw null; } } } public enum ResourceSkuRestrictionsReasonCode @@ -4581,8 +4581,8 @@ public SharingProfile() { } public partial class SharingProfileGroup { public SharingProfileGroup() { } + public Azure.ResourceManager.Compute.Models.SharingProfileGroupTypes? GroupType { get { throw null; } set { } } public System.Collections.Generic.IList Ids { get { throw null; } } - public Azure.ResourceManager.Compute.Models.SharingProfileGroupTypes? SharingProfileGroupType { get { throw null; } set { } } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct SharingProfileGroupTypes : System.IEquatable diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/ResourceSkuRestrictions.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/ResourceSkuRestrictions.cs index af6931e0e1e0f..7fda43d021b4a 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/ResourceSkuRestrictions.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/ResourceSkuRestrictions.cs @@ -20,20 +20,20 @@ internal ResourceSkuRestrictions() } /// Initializes a new instance of ResourceSkuRestrictions. - /// The type of restrictions. + /// The type of restrictions. /// The value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted. /// The information about the restriction where the SKU cannot be used. /// The reason for restriction. - internal ResourceSkuRestrictions(ResourceSkuRestrictionsType? resourceSkuRestrictionsType, IReadOnlyList values, ResourceSkuRestrictionInfo restrictionInfo, ResourceSkuRestrictionsReasonCode? reasonCode) + internal ResourceSkuRestrictions(ResourceSkuRestrictionsType? restrictionsType, IReadOnlyList values, ResourceSkuRestrictionInfo restrictionInfo, ResourceSkuRestrictionsReasonCode? reasonCode) { - ResourceSkuRestrictionsType = resourceSkuRestrictionsType; + RestrictionsType = restrictionsType; Values = values; RestrictionInfo = restrictionInfo; ReasonCode = reasonCode; } /// The type of restrictions. - public ResourceSkuRestrictionsType? ResourceSkuRestrictionsType { get; } + public ResourceSkuRestrictionsType? RestrictionsType { get; } /// The value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted. public IReadOnlyList Values { get; } /// The information about the restriction where the SKU cannot be used. diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/SharingProfileGroup.Serialization.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/SharingProfileGroup.Serialization.cs index 369aab1c43382..7a5cfb299ad54 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/SharingProfileGroup.Serialization.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/SharingProfileGroup.Serialization.cs @@ -16,10 +16,10 @@ public partial class SharingProfileGroup : IUtf8JsonSerializable void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) { writer.WriteStartObject(); - if (Optional.IsDefined(SharingProfileGroupType)) + if (Optional.IsDefined(GroupType)) { writer.WritePropertyName("type"); - writer.WriteStringValue(SharingProfileGroupType.Value.ToString()); + writer.WriteStringValue(GroupType.Value.ToString()); } if (Optional.IsCollectionDefined(Ids)) { diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/SharingProfileGroup.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/SharingProfileGroup.cs index fe011cbe7b7ff..19e0309a50361 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/SharingProfileGroup.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/SharingProfileGroup.cs @@ -20,16 +20,16 @@ public SharingProfileGroup() } /// Initializes a new instance of SharingProfileGroup. - /// This property allows you to specify the type of sharing group. <br><br> Possible values are: <br><br> **Subscriptions** <br><br> **AADTenants**. + /// This property allows you to specify the type of sharing group. <br><br> Possible values are: <br><br> **Subscriptions** <br><br> **AADTenants**. /// A list of subscription/tenant ids the gallery is aimed to be shared to. - internal SharingProfileGroup(SharingProfileGroupTypes? sharingProfileGroupType, IList ids) + internal SharingProfileGroup(SharingProfileGroupTypes? groupType, IList ids) { - SharingProfileGroupType = sharingProfileGroupType; + GroupType = groupType; Ids = ids; } /// This property allows you to specify the type of sharing group. <br><br> Possible values are: <br><br> **Subscriptions** <br><br> **AADTenants**. - public SharingProfileGroupTypes? SharingProfileGroupType { get; set; } + public SharingProfileGroupTypes? GroupType { get; set; } /// A list of subscription/tenant ids the gallery is aimed to be shared to. public IList Ids { get; } } diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/BackupPolicy.Serialization.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/BackupPolicy.Serialization.cs index d0183acecde46..30cfdf6515571 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/BackupPolicy.Serialization.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/BackupPolicy.Serialization.cs @@ -16,7 +16,7 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) { writer.WriteStartObject(); writer.WritePropertyName("type"); - writer.WriteStringValue(BackupPolicyType.ToString()); + writer.WriteStringValue(PolicyType.ToString()); if (Optional.IsDefined(MigrationState)) { writer.WritePropertyName("migrationState"); diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/BackupPolicy.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/BackupPolicy.cs index 9605aabdaeb16..f8a48acbd2817 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/BackupPolicy.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/BackupPolicy.cs @@ -16,16 +16,16 @@ public BackupPolicy() } /// Initializes a new instance of BackupPolicy. - /// Describes the mode of backups. + /// Describes the mode of backups. /// The object representing the state of the migration between the backup policies. - internal BackupPolicy(BackupPolicyType backupPolicyType, BackupPolicyMigrationState migrationState) + internal BackupPolicy(BackupPolicyType policyType, BackupPolicyMigrationState migrationState) { - BackupPolicyType = backupPolicyType; + PolicyType = policyType; MigrationState = migrationState; } /// Describes the mode of backups. - internal BackupPolicyType BackupPolicyType { get; set; } + internal BackupPolicyType PolicyType { get; set; } /// The object representing the state of the migration between the backup policies. public BackupPolicyMigrationState MigrationState { get; set; } } diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/ContinuousModeBackupPolicy.Serialization.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/ContinuousModeBackupPolicy.Serialization.cs index f47e30576bf47..fc2218e39f661 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/ContinuousModeBackupPolicy.Serialization.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/ContinuousModeBackupPolicy.Serialization.cs @@ -16,7 +16,7 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) { writer.WriteStartObject(); writer.WritePropertyName("type"); - writer.WriteStringValue(BackupPolicyType.ToString()); + writer.WriteStringValue(PolicyType.ToString()); if (Optional.IsDefined(MigrationState)) { writer.WritePropertyName("migrationState"); diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/ContinuousModeBackupPolicy.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/ContinuousModeBackupPolicy.cs index b818287849411..f71bd6608e791 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/ContinuousModeBackupPolicy.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/ContinuousModeBackupPolicy.cs @@ -13,15 +13,15 @@ public partial class ContinuousModeBackupPolicy : BackupPolicy /// Initializes a new instance of ContinuousModeBackupPolicy. public ContinuousModeBackupPolicy() { - BackupPolicyType = BackupPolicyType.Continuous; + PolicyType = BackupPolicyType.Continuous; } /// Initializes a new instance of ContinuousModeBackupPolicy. - /// Describes the mode of backups. + /// Describes the mode of backups. /// The object representing the state of the migration between the backup policies. - internal ContinuousModeBackupPolicy(BackupPolicyType backupPolicyType, BackupPolicyMigrationState migrationState) : base(backupPolicyType, migrationState) + internal ContinuousModeBackupPolicy(BackupPolicyType policyType, BackupPolicyMigrationState migrationState) : base(policyType, migrationState) { - BackupPolicyType = backupPolicyType; + PolicyType = policyType; } } } diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/PeriodicModeBackupPolicy.Serialization.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/PeriodicModeBackupPolicy.Serialization.cs index 1ae1f43688983..96fb16ebd6b63 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/PeriodicModeBackupPolicy.Serialization.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/PeriodicModeBackupPolicy.Serialization.cs @@ -21,7 +21,7 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WriteObjectValue(PeriodicModeProperties); } writer.WritePropertyName("type"); - writer.WriteStringValue(BackupPolicyType.ToString()); + writer.WriteStringValue(PolicyType.ToString()); if (Optional.IsDefined(MigrationState)) { writer.WritePropertyName("migrationState"); diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/PeriodicModeBackupPolicy.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/PeriodicModeBackupPolicy.cs index 464ff63bbe7c7..0472f8973b11e 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/PeriodicModeBackupPolicy.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/PeriodicModeBackupPolicy.cs @@ -13,17 +13,17 @@ public partial class PeriodicModeBackupPolicy : BackupPolicy /// Initializes a new instance of PeriodicModeBackupPolicy. public PeriodicModeBackupPolicy() { - BackupPolicyType = BackupPolicyType.Periodic; + PolicyType = BackupPolicyType.Periodic; } /// Initializes a new instance of PeriodicModeBackupPolicy. - /// Describes the mode of backups. + /// Describes the mode of backups. /// The object representing the state of the migration between the backup policies. /// Configuration values for periodic mode backup. - internal PeriodicModeBackupPolicy(BackupPolicyType backupPolicyType, BackupPolicyMigrationState migrationState, PeriodicModeProperties periodicModeProperties) : base(backupPolicyType, migrationState) + internal PeriodicModeBackupPolicy(BackupPolicyType policyType, BackupPolicyMigrationState migrationState, PeriodicModeProperties periodicModeProperties) : base(policyType, migrationState) { PeriodicModeProperties = periodicModeProperties; - BackupPolicyType = backupPolicyType; + PolicyType = policyType; } /// Configuration values for periodic mode backup. diff --git a/sdk/network/Azure.ResourceManager.Network/api/Azure.ResourceManager.Network.netstandard2.0.cs b/sdk/network/Azure.ResourceManager.Network/api/Azure.ResourceManager.Network.netstandard2.0.cs index f083502ceac10..6190c5f342de2 100644 --- a/sdk/network/Azure.ResourceManager.Network/api/Azure.ResourceManager.Network.netstandard2.0.cs +++ b/sdk/network/Azure.ResourceManager.Network/api/Azure.ResourceManager.Network.netstandard2.0.cs @@ -5356,7 +5356,7 @@ public AzureFirewallApplicationRule() { } public partial class AzureFirewallApplicationRuleCollection : Azure.ResourceManager.Network.Models.SubResource { public AzureFirewallApplicationRuleCollection() { } - public Azure.ResourceManager.Network.Models.AzureFirewallRCActionType? AzureFirewallRCActionType { get { throw null; } set { } } + public Azure.ResourceManager.Network.Models.AzureFirewallRCActionType? ActionType { get { throw null; } set { } } public string Etag { get { throw null; } } public string Name { get { throw null; } set { } } public int? Priority { get { throw null; } set { } } @@ -5447,7 +5447,7 @@ public AzureFirewallNatRule() { } public partial class AzureFirewallNatRuleCollection : Azure.ResourceManager.Network.Models.SubResource { public AzureFirewallNatRuleCollection() { } - public Azure.ResourceManager.Network.Models.AzureFirewallNatRCActionType? AzureFirewallNatRCActionType { get { throw null; } set { } } + public Azure.ResourceManager.Network.Models.AzureFirewallNatRCActionType? ActionType { get { throw null; } set { } } public string Etag { get { throw null; } } public string Name { get { throw null; } set { } } public int? Priority { get { throw null; } set { } } @@ -5470,7 +5470,7 @@ public AzureFirewallNetworkRule() { } public partial class AzureFirewallNetworkRuleCollection : Azure.ResourceManager.Network.Models.SubResource { public AzureFirewallNetworkRuleCollection() { } - public Azure.ResourceManager.Network.Models.AzureFirewallRCActionType? AzureFirewallRCActionType { get { throw null; } set { } } + public Azure.ResourceManager.Network.Models.AzureFirewallRCActionType? ActionType { get { throw null; } set { } } public string Etag { get { throw null; } } public string Name { get { throw null; } set { } } public int? Priority { get { throw null; } set { } } @@ -5782,14 +5782,14 @@ public ConnectionMonitorEndpoint(string name) { } public partial class ConnectionMonitorEndpointFilter { public ConnectionMonitorEndpointFilter() { } - public Azure.ResourceManager.Network.Models.ConnectionMonitorEndpointFilterType? ConnectionMonitorEndpointFilterType { get { throw null; } set { } } + public Azure.ResourceManager.Network.Models.ConnectionMonitorEndpointFilterType? FilterType { get { throw null; } set { } } public System.Collections.Generic.IList Items { get { throw null; } } } public partial class ConnectionMonitorEndpointFilterItem { public ConnectionMonitorEndpointFilterItem() { } public string Address { get { throw null; } set { } } - public Azure.ResourceManager.Network.Models.ConnectionMonitorEndpointFilterItemType? ConnectionMonitorEndpointFilterItemType { get { throw null; } set { } } + public Azure.ResourceManager.Network.Models.ConnectionMonitorEndpointFilterItemType? ItemType { get { throw null; } set { } } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct ConnectionMonitorEndpointFilterItemType : System.IEquatable @@ -6849,7 +6849,7 @@ public FirewallPolicyCertificateAuthority() { } public partial class FirewallPolicyFilterRuleCollection : Azure.ResourceManager.Network.Models.FirewallPolicyRuleCollection { public FirewallPolicyFilterRuleCollection() { } - public Azure.ResourceManager.Network.Models.FirewallPolicyFilterRuleCollectionActionType? FirewallPolicyFilterRuleCollectionActionType { get { throw null; } set { } } + public Azure.ResourceManager.Network.Models.FirewallPolicyFilterRuleCollectionActionType? ActionType { get { throw null; } set { } } public System.Collections.Generic.IList Rules { get { throw null; } } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] @@ -6961,7 +6961,7 @@ public FirewallPolicyLogAnalyticsWorkspace() { } public partial class FirewallPolicyNatRuleCollection : Azure.ResourceManager.Network.Models.FirewallPolicyRuleCollection { public FirewallPolicyNatRuleCollection() { } - public Azure.ResourceManager.Network.Models.FirewallPolicyNatRuleCollectionActionType? FirewallPolicyNatRuleCollectionActionType { get { throw null; } set { } } + public Azure.ResourceManager.Network.Models.FirewallPolicyNatRuleCollectionActionType? ActionType { get { throw null; } set { } } public System.Collections.Generic.IList Rules { get { throw null; } } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] @@ -7064,7 +7064,7 @@ public FirewallPolicyThreatIntelWhitelist() { } public partial class FlowLogFormatParameters { public FlowLogFormatParameters() { } - public Azure.ResourceManager.Network.Models.FlowLogFormatType? FlowLogFormatType { get { throw null; } set { } } + public Azure.ResourceManager.Network.Models.FlowLogFormatType? FormatType { get { throw null; } set { } } public int? Version { get { throw null; } set { } } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] @@ -7102,8 +7102,8 @@ public FlowLogStatusParameters(string targetResourceId) { } public partial class GatewayLoadBalancerTunnelInterface { public GatewayLoadBalancerTunnelInterface() { } - public Azure.ResourceManager.Network.Models.GatewayLoadBalancerTunnelInterfaceType? GatewayLoadBalancerTunnelInterfaceType { get { throw null; } set { } } public int? Identifier { get { throw null; } set { } } + public Azure.ResourceManager.Network.Models.GatewayLoadBalancerTunnelInterfaceType? InterfaceType { get { throw null; } set { } } public int? Port { get { throw null; } set { } } public Azure.ResourceManager.Network.Models.GatewayLoadBalancerTunnelProtocol? Protocol { get { throw null; } set { } } } @@ -9424,8 +9424,8 @@ public partial class VirtualWanSecurityProvider { internal VirtualWanSecurityProvider() { } public string Name { get { throw null; } } + public Azure.ResourceManager.Network.Models.VirtualWanSecurityProviderType? ProviderType { get { throw null; } } public System.Uri Uri { get { throw null; } } - public Azure.ResourceManager.Network.Models.VirtualWanSecurityProviderType? VirtualWanSecurityProviderType { get { throw null; } } } public partial class VirtualWanSecurityProviders { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AzureFirewallApplicationRuleCollection.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AzureFirewallApplicationRuleCollection.cs index bddb2424cb87e..8fa409b1b5d17 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AzureFirewallApplicationRuleCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AzureFirewallApplicationRuleCollection.cs @@ -46,14 +46,14 @@ internal AzureFirewallApplicationRuleCollection(string id, string name, string e /// The action type of a rule collection. internal AzureFirewallRCAction Action { get; set; } /// The type of action. - public AzureFirewallRCActionType? AzureFirewallRCActionType + public AzureFirewallRCActionType? ActionType { - get => Action is null ? default : Action.AzureFirewallRCActionType; + get => Action is null ? default : Action.ActionType; set { if (Action is null) Action = new AzureFirewallRCAction(); - Action.AzureFirewallRCActionType = value; + Action.ActionType = value; } } diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AzureFirewallNatRCAction.Serialization.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AzureFirewallNatRCAction.Serialization.cs index 1c2b6aca0edab..7030371470715 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AzureFirewallNatRCAction.Serialization.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AzureFirewallNatRCAction.Serialization.cs @@ -15,10 +15,10 @@ internal partial class AzureFirewallNatRCAction : IUtf8JsonSerializable void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) { writer.WriteStartObject(); - if (Optional.IsDefined(AzureFirewallNatRCActionType)) + if (Optional.IsDefined(ActionType)) { writer.WritePropertyName("type"); - writer.WriteStringValue(AzureFirewallNatRCActionType.Value.ToString()); + writer.WriteStringValue(ActionType.Value.ToString()); } writer.WriteEndObject(); } diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AzureFirewallNatRCAction.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AzureFirewallNatRCAction.cs index 1fefb14e5d198..c32992306b704 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AzureFirewallNatRCAction.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AzureFirewallNatRCAction.cs @@ -16,13 +16,13 @@ public AzureFirewallNatRCAction() } /// Initializes a new instance of AzureFirewallNatRCAction. - /// The type of action. - internal AzureFirewallNatRCAction(AzureFirewallNatRCActionType? azureFirewallNatRCActionType) + /// The type of action. + internal AzureFirewallNatRCAction(AzureFirewallNatRCActionType? actionType) { - AzureFirewallNatRCActionType = azureFirewallNatRCActionType; + ActionType = actionType; } /// The type of action. - public AzureFirewallNatRCActionType? AzureFirewallNatRCActionType { get; set; } + public AzureFirewallNatRCActionType? ActionType { get; set; } } } diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AzureFirewallNatRuleCollection.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AzureFirewallNatRuleCollection.cs index 0e4429e9a0941..524dde97f52f9 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AzureFirewallNatRuleCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AzureFirewallNatRuleCollection.cs @@ -46,14 +46,14 @@ internal AzureFirewallNatRuleCollection(string id, string name, string etag, int /// The action type of a NAT rule collection. internal AzureFirewallNatRCAction Action { get; set; } /// The type of action. - public AzureFirewallNatRCActionType? AzureFirewallNatRCActionType + public AzureFirewallNatRCActionType? ActionType { - get => Action is null ? default : Action.AzureFirewallNatRCActionType; + get => Action is null ? default : Action.ActionType; set { if (Action is null) Action = new AzureFirewallNatRCAction(); - Action.AzureFirewallNatRCActionType = value; + Action.ActionType = value; } } diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AzureFirewallNetworkRuleCollection.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AzureFirewallNetworkRuleCollection.cs index b06c418ca7399..02376296c4976 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AzureFirewallNetworkRuleCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AzureFirewallNetworkRuleCollection.cs @@ -46,14 +46,14 @@ internal AzureFirewallNetworkRuleCollection(string id, string name, string etag, /// The action type of a rule collection. internal AzureFirewallRCAction Action { get; set; } /// The type of action. - public AzureFirewallRCActionType? AzureFirewallRCActionType + public AzureFirewallRCActionType? ActionType { - get => Action is null ? default : Action.AzureFirewallRCActionType; + get => Action is null ? default : Action.ActionType; set { if (Action is null) Action = new AzureFirewallRCAction(); - Action.AzureFirewallRCActionType = value; + Action.ActionType = value; } } diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AzureFirewallRCAction.Serialization.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AzureFirewallRCAction.Serialization.cs index b41b73c7197f3..5c0eea434aaab 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AzureFirewallRCAction.Serialization.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AzureFirewallRCAction.Serialization.cs @@ -15,10 +15,10 @@ internal partial class AzureFirewallRCAction : IUtf8JsonSerializable void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) { writer.WriteStartObject(); - if (Optional.IsDefined(AzureFirewallRCActionType)) + if (Optional.IsDefined(ActionType)) { writer.WritePropertyName("type"); - writer.WriteStringValue(AzureFirewallRCActionType.Value.ToString()); + writer.WriteStringValue(ActionType.Value.ToString()); } writer.WriteEndObject(); } diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AzureFirewallRCAction.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AzureFirewallRCAction.cs index a69b7b06a0833..a983361503e86 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AzureFirewallRCAction.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AzureFirewallRCAction.cs @@ -16,13 +16,13 @@ public AzureFirewallRCAction() } /// Initializes a new instance of AzureFirewallRCAction. - /// The type of action. - internal AzureFirewallRCAction(AzureFirewallRCActionType? azureFirewallRCActionType) + /// The type of action. + internal AzureFirewallRCAction(AzureFirewallRCActionType? actionType) { - AzureFirewallRCActionType = azureFirewallRCActionType; + ActionType = actionType; } /// The type of action. - public AzureFirewallRCActionType? AzureFirewallRCActionType { get; set; } + public AzureFirewallRCActionType? ActionType { get; set; } } } diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ConnectionMonitorEndpointFilter.Serialization.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ConnectionMonitorEndpointFilter.Serialization.cs index 0c9239b3fa986..fd04cd9511562 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ConnectionMonitorEndpointFilter.Serialization.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ConnectionMonitorEndpointFilter.Serialization.cs @@ -16,10 +16,10 @@ public partial class ConnectionMonitorEndpointFilter : IUtf8JsonSerializable void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) { writer.WriteStartObject(); - if (Optional.IsDefined(ConnectionMonitorEndpointFilterType)) + if (Optional.IsDefined(FilterType)) { writer.WritePropertyName("type"); - writer.WriteStringValue(ConnectionMonitorEndpointFilterType.Value.ToString()); + writer.WriteStringValue(FilterType.Value.ToString()); } if (Optional.IsCollectionDefined(Items)) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ConnectionMonitorEndpointFilter.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ConnectionMonitorEndpointFilter.cs index b73a871ba56c9..b0a5d44a5deb3 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ConnectionMonitorEndpointFilter.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ConnectionMonitorEndpointFilter.cs @@ -20,16 +20,16 @@ public ConnectionMonitorEndpointFilter() } /// Initializes a new instance of ConnectionMonitorEndpointFilter. - /// The behavior of the endpoint filter. Currently only 'Include' is supported. + /// The behavior of the endpoint filter. Currently only 'Include' is supported. /// List of items in the filter. - internal ConnectionMonitorEndpointFilter(ConnectionMonitorEndpointFilterType? connectionMonitorEndpointFilterType, IList items) + internal ConnectionMonitorEndpointFilter(ConnectionMonitorEndpointFilterType? filterType, IList items) { - ConnectionMonitorEndpointFilterType = connectionMonitorEndpointFilterType; + FilterType = filterType; Items = items; } /// The behavior of the endpoint filter. Currently only 'Include' is supported. - public ConnectionMonitorEndpointFilterType? ConnectionMonitorEndpointFilterType { get; set; } + public ConnectionMonitorEndpointFilterType? FilterType { get; set; } /// List of items in the filter. public IList Items { get; } } diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ConnectionMonitorEndpointFilterItem.Serialization.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ConnectionMonitorEndpointFilterItem.Serialization.cs index fd9717053c018..0c73b674c79e9 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ConnectionMonitorEndpointFilterItem.Serialization.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ConnectionMonitorEndpointFilterItem.Serialization.cs @@ -15,10 +15,10 @@ public partial class ConnectionMonitorEndpointFilterItem : IUtf8JsonSerializable void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) { writer.WriteStartObject(); - if (Optional.IsDefined(ConnectionMonitorEndpointFilterItemType)) + if (Optional.IsDefined(ItemType)) { writer.WritePropertyName("type"); - writer.WriteStringValue(ConnectionMonitorEndpointFilterItemType.Value.ToString()); + writer.WriteStringValue(ItemType.Value.ToString()); } if (Optional.IsDefined(Address)) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ConnectionMonitorEndpointFilterItem.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ConnectionMonitorEndpointFilterItem.cs index 3ff9e5158d616..51194f6b3a8e4 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ConnectionMonitorEndpointFilterItem.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ConnectionMonitorEndpointFilterItem.cs @@ -16,16 +16,16 @@ public ConnectionMonitorEndpointFilterItem() } /// Initializes a new instance of ConnectionMonitorEndpointFilterItem. - /// The type of item included in the filter. Currently only 'AgentAddress' is supported. + /// The type of item included in the filter. Currently only 'AgentAddress' is supported. /// The address of the filter item. - internal ConnectionMonitorEndpointFilterItem(ConnectionMonitorEndpointFilterItemType? connectionMonitorEndpointFilterItemType, string address) + internal ConnectionMonitorEndpointFilterItem(ConnectionMonitorEndpointFilterItemType? itemType, string address) { - ConnectionMonitorEndpointFilterItemType = connectionMonitorEndpointFilterItemType; + ItemType = itemType; Address = address; } /// The type of item included in the filter. Currently only 'AgentAddress' is supported. - public ConnectionMonitorEndpointFilterItemType? ConnectionMonitorEndpointFilterItemType { get; set; } + public ConnectionMonitorEndpointFilterItemType? ItemType { get; set; } /// The address of the filter item. public string Address { get; set; } } diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/FirewallPolicyFilterRuleCollection.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/FirewallPolicyFilterRuleCollection.cs index f7802ebf18410..5071ce4c38db5 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/FirewallPolicyFilterRuleCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/FirewallPolicyFilterRuleCollection.cs @@ -36,14 +36,14 @@ internal FirewallPolicyFilterRuleCollection(FirewallPolicyRuleCollectionType rul /// The action type of a Filter rule collection. internal FirewallPolicyFilterRuleCollectionAction Action { get; set; } /// The type of action. - public FirewallPolicyFilterRuleCollectionActionType? FirewallPolicyFilterRuleCollectionActionType + public FirewallPolicyFilterRuleCollectionActionType? ActionType { - get => Action is null ? default : Action.FirewallPolicyFilterRuleCollectionActionType; + get => Action is null ? default : Action.ActionType; set { if (Action is null) Action = new FirewallPolicyFilterRuleCollectionAction(); - Action.FirewallPolicyFilterRuleCollectionActionType = value; + Action.ActionType = value; } } diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/FirewallPolicyFilterRuleCollectionAction.Serialization.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/FirewallPolicyFilterRuleCollectionAction.Serialization.cs index b7e1ead82a716..fceb6f031ad62 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/FirewallPolicyFilterRuleCollectionAction.Serialization.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/FirewallPolicyFilterRuleCollectionAction.Serialization.cs @@ -15,10 +15,10 @@ internal partial class FirewallPolicyFilterRuleCollectionAction : IUtf8JsonSeria void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) { writer.WriteStartObject(); - if (Optional.IsDefined(FirewallPolicyFilterRuleCollectionActionType)) + if (Optional.IsDefined(ActionType)) { writer.WritePropertyName("type"); - writer.WriteStringValue(FirewallPolicyFilterRuleCollectionActionType.Value.ToString()); + writer.WriteStringValue(ActionType.Value.ToString()); } writer.WriteEndObject(); } diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/FirewallPolicyFilterRuleCollectionAction.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/FirewallPolicyFilterRuleCollectionAction.cs index 0a54b9bec924e..fe3eb3269cab3 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/FirewallPolicyFilterRuleCollectionAction.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/FirewallPolicyFilterRuleCollectionAction.cs @@ -16,13 +16,13 @@ public FirewallPolicyFilterRuleCollectionAction() } /// Initializes a new instance of FirewallPolicyFilterRuleCollectionAction. - /// The type of action. - internal FirewallPolicyFilterRuleCollectionAction(FirewallPolicyFilterRuleCollectionActionType? firewallPolicyFilterRuleCollectionActionType) + /// The type of action. + internal FirewallPolicyFilterRuleCollectionAction(FirewallPolicyFilterRuleCollectionActionType? actionType) { - FirewallPolicyFilterRuleCollectionActionType = firewallPolicyFilterRuleCollectionActionType; + ActionType = actionType; } /// The type of action. - public FirewallPolicyFilterRuleCollectionActionType? FirewallPolicyFilterRuleCollectionActionType { get; set; } + public FirewallPolicyFilterRuleCollectionActionType? ActionType { get; set; } } } diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/FirewallPolicyNatRuleCollection.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/FirewallPolicyNatRuleCollection.cs index debf75a404134..f292920c9ee7c 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/FirewallPolicyNatRuleCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/FirewallPolicyNatRuleCollection.cs @@ -36,14 +36,14 @@ internal FirewallPolicyNatRuleCollection(FirewallPolicyRuleCollectionType ruleCo /// The action type of a Nat rule collection. internal FirewallPolicyNatRuleCollectionAction Action { get; set; } /// The type of action. - public FirewallPolicyNatRuleCollectionActionType? FirewallPolicyNatRuleCollectionActionType + public FirewallPolicyNatRuleCollectionActionType? ActionType { - get => Action is null ? default : Action.FirewallPolicyNatRuleCollectionActionType; + get => Action is null ? default : Action.ActionType; set { if (Action is null) Action = new FirewallPolicyNatRuleCollectionAction(); - Action.FirewallPolicyNatRuleCollectionActionType = value; + Action.ActionType = value; } } diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/FirewallPolicyNatRuleCollectionAction.Serialization.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/FirewallPolicyNatRuleCollectionAction.Serialization.cs index 7fd76345dfd7e..c36cdd8c7d1d2 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/FirewallPolicyNatRuleCollectionAction.Serialization.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/FirewallPolicyNatRuleCollectionAction.Serialization.cs @@ -15,10 +15,10 @@ internal partial class FirewallPolicyNatRuleCollectionAction : IUtf8JsonSerializ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) { writer.WriteStartObject(); - if (Optional.IsDefined(FirewallPolicyNatRuleCollectionActionType)) + if (Optional.IsDefined(ActionType)) { writer.WritePropertyName("type"); - writer.WriteStringValue(FirewallPolicyNatRuleCollectionActionType.Value.ToString()); + writer.WriteStringValue(ActionType.Value.ToString()); } writer.WriteEndObject(); } diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/FirewallPolicyNatRuleCollectionAction.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/FirewallPolicyNatRuleCollectionAction.cs index 7d35c7ff9d163..8bfad41277125 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/FirewallPolicyNatRuleCollectionAction.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/FirewallPolicyNatRuleCollectionAction.cs @@ -16,13 +16,13 @@ public FirewallPolicyNatRuleCollectionAction() } /// Initializes a new instance of FirewallPolicyNatRuleCollectionAction. - /// The type of action. - internal FirewallPolicyNatRuleCollectionAction(FirewallPolicyNatRuleCollectionActionType? firewallPolicyNatRuleCollectionActionType) + /// The type of action. + internal FirewallPolicyNatRuleCollectionAction(FirewallPolicyNatRuleCollectionActionType? actionType) { - FirewallPolicyNatRuleCollectionActionType = firewallPolicyNatRuleCollectionActionType; + ActionType = actionType; } /// The type of action. - public FirewallPolicyNatRuleCollectionActionType? FirewallPolicyNatRuleCollectionActionType { get; set; } + public FirewallPolicyNatRuleCollectionActionType? ActionType { get; set; } } } diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/FlowLogFormatParameters.Serialization.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/FlowLogFormatParameters.Serialization.cs index c36d7ff17e921..20199074c9e41 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/FlowLogFormatParameters.Serialization.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/FlowLogFormatParameters.Serialization.cs @@ -15,10 +15,10 @@ public partial class FlowLogFormatParameters : IUtf8JsonSerializable void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) { writer.WriteStartObject(); - if (Optional.IsDefined(FlowLogFormatType)) + if (Optional.IsDefined(FormatType)) { writer.WritePropertyName("type"); - writer.WriteStringValue(FlowLogFormatType.Value.ToString()); + writer.WriteStringValue(FormatType.Value.ToString()); } if (Optional.IsDefined(Version)) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/FlowLogFormatParameters.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/FlowLogFormatParameters.cs index 49db07a455400..038385d3c12fc 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/FlowLogFormatParameters.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/FlowLogFormatParameters.cs @@ -16,16 +16,16 @@ public FlowLogFormatParameters() } /// Initializes a new instance of FlowLogFormatParameters. - /// The file type of flow log. + /// The file type of flow log. /// The version (revision) of the flow log. - internal FlowLogFormatParameters(FlowLogFormatType? flowLogFormatType, int? version) + internal FlowLogFormatParameters(FlowLogFormatType? formatType, int? version) { - FlowLogFormatType = flowLogFormatType; + FormatType = formatType; Version = version; } /// The file type of flow log. - public FlowLogFormatType? FlowLogFormatType { get; set; } + public FlowLogFormatType? FormatType { get; set; } /// The version (revision) of the flow log. public int? Version { get; set; } } diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/GatewayLoadBalancerTunnelInterface.Serialization.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/GatewayLoadBalancerTunnelInterface.Serialization.cs index f5006e0bf012f..4752ca9749b36 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/GatewayLoadBalancerTunnelInterface.Serialization.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/GatewayLoadBalancerTunnelInterface.Serialization.cs @@ -30,10 +30,10 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("protocol"); writer.WriteStringValue(Protocol.Value.ToString()); } - if (Optional.IsDefined(GatewayLoadBalancerTunnelInterfaceType)) + if (Optional.IsDefined(InterfaceType)) { writer.WritePropertyName("type"); - writer.WriteStringValue(GatewayLoadBalancerTunnelInterfaceType.Value.ToString()); + writer.WriteStringValue(InterfaceType.Value.ToString()); } writer.WriteEndObject(); } diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/GatewayLoadBalancerTunnelInterface.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/GatewayLoadBalancerTunnelInterface.cs index 5eac36988d73f..9b422b3c1d528 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/GatewayLoadBalancerTunnelInterface.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/GatewayLoadBalancerTunnelInterface.cs @@ -19,13 +19,13 @@ public GatewayLoadBalancerTunnelInterface() /// Port of gateway load balancer tunnel interface. /// Identifier of gateway load balancer tunnel interface. /// Protocol of gateway load balancer tunnel interface. - /// Traffic type of gateway load balancer tunnel interface. - internal GatewayLoadBalancerTunnelInterface(int? port, int? identifier, GatewayLoadBalancerTunnelProtocol? protocol, GatewayLoadBalancerTunnelInterfaceType? gatewayLoadBalancerTunnelInterfaceType) + /// Traffic type of gateway load balancer tunnel interface. + internal GatewayLoadBalancerTunnelInterface(int? port, int? identifier, GatewayLoadBalancerTunnelProtocol? protocol, GatewayLoadBalancerTunnelInterfaceType? interfaceType) { Port = port; Identifier = identifier; Protocol = protocol; - GatewayLoadBalancerTunnelInterfaceType = gatewayLoadBalancerTunnelInterfaceType; + InterfaceType = interfaceType; } /// Port of gateway load balancer tunnel interface. @@ -35,6 +35,6 @@ internal GatewayLoadBalancerTunnelInterface(int? port, int? identifier, GatewayL /// Protocol of gateway load balancer tunnel interface. public GatewayLoadBalancerTunnelProtocol? Protocol { get; set; } /// Traffic type of gateway load balancer tunnel interface. - public GatewayLoadBalancerTunnelInterfaceType? GatewayLoadBalancerTunnelInterfaceType { get; set; } + public GatewayLoadBalancerTunnelInterfaceType? InterfaceType { get; set; } } } diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/VirtualWanSecurityProvider.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/VirtualWanSecurityProvider.cs index 3f99370413cdb..d2b1acfc94235 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/VirtualWanSecurityProvider.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/VirtualWanSecurityProvider.cs @@ -20,12 +20,12 @@ internal VirtualWanSecurityProvider() /// Initializes a new instance of VirtualWanSecurityProvider. /// Name of the security provider. /// Url of the security provider. - /// Name of the security provider. - internal VirtualWanSecurityProvider(string name, Uri uri, VirtualWanSecurityProviderType? virtualWanSecurityProviderType) + /// Name of the security provider. + internal VirtualWanSecurityProvider(string name, Uri uri, VirtualWanSecurityProviderType? providerType) { Name = name; Uri = uri; - VirtualWanSecurityProviderType = virtualWanSecurityProviderType; + ProviderType = providerType; } /// Name of the security provider. @@ -33,6 +33,6 @@ internal VirtualWanSecurityProvider(string name, Uri uri, VirtualWanSecurityProv /// Url of the security provider. public Uri Uri { get; } /// Name of the security provider. - public VirtualWanSecurityProviderType? VirtualWanSecurityProviderType { get; } + public VirtualWanSecurityProviderType? ProviderType { get; } } } diff --git a/sdk/resourcemanager/Azure.ResourceManager/api/Azure.ResourceManager.netstandard2.0.cs b/sdk/resourcemanager/Azure.ResourceManager/api/Azure.ResourceManager.netstandard2.0.cs index 5daf7259debe7..90e1205e5ca28 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/api/Azure.ResourceManager.netstandard2.0.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/api/Azure.ResourceManager.netstandard2.0.cs @@ -189,18 +189,18 @@ public partial class ManagementGroupChildInfo { internal ManagementGroupChildInfo() { } public System.Collections.Generic.IReadOnlyList Children { get { throw null; } } + public Azure.ResourceManager.ManagementGroups.Models.ManagementGroupChildType? ChildType { get { throw null; } } public string DisplayName { get { throw null; } } public string Id { get { throw null; } } - public Azure.ResourceManager.ManagementGroups.Models.ManagementGroupChildType? ManagementGroupChildType { get { throw null; } } public string Name { get { throw null; } } } public partial class ManagementGroupChildOptions { internal ManagementGroupChildOptions() { } public System.Collections.Generic.IReadOnlyList Children { get { throw null; } } + public Azure.ResourceManager.ManagementGroups.Models.ManagementGroupChildType? ChildType { get { throw null; } } public string DisplayName { get { throw null; } } public string Id { get { throw null; } } - public Azure.ResourceManager.ManagementGroups.Models.ManagementGroupChildType? ManagementGroupChildType { get { throw null; } } public string Name { get { throw null; } } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] @@ -1128,9 +1128,9 @@ public partial class ArmPolicyParameter { public ArmPolicyParameter() { } public System.Collections.Generic.IList AllowedValues { get { throw null; } } - public Azure.ResourceManager.Resources.Models.ArmPolicyParameterType? ArmPolicyParameterType { get { throw null; } set { } } public System.BinaryData DefaultValue { get { throw null; } set { } } public Azure.ResourceManager.Resources.Models.ParameterDefinitionsValueMetadata Metadata { get { throw null; } set { } } + public Azure.ResourceManager.Resources.Models.ArmPolicyParameterType? ParameterType { get { throw null; } set { } } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct ArmPolicyParameterType : System.IEquatable @@ -1522,12 +1522,12 @@ public ResourcesSku() { } public partial class ResourceTypeAlias { internal ResourceTypeAlias() { } + public Azure.ResourceManager.Resources.Models.ResourceTypeAliasType? AliasType { get { throw null; } } public Azure.ResourceManager.Resources.Models.ResourceTypeAliasPathMetadata DefaultMetadata { get { throw null; } } public string DefaultPath { get { throw null; } } public Azure.ResourceManager.Resources.Models.ResourceTypeAliasPattern DefaultPattern { get { throw null; } } public string Name { get { throw null; } } public System.Collections.Generic.IReadOnlyList Paths { get { throw null; } } - public Azure.ResourceManager.Resources.Models.ResourceTypeAliasType? ResourceTypeAliasType { get { throw null; } } } public partial class ResourceTypeAliases { @@ -1565,7 +1565,7 @@ public partial class ResourceTypeAliasPathMetadata { internal ResourceTypeAliasPathMetadata() { } public Azure.ResourceManager.Resources.Models.ResourceTypeAliasPathAttributes? Attributes { get { throw null; } } - public Azure.ResourceManager.Resources.Models.ResourceTypeAliasPathTokenType? ResourceTypeAliasPathTokenType { get { throw null; } } + public Azure.ResourceManager.Resources.Models.ResourceTypeAliasPathTokenType? TokenType { get { throw null; } } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct ResourceTypeAliasPathTokenType : System.IEquatable @@ -1594,8 +1594,8 @@ internal ResourceTypeAliasPathMetadata() { } public partial class ResourceTypeAliasPattern { internal ResourceTypeAliasPattern() { } + public Azure.ResourceManager.Resources.Models.ResourceTypeAliasPatternType? PatternType { get { throw null; } } public string Phrase { get { throw null; } } - public Azure.ResourceManager.Resources.Models.ResourceTypeAliasPatternType? ResourceTypeAliasPatternType { get { throw null; } } public string Variable { get { throw null; } } } public enum ResourceTypeAliasPatternType diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/ManagementGroupChildInfo.cs b/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/ManagementGroupChildInfo.cs index 48a3fbf4c0efa..8d0e22a93fde3 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/ManagementGroupChildInfo.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/ManagementGroupChildInfo.cs @@ -20,14 +20,14 @@ internal ManagementGroupChildInfo() } /// Initializes a new instance of ManagementGroupChildInfo. - /// The fully qualified resource type which includes provider namespace (e.g. Microsoft.Management/managementGroups). + /// The fully qualified resource type which includes provider namespace (e.g. Microsoft.Management/managementGroups). /// The fully qualified ID for the child resource (management group or subscription). For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000. /// The name of the child entity. /// The friendly name of the child resource. /// The list of children. - internal ManagementGroupChildInfo(ManagementGroupChildType? managementGroupChildType, string id, string name, string displayName, IReadOnlyList children) + internal ManagementGroupChildInfo(ManagementGroupChildType? childType, string id, string name, string displayName, IReadOnlyList children) { - ManagementGroupChildType = managementGroupChildType; + ChildType = childType; Id = id; Name = name; DisplayName = displayName; @@ -35,7 +35,7 @@ internal ManagementGroupChildInfo(ManagementGroupChildType? managementGroupChild } /// The fully qualified resource type which includes provider namespace (e.g. Microsoft.Management/managementGroups). - public ManagementGroupChildType? ManagementGroupChildType { get; } + public ManagementGroupChildType? ChildType { get; } /// The fully qualified ID for the child resource (management group or subscription). For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000. public string Id { get; } /// The name of the child entity. diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/ManagementGroupChildOptions.cs b/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/ManagementGroupChildOptions.cs index 8995b8af22868..07e4e2b8acf76 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/ManagementGroupChildOptions.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/ManagementGroupChildOptions.cs @@ -20,7 +20,7 @@ internal ManagementGroupChildOptions() } /// The fully qualified resource type which includes provider namespace (e.g. Microsoft.Management/managementGroups). - public ManagementGroupChildType? ManagementGroupChildType { get; } + public ManagementGroupChildType? ChildType { get; } /// The fully qualified ID for the child resource (management group or subscription). For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000. public string Id { get; } /// The name of the child entity. diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ArmPolicyParameter.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ArmPolicyParameter.Serialization.cs index 9becb62582b58..484dcf5c9592d 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ArmPolicyParameter.Serialization.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ArmPolicyParameter.Serialization.cs @@ -17,10 +17,10 @@ public partial class ArmPolicyParameter : IUtf8JsonSerializable void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) { writer.WriteStartObject(); - if (Optional.IsDefined(ArmPolicyParameterType)) + if (Optional.IsDefined(ParameterType)) { writer.WritePropertyName("type"); - writer.WriteStringValue(ArmPolicyParameterType.Value.ToString()); + writer.WriteStringValue(ParameterType.Value.ToString()); } if (Optional.IsCollectionDefined(AllowedValues)) { diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ArmPolicyParameter.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ArmPolicyParameter.cs index 1b283c9a317e6..b8ff6106748e8 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ArmPolicyParameter.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ArmPolicyParameter.cs @@ -21,20 +21,20 @@ public ArmPolicyParameter() } /// Initializes a new instance of ArmPolicyParameter. - /// The data type of the parameter. + /// The data type of the parameter. /// The allowed values for the parameter. /// The default value for the parameter if no value is provided. /// General metadata for the parameter. - internal ArmPolicyParameter(ArmPolicyParameterType? armPolicyParameterType, IList allowedValues, BinaryData defaultValue, ParameterDefinitionsValueMetadata metadata) + internal ArmPolicyParameter(ArmPolicyParameterType? parameterType, IList allowedValues, BinaryData defaultValue, ParameterDefinitionsValueMetadata metadata) { - ArmPolicyParameterType = armPolicyParameterType; + ParameterType = parameterType; AllowedValues = allowedValues; DefaultValue = defaultValue; Metadata = metadata; } /// The data type of the parameter. - public ArmPolicyParameterType? ArmPolicyParameterType { get; set; } + public ArmPolicyParameterType? ParameterType { get; set; } /// The allowed values for the parameter. public IList AllowedValues { get; } /// The default value for the parameter if no value is provided. diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ResourceTypeAlias.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ResourceTypeAlias.cs index 091933da868fa..6f51d758c4540 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ResourceTypeAlias.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ResourceTypeAlias.cs @@ -22,15 +22,15 @@ internal ResourceTypeAlias() /// Initializes a new instance of ResourceTypeAlias. /// The alias name. /// The paths for an alias. - /// The type of the alias. + /// The type of the alias. /// The default path for an alias. /// The default pattern for an alias. /// The default alias path metadata. Applies to the default path and to any alias path that doesn't have metadata. - internal ResourceTypeAlias(string name, IReadOnlyList paths, ResourceTypeAliasType? resourceTypeAliasType, string defaultPath, ResourceTypeAliasPattern defaultPattern, ResourceTypeAliasPathMetadata defaultMetadata) + internal ResourceTypeAlias(string name, IReadOnlyList paths, ResourceTypeAliasType? aliasType, string defaultPath, ResourceTypeAliasPattern defaultPattern, ResourceTypeAliasPathMetadata defaultMetadata) { Name = name; Paths = paths; - ResourceTypeAliasType = resourceTypeAliasType; + AliasType = aliasType; DefaultPath = defaultPath; DefaultPattern = defaultPattern; DefaultMetadata = defaultMetadata; @@ -41,7 +41,7 @@ internal ResourceTypeAlias(string name, IReadOnlyList pat /// The paths for an alias. public IReadOnlyList Paths { get; } /// The type of the alias. - public ResourceTypeAliasType? ResourceTypeAliasType { get; } + public ResourceTypeAliasType? AliasType { get; } /// The default path for an alias. public string DefaultPath { get; } /// The default pattern for an alias. diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ResourceTypeAliasPathMetadata.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ResourceTypeAliasPathMetadata.cs index f22672a8a8195..2193d0862b7e7 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ResourceTypeAliasPathMetadata.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ResourceTypeAliasPathMetadata.cs @@ -16,16 +16,16 @@ internal ResourceTypeAliasPathMetadata() } /// Initializes a new instance of ResourceTypeAliasPathMetadata. - /// The type of the token that the alias path is referring to. + /// The type of the token that the alias path is referring to. /// The attributes of the token that the alias path is referring to. - internal ResourceTypeAliasPathMetadata(ResourceTypeAliasPathTokenType? resourceTypeAliasPathTokenType, ResourceTypeAliasPathAttributes? attributes) + internal ResourceTypeAliasPathMetadata(ResourceTypeAliasPathTokenType? tokenType, ResourceTypeAliasPathAttributes? attributes) { - ResourceTypeAliasPathTokenType = resourceTypeAliasPathTokenType; + TokenType = tokenType; Attributes = attributes; } /// The type of the token that the alias path is referring to. - public ResourceTypeAliasPathTokenType? ResourceTypeAliasPathTokenType { get; } + public ResourceTypeAliasPathTokenType? TokenType { get; } /// The attributes of the token that the alias path is referring to. public ResourceTypeAliasPathAttributes? Attributes { get; } } diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ResourceTypeAliasPattern.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ResourceTypeAliasPattern.cs index 7fe4b687fb24b..a3e1eabe2a518 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ResourceTypeAliasPattern.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ResourceTypeAliasPattern.cs @@ -18,12 +18,12 @@ internal ResourceTypeAliasPattern() /// Initializes a new instance of ResourceTypeAliasPattern. /// The alias pattern phrase. /// The alias pattern variable. - /// The type of alias pattern. - internal ResourceTypeAliasPattern(string phrase, string variable, ResourceTypeAliasPatternType? resourceTypeAliasPatternType) + /// The type of alias pattern. + internal ResourceTypeAliasPattern(string phrase, string variable, ResourceTypeAliasPatternType? patternType) { Phrase = phrase; Variable = variable; - ResourceTypeAliasPatternType = resourceTypeAliasPatternType; + PatternType = patternType; } /// The alias pattern phrase. @@ -31,6 +31,6 @@ internal ResourceTypeAliasPattern(string phrase, string variable, ResourceTypeAl /// The alias pattern variable. public string Variable { get; } /// The type of alias pattern. - public ResourceTypeAliasPatternType? ResourceTypeAliasPatternType { get; } + public ResourceTypeAliasPatternType? PatternType { get; } } } diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/PolicyDefinitionCollectionTests.cs b/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/PolicyDefinitionCollectionTests.cs index ea9b07e84689a..14e29447a7ba7 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/PolicyDefinitionCollectionTests.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/PolicyDefinitionCollectionTests.cs @@ -117,7 +117,7 @@ private static void AssertValidPolicyDefinition(SubscriptionPolicyDefinitionReso { Assert.AreEqual(getResult.Data.Parameters.ContainsKey(kvp.Key), true); ArmPolicyParameter getParameterDefinitionsValue = getResult.Data.Parameters[kvp.Key]; - Assert.AreEqual(kvp.Value.ArmPolicyParameterType, getParameterDefinitionsValue.ArmPolicyParameterType); + Assert.AreEqual(kvp.Value.ParameterType, getParameterDefinitionsValue.ParameterType); if (kvp.Value.AllowedValues != null || getParameterDefinitionsValue.AllowedValues != null) { Assert.NotNull(kvp.Value.AllowedValues); diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/PolicySetDefinitionCollectionTests.cs b/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/PolicySetDefinitionCollectionTests.cs index 8ee6f45fc18de..0c21ee72a13fa 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/PolicySetDefinitionCollectionTests.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/PolicySetDefinitionCollectionTests.cs @@ -124,7 +124,7 @@ private static void AssertValidPolicySetDefinition(SubscriptionPolicySetDefiniti { Assert.AreEqual(getResult.Data.Parameters.ContainsKey(kvp.Key), true); ArmPolicyParameter getParameterDefinitionsValue = getResult.Data.Parameters[kvp.Key]; - Assert.AreEqual(kvp.Value.ArmPolicyParameterType, getParameterDefinitionsValue.ArmPolicyParameterType); + Assert.AreEqual(kvp.Value.ParameterType, getParameterDefinitionsValue.ParameterType); if (kvp.Value.AllowedValues != null || getParameterDefinitionsValue.AllowedValues != null) { Assert.NotNull(kvp.Value.AllowedValues); diff --git a/sdk/resources/Azure.ResourceManager.Resources/api/Azure.ResourceManager.Resources.netstandard2.0.cs b/sdk/resources/Azure.ResourceManager.Resources/api/Azure.ResourceManager.Resources.netstandard2.0.cs index e3b69a41650ea..93f36b8672573 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/api/Azure.ResourceManager.Resources.netstandard2.0.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/api/Azure.ResourceManager.Resources.netstandard2.0.cs @@ -417,7 +417,7 @@ namespace Azure.ResourceManager.Resources.Models public partial class ArmApplicationArtifact { internal ArmApplicationArtifact() { } - public Azure.ResourceManager.Resources.Models.ArmApplicationArtifactType ArmApplicationArtifactType { get { throw null; } } + public Azure.ResourceManager.Resources.Models.ArmApplicationArtifactType ArtifactType { get { throw null; } } public Azure.ResourceManager.Resources.Models.ArmApplicationArtifactName Name { get { throw null; } } public System.Uri Uri { get { throw null; } } } @@ -455,8 +455,8 @@ public ArmApplicationAuthorization(System.Guid principalId, string roleDefinitio } public partial class ArmApplicationDefinitionArtifact { - public ArmApplicationDefinitionArtifact(Azure.ResourceManager.Resources.Models.ArmApplicationDefinitionArtifactName name, System.Uri uri, Azure.ResourceManager.Resources.Models.ArmApplicationArtifactType armApplicationArtifactType) { } - public Azure.ResourceManager.Resources.Models.ArmApplicationArtifactType ArmApplicationArtifactType { get { throw null; } set { } } + public ArmApplicationDefinitionArtifact(Azure.ResourceManager.Resources.Models.ArmApplicationDefinitionArtifactName name, System.Uri uri, Azure.ResourceManager.Resources.Models.ArmApplicationArtifactType artifactType) { } + public Azure.ResourceManager.Resources.Models.ArmApplicationArtifactType ArtifactType { get { throw null; } set { } } public Azure.ResourceManager.Resources.Models.ArmApplicationDefinitionArtifactName Name { get { throw null; } set { } } public System.Uri Uri { get { throw null; } set { } } } @@ -523,7 +523,7 @@ public enum ArmApplicationLockLevel public partial class ArmApplicationManagedIdentity { public ArmApplicationManagedIdentity() { } - public Azure.ResourceManager.Resources.Models.ArmApplicationManagedIdentityType? ArmApplicationManagedIdentityType { get { throw null; } set { } } + public Azure.ResourceManager.Resources.Models.ArmApplicationManagedIdentityType? IdentityType { get { throw null; } set { } } public System.Guid? PrincipalId { get { throw null; } } public System.Guid? TenantId { get { throw null; } } public System.Collections.Generic.IDictionary UserAssignedIdentities { get { throw null; } } @@ -689,7 +689,7 @@ internal ArmDeploymentPropertiesExtended() { } public partial class ArmDeploymentScriptManagedIdentity { public ArmDeploymentScriptManagedIdentity() { } - public Azure.ResourceManager.Resources.Models.ArmDeploymentScriptManagedIdentityType? ArmDeploymentScriptManagedIdentityType { get { throw null; } set { } } + public Azure.ResourceManager.Resources.Models.ArmDeploymentScriptManagedIdentityType? IdentityType { get { throw null; } set { } } public System.Guid? TenantId { get { throw null; } } public System.Collections.Generic.IDictionary UserAssignedIdentities { get { throw null; } } } @@ -785,13 +785,13 @@ public partial class ErrorDeployment { public ErrorDeployment() { } public string DeploymentName { get { throw null; } set { } } - public Azure.ResourceManager.Resources.Models.ErrorDeploymentType? ErrorDeploymentType { get { throw null; } set { } } + public Azure.ResourceManager.Resources.Models.ErrorDeploymentType? DeploymentType { get { throw null; } set { } } } public partial class ErrorDeploymentExtended { internal ErrorDeploymentExtended() { } public string DeploymentName { get { throw null; } } - public Azure.ResourceManager.Resources.Models.ErrorDeploymentType? ErrorDeploymentType { get { throw null; } } + public Azure.ResourceManager.Resources.Models.ErrorDeploymentType? DeploymentType { get { throw null; } } public string ProvisioningState { get { throw null; } } } public enum ErrorDeploymentType @@ -840,9 +840,9 @@ public enum ErrorDeploymentType public partial class JitApprover { public JitApprover(string id) { } + public Azure.ResourceManager.Resources.Models.JitApproverType? ApproverType { get { throw null; } set { } } public string DisplayName { get { throw null; } set { } } public string Id { get { throw null; } set { } } - public Azure.ResourceManager.Resources.Models.JitApproverType? JitApproverType { get { throw null; } set { } } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct JitApproverType : System.IEquatable @@ -894,9 +894,9 @@ public JitAuthorizationPolicies(System.Guid principalId, string roleDefinitionId } public partial class JitSchedulingPolicy { - public JitSchedulingPolicy(Azure.ResourceManager.Resources.Models.JitSchedulingType jitSchedulingType, System.TimeSpan duration, System.DateTimeOffset startOn) { } + public JitSchedulingPolicy(Azure.ResourceManager.Resources.Models.JitSchedulingType schedulingType, System.TimeSpan duration, System.DateTimeOffset startOn) { } public System.TimeSpan Duration { get { throw null; } set { } } - public Azure.ResourceManager.Resources.Models.JitSchedulingType JitSchedulingType { get { throw null; } } + public Azure.ResourceManager.Resources.Models.JitSchedulingType SchedulingType { get { throw null; } } public System.DateTimeOffset StartOn { get { throw null; } set { } } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmApplicationArtifact.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmApplicationArtifact.cs index 25a5e6092b761..36cae6a3e9d63 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmApplicationArtifact.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmApplicationArtifact.cs @@ -15,9 +15,9 @@ public partial class ArmApplicationArtifact /// Initializes a new instance of ArmApplicationArtifact. /// The managed application artifact name. /// The managed application artifact blob uri. - /// The managed application artifact type. + /// The managed application artifact type. /// is null. - internal ArmApplicationArtifact(ArmApplicationArtifactName name, Uri uri, ArmApplicationArtifactType armApplicationArtifactType) + internal ArmApplicationArtifact(ArmApplicationArtifactName name, Uri uri, ArmApplicationArtifactType artifactType) { if (uri == null) { @@ -26,7 +26,7 @@ internal ArmApplicationArtifact(ArmApplicationArtifactName name, Uri uri, ArmApp Name = name; Uri = uri; - ArmApplicationArtifactType = armApplicationArtifactType; + ArtifactType = artifactType; } /// The managed application artifact name. @@ -34,6 +34,6 @@ internal ArmApplicationArtifact(ArmApplicationArtifactName name, Uri uri, ArmApp /// The managed application artifact blob uri. public Uri Uri { get; } /// The managed application artifact type. - public ArmApplicationArtifactType ArmApplicationArtifactType { get; } + public ArmApplicationArtifactType ArtifactType { get; } } } diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmApplicationDefinitionArtifact.Serialization.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmApplicationDefinitionArtifact.Serialization.cs index 6230b0bef52c1..56cec875c6012 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmApplicationDefinitionArtifact.Serialization.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmApplicationDefinitionArtifact.Serialization.cs @@ -21,7 +21,7 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("uri"); writer.WriteStringValue(Uri.AbsoluteUri); writer.WritePropertyName("type"); - writer.WriteStringValue(ArmApplicationArtifactType.ToSerialString()); + writer.WriteStringValue(ArtifactType.ToSerialString()); writer.WriteEndObject(); } diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmApplicationDefinitionArtifact.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmApplicationDefinitionArtifact.cs index 98d8f9cc31aa3..40670c3f6ae1e 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmApplicationDefinitionArtifact.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmApplicationDefinitionArtifact.cs @@ -15,9 +15,9 @@ public partial class ArmApplicationDefinitionArtifact /// Initializes a new instance of ArmApplicationDefinitionArtifact. /// The managed application definition artifact name. /// The managed application definition artifact blob uri. - /// The managed application definition artifact type. + /// The managed application definition artifact type. /// is null. - public ArmApplicationDefinitionArtifact(ArmApplicationDefinitionArtifactName name, Uri uri, ArmApplicationArtifactType armApplicationArtifactType) + public ArmApplicationDefinitionArtifact(ArmApplicationDefinitionArtifactName name, Uri uri, ArmApplicationArtifactType artifactType) { if (uri == null) { @@ -26,7 +26,7 @@ public ArmApplicationDefinitionArtifact(ArmApplicationDefinitionArtifactName nam Name = name; Uri = uri; - ArmApplicationArtifactType = armApplicationArtifactType; + ArtifactType = artifactType; } /// The managed application definition artifact name. @@ -34,6 +34,6 @@ public ArmApplicationDefinitionArtifact(ArmApplicationDefinitionArtifactName nam /// The managed application definition artifact blob uri. public Uri Uri { get; set; } /// The managed application definition artifact type. - public ArmApplicationArtifactType ArmApplicationArtifactType { get; set; } + public ArmApplicationArtifactType ArtifactType { get; set; } } } diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmApplicationManagedIdentity.Serialization.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmApplicationManagedIdentity.Serialization.cs index 8d973ad97e405..78aebeb8b8dd1 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmApplicationManagedIdentity.Serialization.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmApplicationManagedIdentity.Serialization.cs @@ -17,10 +17,10 @@ public partial class ArmApplicationManagedIdentity : IUtf8JsonSerializable void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) { writer.WriteStartObject(); - if (Optional.IsDefined(ArmApplicationManagedIdentityType)) + if (Optional.IsDefined(IdentityType)) { writer.WritePropertyName("type"); - writer.WriteStringValue(ArmApplicationManagedIdentityType.Value.ToSerialString()); + writer.WriteStringValue(IdentityType.Value.ToSerialString()); } if (Optional.IsCollectionDefined(UserAssignedIdentities)) { diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmApplicationManagedIdentity.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmApplicationManagedIdentity.cs index 17d5e6c7289c4..99f6dd7b6e10c 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmApplicationManagedIdentity.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmApplicationManagedIdentity.cs @@ -23,13 +23,13 @@ public ArmApplicationManagedIdentity() /// Initializes a new instance of ArmApplicationManagedIdentity. /// The principal ID of resource identity. /// The tenant ID of resource. - /// The identity type. + /// The identity type. /// The list of user identities associated with the resource. The user identity dictionary key references will be resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. - internal ArmApplicationManagedIdentity(Guid? principalId, Guid? tenantId, ArmApplicationManagedIdentityType? armApplicationManagedIdentityType, IDictionary userAssignedIdentities) + internal ArmApplicationManagedIdentity(Guid? principalId, Guid? tenantId, ArmApplicationManagedIdentityType? identityType, IDictionary userAssignedIdentities) { PrincipalId = principalId; TenantId = tenantId; - ArmApplicationManagedIdentityType = armApplicationManagedIdentityType; + IdentityType = identityType; UserAssignedIdentities = userAssignedIdentities; } @@ -38,7 +38,7 @@ internal ArmApplicationManagedIdentity(Guid? principalId, Guid? tenantId, ArmApp /// The tenant ID of resource. public Guid? TenantId { get; } /// The identity type. - public ArmApplicationManagedIdentityType? ArmApplicationManagedIdentityType { get; set; } + public ArmApplicationManagedIdentityType? IdentityType { get; set; } /// The list of user identities associated with the resource. The user identity dictionary key references will be resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. public IDictionary UserAssignedIdentities { get; } } diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmDeploymentScriptManagedIdentity.Serialization.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmDeploymentScriptManagedIdentity.Serialization.cs index b02e00a928a67..baf780c4a0a3f 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmDeploymentScriptManagedIdentity.Serialization.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmDeploymentScriptManagedIdentity.Serialization.cs @@ -18,10 +18,10 @@ public partial class ArmDeploymentScriptManagedIdentity : IUtf8JsonSerializable void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) { writer.WriteStartObject(); - if (Optional.IsDefined(ArmDeploymentScriptManagedIdentityType)) + if (Optional.IsDefined(IdentityType)) { writer.WritePropertyName("type"); - writer.WriteStringValue(ArmDeploymentScriptManagedIdentityType.Value.ToString()); + writer.WriteStringValue(IdentityType.Value.ToString()); } if (Optional.IsCollectionDefined(UserAssignedIdentities)) { diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmDeploymentScriptManagedIdentity.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmDeploymentScriptManagedIdentity.cs index 963dd9c766bfb..428f5a66b639e 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmDeploymentScriptManagedIdentity.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmDeploymentScriptManagedIdentity.cs @@ -22,18 +22,18 @@ public ArmDeploymentScriptManagedIdentity() } /// Initializes a new instance of ArmDeploymentScriptManagedIdentity. - /// Type of the managed identity. + /// Type of the managed identity. /// ID of the Azure Active Directory. /// The list of user-assigned managed identities associated with the resource. Key is the Azure resource Id of the managed identity. - internal ArmDeploymentScriptManagedIdentity(ArmDeploymentScriptManagedIdentityType? armDeploymentScriptManagedIdentityType, Guid? tenantId, IDictionary userAssignedIdentities) + internal ArmDeploymentScriptManagedIdentity(ArmDeploymentScriptManagedIdentityType? identityType, Guid? tenantId, IDictionary userAssignedIdentities) { - ArmDeploymentScriptManagedIdentityType = armDeploymentScriptManagedIdentityType; + IdentityType = identityType; TenantId = tenantId; UserAssignedIdentities = userAssignedIdentities; } /// Type of the managed identity. - public ArmDeploymentScriptManagedIdentityType? ArmDeploymentScriptManagedIdentityType { get; set; } + public ArmDeploymentScriptManagedIdentityType? IdentityType { get; set; } /// ID of the Azure Active Directory. public Guid? TenantId { get; } /// The list of user-assigned managed identities associated with the resource. Key is the Azure resource Id of the managed identity. diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ErrorDeployment.Serialization.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ErrorDeployment.Serialization.cs index 861bcf3fe2445..c8356176b690b 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ErrorDeployment.Serialization.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ErrorDeployment.Serialization.cs @@ -15,10 +15,10 @@ public partial class ErrorDeployment : IUtf8JsonSerializable void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) { writer.WriteStartObject(); - if (Optional.IsDefined(ErrorDeploymentType)) + if (Optional.IsDefined(DeploymentType)) { writer.WritePropertyName("type"); - writer.WriteStringValue(ErrorDeploymentType.Value.ToSerialString()); + writer.WriteStringValue(DeploymentType.Value.ToSerialString()); } if (Optional.IsDefined(DeploymentName)) { diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ErrorDeployment.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ErrorDeployment.cs index cf3d696b079b0..dcc0b01af6d47 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ErrorDeployment.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ErrorDeployment.cs @@ -16,7 +16,7 @@ public ErrorDeployment() } /// The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment. - public ErrorDeploymentType? ErrorDeploymentType { get; set; } + public ErrorDeploymentType? DeploymentType { get; set; } /// The deployment to be used on error case. public string DeploymentName { get; set; } } diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ErrorDeploymentExtended.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ErrorDeploymentExtended.cs index 09ea136fcff54..7cf025bc7dcf3 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ErrorDeploymentExtended.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ErrorDeploymentExtended.cs @@ -17,19 +17,19 @@ internal ErrorDeploymentExtended() /// Initializes a new instance of ErrorDeploymentExtended. /// The state of the provisioning for the on error deployment. - /// The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment. + /// The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment. /// The deployment to be used on error case. - internal ErrorDeploymentExtended(string provisioningState, ErrorDeploymentType? errorDeploymentType, string deploymentName) + internal ErrorDeploymentExtended(string provisioningState, ErrorDeploymentType? deploymentType, string deploymentName) { ProvisioningState = provisioningState; - ErrorDeploymentType = errorDeploymentType; + DeploymentType = deploymentType; DeploymentName = deploymentName; } /// The state of the provisioning for the on error deployment. public string ProvisioningState { get; } /// The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment. - public ErrorDeploymentType? ErrorDeploymentType { get; } + public ErrorDeploymentType? DeploymentType { get; } /// The deployment to be used on error case. public string DeploymentName { get; } } diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/JitApprover.Serialization.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/JitApprover.Serialization.cs index 928882293f2cd..fd8dbc11dd12e 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/JitApprover.Serialization.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/JitApprover.Serialization.cs @@ -17,10 +17,10 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WriteStartObject(); writer.WritePropertyName("id"); writer.WriteStringValue(Id); - if (Optional.IsDefined(JitApproverType)) + if (Optional.IsDefined(ApproverType)) { writer.WritePropertyName("type"); - writer.WriteStringValue(JitApproverType.Value.ToString()); + writer.WriteStringValue(ApproverType.Value.ToString()); } if (Optional.IsDefined(DisplayName)) { diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/JitApprover.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/JitApprover.cs index 4c5f005fd789d..842f110a4117c 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/JitApprover.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/JitApprover.cs @@ -27,19 +27,19 @@ public JitApprover(string id) /// Initializes a new instance of JitApprover. /// The approver service principal Id. - /// The approver type. + /// The approver type. /// The approver display name. - internal JitApprover(string id, JitApproverType? jitApproverType, string displayName) + internal JitApprover(string id, JitApproverType? approverType, string displayName) { Id = id; - JitApproverType = jitApproverType; + ApproverType = approverType; DisplayName = displayName; } /// The approver service principal Id. public string Id { get; set; } /// The approver type. - public JitApproverType? JitApproverType { get; set; } + public JitApproverType? ApproverType { get; set; } /// The approver display name. public string DisplayName { get; set; } } diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/JitSchedulingPolicy.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/JitSchedulingPolicy.cs index d50b5179b01eb..e3786990208a3 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/JitSchedulingPolicy.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/JitSchedulingPolicy.cs @@ -13,18 +13,18 @@ namespace Azure.ResourceManager.Resources.Models public partial class JitSchedulingPolicy { /// Initializes a new instance of JitSchedulingPolicy. - /// The type of JIT schedule. + /// The type of JIT schedule. /// The required duration of the JIT request. /// The start time of the request. - public JitSchedulingPolicy(JitSchedulingType jitSchedulingType, TimeSpan duration, DateTimeOffset startOn) + public JitSchedulingPolicy(JitSchedulingType schedulingType, TimeSpan duration, DateTimeOffset startOn) { - JitSchedulingType = jitSchedulingType; + SchedulingType = schedulingType; Duration = duration; StartOn = startOn; } /// The type of JIT schedule. - public JitSchedulingType JitSchedulingType { get; } + public JitSchedulingType SchedulingType { get; } /// The required duration of the JIT request. public TimeSpan Duration { get; set; } /// The start time of the request. diff --git a/sdk/resources/Azure.ResourceManager.Resources/tests/ResourcesTestBase.cs b/sdk/resources/Azure.ResourceManager.Resources/tests/ResourcesTestBase.cs index e383d30aae667..6921dd2dc2039 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/tests/ResourcesTestBase.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/tests/ResourcesTestBase.cs @@ -156,7 +156,7 @@ protected async Task GetDeploymentScriptDataAsync() GenericResource userAssignedIdentities = lro2.Value; var managedIdentity = new ArmDeploymentScriptManagedIdentity() { - ArmDeploymentScriptManagedIdentityType = "UserAssigned", + IdentityType = "UserAssigned", UserAssignedIdentities = { { diff --git a/sdk/resources/Azure.ResourceManager.Resources/tests/Scenario/ApplicationCollectionTests.cs b/sdk/resources/Azure.ResourceManager.Resources/tests/Scenario/ApplicationCollectionTests.cs index 84367213d9013..eb184492e0d19 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/tests/Scenario/ApplicationCollectionTests.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/tests/Scenario/ApplicationCollectionTests.cs @@ -144,7 +144,7 @@ private static void AssertValidApplication(ArmApplicationResource model, ArmAppl for (int i = 0; i < model.Data.JitAccessPolicy.JitApprovers.Count; ++i) { Assert.AreEqual(model.Data.JitAccessPolicy.JitApprovers[i].DisplayName, getResult.Data.JitAccessPolicy.JitApprovers[i].DisplayName); - Assert.AreEqual(model.Data.JitAccessPolicy.JitApprovers[i].JitApproverType, getResult.Data.JitAccessPolicy.JitApprovers[i].JitApproverType); + Assert.AreEqual(model.Data.JitAccessPolicy.JitApprovers[i].ApproverType, getResult.Data.JitAccessPolicy.JitApprovers[i].ApproverType); } Assert.AreEqual(model.Data.JitAccessPolicy.MaximumJitAccessDuration, getResult.Data.JitAccessPolicy.MaximumJitAccessDuration); } @@ -180,7 +180,7 @@ private static void AssertValidApplication(ArmApplicationResource model, ArmAppl { Assert.AreEqual(model.Data.Artifacts[i].Name, getResult.Data.Artifacts[i].Name); Assert.AreEqual(model.Data.Artifacts[i].Uri, getResult.Data.Artifacts[i].Uri); - Assert.AreEqual(model.Data.Artifacts[i].ArmApplicationArtifactType, getResult.Data.Artifacts[i].ArmApplicationArtifactType); + Assert.AreEqual(model.Data.Artifacts[i].ArtifactType, getResult.Data.Artifacts[i].ArtifactType); } } if (model.Data.CreatedBy != null || getResult.Data.CreatedBy != null) diff --git a/sdk/resources/Azure.ResourceManager.Resources/tests/Scenario/ApplicationDefinitionCollectionTests.cs b/sdk/resources/Azure.ResourceManager.Resources/tests/Scenario/ApplicationDefinitionCollectionTests.cs index 56305bd6f7cc4..55d287268bc34 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/tests/Scenario/ApplicationDefinitionCollectionTests.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/tests/Scenario/ApplicationDefinitionCollectionTests.cs @@ -170,7 +170,7 @@ private static void AssertValidArtifacts(ArmApplicationDefinitionArtifact model, { Assert.AreEqual(model.Name, getResult.Name); Assert.AreEqual(model.Uri, getResult.Uri); - Assert.AreEqual(model.ArmApplicationArtifactType, getResult.ArmApplicationArtifactType); + Assert.AreEqual(model.ArtifactType, getResult.ArtifactType); } private static void AssertValidPolicy(ArmApplicationPolicy model, ArmApplicationPolicy getResult) diff --git a/sdk/resources/Azure.ResourceManager.Resources/tests/Scenario/DeploymentCollectionTests.cs b/sdk/resources/Azure.ResourceManager.Resources/tests/Scenario/DeploymentCollectionTests.cs index e355130be3d81..ae3779576b5b5 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/tests/Scenario/DeploymentCollectionTests.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/tests/Scenario/DeploymentCollectionTests.cs @@ -164,7 +164,7 @@ private static void AssertValidDeployment(ArmDeploymentResource model, ArmDeploy Assert.NotNull(getResult.Data.Properties.ErrorDeployment); Assert.AreEqual(model.Data.Properties.ErrorDeployment.DeploymentName, getResult.Data.Properties.ErrorDeployment.DeploymentName); Assert.AreEqual(model.Data.Properties.ErrorDeployment.ProvisioningState, getResult.Data.Properties.ErrorDeployment.ProvisioningState); - Assert.AreEqual(model.Data.Properties.ErrorDeployment.ErrorDeploymentType, getResult.Data.Properties.ErrorDeployment.ErrorDeploymentType); + Assert.AreEqual(model.Data.Properties.ErrorDeployment.DeploymentType, getResult.Data.Properties.ErrorDeployment.DeploymentType); } Assert.AreEqual(model.Data.Properties.TemplateHash, getResult.Data.Properties.TemplateHash); if (model.Data.Properties.OutputResources != null || getResult.Data.Properties.OutputResources != null) diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/api/Azure.ResourceManager.Sql.netstandard2.0.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/api/Azure.ResourceManager.Sql.netstandard2.0.cs index 64f6650850e84..f0ffd5f377229 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/api/Azure.ResourceManager.Sql.netstandard2.0.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/api/Azure.ResourceManager.Sql.netstandard2.0.cs @@ -5168,8 +5168,8 @@ public partial class JobExecutionTarget { internal JobExecutionTarget() { } public string DatabaseName { get { throw null; } } - public Azure.ResourceManager.Sql.Models.JobTargetType? JobTargetType { get { throw null; } } public string ServerName { get { throw null; } } + public Azure.ResourceManager.Sql.Models.JobTargetType? TargetType { get { throw null; } } } public partial class JobSchedule { @@ -5177,7 +5177,7 @@ public JobSchedule() { } public bool? Enabled { get { throw null; } set { } } public System.DateTimeOffset? EndOn { get { throw null; } set { } } public string Interval { get { throw null; } set { } } - public Azure.ResourceManager.Sql.Models.JobScheduleType? JobScheduleType { get { throw null; } set { } } + public Azure.ResourceManager.Sql.Models.JobScheduleType? ScheduleType { get { throw null; } set { } } public System.DateTimeOffset? StartOn { get { throw null; } set { } } } public enum JobScheduleType @@ -5188,7 +5188,7 @@ public enum JobScheduleType public partial class JobStepAction { public JobStepAction(string value) { } - public Azure.ResourceManager.Sql.Models.JobStepActionType? JobStepActionType { get { throw null; } set { } } + public Azure.ResourceManager.Sql.Models.JobStepActionType? ActionType { get { throw null; } set { } } public Azure.ResourceManager.Sql.Models.JobStepActionSource? Source { get { throw null; } set { } } public string Value { get { throw null; } set { } } } @@ -5240,7 +5240,7 @@ public partial class JobStepOutput public JobStepOutput(string serverName, string databaseName, string tableName, string credential) { } public string Credential { get { throw null; } set { } } public string DatabaseName { get { throw null; } set { } } - public Azure.ResourceManager.Sql.Models.JobStepOutputType? JobStepOutputType { get { throw null; } set { } } + public Azure.ResourceManager.Sql.Models.JobStepOutputType? OutputType { get { throw null; } set { } } public string ResourceGroupName { get { throw null; } set { } } public string SchemaName { get { throw null; } set { } } public string ServerName { get { throw null; } set { } } @@ -5266,14 +5266,14 @@ public JobStepOutput(string serverName, string databaseName, string tableName, s } public partial class JobTarget { - public JobTarget(Azure.ResourceManager.Sql.Models.JobTargetType jobTargetType) { } + public JobTarget(Azure.ResourceManager.Sql.Models.JobTargetType targetType) { } public string DatabaseName { get { throw null; } set { } } public string ElasticPoolName { get { throw null; } set { } } - public Azure.ResourceManager.Sql.Models.JobTargetType JobTargetType { get { throw null; } set { } } public Azure.ResourceManager.Sql.Models.JobTargetGroupMembershipType? MembershipType { get { throw null; } set { } } public string RefreshCredential { get { throw null; } set { } } public string ServerName { get { throw null; } set { } } public string ShardMapName { get { throw null; } set { } } + public Azure.ResourceManager.Sql.Models.JobTargetType TargetType { get { throw null; } set { } } } public enum JobTargetGroupMembershipType { @@ -7076,9 +7076,9 @@ public partial class SyncGroupLogProperties { internal SyncGroupLogProperties() { } public string Details { get { throw null; } } + public Azure.ResourceManager.Sql.Models.SyncGroupLogType? LogType { get { throw null; } } public string OperationStatus { get { throw null; } } public string Source { get { throw null; } } - public Azure.ResourceManager.Sql.Models.SyncGroupLogType? SyncGroupLogType { get { throw null; } } public System.DateTimeOffset? Timestamp { get { throw null; } } public System.Guid? TracingId { get { throw null; } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobExecutionTarget.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobExecutionTarget.cs index 22faf4fc71f6b..2df2744b82e79 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobExecutionTarget.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobExecutionTarget.cs @@ -16,18 +16,18 @@ internal JobExecutionTarget() } /// Initializes a new instance of JobExecutionTarget. - /// The type of the target. + /// The type of the target. /// The server name. /// The database name. - internal JobExecutionTarget(JobTargetType? jobTargetType, string serverName, string databaseName) + internal JobExecutionTarget(JobTargetType? targetType, string serverName, string databaseName) { - JobTargetType = jobTargetType; + TargetType = targetType; ServerName = serverName; DatabaseName = databaseName; } /// The type of the target. - public JobTargetType? JobTargetType { get; } + public JobTargetType? TargetType { get; } /// The server name. public string ServerName { get; } /// The database name. diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobSchedule.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobSchedule.Serialization.cs index a95a93fbd8cc1..f1ab8c2b51868 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobSchedule.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobSchedule.Serialization.cs @@ -26,10 +26,10 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("endTime"); writer.WriteStringValue(EndOn.Value, "O"); } - if (Optional.IsDefined(JobScheduleType)) + if (Optional.IsDefined(ScheduleType)) { writer.WritePropertyName("type"); - writer.WriteStringValue(JobScheduleType.Value.ToSerialString()); + writer.WriteStringValue(ScheduleType.Value.ToSerialString()); } if (Optional.IsDefined(Enabled)) { diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobSchedule.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobSchedule.cs index 9aa7f6b7a617e..59c147e85caad 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobSchedule.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobSchedule.cs @@ -20,14 +20,14 @@ public JobSchedule() /// Initializes a new instance of JobSchedule. /// Schedule start time. /// Schedule end time. - /// Schedule interval type. + /// Schedule interval type. /// Whether or not the schedule is enabled. /// Value of the schedule's recurring interval, if the ScheduleType is recurring. ISO8601 duration format. - internal JobSchedule(DateTimeOffset? startOn, DateTimeOffset? endOn, JobScheduleType? jobScheduleType, bool? enabled, string interval) + internal JobSchedule(DateTimeOffset? startOn, DateTimeOffset? endOn, JobScheduleType? scheduleType, bool? enabled, string interval) { StartOn = startOn; EndOn = endOn; - JobScheduleType = jobScheduleType; + ScheduleType = scheduleType; Enabled = enabled; Interval = interval; } @@ -37,7 +37,7 @@ internal JobSchedule(DateTimeOffset? startOn, DateTimeOffset? endOn, JobSchedule /// Schedule end time. public DateTimeOffset? EndOn { get; set; } /// Schedule interval type. - public JobScheduleType? JobScheduleType { get; set; } + public JobScheduleType? ScheduleType { get; set; } /// Whether or not the schedule is enabled. public bool? Enabled { get; set; } /// Value of the schedule's recurring interval, if the ScheduleType is recurring. ISO8601 duration format. diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobStepAction.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobStepAction.Serialization.cs index 396df33f04914..f9cf131b71d2c 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobStepAction.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobStepAction.Serialization.cs @@ -15,10 +15,10 @@ public partial class JobStepAction : IUtf8JsonSerializable void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) { writer.WriteStartObject(); - if (Optional.IsDefined(JobStepActionType)) + if (Optional.IsDefined(ActionType)) { writer.WritePropertyName("type"); - writer.WriteStringValue(JobStepActionType.Value.ToString()); + writer.WriteStringValue(ActionType.Value.ToString()); } if (Optional.IsDefined(Source)) { diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobStepAction.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobStepAction.cs index d3183d8e177c1..5395f17dd1b5d 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobStepAction.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobStepAction.cs @@ -26,18 +26,18 @@ public JobStepAction(string value) } /// Initializes a new instance of JobStepAction. - /// Type of action being executed by the job step. + /// Type of action being executed by the job step. /// The source of the action to execute. /// The action value, for example the text of the T-SQL script to execute. - internal JobStepAction(JobStepActionType? jobStepActionType, JobStepActionSource? source, string value) + internal JobStepAction(JobStepActionType? actionType, JobStepActionSource? source, string value) { - JobStepActionType = jobStepActionType; + ActionType = actionType; Source = source; Value = value; } /// Type of action being executed by the job step. - public JobStepActionType? JobStepActionType { get; set; } + public JobStepActionType? ActionType { get; set; } /// The source of the action to execute. public JobStepActionSource? Source { get; set; } /// The action value, for example the text of the T-SQL script to execute. diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobStepOutput.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobStepOutput.Serialization.cs index 182463ad7390b..4268514549bdf 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobStepOutput.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobStepOutput.Serialization.cs @@ -16,10 +16,10 @@ public partial class JobStepOutput : IUtf8JsonSerializable void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) { writer.WriteStartObject(); - if (Optional.IsDefined(JobStepOutputType)) + if (Optional.IsDefined(OutputType)) { writer.WritePropertyName("type"); - writer.WriteStringValue(JobStepOutputType.Value.ToString()); + writer.WriteStringValue(OutputType.Value.ToString()); } if (Optional.IsDefined(SubscriptionId)) { diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobStepOutput.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobStepOutput.cs index 01de2a2eb2c2e..445233a45987a 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobStepOutput.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobStepOutput.cs @@ -44,7 +44,7 @@ public JobStepOutput(string serverName, string databaseName, string tableName, s } /// Initializes a new instance of JobStepOutput. - /// The output destination type. + /// The output destination type. /// The output destination subscription id. /// The output destination resource group. /// The output destination server name. @@ -52,9 +52,9 @@ public JobStepOutput(string serverName, string databaseName, string tableName, s /// The output destination schema. /// The output destination table. /// The resource ID of the credential to use to connect to the output destination. - internal JobStepOutput(JobStepOutputType? jobStepOutputType, Guid? subscriptionId, string resourceGroupName, string serverName, string databaseName, string schemaName, string tableName, string credential) + internal JobStepOutput(JobStepOutputType? outputType, Guid? subscriptionId, string resourceGroupName, string serverName, string databaseName, string schemaName, string tableName, string credential) { - JobStepOutputType = jobStepOutputType; + OutputType = outputType; SubscriptionId = subscriptionId; ResourceGroupName = resourceGroupName; ServerName = serverName; @@ -65,7 +65,7 @@ internal JobStepOutput(JobStepOutputType? jobStepOutputType, Guid? subscriptionI } /// The output destination type. - public JobStepOutputType? JobStepOutputType { get; set; } + public JobStepOutputType? OutputType { get; set; } /// The output destination subscription id. public Guid? SubscriptionId { get; set; } /// The output destination resource group. diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobTarget.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobTarget.Serialization.cs index c215e12ec214d..2f3b12c2299ac 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobTarget.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobTarget.Serialization.cs @@ -21,7 +21,7 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WriteStringValue(MembershipType.Value.ToSerialString()); } writer.WritePropertyName("type"); - writer.WriteStringValue(JobTargetType.ToString()); + writer.WriteStringValue(TargetType.ToString()); if (Optional.IsDefined(ServerName)) { writer.WritePropertyName("serverName"); diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobTarget.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobTarget.cs index d66214180281e..c4b75571ff484 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobTarget.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobTarget.cs @@ -11,24 +11,24 @@ namespace Azure.ResourceManager.Sql.Models public partial class JobTarget { /// Initializes a new instance of JobTarget. - /// The target type. - public JobTarget(JobTargetType jobTargetType) + /// The target type. + public JobTarget(JobTargetType targetType) { - JobTargetType = jobTargetType; + TargetType = targetType; } /// Initializes a new instance of JobTarget. /// Whether the target is included or excluded from the group. - /// The target type. + /// The target type. /// The target server name. /// The target database name. /// The target elastic pool name. /// The target shard map. /// The resource ID of the credential that is used during job execution to connect to the target and determine the list of databases inside the target. - internal JobTarget(JobTargetGroupMembershipType? membershipType, JobTargetType jobTargetType, string serverName, string databaseName, string elasticPoolName, string shardMapName, string refreshCredential) + internal JobTarget(JobTargetGroupMembershipType? membershipType, JobTargetType targetType, string serverName, string databaseName, string elasticPoolName, string shardMapName, string refreshCredential) { MembershipType = membershipType; - JobTargetType = jobTargetType; + TargetType = targetType; ServerName = serverName; DatabaseName = databaseName; ElasticPoolName = elasticPoolName; @@ -39,7 +39,7 @@ internal JobTarget(JobTargetGroupMembershipType? membershipType, JobTargetType j /// Whether the target is included or excluded from the group. public JobTargetGroupMembershipType? MembershipType { get; set; } /// The target type. - public JobTargetType JobTargetType { get; set; } + public JobTargetType TargetType { get; set; } /// The target server name. public string ServerName { get; set; } /// The target database name. diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SyncGroupLogProperties.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SyncGroupLogProperties.cs index 5538702f706c6..b6cce665e8b53 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SyncGroupLogProperties.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SyncGroupLogProperties.cs @@ -19,15 +19,15 @@ internal SyncGroupLogProperties() /// Initializes a new instance of SyncGroupLogProperties. /// Timestamp of the sync group log. - /// Type of the sync group log. + /// Type of the sync group log. /// Source of the sync group log. /// Details of the sync group log. /// TracingId of the sync group log. /// OperationStatus of the sync group log. - internal SyncGroupLogProperties(DateTimeOffset? timestamp, SyncGroupLogType? syncGroupLogType, string source, string details, Guid? tracingId, string operationStatus) + internal SyncGroupLogProperties(DateTimeOffset? timestamp, SyncGroupLogType? logType, string source, string details, Guid? tracingId, string operationStatus) { Timestamp = timestamp; - SyncGroupLogType = syncGroupLogType; + LogType = logType; Source = source; Details = details; TracingId = tracingId; @@ -37,7 +37,7 @@ internal SyncGroupLogProperties(DateTimeOffset? timestamp, SyncGroupLogType? syn /// Timestamp of the sync group log. public DateTimeOffset? Timestamp { get; } /// Type of the sync group log. - public SyncGroupLogType? SyncGroupLogType { get; } + public SyncGroupLogType? LogType { get; } /// Source of the sync group log. public string Source { get; } /// Details of the sync group log. diff --git a/sdk/storagepool/Azure.ResourceManager.StoragePool/api/Azure.ResourceManager.StoragePool.netstandard2.0.cs b/sdk/storagepool/Azure.ResourceManager.StoragePool/api/Azure.ResourceManager.StoragePool.netstandard2.0.cs index 51c455715fa2d..a209e57b1bf10 100644 --- a/sdk/storagepool/Azure.ResourceManager.StoragePool/api/Azure.ResourceManager.StoragePool.netstandard2.0.cs +++ b/sdk/storagepool/Azure.ResourceManager.StoragePool/api/Azure.ResourceManager.StoragePool.netstandard2.0.cs @@ -300,8 +300,8 @@ public partial class ResourceSkuRestrictions { internal ResourceSkuRestrictions() { } public Azure.ResourceManager.StoragePool.Models.ResourceSkuRestrictionsReasonCode? ReasonCode { get { throw null; } } - public Azure.ResourceManager.StoragePool.Models.ResourceSkuRestrictionsType? ResourceSkuRestrictionsType { get { throw null; } } public Azure.ResourceManager.StoragePool.Models.ResourceSkuRestrictionInfo RestrictionInfo { get { throw null; } } + public Azure.ResourceManager.StoragePool.Models.ResourceSkuRestrictionsType? RestrictionsType { get { throw null; } } public System.Collections.Generic.IReadOnlyList Values { get { throw null; } } } public enum ResourceSkuRestrictionsReasonCode diff --git a/sdk/storagepool/Azure.ResourceManager.StoragePool/src/Generated/Models/ResourceSkuRestrictions.cs b/sdk/storagepool/Azure.ResourceManager.StoragePool/src/Generated/Models/ResourceSkuRestrictions.cs index 97dc7b931c5ba..596c2693cc070 100644 --- a/sdk/storagepool/Azure.ResourceManager.StoragePool/src/Generated/Models/ResourceSkuRestrictions.cs +++ b/sdk/storagepool/Azure.ResourceManager.StoragePool/src/Generated/Models/ResourceSkuRestrictions.cs @@ -20,20 +20,20 @@ internal ResourceSkuRestrictions() } /// Initializes a new instance of ResourceSkuRestrictions. - /// The type of restrictions. + /// The type of restrictions. /// The value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted. /// The information about the restriction where the SKU cannot be used. /// The reason for restriction. - internal ResourceSkuRestrictions(ResourceSkuRestrictionsType? resourceSkuRestrictionsType, IReadOnlyList values, ResourceSkuRestrictionInfo restrictionInfo, ResourceSkuRestrictionsReasonCode? reasonCode) + internal ResourceSkuRestrictions(ResourceSkuRestrictionsType? restrictionsType, IReadOnlyList values, ResourceSkuRestrictionInfo restrictionInfo, ResourceSkuRestrictionsReasonCode? reasonCode) { - ResourceSkuRestrictionsType = resourceSkuRestrictionsType; + RestrictionsType = restrictionsType; Values = values; RestrictionInfo = restrictionInfo; ReasonCode = reasonCode; } /// The type of restrictions. - public ResourceSkuRestrictionsType? ResourceSkuRestrictionsType { get; } + public ResourceSkuRestrictionsType? RestrictionsType { get; } /// The value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted. public IReadOnlyList Values { get; } /// The information about the restriction where the SKU cannot be used. diff --git a/sdk/webpubsub/Azure.ResourceManager.WebPubSub/api/Azure.ResourceManager.WebPubSub.netstandard2.0.cs b/sdk/webpubsub/Azure.ResourceManager.WebPubSub/api/Azure.ResourceManager.WebPubSub.netstandard2.0.cs index 8bab8e8ea524e..35c0cfdb08080 100644 --- a/sdk/webpubsub/Azure.ResourceManager.WebPubSub/api/Azure.ResourceManager.WebPubSub.netstandard2.0.cs +++ b/sdk/webpubsub/Azure.ResourceManager.WebPubSub/api/Azure.ResourceManager.WebPubSub.netstandard2.0.cs @@ -258,7 +258,7 @@ public LiveTraceConfiguration() { } public partial class ManagedIdentity { public ManagedIdentity() { } - public Azure.ResourceManager.WebPubSub.Models.ManagedIdentityType? ManagedIdentityType { get { throw null; } set { } } + public Azure.ResourceManager.WebPubSub.Models.ManagedIdentityType? IdentityType { get { throw null; } set { } } public string PrincipalId { get { throw null; } } public string TenantId { get { throw null; } } public System.Collections.Generic.IDictionary UserAssignedIdentities { get { throw null; } } @@ -457,8 +457,8 @@ internal SkuCapacity() { } public partial class UpstreamAuthSettings { public UpstreamAuthSettings() { } + public Azure.ResourceManager.WebPubSub.Models.UpstreamAuthType? AuthType { get { throw null; } set { } } public string ManagedIdentityResource { get { throw null; } set { } } - public Azure.ResourceManager.WebPubSub.Models.UpstreamAuthType? UpstreamAuthType { get { throw null; } set { } } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct UpstreamAuthType : System.IEquatable diff --git a/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/Models/ManagedIdentity.Serialization.cs b/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/Models/ManagedIdentity.Serialization.cs index 259adcf144559..0dc7186111c7b 100644 --- a/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/Models/ManagedIdentity.Serialization.cs +++ b/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/Models/ManagedIdentity.Serialization.cs @@ -17,10 +17,10 @@ public partial class ManagedIdentity : IUtf8JsonSerializable void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) { writer.WriteStartObject(); - if (Optional.IsDefined(ManagedIdentityType)) + if (Optional.IsDefined(IdentityType)) { writer.WritePropertyName("type"); - writer.WriteStringValue(ManagedIdentityType.Value.ToString()); + writer.WriteStringValue(IdentityType.Value.ToString()); } if (Optional.IsCollectionDefined(UserAssignedIdentities)) { diff --git a/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/Models/ManagedIdentity.cs b/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/Models/ManagedIdentity.cs index 97c62d4a5003c..d9f31a54e47e2 100644 --- a/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/Models/ManagedIdentity.cs +++ b/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/Models/ManagedIdentity.cs @@ -21,7 +21,7 @@ public ManagedIdentity() } /// Initializes a new instance of ManagedIdentity. - /// Represent the identity type: systemAssigned, userAssigned, None. + /// Represent the identity type: systemAssigned, userAssigned, None. /// Get or set the user assigned identities. /// /// Get the principal id for the system assigned identity. @@ -31,16 +31,16 @@ public ManagedIdentity() /// Get the tenant id for the system assigned identity. /// Only be used in response /// - internal ManagedIdentity(ManagedIdentityType? managedIdentityType, IDictionary userAssignedIdentities, string principalId, string tenantId) + internal ManagedIdentity(ManagedIdentityType? identityType, IDictionary userAssignedIdentities, string principalId, string tenantId) { - ManagedIdentityType = managedIdentityType; + IdentityType = identityType; UserAssignedIdentities = userAssignedIdentities; PrincipalId = principalId; TenantId = tenantId; } /// Represent the identity type: systemAssigned, userAssigned, None. - public ManagedIdentityType? ManagedIdentityType { get; set; } + public ManagedIdentityType? IdentityType { get; set; } /// Get or set the user assigned identities. public IDictionary UserAssignedIdentities { get; } /// diff --git a/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/Models/UpstreamAuthSettings.Serialization.cs b/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/Models/UpstreamAuthSettings.Serialization.cs index b576fbc6372c4..63ac00eb096df 100644 --- a/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/Models/UpstreamAuthSettings.Serialization.cs +++ b/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/Models/UpstreamAuthSettings.Serialization.cs @@ -15,10 +15,10 @@ public partial class UpstreamAuthSettings : IUtf8JsonSerializable void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) { writer.WriteStartObject(); - if (Optional.IsDefined(UpstreamAuthType)) + if (Optional.IsDefined(AuthType)) { writer.WritePropertyName("type"); - writer.WriteStringValue(UpstreamAuthType.Value.ToString()); + writer.WriteStringValue(AuthType.Value.ToString()); } if (Optional.IsDefined(ManagedIdentity)) { diff --git a/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/Models/UpstreamAuthSettings.cs b/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/Models/UpstreamAuthSettings.cs index 8a6b635cfc0fb..e27ecc90b2ef1 100644 --- a/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/Models/UpstreamAuthSettings.cs +++ b/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/Models/UpstreamAuthSettings.cs @@ -16,16 +16,16 @@ public UpstreamAuthSettings() } /// Initializes a new instance of UpstreamAuthSettings. - /// Gets or sets the type of auth. None or ManagedIdentity is supported now. + /// Gets or sets the type of auth. None or ManagedIdentity is supported now. /// Gets or sets the managed identity settings. It's required if the auth type is set to ManagedIdentity. - internal UpstreamAuthSettings(UpstreamAuthType? upstreamAuthType, ManagedIdentitySettings managedIdentity) + internal UpstreamAuthSettings(UpstreamAuthType? authType, ManagedIdentitySettings managedIdentity) { - UpstreamAuthType = upstreamAuthType; + AuthType = authType; ManagedIdentity = managedIdentity; } /// Gets or sets the type of auth. None or ManagedIdentity is supported now. - public UpstreamAuthType? UpstreamAuthType { get; set; } + public UpstreamAuthType? AuthType { get; set; } /// Gets or sets the managed identity settings. It's required if the auth type is set to ManagedIdentity. internal ManagedIdentitySettings ManagedIdentity { get; set; } /// diff --git a/sdk/websites/Azure.ResourceManager.AppService/api/Azure.ResourceManager.AppService.netstandard2.0.cs b/sdk/websites/Azure.ResourceManager.AppService/api/Azure.ResourceManager.AppService.netstandard2.0.cs index 30f5c09e59d4d..2dd65abed3df7 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/api/Azure.ResourceManager.AppService.netstandard2.0.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/api/Azure.ResourceManager.AppService.netstandard2.0.cs @@ -4679,10 +4679,10 @@ public partial class AzureStorageInfoValue public AzureStorageInfoValue() { } public string AccessKey { get { throw null; } set { } } public string AccountName { get { throw null; } set { } } - public Azure.ResourceManager.AppService.Models.AzureStorageType? AzureStorageType { get { throw null; } set { } } public string MountPath { get { throw null; } set { } } public string ShareName { get { throw null; } set { } } public Azure.ResourceManager.AppService.Models.AzureStorageState? State { get { throw null; } } + public Azure.ResourceManager.AppService.Models.AzureStorageType? StorageType { get { throw null; } set { } } } public partial class AzureStoragePropertyDictionaryResource : Azure.ResourceManager.AppService.Models.ProxyOnlyResource { diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/AzureStorageInfoValue.Serialization.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/AzureStorageInfoValue.Serialization.cs index d3ad1444f0cba..70aad86e7dd2e 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/AzureStorageInfoValue.Serialization.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/AzureStorageInfoValue.Serialization.cs @@ -15,10 +15,10 @@ public partial class AzureStorageInfoValue : IUtf8JsonSerializable void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) { writer.WriteStartObject(); - if (Optional.IsDefined(AzureStorageType)) + if (Optional.IsDefined(StorageType)) { writer.WritePropertyName("type"); - writer.WriteStringValue(AzureStorageType.Value.ToSerialString()); + writer.WriteStringValue(StorageType.Value.ToSerialString()); } if (Optional.IsDefined(AccountName)) { diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/AzureStorageInfoValue.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/AzureStorageInfoValue.cs index 3f9806743db7c..6407e66572af8 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/AzureStorageInfoValue.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/AzureStorageInfoValue.cs @@ -16,15 +16,15 @@ public AzureStorageInfoValue() } /// Initializes a new instance of AzureStorageInfoValue. - /// Type of storage. + /// Type of storage. /// Name of the storage account. /// Name of the file share (container name, for Blob storage). /// Access key for the storage account. /// Path to mount the storage within the site's runtime environment. /// State of the storage account. - internal AzureStorageInfoValue(AzureStorageType? azureStorageType, string accountName, string shareName, string accessKey, string mountPath, AzureStorageState? state) + internal AzureStorageInfoValue(AzureStorageType? storageType, string accountName, string shareName, string accessKey, string mountPath, AzureStorageState? state) { - AzureStorageType = azureStorageType; + StorageType = storageType; AccountName = accountName; ShareName = shareName; AccessKey = accessKey; @@ -33,7 +33,7 @@ internal AzureStorageInfoValue(AzureStorageType? azureStorageType, string accoun } /// Type of storage. - public AzureStorageType? AzureStorageType { get; set; } + public AzureStorageType? StorageType { get; set; } /// Name of the storage account. public string AccountName { get; set; } /// Name of the file share (container name, for Blob storage).