diff --git a/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/api/Azure.ResourceManager.OperationalInsights.netstandard2.0.cs b/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/api/Azure.ResourceManager.OperationalInsights.netstandard2.0.cs index ce1cc79744c1..04f630f25a78 100644 --- a/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/api/Azure.ResourceManager.OperationalInsights.netstandard2.0.cs +++ b/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/api/Azure.ResourceManager.OperationalInsights.netstandard2.0.cs @@ -402,11 +402,11 @@ public OperationalInsightsTableData() { } public Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsTableRestoredLogs RestoredLogs { get { throw null; } set { } } public Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsTableResultStatistics ResultStatistics { get { throw null; } } public int? RetentionInDays { get { throw null; } set { } } - public Azure.ResourceManager.OperationalInsights.Models.RetentionInDaysAsDefaultState? RetentionInDaysAsDefault { get { throw null; } } + public bool? RetentionInDaysAsDefault { get { throw null; } } public Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsSchema Schema { get { throw null; } set { } } public Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsTableSearchResults SearchResults { get { throw null; } set { } } public int? TotalRetentionInDays { get { throw null; } set { } } - public Azure.ResourceManager.OperationalInsights.Models.TotalRetentionInDaysAsDefaultState? TotalRetentionInDaysAsDefault { get { throw null; } } + public bool? TotalRetentionInDaysAsDefault { get { throw null; } } } public partial class OperationalInsightsTableResource : Azure.ResourceManager.ArmResource { @@ -593,7 +593,7 @@ public static partial class ArmOperationalInsightsModelFactory public static Azure.ResourceManager.OperationalInsights.OperationalInsightsSavedSearchData OperationalInsightsSavedSearchData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, Azure.ETag? etag = default(Azure.ETag?), string category = null, string displayName = null, string query = null, string functionAlias = null, string functionParameters = null, long? version = default(long?), System.Collections.Generic.IEnumerable tags = null) { throw null; } public static Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsSchema OperationalInsightsSchema(string name = null, string displayName = null, string description = null, System.Collections.Generic.IEnumerable columns = null, System.Collections.Generic.IEnumerable standardColumns = null, System.Collections.Generic.IEnumerable categories = null, System.Collections.Generic.IEnumerable labels = null, Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsTableCreator? source = default(Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsTableCreator?), Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsTableType? tableType = default(Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsTableType?), Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsTableSubType? tableSubType = default(Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsTableSubType?), System.Collections.Generic.IEnumerable solutions = null) { throw null; } public static Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsSearchSchemaValue OperationalInsightsSearchSchemaValue(string name = null, string displayName = null, string searchSchemaValueType = null, bool indexed = false, bool stored = false, bool facet = false, System.Collections.Generic.IEnumerable ownerType = null) { throw null; } - public static Azure.ResourceManager.OperationalInsights.OperationalInsightsTableData OperationalInsightsTableData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, int? retentionInDays = default(int?), int? totalRetentionInDays = default(int?), int? archiveRetentionInDays = default(int?), Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsTableSearchResults searchResults = null, Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsTableRestoredLogs restoredLogs = null, Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsTableResultStatistics resultStatistics = null, Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsTablePlan? plan = default(Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsTablePlan?), string lastPlanModifiedDate = null, Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsSchema schema = null, Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsTableProvisioningState? provisioningState = default(Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsTableProvisioningState?), Azure.ResourceManager.OperationalInsights.Models.RetentionInDaysAsDefaultState? retentionInDaysAsDefault = default(Azure.ResourceManager.OperationalInsights.Models.RetentionInDaysAsDefaultState?), Azure.ResourceManager.OperationalInsights.Models.TotalRetentionInDaysAsDefaultState? totalRetentionInDaysAsDefault = default(Azure.ResourceManager.OperationalInsights.Models.TotalRetentionInDaysAsDefaultState?)) { throw null; } + public static Azure.ResourceManager.OperationalInsights.OperationalInsightsTableData OperationalInsightsTableData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, int? retentionInDays = default(int?), int? totalRetentionInDays = default(int?), int? archiveRetentionInDays = default(int?), Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsTableSearchResults searchResults = null, Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsTableRestoredLogs restoredLogs = null, Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsTableResultStatistics resultStatistics = null, Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsTablePlan? plan = default(Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsTablePlan?), string lastPlanModifiedDate = null, Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsSchema schema = null, Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsTableProvisioningState? provisioningState = default(Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsTableProvisioningState?), bool? retentionInDaysAsDefault = default(bool?), bool? totalRetentionInDaysAsDefault = default(bool?)) { throw null; } public static Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsTableRestoredLogs OperationalInsightsTableRestoredLogs(System.DateTimeOffset? startRestoreOn = default(System.DateTimeOffset?), System.DateTimeOffset? endRestoreOn = default(System.DateTimeOffset?), string sourceTable = null, System.Guid? azureAsyncOperationId = default(System.Guid?)) { throw null; } public static Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsTableResultStatistics OperationalInsightsTableResultStatistics(float? progress = default(float?), int? ingestedRecords = default(int?), float? scannedGB = default(float?)) { throw null; } public static Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsTableSearchResults OperationalInsightsTableSearchResults(string query = null, string description = null, int? limit = default(int?), System.DateTimeOffset? startSearchOn = default(System.DateTimeOffset?), System.DateTimeOffset? endSearchOn = default(System.DateTimeOffset?), string sourceTable = null, System.Guid? azureAsyncOperationId = default(System.Guid?)) { throw null; } @@ -1064,6 +1064,7 @@ public OperationalInsightsStorageAccount(Azure.Core.ResourceIdentifier id, strin private readonly object _dummy; private readonly int _dummyPrimitive; public OperationalInsightsTableProvisioningState(string value) { throw null; } + public static Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsTableProvisioningState Deleting { get { throw null; } } public static Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsTableProvisioningState InProgress { get { throw null; } } public static Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsTableProvisioningState Succeeded { get { throw null; } } public static Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsTableProvisioningState Updating { get { throw null; } } @@ -1309,24 +1310,6 @@ public OperationalInsightsWorkspaceSku(Azure.ResourceManager.OperationalInsights public override string ToString() { throw null; } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] - public readonly partial struct RetentionInDaysAsDefaultState : System.IEquatable - { - private readonly object _dummy; - private readonly int _dummyPrimitive; - public RetentionInDaysAsDefaultState(string value) { throw null; } - public static Azure.ResourceManager.OperationalInsights.Models.RetentionInDaysAsDefaultState False { get { throw null; } } - public static Azure.ResourceManager.OperationalInsights.Models.RetentionInDaysAsDefaultState True { get { throw null; } } - public bool Equals(Azure.ResourceManager.OperationalInsights.Models.RetentionInDaysAsDefaultState other) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override bool Equals(object obj) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override int GetHashCode() { throw null; } - public static bool operator ==(Azure.ResourceManager.OperationalInsights.Models.RetentionInDaysAsDefaultState left, Azure.ResourceManager.OperationalInsights.Models.RetentionInDaysAsDefaultState right) { throw null; } - public static implicit operator Azure.ResourceManager.OperationalInsights.Models.RetentionInDaysAsDefaultState (string value) { throw null; } - public static bool operator !=(Azure.ResourceManager.OperationalInsights.Models.RetentionInDaysAsDefaultState left, Azure.ResourceManager.OperationalInsights.Models.RetentionInDaysAsDefaultState right) { throw null; } - public override string ToString() { throw null; } - } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct StorageInsightState : System.IEquatable { private readonly object _dummy; @@ -1350,22 +1333,4 @@ internal StorageInsightStatus() { } public string Description { get { throw null; } } public Azure.ResourceManager.OperationalInsights.Models.StorageInsightState State { get { throw null; } } } - [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] - public readonly partial struct TotalRetentionInDaysAsDefaultState : System.IEquatable - { - private readonly object _dummy; - private readonly int _dummyPrimitive; - public TotalRetentionInDaysAsDefaultState(string value) { throw null; } - public static Azure.ResourceManager.OperationalInsights.Models.TotalRetentionInDaysAsDefaultState False { get { throw null; } } - public static Azure.ResourceManager.OperationalInsights.Models.TotalRetentionInDaysAsDefaultState True { get { throw null; } } - public bool Equals(Azure.ResourceManager.OperationalInsights.Models.TotalRetentionInDaysAsDefaultState other) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override bool Equals(object obj) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override int GetHashCode() { throw null; } - public static bool operator ==(Azure.ResourceManager.OperationalInsights.Models.TotalRetentionInDaysAsDefaultState left, Azure.ResourceManager.OperationalInsights.Models.TotalRetentionInDaysAsDefaultState right) { throw null; } - public static implicit operator Azure.ResourceManager.OperationalInsights.Models.TotalRetentionInDaysAsDefaultState (string value) { throw null; } - public static bool operator !=(Azure.ResourceManager.OperationalInsights.Models.TotalRetentionInDaysAsDefaultState left, Azure.ResourceManager.OperationalInsights.Models.TotalRetentionInDaysAsDefaultState right) { throw null; } - public override string ToString() { throw null; } - } } diff --git a/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/src/Generated/ArmOperationalInsightsModelFactory.cs b/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/src/Generated/ArmOperationalInsightsModelFactory.cs index 6795f7eac923..4fc327657081 100644 --- a/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/src/Generated/ArmOperationalInsightsModelFactory.cs +++ b/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/src/Generated/ArmOperationalInsightsModelFactory.cs @@ -427,7 +427,7 @@ public static OperationalInsightsWorkspacePatch OperationalInsightsWorkspacePatc /// The resourceType. /// The systemData. /// The table retention in days, between 4 and 730. Setting this property to -1 will default to the workspace retention. - /// The table total retention in days, between 4 and 2555. Setting this property to -1 will default to table retention. + /// The table total retention in days, between 4 and 2556. Setting this property to -1 will default to table retention. /// The table data archive retention in days. Calculated as (totalRetentionInDays-retentionInDays). /// Parameters of the search job that initiated this table. /// Parameters of the restore operation that initiated this table. @@ -439,7 +439,7 @@ public static OperationalInsightsWorkspacePatch OperationalInsightsWorkspacePatc /// True - Value originates from workspace retention in days, False - Customer specific. /// True - Value originates from retention in days, False - Customer specific. /// A new instance for mocking. - public static OperationalInsightsTableData OperationalInsightsTableData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, int? retentionInDays = null, int? totalRetentionInDays = null, int? archiveRetentionInDays = null, OperationalInsightsTableSearchResults searchResults = null, OperationalInsightsTableRestoredLogs restoredLogs = null, OperationalInsightsTableResultStatistics resultStatistics = null, OperationalInsightsTablePlan? plan = null, string lastPlanModifiedDate = null, OperationalInsightsSchema schema = null, OperationalInsightsTableProvisioningState? provisioningState = null, RetentionInDaysAsDefaultState? retentionInDaysAsDefault = null, TotalRetentionInDaysAsDefaultState? totalRetentionInDaysAsDefault = null) + public static OperationalInsightsTableData OperationalInsightsTableData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, int? retentionInDays = null, int? totalRetentionInDays = null, int? archiveRetentionInDays = null, OperationalInsightsTableSearchResults searchResults = null, OperationalInsightsTableRestoredLogs restoredLogs = null, OperationalInsightsTableResultStatistics resultStatistics = null, OperationalInsightsTablePlan? plan = null, string lastPlanModifiedDate = null, OperationalInsightsSchema schema = null, OperationalInsightsTableProvisioningState? provisioningState = null, bool? retentionInDaysAsDefault = null, bool? totalRetentionInDaysAsDefault = null) { return new OperationalInsightsTableData(id, name, resourceType, systemData, retentionInDays, totalRetentionInDays, archiveRetentionInDays, searchResults, restoredLogs, resultStatistics, plan, lastPlanModifiedDate, schema, provisioningState, retentionInDaysAsDefault, totalRetentionInDaysAsDefault); } diff --git a/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/src/Generated/Models/OperationalInsightsTableData.Serialization.cs b/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/src/Generated/Models/OperationalInsightsTableData.Serialization.cs index 249d2d60ced7..a30e7df375bc 100644 --- a/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/src/Generated/Models/OperationalInsightsTableData.Serialization.cs +++ b/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/src/Generated/Models/OperationalInsightsTableData.Serialization.cs @@ -73,8 +73,8 @@ internal static OperationalInsightsTableData DeserializeOperationalInsightsTable Optional lastPlanModifiedDate = default; Optional schema = default; Optional provisioningState = default; - Optional retentionInDaysAsDefault = default; - Optional totalRetentionInDaysAsDefault = default; + Optional retentionInDaysAsDefault = default; + Optional totalRetentionInDaysAsDefault = default; foreach (var property in element.EnumerateObject()) { if (property.NameEquals("id"u8)) @@ -202,7 +202,7 @@ internal static OperationalInsightsTableData DeserializeOperationalInsightsTable { continue; } - retentionInDaysAsDefault = new RetentionInDaysAsDefaultState(property0.Value.GetString()); + retentionInDaysAsDefault = property0.Value.GetBoolean(); continue; } if (property0.NameEquals("totalRetentionInDaysAsDefault"u8)) @@ -211,7 +211,7 @@ internal static OperationalInsightsTableData DeserializeOperationalInsightsTable { continue; } - totalRetentionInDaysAsDefault = new TotalRetentionInDaysAsDefaultState(property0.Value.GetString()); + totalRetentionInDaysAsDefault = property0.Value.GetBoolean(); continue; } } diff --git a/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/src/Generated/Models/OperationalInsightsTableProvisioningState.cs b/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/src/Generated/Models/OperationalInsightsTableProvisioningState.cs index e555cff378d2..7ee3c9c86acb 100644 --- a/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/src/Generated/Models/OperationalInsightsTableProvisioningState.cs +++ b/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/src/Generated/Models/OperationalInsightsTableProvisioningState.cs @@ -25,6 +25,7 @@ public OperationalInsightsTableProvisioningState(string value) private const string UpdatingValue = "Updating"; private const string InProgressValue = "InProgress"; private const string SucceededValue = "Succeeded"; + private const string DeletingValue = "Deleting"; /// Table schema is still being built and updated, table is currently locked for any changes till the procedure is done. public static OperationalInsightsTableProvisioningState Updating { get; } = new OperationalInsightsTableProvisioningState(UpdatingValue); @@ -32,6 +33,8 @@ public OperationalInsightsTableProvisioningState(string value) public static OperationalInsightsTableProvisioningState InProgress { get; } = new OperationalInsightsTableProvisioningState(InProgressValue); /// Table state is stable and without changes, table is unlocked and open for new updates. public static OperationalInsightsTableProvisioningState Succeeded { get; } = new OperationalInsightsTableProvisioningState(SucceededValue); + /// Table state is deleting. + public static OperationalInsightsTableProvisioningState Deleting { get; } = new OperationalInsightsTableProvisioningState(DeletingValue); /// Determines if two values are the same. public static bool operator ==(OperationalInsightsTableProvisioningState left, OperationalInsightsTableProvisioningState right) => left.Equals(right); /// Determines if two values are not the same. diff --git a/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/src/Generated/Models/RetentionInDaysAsDefaultState.cs b/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/src/Generated/Models/RetentionInDaysAsDefaultState.cs deleted file mode 100644 index 9232896216de..000000000000 --- a/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/src/Generated/Models/RetentionInDaysAsDefaultState.cs +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System; -using System.ComponentModel; - -namespace Azure.ResourceManager.OperationalInsights.Models -{ - /// True - Value originates from workspace retention in days, False - Customer specific. - public readonly partial struct RetentionInDaysAsDefaultState : IEquatable - { - private readonly string _value; - - /// Initializes a new instance of . - /// is null. - public RetentionInDaysAsDefaultState(string value) - { - _value = value ?? throw new ArgumentNullException(nameof(value)); - } - - private const string TrueValue = "True"; - private const string FalseValue = "False"; - - /// Value originates from workspace retention in days. - public static RetentionInDaysAsDefaultState True { get; } = new RetentionInDaysAsDefaultState(TrueValue); - /// Value is customer specific. - public static RetentionInDaysAsDefaultState False { get; } = new RetentionInDaysAsDefaultState(FalseValue); - /// Determines if two values are the same. - public static bool operator ==(RetentionInDaysAsDefaultState left, RetentionInDaysAsDefaultState right) => left.Equals(right); - /// Determines if two values are not the same. - public static bool operator !=(RetentionInDaysAsDefaultState left, RetentionInDaysAsDefaultState right) => !left.Equals(right); - /// Converts a string to a . - public static implicit operator RetentionInDaysAsDefaultState(string value) => new RetentionInDaysAsDefaultState(value); - - /// - [EditorBrowsable(EditorBrowsableState.Never)] - public override bool Equals(object obj) => obj is RetentionInDaysAsDefaultState other && Equals(other); - /// - public bool Equals(RetentionInDaysAsDefaultState other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase); - - /// - [EditorBrowsable(EditorBrowsableState.Never)] - public override int GetHashCode() => _value?.GetHashCode() ?? 0; - /// - public override string ToString() => _value; - } -} diff --git a/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/src/Generated/Models/TotalRetentionInDaysAsDefaultState.cs b/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/src/Generated/Models/TotalRetentionInDaysAsDefaultState.cs deleted file mode 100644 index 29eb965e081f..000000000000 --- a/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/src/Generated/Models/TotalRetentionInDaysAsDefaultState.cs +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System; -using System.ComponentModel; - -namespace Azure.ResourceManager.OperationalInsights.Models -{ - /// True - Value originates from retention in days, False - Customer specific. - public readonly partial struct TotalRetentionInDaysAsDefaultState : IEquatable - { - private readonly string _value; - - /// Initializes a new instance of . - /// is null. - public TotalRetentionInDaysAsDefaultState(string value) - { - _value = value ?? throw new ArgumentNullException(nameof(value)); - } - - private const string TrueValue = "True"; - private const string FalseValue = "False"; - - /// Value originates from retention in days. - public static TotalRetentionInDaysAsDefaultState True { get; } = new TotalRetentionInDaysAsDefaultState(TrueValue); - /// Value is customer specific. - public static TotalRetentionInDaysAsDefaultState False { get; } = new TotalRetentionInDaysAsDefaultState(FalseValue); - /// Determines if two values are the same. - public static bool operator ==(TotalRetentionInDaysAsDefaultState left, TotalRetentionInDaysAsDefaultState right) => left.Equals(right); - /// Determines if two values are not the same. - public static bool operator !=(TotalRetentionInDaysAsDefaultState left, TotalRetentionInDaysAsDefaultState right) => !left.Equals(right); - /// Converts a string to a . - public static implicit operator TotalRetentionInDaysAsDefaultState(string value) => new TotalRetentionInDaysAsDefaultState(value); - - /// - [EditorBrowsable(EditorBrowsableState.Never)] - public override bool Equals(object obj) => obj is TotalRetentionInDaysAsDefaultState other && Equals(other); - /// - public bool Equals(TotalRetentionInDaysAsDefaultState other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase); - - /// - [EditorBrowsable(EditorBrowsableState.Never)] - public override int GetHashCode() => _value?.GetHashCode() ?? 0; - /// - public override string ToString() => _value; - } -} diff --git a/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/src/Generated/OperationalInsightsTableData.cs b/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/src/Generated/OperationalInsightsTableData.cs index 7bddf42876db..c6ab48f6d337 100644 --- a/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/src/Generated/OperationalInsightsTableData.cs +++ b/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/src/Generated/OperationalInsightsTableData.cs @@ -28,7 +28,7 @@ public OperationalInsightsTableData() /// The resourceType. /// The systemData. /// The table retention in days, between 4 and 730. Setting this property to -1 will default to the workspace retention. - /// The table total retention in days, between 4 and 2555. Setting this property to -1 will default to table retention. + /// The table total retention in days, between 4 and 2556. Setting this property to -1 will default to table retention. /// The table data archive retention in days. Calculated as (totalRetentionInDays-retentionInDays). /// Parameters of the search job that initiated this table. /// Parameters of the restore operation that initiated this table. @@ -39,7 +39,7 @@ public OperationalInsightsTableData() /// Table's current provisioning state. If set to 'updating', indicates a resource lock due to ongoing operation, forbidding any update to the table until the ongoing operation is concluded. /// True - Value originates from workspace retention in days, False - Customer specific. /// True - Value originates from retention in days, False - Customer specific. - internal OperationalInsightsTableData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, int? retentionInDays, int? totalRetentionInDays, int? archiveRetentionInDays, OperationalInsightsTableSearchResults searchResults, OperationalInsightsTableRestoredLogs restoredLogs, OperationalInsightsTableResultStatistics resultStatistics, OperationalInsightsTablePlan? plan, string lastPlanModifiedDate, OperationalInsightsSchema schema, OperationalInsightsTableProvisioningState? provisioningState, RetentionInDaysAsDefaultState? retentionInDaysAsDefault, TotalRetentionInDaysAsDefaultState? totalRetentionInDaysAsDefault) : base(id, name, resourceType, systemData) + internal OperationalInsightsTableData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, int? retentionInDays, int? totalRetentionInDays, int? archiveRetentionInDays, OperationalInsightsTableSearchResults searchResults, OperationalInsightsTableRestoredLogs restoredLogs, OperationalInsightsTableResultStatistics resultStatistics, OperationalInsightsTablePlan? plan, string lastPlanModifiedDate, OperationalInsightsSchema schema, OperationalInsightsTableProvisioningState? provisioningState, bool? retentionInDaysAsDefault, bool? totalRetentionInDaysAsDefault) : base(id, name, resourceType, systemData) { RetentionInDays = retentionInDays; TotalRetentionInDays = totalRetentionInDays; @@ -57,7 +57,7 @@ internal OperationalInsightsTableData(ResourceIdentifier id, string name, Resour /// The table retention in days, between 4 and 730. Setting this property to -1 will default to the workspace retention. public int? RetentionInDays { get; set; } - /// The table total retention in days, between 4 and 2555. Setting this property to -1 will default to table retention. + /// The table total retention in days, between 4 and 2556. Setting this property to -1 will default to table retention. public int? TotalRetentionInDays { get; set; } /// The table data archive retention in days. Calculated as (totalRetentionInDays-retentionInDays). public int? ArchiveRetentionInDays { get; } @@ -76,8 +76,8 @@ internal OperationalInsightsTableData(ResourceIdentifier id, string name, Resour /// Table's current provisioning state. If set to 'updating', indicates a resource lock due to ongoing operation, forbidding any update to the table until the ongoing operation is concluded. public OperationalInsightsTableProvisioningState? ProvisioningState { get; } /// True - Value originates from workspace retention in days, False - Customer specific. - public RetentionInDaysAsDefaultState? RetentionInDaysAsDefault { get; } + public bool? RetentionInDaysAsDefault { get; } /// True - Value originates from retention in days, False - Customer specific. - public TotalRetentionInDaysAsDefaultState? TotalRetentionInDaysAsDefault { get; } + public bool? TotalRetentionInDaysAsDefault { get; } } } diff --git a/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/src/autorest.md b/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/src/autorest.md index 2cbe7c745139..2d46f7924444 100644 --- a/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/src/autorest.md +++ b/sdk/operationalinsights/Azure.ResourceManager.OperationalInsights/src/autorest.md @@ -7,7 +7,7 @@ azure-arm: true csharp: true library-name: OperationalInsights namespace: Azure.ResourceManager.OperationalInsights -require: https://github.com/Azure/azure-rest-api-specs/blob/7d5d1db0c45d6fe0934c97b6a6f9bb34112d42d1/specification/operationalinsights/resource-manager/readme.md +require: /mnt/vss/_work/1/s/azure-rest-api-specs/specification/operationalinsights/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true skip-csproj: true