Skip to content

Commit 7b34e2b

Browse files
SherylueenYanwen Liu
andauthored
spec changed ProvisioningState Cancelled to Canceled, and some descri… (Azure#31961)
* spec changed ProvisioningState Cancelled to Canceled, and some descriptions * export api Co-authored-by: Yanwen Liu <yanwenliu@microsoft.com>
1 parent d025047 commit 7b34e2b

File tree

9 files changed

+108
-25
lines changed

9 files changed

+108
-25
lines changed

sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/api/Azure.ResourceManager.AppComplianceAutomation.netstandard2.0.cs

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ public partial class ComplianceReportItem
165165
{
166166
internal ComplianceReportItem() { }
167167
public string CategoryName { get { throw null; } }
168-
public string ComplianceState { get { throw null; } }
168+
public Azure.ResourceManager.AppComplianceAutomation.Models.ComplianceState? ComplianceState { get { throw null; } }
169169
public string ControlId { get { throw null; } }
170170
public string ControlName { get { throw null; } }
171171
public Azure.ResourceManager.AppComplianceAutomation.Models.ControlType? ControlType { get { throw null; } }
@@ -184,6 +184,24 @@ internal ComplianceResult() { }
184184
public System.Collections.Generic.IReadOnlyList<Azure.ResourceManager.AppComplianceAutomation.Models.Category> Categories { get { throw null; } }
185185
public string ComplianceName { get { throw null; } }
186186
}
187+
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
188+
public readonly partial struct ComplianceState : System.IEquatable<Azure.ResourceManager.AppComplianceAutomation.Models.ComplianceState>
189+
{
190+
private readonly object _dummy;
191+
private readonly int _dummyPrimitive;
192+
public ComplianceState(string value) { throw null; }
193+
public static Azure.ResourceManager.AppComplianceAutomation.Models.ComplianceState Healthy { get { throw null; } }
194+
public static Azure.ResourceManager.AppComplianceAutomation.Models.ComplianceState Unhealthy { get { throw null; } }
195+
public bool Equals(Azure.ResourceManager.AppComplianceAutomation.Models.ComplianceState other) { throw null; }
196+
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
197+
public override bool Equals(object obj) { throw null; }
198+
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
199+
public override int GetHashCode() { throw null; }
200+
public static bool operator ==(Azure.ResourceManager.AppComplianceAutomation.Models.ComplianceState left, Azure.ResourceManager.AppComplianceAutomation.Models.ComplianceState right) { throw null; }
201+
public static implicit operator Azure.ResourceManager.AppComplianceAutomation.Models.ComplianceState (string value) { throw null; }
202+
public static bool operator !=(Azure.ResourceManager.AppComplianceAutomation.Models.ComplianceState left, Azure.ResourceManager.AppComplianceAutomation.Models.ComplianceState right) { throw null; }
203+
public override string ToString() { throw null; }
204+
}
187205
public partial class Control
188206
{
189207
internal Control() { }
@@ -338,7 +356,7 @@ internal OverviewStatus() { }
338356
private readonly object _dummy;
339357
private readonly int _dummyPrimitive;
340358
public ProvisioningState(string value) { throw null; }
341-
public static Azure.ResourceManager.AppComplianceAutomation.Models.ProvisioningState Cancelled { get { throw null; } }
359+
public static Azure.ResourceManager.AppComplianceAutomation.Models.ProvisioningState Canceled { get { throw null; } }
342360
public static Azure.ResourceManager.AppComplianceAutomation.Models.ProvisioningState Creating { get { throw null; } }
343361
public static Azure.ResourceManager.AppComplianceAutomation.Models.ProvisioningState Deleting { get { throw null; } }
344362
public static Azure.ResourceManager.AppComplianceAutomation.Models.ProvisioningState Failed { get { throw null; } }

sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/src/Generated/Models/ComplianceReportItem.Serialization.cs

Lines changed: 8 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/src/Generated/Models/ComplianceReportItem.cs

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/src/Generated/Models/ComplianceState.cs

Lines changed: 51 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/src/Generated/Models/ProvisioningState.cs

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/src/Generated/Models/ReportProperties.cs

Lines changed: 12 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/src/Generated/Models/ResourceItem.cs

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/src/Generated/Models/ResourceMetadata.cs

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/src/autorest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ azure-arm: true
88
csharp: true
99
library-name: AppComplianceAutomation
1010
namespace: Azure.ResourceManager.AppComplianceAutomation
11-
require: https://github.com/Azure/azure-rest-api-specs/blob/8723412b586149d26b64699aad98203d97d84b9e/specification/appcomplianceautomation/resource-manager/readme.md
11+
require: https://github.com/Azure/azure-rest-api-specs/blob/da15318e582f0cd1ea01e7a2556190c98aa1578f/specification/appcomplianceautomation/resource-manager/readme.md
1212
output-folder: $(this-folder)/Generated
1313
clear-output-folder: true
1414
skip-csproj: true

0 commit comments

Comments
 (0)