From 71a804b6d53669a4a3dddebc89c14e8754924902 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Fri, 18 Apr 2025 18:07:35 +0000 Subject: [PATCH] CodeGen from PR 34001 in Azure/azure-rest-api-specs Merge 31684d38b1325d3cb2c0498ab5f536fb236fb1f8 into be0a8e2bc65ac61ac0fa175d3d0ff05a516f87a1 --- ...sourceManager.ConfidentialLedger.net8.0.cs | 49 +++++++- ...nager.ConfidentialLedger.netstandard2.0.cs | 49 +++++++- .../Sample_ConfidentialLedgerCollection.cs | 16 ++- .../Sample_ConfidentialLedgerResource.cs | 10 +- .../Samples/Sample_ManagedCcfCollection.cs | 10 +- .../Samples/Sample_ManagedCcfResource.cs | 10 +- .../Sample_SubscriptionResourceExtensions.cs | 6 +- .../ArmConfidentialLedgerModelFactory.cs | 22 +++- .../Generated/ConfidentialLedgerCollection.cs | 20 +-- .../Generated/ConfidentialLedgerResource.cs | 32 ++--- .../ConfidentialLedgerExtensions.cs | 20 +-- ...ConfidentialLedgerResourceGroupResource.cs | 8 +- ...eConfidentialLedgerSubscriptionResource.cs | 12 +- .../src/Generated/ManagedCcfCollection.cs | 20 +-- .../src/Generated/ManagedCcfResource.cs | 32 ++--- .../src/Generated/Models/ApplicationType.cs | 51 ++++++++ ...fidentialLedgerProperties.Serialization.cs | 116 ++++++++++++++++++ .../Models/ConfidentialLedgerProperties.cs | 34 ++++- .../src/Generated/Models/EnclavePlatform.cs | 51 ++++++++ .../ManagedCcfProperties.Serialization.cs | 16 +++ .../Generated/Models/ManagedCcfProperties.cs | 6 +- .../ConfidentialLedgerRestOperations.cs | 2 +- .../RestOperations/LedgerRestOperations.cs | 2 +- .../ManagedCCFRestOperations.cs | 2 +- .../src/autorest.md | 2 +- sdk/storage/ci.yml | 2 + 26 files changed, 493 insertions(+), 107 deletions(-) create mode 100644 sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/Generated/Models/ApplicationType.cs create mode 100644 sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/Generated/Models/EnclavePlatform.cs diff --git a/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/api/Azure.ResourceManager.ConfidentialLedger.net8.0.cs b/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/api/Azure.ResourceManager.ConfidentialLedger.net8.0.cs index 9e9b0508882b..7303199035a7 100644 --- a/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/api/Azure.ResourceManager.ConfidentialLedger.net8.0.cs +++ b/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/api/Azure.ResourceManager.ConfidentialLedger.net8.0.cs @@ -176,18 +176,36 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } } + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] + public readonly partial struct ApplicationType : System.IEquatable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ApplicationType(string value) { throw null; } + public static Azure.ResourceManager.ConfidentialLedger.Models.ApplicationType CodeTransparency { get { throw null; } } + public static Azure.ResourceManager.ConfidentialLedger.Models.ApplicationType ConfidentialLedger { get { throw null; } } + public bool Equals(Azure.ResourceManager.ConfidentialLedger.Models.ApplicationType 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.ConfidentialLedger.Models.ApplicationType left, Azure.ResourceManager.ConfidentialLedger.Models.ApplicationType right) { throw null; } + public static implicit operator Azure.ResourceManager.ConfidentialLedger.Models.ApplicationType (string value) { throw null; } + public static bool operator !=(Azure.ResourceManager.ConfidentialLedger.Models.ApplicationType left, Azure.ResourceManager.ConfidentialLedger.Models.ApplicationType right) { throw null; } + public override string ToString() { throw null; } + } public static partial class ArmConfidentialLedgerModelFactory { public static Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerBackupContent ConfidentialLedgerBackupContent(string restoreRegion = null, System.Uri uri = null) { throw null; } public static Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerBackupResult ConfidentialLedgerBackupResult(string message = null) { throw null; } public static Azure.ResourceManager.ConfidentialLedger.ConfidentialLedgerData ConfidentialLedgerData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, System.Collections.Generic.IDictionary tags = null, Azure.Core.AzureLocation location = default(Azure.Core.AzureLocation), Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerProperties properties = null) { throw null; } public static Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerNameAvailabilityResult ConfidentialLedgerNameAvailabilityResult(bool? isNameAvailable = default(bool?), Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerNameUnavailableReason? reason = default(Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerNameUnavailableReason?), string message = null) { throw null; } - public static Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerProperties ConfidentialLedgerProperties(string ledgerName = null, System.Uri ledgerUri = null, System.Uri identityServiceUri = null, string ledgerInternalNamespace = null, Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerRunningState? runningState = default(Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerRunningState?), Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerType? ledgerType = default(Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerType?), Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerProvisioningState? provisioningState = default(Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerProvisioningState?), Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerSku? ledgerSku = default(Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerSku?), System.Collections.Generic.IEnumerable aadBasedSecurityPrincipals = null, System.Collections.Generic.IEnumerable certBasedSecurityPrincipals = null) { throw null; } + public static Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerProperties ConfidentialLedgerProperties(string ledgerName = null, System.Uri ledgerUri = null, System.Uri identityServiceUri = null, string ledgerInternalNamespace = null, Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerRunningState? runningState = default(Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerRunningState?), Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerType? ledgerType = default(Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerType?), Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerProvisioningState? provisioningState = default(Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerProvisioningState?), Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerSku? ledgerSku = default(Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerSku?), System.Collections.Generic.IEnumerable aadBasedSecurityPrincipals = null, System.Collections.Generic.IEnumerable certBasedSecurityPrincipals = null, string hostLevel = null, int? maxBodySizeInMb = default(int?), string subjectName = null, int? nodeCount = default(int?), string writeLBAddressPrefix = null, int? workerThreads = default(int?), Azure.ResourceManager.ConfidentialLedger.Models.EnclavePlatform? enclavePlatform = default(Azure.ResourceManager.ConfidentialLedger.Models.EnclavePlatform?), Azure.ResourceManager.ConfidentialLedger.Models.ApplicationType? applicationType = default(Azure.ResourceManager.ConfidentialLedger.Models.ApplicationType?)) { throw null; } public static Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerRestoreResult ConfidentialLedgerRestoreResult(string message = null) { throw null; } public static Azure.ResourceManager.ConfidentialLedger.Models.ManagedCcfBackupContent ManagedCcfBackupContent(string restoreRegion = null, System.Uri uri = null) { throw null; } public static Azure.ResourceManager.ConfidentialLedger.Models.ManagedCcfBackupResult ManagedCcfBackupResult(string message = null) { throw null; } public static Azure.ResourceManager.ConfidentialLedger.ManagedCcfData ManagedCcfData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, System.Collections.Generic.IDictionary tags = null, Azure.Core.AzureLocation location = default(Azure.Core.AzureLocation), Azure.ResourceManager.ConfidentialLedger.Models.ManagedCcfProperties properties = null) { throw null; } - public static Azure.ResourceManager.ConfidentialLedger.Models.ManagedCcfProperties ManagedCcfProperties(string appName = null, System.Uri appUri = null, System.Uri identityServiceUri = null, System.Collections.Generic.IEnumerable memberIdentityCertificates = null, Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerDeploymentType deploymentType = null, Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerRunningState? runningState = default(Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerRunningState?), Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerProvisioningState? provisioningState = default(Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerProvisioningState?), int? nodeCount = default(int?)) { throw null; } + public static Azure.ResourceManager.ConfidentialLedger.Models.ManagedCcfProperties ManagedCcfProperties(string appName = null, System.Uri appUri = null, System.Uri identityServiceUri = null, System.Collections.Generic.IEnumerable memberIdentityCertificates = null, Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerDeploymentType deploymentType = null, Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerRunningState? runningState = default(Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerRunningState?), Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerProvisioningState? provisioningState = default(Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerProvisioningState?), int? nodeCount = default(int?), Azure.ResourceManager.ConfidentialLedger.Models.EnclavePlatform? enclavePlatform = default(Azure.ResourceManager.ConfidentialLedger.Models.EnclavePlatform?)) { throw null; } public static Azure.ResourceManager.ConfidentialLedger.Models.ManagedCcfRestoreResult ManagedCcfRestoreResult(string message = null) { throw null; } } public partial class CertBasedSecurityPrincipal : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel @@ -315,15 +333,23 @@ public partial class ConfidentialLedgerProperties : System.ClientModel.Primitive { public ConfidentialLedgerProperties() { } public System.Collections.Generic.IList AadBasedSecurityPrincipals { get { throw null; } } + public Azure.ResourceManager.ConfidentialLedger.Models.ApplicationType? ApplicationType { get { throw null; } set { } } public System.Collections.Generic.IList CertBasedSecurityPrincipals { get { throw null; } } + public Azure.ResourceManager.ConfidentialLedger.Models.EnclavePlatform? EnclavePlatform { get { throw null; } set { } } + public string HostLevel { get { throw null; } set { } } public System.Uri IdentityServiceUri { get { throw null; } } public string LedgerInternalNamespace { get { throw null; } } public string LedgerName { get { throw null; } } public Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerSku? LedgerSku { get { throw null; } set { } } public Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerType? LedgerType { get { throw null; } set { } } public System.Uri LedgerUri { get { throw null; } } + public int? MaxBodySizeInMb { get { throw null; } set { } } + public int? NodeCount { get { throw null; } set { } } public Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerProvisioningState? ProvisioningState { get { throw null; } } public Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerRunningState? RunningState { get { throw null; } set { } } + public string SubjectName { get { throw null; } set { } } + public int? WorkerThreads { get { throw null; } set { } } + public string WriteLBAddressPrefix { get { throw null; } set { } } protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerProperties System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } @@ -456,6 +482,24 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer public static bool operator !=(Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerType left, Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerType right) { throw null; } public override string ToString() { throw null; } } + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] + public readonly partial struct EnclavePlatform : System.IEquatable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public EnclavePlatform(string value) { throw null; } + public static Azure.ResourceManager.ConfidentialLedger.Models.EnclavePlatform AmdSevSnp { get { throw null; } } + public static Azure.ResourceManager.ConfidentialLedger.Models.EnclavePlatform IntelSgx { get { throw null; } } + public bool Equals(Azure.ResourceManager.ConfidentialLedger.Models.EnclavePlatform 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.ConfidentialLedger.Models.EnclavePlatform left, Azure.ResourceManager.ConfidentialLedger.Models.EnclavePlatform right) { throw null; } + public static implicit operator Azure.ResourceManager.ConfidentialLedger.Models.EnclavePlatform (string value) { throw null; } + public static bool operator !=(Azure.ResourceManager.ConfidentialLedger.Models.EnclavePlatform left, Azure.ResourceManager.ConfidentialLedger.Models.EnclavePlatform right) { throw null; } + public override string ToString() { throw null; } + } public partial class ManagedCcfBackupContent : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { public ManagedCcfBackupContent(System.Uri uri) { } @@ -485,6 +529,7 @@ public ManagedCcfProperties() { } public string AppName { get { throw null; } } public System.Uri AppUri { get { throw null; } } public Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerDeploymentType DeploymentType { get { throw null; } set { } } + public Azure.ResourceManager.ConfidentialLedger.Models.EnclavePlatform? EnclavePlatform { get { throw null; } set { } } public System.Uri IdentityServiceUri { get { throw null; } } public System.Collections.Generic.IList MemberIdentityCertificates { get { throw null; } } public int? NodeCount { get { throw null; } set { } } diff --git a/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/api/Azure.ResourceManager.ConfidentialLedger.netstandard2.0.cs b/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/api/Azure.ResourceManager.ConfidentialLedger.netstandard2.0.cs index 9e9b0508882b..7303199035a7 100644 --- a/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/api/Azure.ResourceManager.ConfidentialLedger.netstandard2.0.cs +++ b/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/api/Azure.ResourceManager.ConfidentialLedger.netstandard2.0.cs @@ -176,18 +176,36 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } } + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] + public readonly partial struct ApplicationType : System.IEquatable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ApplicationType(string value) { throw null; } + public static Azure.ResourceManager.ConfidentialLedger.Models.ApplicationType CodeTransparency { get { throw null; } } + public static Azure.ResourceManager.ConfidentialLedger.Models.ApplicationType ConfidentialLedger { get { throw null; } } + public bool Equals(Azure.ResourceManager.ConfidentialLedger.Models.ApplicationType 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.ConfidentialLedger.Models.ApplicationType left, Azure.ResourceManager.ConfidentialLedger.Models.ApplicationType right) { throw null; } + public static implicit operator Azure.ResourceManager.ConfidentialLedger.Models.ApplicationType (string value) { throw null; } + public static bool operator !=(Azure.ResourceManager.ConfidentialLedger.Models.ApplicationType left, Azure.ResourceManager.ConfidentialLedger.Models.ApplicationType right) { throw null; } + public override string ToString() { throw null; } + } public static partial class ArmConfidentialLedgerModelFactory { public static Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerBackupContent ConfidentialLedgerBackupContent(string restoreRegion = null, System.Uri uri = null) { throw null; } public static Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerBackupResult ConfidentialLedgerBackupResult(string message = null) { throw null; } public static Azure.ResourceManager.ConfidentialLedger.ConfidentialLedgerData ConfidentialLedgerData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, System.Collections.Generic.IDictionary tags = null, Azure.Core.AzureLocation location = default(Azure.Core.AzureLocation), Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerProperties properties = null) { throw null; } public static Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerNameAvailabilityResult ConfidentialLedgerNameAvailabilityResult(bool? isNameAvailable = default(bool?), Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerNameUnavailableReason? reason = default(Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerNameUnavailableReason?), string message = null) { throw null; } - public static Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerProperties ConfidentialLedgerProperties(string ledgerName = null, System.Uri ledgerUri = null, System.Uri identityServiceUri = null, string ledgerInternalNamespace = null, Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerRunningState? runningState = default(Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerRunningState?), Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerType? ledgerType = default(Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerType?), Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerProvisioningState? provisioningState = default(Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerProvisioningState?), Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerSku? ledgerSku = default(Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerSku?), System.Collections.Generic.IEnumerable aadBasedSecurityPrincipals = null, System.Collections.Generic.IEnumerable certBasedSecurityPrincipals = null) { throw null; } + public static Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerProperties ConfidentialLedgerProperties(string ledgerName = null, System.Uri ledgerUri = null, System.Uri identityServiceUri = null, string ledgerInternalNamespace = null, Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerRunningState? runningState = default(Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerRunningState?), Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerType? ledgerType = default(Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerType?), Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerProvisioningState? provisioningState = default(Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerProvisioningState?), Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerSku? ledgerSku = default(Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerSku?), System.Collections.Generic.IEnumerable aadBasedSecurityPrincipals = null, System.Collections.Generic.IEnumerable certBasedSecurityPrincipals = null, string hostLevel = null, int? maxBodySizeInMb = default(int?), string subjectName = null, int? nodeCount = default(int?), string writeLBAddressPrefix = null, int? workerThreads = default(int?), Azure.ResourceManager.ConfidentialLedger.Models.EnclavePlatform? enclavePlatform = default(Azure.ResourceManager.ConfidentialLedger.Models.EnclavePlatform?), Azure.ResourceManager.ConfidentialLedger.Models.ApplicationType? applicationType = default(Azure.ResourceManager.ConfidentialLedger.Models.ApplicationType?)) { throw null; } public static Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerRestoreResult ConfidentialLedgerRestoreResult(string message = null) { throw null; } public static Azure.ResourceManager.ConfidentialLedger.Models.ManagedCcfBackupContent ManagedCcfBackupContent(string restoreRegion = null, System.Uri uri = null) { throw null; } public static Azure.ResourceManager.ConfidentialLedger.Models.ManagedCcfBackupResult ManagedCcfBackupResult(string message = null) { throw null; } public static Azure.ResourceManager.ConfidentialLedger.ManagedCcfData ManagedCcfData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, System.Collections.Generic.IDictionary tags = null, Azure.Core.AzureLocation location = default(Azure.Core.AzureLocation), Azure.ResourceManager.ConfidentialLedger.Models.ManagedCcfProperties properties = null) { throw null; } - public static Azure.ResourceManager.ConfidentialLedger.Models.ManagedCcfProperties ManagedCcfProperties(string appName = null, System.Uri appUri = null, System.Uri identityServiceUri = null, System.Collections.Generic.IEnumerable memberIdentityCertificates = null, Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerDeploymentType deploymentType = null, Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerRunningState? runningState = default(Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerRunningState?), Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerProvisioningState? provisioningState = default(Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerProvisioningState?), int? nodeCount = default(int?)) { throw null; } + public static Azure.ResourceManager.ConfidentialLedger.Models.ManagedCcfProperties ManagedCcfProperties(string appName = null, System.Uri appUri = null, System.Uri identityServiceUri = null, System.Collections.Generic.IEnumerable memberIdentityCertificates = null, Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerDeploymentType deploymentType = null, Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerRunningState? runningState = default(Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerRunningState?), Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerProvisioningState? provisioningState = default(Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerProvisioningState?), int? nodeCount = default(int?), Azure.ResourceManager.ConfidentialLedger.Models.EnclavePlatform? enclavePlatform = default(Azure.ResourceManager.ConfidentialLedger.Models.EnclavePlatform?)) { throw null; } public static Azure.ResourceManager.ConfidentialLedger.Models.ManagedCcfRestoreResult ManagedCcfRestoreResult(string message = null) { throw null; } } public partial class CertBasedSecurityPrincipal : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel @@ -315,15 +333,23 @@ public partial class ConfidentialLedgerProperties : System.ClientModel.Primitive { public ConfidentialLedgerProperties() { } public System.Collections.Generic.IList AadBasedSecurityPrincipals { get { throw null; } } + public Azure.ResourceManager.ConfidentialLedger.Models.ApplicationType? ApplicationType { get { throw null; } set { } } public System.Collections.Generic.IList CertBasedSecurityPrincipals { get { throw null; } } + public Azure.ResourceManager.ConfidentialLedger.Models.EnclavePlatform? EnclavePlatform { get { throw null; } set { } } + public string HostLevel { get { throw null; } set { } } public System.Uri IdentityServiceUri { get { throw null; } } public string LedgerInternalNamespace { get { throw null; } } public string LedgerName { get { throw null; } } public Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerSku? LedgerSku { get { throw null; } set { } } public Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerType? LedgerType { get { throw null; } set { } } public System.Uri LedgerUri { get { throw null; } } + public int? MaxBodySizeInMb { get { throw null; } set { } } + public int? NodeCount { get { throw null; } set { } } public Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerProvisioningState? ProvisioningState { get { throw null; } } public Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerRunningState? RunningState { get { throw null; } set { } } + public string SubjectName { get { throw null; } set { } } + public int? WorkerThreads { get { throw null; } set { } } + public string WriteLBAddressPrefix { get { throw null; } set { } } protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerProperties System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } @@ -456,6 +482,24 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer public static bool operator !=(Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerType left, Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerType right) { throw null; } public override string ToString() { throw null; } } + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] + public readonly partial struct EnclavePlatform : System.IEquatable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public EnclavePlatform(string value) { throw null; } + public static Azure.ResourceManager.ConfidentialLedger.Models.EnclavePlatform AmdSevSnp { get { throw null; } } + public static Azure.ResourceManager.ConfidentialLedger.Models.EnclavePlatform IntelSgx { get { throw null; } } + public bool Equals(Azure.ResourceManager.ConfidentialLedger.Models.EnclavePlatform 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.ConfidentialLedger.Models.EnclavePlatform left, Azure.ResourceManager.ConfidentialLedger.Models.EnclavePlatform right) { throw null; } + public static implicit operator Azure.ResourceManager.ConfidentialLedger.Models.EnclavePlatform (string value) { throw null; } + public static bool operator !=(Azure.ResourceManager.ConfidentialLedger.Models.EnclavePlatform left, Azure.ResourceManager.ConfidentialLedger.Models.EnclavePlatform right) { throw null; } + public override string ToString() { throw null; } + } public partial class ManagedCcfBackupContent : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { public ManagedCcfBackupContent(System.Uri uri) { } @@ -485,6 +529,7 @@ public ManagedCcfProperties() { } public string AppName { get { throw null; } } public System.Uri AppUri { get { throw null; } } public Azure.ResourceManager.ConfidentialLedger.Models.ConfidentialLedgerDeploymentType DeploymentType { get { throw null; } set { } } + public Azure.ResourceManager.ConfidentialLedger.Models.EnclavePlatform? EnclavePlatform { get { throw null; } set { } } public System.Uri IdentityServiceUri { get { throw null; } } public System.Collections.Generic.IList MemberIdentityCertificates { get { throw null; } } public int? NodeCount { get { throw null; } set { } } diff --git a/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/samples/Generated/Samples/Sample_ConfidentialLedgerCollection.cs b/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/samples/Generated/Samples/Sample_ConfidentialLedgerCollection.cs index c3e416c70302..0c5e4fd65873 100644 --- a/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/samples/Generated/Samples/Sample_ConfidentialLedgerCollection.cs +++ b/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/samples/Generated/Samples/Sample_ConfidentialLedgerCollection.cs @@ -21,7 +21,7 @@ public partial class Sample_ConfidentialLedgerCollection [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ConfidentialLedgerCreate() { - // Generated from example definition: specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2023-06-28-preview/examples/ConfidentialLedger_Create.json + // Generated from example definition: specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2024-09-19-preview/examples/ConfidentialLedger_Create.json // this example is just showing the usage of "Ledger_Create" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -58,6 +58,12 @@ public async Task CreateOrUpdate_ConfidentialLedgerCreate() Cert = "-----BEGIN CERTIFICATE-----MIIBsjCCATigAwIBAgIUZWIbyG79TniQLd2UxJuU74tqrKcwCgYIKoZIzj0EAwMwEDEOMAwGA1UEAwwFdXNlcjAwHhcNMjEwMzE2MTgwNjExWhcNMjIwMzE2MTgwNjExWjAQMQ4wDAYDVQQDDAV1c2VyMDB2MBAGByqGSM49AgEGBSuBBAAiA2IABBiWSo/j8EFit7aUMm5lF+lUmCu+IgfnpFD+7QMgLKtxRJ3aGSqgS/GpqcYVGddnODtSarNE/HyGKUFUolLPQ5ybHcouUk0kyfA7XMeSoUA4lBz63Wha8wmXo+NdBRo39qNTMFEwHQYDVR0OBBYEFPtuhrwgGjDFHeUUT4nGsXaZn69KMB8GA1UdIwQYMBaAFPtuhrwgGjDFHeUUT4nGsXaZn69KMA8GA1UdEwEB/wQFMAMBAf8wCgYIKoZIzj0EAwMDaAAwZQIxAOnozm2CyqRwSSQLls5r+mUHRGRyXHXwYtM4Dcst/VEZdmS9fqvHRCHbjUlO/+HNfgIwMWZ4FmsjD3wnPxONOm9YdVn/PRD7SsPRPbOjwBiE4EBGaHDsLjYAGDSGi7NJnSkA-----END CERTIFICATE-----", LedgerRoleName = ConfidentialLedgerRoleName.Reader, }}, + HostLevel = "Info", + MaxBodySizeInMb = 1, + SubjectName = "CN=CCF Node", + NodeCount = 3, + WriteLBAddressPrefix = "write", + WorkerThreads = 0, }, Tags = { @@ -78,7 +84,7 @@ public async Task CreateOrUpdate_ConfidentialLedgerCreate() [Ignore("Only validating compilation of examples")] public async Task Get_ConfidentialLedgerGet() { - // Generated from example definition: specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2023-06-28-preview/examples/ConfidentialLedger_Get.json + // Generated from example definition: specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2024-09-19-preview/examples/ConfidentialLedger_Get.json // this example is just showing the usage of "Ledger_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -111,7 +117,7 @@ public async Task Get_ConfidentialLedgerGet() [Ignore("Only validating compilation of examples")] public async Task GetAll_ConfidentialLedgerList() { - // Generated from example definition: specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2023-06-28-preview/examples/ConfidentialLedger_List.json + // Generated from example definition: specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2024-09-19-preview/examples/ConfidentialLedger_List.json // this example is just showing the usage of "Ledger_ListByResourceGroup" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -146,7 +152,7 @@ public async Task GetAll_ConfidentialLedgerList() [Ignore("Only validating compilation of examples")] public async Task Exists_ConfidentialLedgerGet() { - // Generated from example definition: specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2023-06-28-preview/examples/ConfidentialLedger_Get.json + // Generated from example definition: specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2024-09-19-preview/examples/ConfidentialLedger_Get.json // this example is just showing the usage of "Ledger_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -175,7 +181,7 @@ public async Task Exists_ConfidentialLedgerGet() [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ConfidentialLedgerGet() { - // Generated from example definition: specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2023-06-28-preview/examples/ConfidentialLedger_Get.json + // Generated from example definition: specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2024-09-19-preview/examples/ConfidentialLedger_Get.json // this example is just showing the usage of "Ledger_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/samples/Generated/Samples/Sample_ConfidentialLedgerResource.cs b/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/samples/Generated/Samples/Sample_ConfidentialLedgerResource.cs index 4b9bc3a0289e..bcf557c79066 100644 --- a/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/samples/Generated/Samples/Sample_ConfidentialLedgerResource.cs +++ b/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/samples/Generated/Samples/Sample_ConfidentialLedgerResource.cs @@ -20,7 +20,7 @@ public partial class Sample_ConfidentialLedgerResource [Ignore("Only validating compilation of examples")] public async Task Get_ConfidentialLedgerGet() { - // Generated from example definition: specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2023-06-28-preview/examples/ConfidentialLedger_Get.json + // Generated from example definition: specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2024-09-19-preview/examples/ConfidentialLedger_Get.json // this example is just showing the usage of "Ledger_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -50,7 +50,7 @@ public async Task Get_ConfidentialLedgerGet() [Ignore("Only validating compilation of examples")] public async Task Delete_ConfidentialLedgerDelete() { - // Generated from example definition: specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2023-06-28-preview/examples/ConfidentialLedger_Delete.json + // Generated from example definition: specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2024-09-19-preview/examples/ConfidentialLedger_Delete.json // this example is just showing the usage of "Ledger_Delete" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -76,7 +76,7 @@ public async Task Delete_ConfidentialLedgerDelete() [Ignore("Only validating compilation of examples")] public async Task Update_ConfidentialLedgerUpdate() { - // Generated from example definition: specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2023-06-28-preview/examples/ConfidentialLedger_Update.json + // Generated from example definition: specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2024-09-19-preview/examples/ConfidentialLedger_Update.json // this example is just showing the usage of "Ledger_Update" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -130,7 +130,7 @@ public async Task Update_ConfidentialLedgerUpdate() [Ignore("Only validating compilation of examples")] public async Task Backup_ConfidentialLedgerBackup() { - // Generated from example definition: specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2023-06-28-preview/examples/ConfidentialLedger_Backup.json + // Generated from example definition: specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2024-09-19-preview/examples/ConfidentialLedger_Backup.json // this example is just showing the usage of "Ledger_Backup" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -161,7 +161,7 @@ public async Task Backup_ConfidentialLedgerBackup() [Ignore("Only validating compilation of examples")] public async Task Restore_ConfidentialLedgerRestore() { - // Generated from example definition: specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2023-06-28-preview/examples/ConfidentialLedger_Restore.json + // Generated from example definition: specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2024-09-19-preview/examples/ConfidentialLedger_Restore.json // this example is just showing the usage of "Ledger_Restore" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/samples/Generated/Samples/Sample_ManagedCcfCollection.cs b/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/samples/Generated/Samples/Sample_ManagedCcfCollection.cs index c488825f0e69..5885ba40bbab 100644 --- a/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/samples/Generated/Samples/Sample_ManagedCcfCollection.cs +++ b/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/samples/Generated/Samples/Sample_ManagedCcfCollection.cs @@ -21,7 +21,7 @@ public partial class Sample_ManagedCcfCollection [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ManagedCCFCreate() { - // Generated from example definition: specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2023-06-28-preview/examples/ManagedCCF_Create.json + // Generated from example definition: specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2024-09-19-preview/examples/ManagedCCF_Create.json // this example is just showing the usage of "ManagedCCF_Create" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -80,7 +80,7 @@ public async Task CreateOrUpdate_ManagedCCFCreate() [Ignore("Only validating compilation of examples")] public async Task Get_ManagedCCFGet() { - // Generated from example definition: specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2023-06-28-preview/examples/ManagedCCF_Get.json + // Generated from example definition: specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2024-09-19-preview/examples/ManagedCCF_Get.json // this example is just showing the usage of "ManagedCCF_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -113,7 +113,7 @@ public async Task Get_ManagedCCFGet() [Ignore("Only validating compilation of examples")] public async Task GetAll_ManagedCCFList() { - // Generated from example definition: specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2023-06-28-preview/examples/ManagedCCF_List.json + // Generated from example definition: specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2024-09-19-preview/examples/ManagedCCF_List.json // this example is just showing the usage of "ManagedCCF_ListByResourceGroup" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -148,7 +148,7 @@ public async Task GetAll_ManagedCCFList() [Ignore("Only validating compilation of examples")] public async Task Exists_ManagedCCFGet() { - // Generated from example definition: specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2023-06-28-preview/examples/ManagedCCF_Get.json + // Generated from example definition: specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2024-09-19-preview/examples/ManagedCCF_Get.json // this example is just showing the usage of "ManagedCCF_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -177,7 +177,7 @@ public async Task Exists_ManagedCCFGet() [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ManagedCCFGet() { - // Generated from example definition: specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2023-06-28-preview/examples/ManagedCCF_Get.json + // Generated from example definition: specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2024-09-19-preview/examples/ManagedCCF_Get.json // this example is just showing the usage of "ManagedCCF_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/samples/Generated/Samples/Sample_ManagedCcfResource.cs b/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/samples/Generated/Samples/Sample_ManagedCcfResource.cs index 274bca6edf58..fdd2d7473457 100644 --- a/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/samples/Generated/Samples/Sample_ManagedCcfResource.cs +++ b/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/samples/Generated/Samples/Sample_ManagedCcfResource.cs @@ -20,7 +20,7 @@ public partial class Sample_ManagedCcfResource [Ignore("Only validating compilation of examples")] public async Task Get_ManagedCCFGet() { - // Generated from example definition: specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2023-06-28-preview/examples/ManagedCCF_Get.json + // Generated from example definition: specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2024-09-19-preview/examples/ManagedCCF_Get.json // this example is just showing the usage of "ManagedCCF_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -50,7 +50,7 @@ public async Task Get_ManagedCCFGet() [Ignore("Only validating compilation of examples")] public async Task Delete_ConfidentialLedgerDelete() { - // Generated from example definition: specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2023-06-28-preview/examples/ManagedCCF_Delete.json + // Generated from example definition: specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2024-09-19-preview/examples/ManagedCCF_Delete.json // this example is just showing the usage of "ManagedCCF_Delete" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -76,7 +76,7 @@ public async Task Delete_ConfidentialLedgerDelete() [Ignore("Only validating compilation of examples")] public async Task Update_ManagedCCFUpdate() { - // Generated from example definition: specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2023-06-28-preview/examples/ManagedCCF_Update.json + // Generated from example definition: specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2024-09-19-preview/examples/ManagedCCF_Update.json // this example is just showing the usage of "ManagedCCF_Update" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -122,7 +122,7 @@ public async Task Update_ManagedCCFUpdate() [Ignore("Only validating compilation of examples")] public async Task Backup_ManagedCCFBackup() { - // Generated from example definition: specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2023-06-28-preview/examples/ManagedCCF_Backup.json + // Generated from example definition: specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2024-09-19-preview/examples/ManagedCCF_Backup.json // this example is just showing the usage of "ManagedCCF_Backup" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -153,7 +153,7 @@ public async Task Backup_ManagedCCFBackup() [Ignore("Only validating compilation of examples")] public async Task Restore_ManagedCCFRestore() { - // Generated from example definition: specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2023-06-28-preview/examples/ManagedCCF_Restore.json + // Generated from example definition: specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2024-09-19-preview/examples/ManagedCCF_Restore.json // this example is just showing the usage of "ManagedCCF_Restore" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index 6b2797b339fd..c148a5968473 100644 --- a/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -21,7 +21,7 @@ public partial class Sample_SubscriptionResourceExtensions [Ignore("Only validating compilation of examples")] public async Task CheckConfidentialLedgerNameAvailability_CheckNameAvailability() { - // Generated from example definition: specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2023-06-28-preview/examples/CheckNameAvailability.json + // Generated from example definition: specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2024-09-19-preview/examples/CheckNameAvailability.json // this example is just showing the usage of "CheckNameAvailability" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -50,7 +50,7 @@ public async Task CheckConfidentialLedgerNameAvailability_CheckNameAvailability( [Ignore("Only validating compilation of examples")] public async Task GetConfidentialLedgers_ConfidentialLedgerListBySub() { - // Generated from example definition: specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2023-06-28-preview/examples/ConfidentialLedger_ListBySub.json + // Generated from example definition: specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2024-09-19-preview/examples/ConfidentialLedger_ListBySub.json // this example is just showing the usage of "Ledger_ListBySubscription" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -81,7 +81,7 @@ public async Task GetConfidentialLedgers_ConfidentialLedgerListBySub() [Ignore("Only validating compilation of examples")] public async Task GetManagedCcfs_ManagedCCFListBySub() { - // Generated from example definition: specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2023-06-28-preview/examples/ManagedCCF_ListBySub.json + // Generated from example definition: specification/confidentialledger/resource-manager/Microsoft.ConfidentialLedger/preview/2024-09-19-preview/examples/ManagedCCF_ListBySub.json // this example is just showing the usage of "ManagedCCF_ListBySubscription" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/Generated/ArmConfidentialLedgerModelFactory.cs b/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/Generated/ArmConfidentialLedgerModelFactory.cs index 9ec195f1f3ce..df37b7249bcf 100644 --- a/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/Generated/ArmConfidentialLedgerModelFactory.cs +++ b/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/Generated/ArmConfidentialLedgerModelFactory.cs @@ -61,8 +61,16 @@ public static ConfidentialLedgerData ConfidentialLedgerData(ResourceIdentifier i /// SKU associated with the ledger. /// Array of all AAD based Security Principals. /// Array of all cert based Security Principals. + /// CCF Property for the logging level for the untrusted host: Trace, Debug, Info, Fail, Fatal. + /// CCF Property for the maximum size of the http request body: 1MB, 5MB, 10MB. + /// CCF Property for the subject name to include in the node certificate. Default: CN=CCF Node. + /// Number of CCF nodes in the ACC Ledger. + /// Prefix for the write load balancer. Example: write. + /// Number of additional threads processing incoming client requests in the enclave (modify with care!). + /// Enclave platform of the Confidential Ledger. + /// Application type of the Confidential Ledger. /// A new instance for mocking. - public static ConfidentialLedgerProperties ConfidentialLedgerProperties(string ledgerName = null, Uri ledgerUri = null, Uri identityServiceUri = null, string ledgerInternalNamespace = null, ConfidentialLedgerRunningState? runningState = null, ConfidentialLedgerType? ledgerType = null, ConfidentialLedgerProvisioningState? provisioningState = null, ConfidentialLedgerSku? ledgerSku = null, IEnumerable aadBasedSecurityPrincipals = null, IEnumerable certBasedSecurityPrincipals = null) + public static ConfidentialLedgerProperties ConfidentialLedgerProperties(string ledgerName = null, Uri ledgerUri = null, Uri identityServiceUri = null, string ledgerInternalNamespace = null, ConfidentialLedgerRunningState? runningState = null, ConfidentialLedgerType? ledgerType = null, ConfidentialLedgerProvisioningState? provisioningState = null, ConfidentialLedgerSku? ledgerSku = null, IEnumerable aadBasedSecurityPrincipals = null, IEnumerable certBasedSecurityPrincipals = null, string hostLevel = null, int? maxBodySizeInMb = null, string subjectName = null, int? nodeCount = null, string writeLBAddressPrefix = null, int? workerThreads = null, EnclavePlatform? enclavePlatform = null, ApplicationType? applicationType = null) { aadBasedSecurityPrincipals ??= new List(); certBasedSecurityPrincipals ??= new List(); @@ -78,6 +86,14 @@ public static ConfidentialLedgerProperties ConfidentialLedgerProperties(string l ledgerSku, aadBasedSecurityPrincipals?.ToList(), certBasedSecurityPrincipals?.ToList(), + hostLevel, + maxBodySizeInMb, + subjectName, + nodeCount, + writeLBAddressPrefix, + workerThreads, + enclavePlatform, + applicationType, serializedAdditionalRawData: null); } @@ -139,8 +155,9 @@ public static ManagedCcfData ManagedCcfData(ResourceIdentifier id = null, string /// Object representing RunningState for Managed CCF. /// Provisioning state of Managed CCF Resource. /// Number of CCF nodes in the Managed CCF. + /// Enclave platform of Managed CCF. /// A new instance for mocking. - public static ManagedCcfProperties ManagedCcfProperties(string appName = null, Uri appUri = null, Uri identityServiceUri = null, IEnumerable memberIdentityCertificates = null, ConfidentialLedgerDeploymentType deploymentType = null, ConfidentialLedgerRunningState? runningState = null, ConfidentialLedgerProvisioningState? provisioningState = null, int? nodeCount = null) + public static ManagedCcfProperties ManagedCcfProperties(string appName = null, Uri appUri = null, Uri identityServiceUri = null, IEnumerable memberIdentityCertificates = null, ConfidentialLedgerDeploymentType deploymentType = null, ConfidentialLedgerRunningState? runningState = null, ConfidentialLedgerProvisioningState? provisioningState = null, int? nodeCount = null, EnclavePlatform? enclavePlatform = null) { memberIdentityCertificates ??= new List(); @@ -153,6 +170,7 @@ public static ManagedCcfProperties ManagedCcfProperties(string appName = null, U runningState, provisioningState, nodeCount, + enclavePlatform, serializedAdditionalRawData: null); } diff --git a/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/Generated/ConfidentialLedgerCollection.cs b/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/Generated/ConfidentialLedgerCollection.cs index 317b1aaa3d52..ba41351c1536 100644 --- a/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/Generated/ConfidentialLedgerCollection.cs +++ b/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/Generated/ConfidentialLedgerCollection.cs @@ -65,7 +65,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2023-06-28-preview + /// 2024-09-19-preview /// /// /// Resource @@ -114,7 +114,7 @@ public virtual async Task> CreateOrUpda /// /// /// Default Api Version - /// 2023-06-28-preview + /// 2024-09-19-preview /// /// /// Resource @@ -163,7 +163,7 @@ public virtual ArmOperation CreateOrUpdate(WaitUntil /// /// /// Default Api Version - /// 2023-06-28-preview + /// 2024-09-19-preview /// /// /// Resource @@ -208,7 +208,7 @@ public virtual async Task> GetAsync(string /// /// /// Default Api Version - /// 2023-06-28-preview + /// 2024-09-19-preview /// /// /// Resource @@ -253,7 +253,7 @@ public virtual Response Get(string ledgerName, Cance /// /// /// Default Api Version - /// 2023-06-28-preview + /// 2024-09-19-preview /// /// /// Resource @@ -284,7 +284,7 @@ public virtual AsyncPageable GetAllAsync(string filt /// /// /// Default Api Version - /// 2023-06-28-preview + /// 2024-09-19-preview /// /// /// Resource @@ -315,7 +315,7 @@ public virtual Pageable GetAll(string filter = null, /// /// /// Default Api Version - /// 2023-06-28-preview + /// 2024-09-19-preview /// /// /// Resource @@ -358,7 +358,7 @@ public virtual async Task> ExistsAsync(string ledgerName, Cancell /// /// /// Default Api Version - /// 2023-06-28-preview + /// 2024-09-19-preview /// /// /// Resource @@ -401,7 +401,7 @@ public virtual Response Exists(string ledgerName, CancellationToken cancel /// /// /// Default Api Version - /// 2023-06-28-preview + /// 2024-09-19-preview /// /// /// Resource @@ -446,7 +446,7 @@ public virtual async Task> GetIfExi /// /// /// Default Api Version - /// 2023-06-28-preview + /// 2024-09-19-preview /// /// /// Resource diff --git a/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/Generated/ConfidentialLedgerResource.cs b/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/Generated/ConfidentialLedgerResource.cs index 3b6ee2d65a97..f6b6d7a39ae7 100644 --- a/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/Generated/ConfidentialLedgerResource.cs +++ b/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/Generated/ConfidentialLedgerResource.cs @@ -103,7 +103,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2023-06-28-preview + /// 2024-09-19-preview /// /// /// Resource @@ -143,7 +143,7 @@ public virtual async Task> GetAsync(Cancell /// /// /// Default Api Version - /// 2023-06-28-preview + /// 2024-09-19-preview /// /// /// Resource @@ -183,7 +183,7 @@ public virtual Response Get(CancellationToken cancel /// /// /// Default Api Version - /// 2023-06-28-preview + /// 2024-09-19-preview /// /// /// Resource @@ -225,7 +225,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell /// /// /// Default Api Version - /// 2023-06-28-preview + /// 2024-09-19-preview /// /// /// Resource @@ -267,7 +267,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel /// /// /// Default Api Version - /// 2023-06-28-preview + /// 2024-09-19-preview /// /// /// Resource @@ -313,7 +313,7 @@ public virtual async Task> UpdateAsync( /// /// /// Default Api Version - /// 2023-06-28-preview + /// 2024-09-19-preview /// /// /// Resource @@ -359,7 +359,7 @@ public virtual ArmOperation Update(WaitUntil waitUnt /// /// /// Default Api Version - /// 2023-06-28-preview + /// 2024-09-19-preview /// /// /// Resource @@ -405,7 +405,7 @@ public virtual async Task> BackupAs /// /// /// Default Api Version - /// 2023-06-28-preview + /// 2024-09-19-preview /// /// /// Resource @@ -451,7 +451,7 @@ public virtual ArmOperation Backup(WaitUntil wai /// /// /// Default Api Version - /// 2023-06-28-preview + /// 2024-09-19-preview /// /// /// Resource @@ -497,7 +497,7 @@ public virtual async Task> Restore /// /// /// Default Api Version - /// 2023-06-28-preview + /// 2024-09-19-preview /// /// /// Resource @@ -543,7 +543,7 @@ public virtual ArmOperation Restore(WaitUntil w /// /// /// Default Api Version - /// 2023-06-28-preview + /// 2024-09-19-preview /// /// /// Resource @@ -605,7 +605,7 @@ public virtual async Task> AddTagAsync(stri /// /// /// Default Api Version - /// 2023-06-28-preview + /// 2024-09-19-preview /// /// /// Resource @@ -667,7 +667,7 @@ public virtual Response AddTag(string key, string va /// /// /// Default Api Version - /// 2023-06-28-preview + /// 2024-09-19-preview /// /// /// Resource @@ -724,7 +724,7 @@ public virtual async Task> SetTagsAsync(IDi /// /// /// Default Api Version - /// 2023-06-28-preview + /// 2024-09-19-preview /// /// /// Resource @@ -781,7 +781,7 @@ public virtual Response SetTags(IDictionary /// /// Default Api Version - /// 2023-06-28-preview + /// 2024-09-19-preview /// /// /// Resource @@ -841,7 +841,7 @@ public virtual async Task> RemoveTagAsync(s /// /// /// Default Api Version - /// 2023-06-28-preview + /// 2024-09-19-preview /// /// /// Resource diff --git a/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/Generated/Extensions/ConfidentialLedgerExtensions.cs b/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/Generated/Extensions/ConfidentialLedgerExtensions.cs index 23b085619ace..69b4907f7d02 100644 --- a/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/Generated/Extensions/ConfidentialLedgerExtensions.cs +++ b/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/Generated/Extensions/ConfidentialLedgerExtensions.cs @@ -101,7 +101,7 @@ public static ConfidentialLedgerCollection GetConfidentialLedgers(this ResourceG /// /// /// Default Api Version - /// 2023-06-28-preview + /// 2024-09-19-preview /// /// /// Resource @@ -139,7 +139,7 @@ public static async Task> GetConfidentialLe /// /// /// Default Api Version - /// 2023-06-28-preview + /// 2024-09-19-preview /// /// /// Resource @@ -194,7 +194,7 @@ public static ManagedCcfCollection GetManagedCcfs(this ResourceGroupResource res /// /// /// Default Api Version - /// 2023-06-28-preview + /// 2024-09-19-preview /// /// /// Resource @@ -232,7 +232,7 @@ public static async Task> GetManagedCcfAsync(this R /// /// /// Default Api Version - /// 2023-06-28-preview + /// 2024-09-19-preview /// /// /// Resource @@ -270,7 +270,7 @@ public static Response GetManagedCcf(this ResourceGroupResou /// /// /// Default Api Version - /// 2023-06-28-preview + /// 2024-09-19-preview /// /// /// @@ -302,7 +302,7 @@ public static async Task> Che /// /// /// Default Api Version - /// 2023-06-28-preview + /// 2024-09-19-preview /// /// /// @@ -334,7 +334,7 @@ public static Response CheckConfidenti /// /// /// Default Api Version - /// 2023-06-28-preview + /// 2024-09-19-preview /// /// /// Resource @@ -371,7 +371,7 @@ public static AsyncPageable GetConfidentialLedgersAs /// /// /// Default Api Version - /// 2023-06-28-preview + /// 2024-09-19-preview /// /// /// Resource @@ -408,7 +408,7 @@ public static Pageable GetConfidentialLedgers(this S /// /// /// Default Api Version - /// 2023-06-28-preview + /// 2024-09-19-preview /// /// /// Resource @@ -445,7 +445,7 @@ public static AsyncPageable GetManagedCcfsAsync(this Subscri /// /// /// Default Api Version - /// 2023-06-28-preview + /// 2024-09-19-preview /// /// /// Resource diff --git a/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/Generated/Extensions/MockableConfidentialLedgerResourceGroupResource.cs b/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/Generated/Extensions/MockableConfidentialLedgerResourceGroupResource.cs index f4df77ab4170..31a2b928177c 100644 --- a/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/Generated/Extensions/MockableConfidentialLedgerResourceGroupResource.cs +++ b/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/Generated/Extensions/MockableConfidentialLedgerResourceGroupResource.cs @@ -53,7 +53,7 @@ public virtual ConfidentialLedgerCollection GetConfidentialLedgers() /// /// /// Default Api Version - /// 2023-06-28-preview + /// 2024-09-19-preview /// /// /// Resource @@ -84,7 +84,7 @@ public virtual async Task> GetConfidentialL /// /// /// Default Api Version - /// 2023-06-28-preview + /// 2024-09-19-preview /// /// /// Resource @@ -122,7 +122,7 @@ public virtual ManagedCcfCollection GetManagedCcfs() /// /// /// Default Api Version - /// 2023-06-28-preview + /// 2024-09-19-preview /// /// /// Resource @@ -153,7 +153,7 @@ public virtual async Task> GetManagedCcfAsync(strin /// /// /// Default Api Version - /// 2023-06-28-preview + /// 2024-09-19-preview /// /// /// Resource diff --git a/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/Generated/Extensions/MockableConfidentialLedgerSubscriptionResource.cs b/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/Generated/Extensions/MockableConfidentialLedgerSubscriptionResource.cs index 47d3cd0683bf..28b52a62288c 100644 --- a/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/Generated/Extensions/MockableConfidentialLedgerSubscriptionResource.cs +++ b/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/Generated/Extensions/MockableConfidentialLedgerSubscriptionResource.cs @@ -63,7 +63,7 @@ private string GetApiVersionOrNull(ResourceType resourceType) /// /// /// Default Api Version - /// 2023-06-28-preview + /// 2024-09-19-preview /// /// /// @@ -101,7 +101,7 @@ public virtual async Task> Ch /// /// /// Default Api Version - /// 2023-06-28-preview + /// 2024-09-19-preview /// /// /// @@ -139,7 +139,7 @@ public virtual Response CheckConfident /// /// /// Default Api Version - /// 2023-06-28-preview + /// 2024-09-19-preview /// /// /// Resource @@ -170,7 +170,7 @@ public virtual AsyncPageable GetConfidentialLedgersA /// /// /// Default Api Version - /// 2023-06-28-preview + /// 2024-09-19-preview /// /// /// Resource @@ -201,7 +201,7 @@ public virtual Pageable GetConfidentialLedgers(strin /// /// /// Default Api Version - /// 2023-06-28-preview + /// 2024-09-19-preview /// /// /// Resource @@ -232,7 +232,7 @@ public virtual AsyncPageable GetManagedCcfsAsync(string filt /// /// /// Default Api Version - /// 2023-06-28-preview + /// 2024-09-19-preview /// /// /// Resource diff --git a/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/Generated/ManagedCcfCollection.cs b/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/Generated/ManagedCcfCollection.cs index 265f17f07412..c004e59fe22c 100644 --- a/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/Generated/ManagedCcfCollection.cs +++ b/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/Generated/ManagedCcfCollection.cs @@ -65,7 +65,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2023-06-28-preview + /// 2024-09-19-preview /// /// /// Resource @@ -114,7 +114,7 @@ public virtual async Task> CreateOrUpdateAsync( /// /// /// Default Api Version - /// 2023-06-28-preview + /// 2024-09-19-preview /// /// /// Resource @@ -163,7 +163,7 @@ public virtual ArmOperation CreateOrUpdate(WaitUntil waitUnt /// /// /// Default Api Version - /// 2023-06-28-preview + /// 2024-09-19-preview /// /// /// Resource @@ -208,7 +208,7 @@ public virtual async Task> GetAsync(string appName, /// /// /// Default Api Version - /// 2023-06-28-preview + /// 2024-09-19-preview /// /// /// Resource @@ -253,7 +253,7 @@ public virtual Response Get(string appName, CancellationToke /// /// /// Default Api Version - /// 2023-06-28-preview + /// 2024-09-19-preview /// /// /// Resource @@ -284,7 +284,7 @@ public virtual AsyncPageable GetAllAsync(string filter = nul /// /// /// Default Api Version - /// 2023-06-28-preview + /// 2024-09-19-preview /// /// /// Resource @@ -315,7 +315,7 @@ public virtual Pageable GetAll(string filter = null, Cancell /// /// /// Default Api Version - /// 2023-06-28-preview + /// 2024-09-19-preview /// /// /// Resource @@ -358,7 +358,7 @@ public virtual async Task> ExistsAsync(string appName, Cancellati /// /// /// Default Api Version - /// 2023-06-28-preview + /// 2024-09-19-preview /// /// /// Resource @@ -401,7 +401,7 @@ public virtual Response Exists(string appName, CancellationToken cancellat /// /// /// Default Api Version - /// 2023-06-28-preview + /// 2024-09-19-preview /// /// /// Resource @@ -446,7 +446,7 @@ public virtual async Task> GetIfExistsAsync /// /// /// Default Api Version - /// 2023-06-28-preview + /// 2024-09-19-preview /// /// /// Resource diff --git a/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/Generated/ManagedCcfResource.cs b/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/Generated/ManagedCcfResource.cs index 8f762c602260..0e3244296cd9 100644 --- a/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/Generated/ManagedCcfResource.cs +++ b/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/Generated/ManagedCcfResource.cs @@ -103,7 +103,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2023-06-28-preview + /// 2024-09-19-preview /// /// /// Resource @@ -143,7 +143,7 @@ public virtual async Task> GetAsync(CancellationTok /// /// /// Default Api Version - /// 2023-06-28-preview + /// 2024-09-19-preview /// /// /// Resource @@ -183,7 +183,7 @@ public virtual Response Get(CancellationToken cancellationTo /// /// /// Default Api Version - /// 2023-06-28-preview + /// 2024-09-19-preview /// /// /// Resource @@ -225,7 +225,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell /// /// /// Default Api Version - /// 2023-06-28-preview + /// 2024-09-19-preview /// /// /// Resource @@ -267,7 +267,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel /// /// /// Default Api Version - /// 2023-06-28-preview + /// 2024-09-19-preview /// /// /// Resource @@ -313,7 +313,7 @@ public virtual async Task> UpdateAsync(WaitUnti /// /// /// Default Api Version - /// 2023-06-28-preview + /// 2024-09-19-preview /// /// /// Resource @@ -359,7 +359,7 @@ public virtual ArmOperation Update(WaitUntil waitUntil, Mana /// /// /// Default Api Version - /// 2023-06-28-preview + /// 2024-09-19-preview /// /// /// Resource @@ -405,7 +405,7 @@ public virtual async Task> BackupAsync(Wait /// /// /// Default Api Version - /// 2023-06-28-preview + /// 2024-09-19-preview /// /// /// Resource @@ -451,7 +451,7 @@ public virtual ArmOperation Backup(WaitUntil waitUntil, /// /// /// Default Api Version - /// 2023-06-28-preview + /// 2024-09-19-preview /// /// /// Resource @@ -497,7 +497,7 @@ public virtual async Task> RestoreAsync(Wa /// /// /// Default Api Version - /// 2023-06-28-preview + /// 2024-09-19-preview /// /// /// Resource @@ -543,7 +543,7 @@ public virtual ArmOperation Restore(WaitUntil waitUntil /// /// /// Default Api Version - /// 2023-06-28-preview + /// 2024-09-19-preview /// /// /// Resource @@ -605,7 +605,7 @@ public virtual async Task> AddTagAsync(string key, /// /// /// Default Api Version - /// 2023-06-28-preview + /// 2024-09-19-preview /// /// /// Resource @@ -667,7 +667,7 @@ public virtual Response AddTag(string key, string value, Can /// /// /// Default Api Version - /// 2023-06-28-preview + /// 2024-09-19-preview /// /// /// Resource @@ -724,7 +724,7 @@ public virtual async Task> SetTagsAsync(IDictionary /// /// /// Default Api Version - /// 2023-06-28-preview + /// 2024-09-19-preview /// /// /// Resource @@ -781,7 +781,7 @@ public virtual Response SetTags(IDictionary /// /// /// Default Api Version - /// 2023-06-28-preview + /// 2024-09-19-preview /// /// /// Resource @@ -841,7 +841,7 @@ public virtual async Task> RemoveTagAsync(string ke /// /// /// Default Api Version - /// 2023-06-28-preview + /// 2024-09-19-preview /// /// /// Resource diff --git a/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/Generated/Models/ApplicationType.cs b/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/Generated/Models/ApplicationType.cs new file mode 100644 index 000000000000..55fa3e3fc39e --- /dev/null +++ b/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/Generated/Models/ApplicationType.cs @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.ComponentModel; + +namespace Azure.ResourceManager.ConfidentialLedger.Models +{ + /// Object representing the application type of the Confidential Ledger. Defaults to ConfidentialLedger. + public readonly partial struct ApplicationType : IEquatable + { + private readonly string _value; + + /// Initializes a new instance of . + /// is null. + public ApplicationType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + private const string ConfidentialLedgerValue = "ConfidentialLedger"; + private const string CodeTransparencyValue = "CodeTransparency"; + + /// ConfidentialLedger. + public static ApplicationType ConfidentialLedger { get; } = new ApplicationType(ConfidentialLedgerValue); + /// CodeTransparency. + public static ApplicationType CodeTransparency { get; } = new ApplicationType(CodeTransparencyValue); + /// Determines if two values are the same. + public static bool operator ==(ApplicationType left, ApplicationType right) => left.Equals(right); + /// Determines if two values are not the same. + public static bool operator !=(ApplicationType left, ApplicationType right) => !left.Equals(right); + /// Converts a to a . + public static implicit operator ApplicationType(string value) => new ApplicationType(value); + + /// + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object obj) => obj is ApplicationType other && Equals(other); + /// + public bool Equals(ApplicationType other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase); + + /// + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value != null ? StringComparer.InvariantCultureIgnoreCase.GetHashCode(_value) : 0; + /// + public override string ToString() => _value; + } +} diff --git a/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/Generated/Models/ConfidentialLedgerProperties.Serialization.cs b/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/Generated/Models/ConfidentialLedgerProperties.Serialization.cs index eb2d1e66431b..a6d97a30a019 100644 --- a/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/Generated/Models/ConfidentialLedgerProperties.Serialization.cs +++ b/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/Generated/Models/ConfidentialLedgerProperties.Serialization.cs @@ -94,6 +94,46 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } writer.WriteEndArray(); } + if (Optional.IsDefined(HostLevel)) + { + writer.WritePropertyName("hostLevel"u8); + writer.WriteStringValue(HostLevel); + } + if (Optional.IsDefined(MaxBodySizeInMb)) + { + writer.WritePropertyName("maxBodySizeInMb"u8); + writer.WriteNumberValue(MaxBodySizeInMb.Value); + } + if (Optional.IsDefined(SubjectName)) + { + writer.WritePropertyName("subjectName"u8); + writer.WriteStringValue(SubjectName); + } + if (Optional.IsDefined(NodeCount)) + { + writer.WritePropertyName("nodeCount"u8); + writer.WriteNumberValue(NodeCount.Value); + } + if (Optional.IsDefined(WriteLBAddressPrefix)) + { + writer.WritePropertyName("writeLBAddressPrefix"u8); + writer.WriteStringValue(WriteLBAddressPrefix); + } + if (Optional.IsDefined(WorkerThreads)) + { + writer.WritePropertyName("workerThreads"u8); + writer.WriteNumberValue(WorkerThreads.Value); + } + if (Optional.IsDefined(EnclavePlatform)) + { + writer.WritePropertyName("enclavePlatform"u8); + writer.WriteStringValue(EnclavePlatform.Value.ToString()); + } + if (Optional.IsDefined(ApplicationType)) + { + writer.WritePropertyName("applicationType"u8); + writer.WriteStringValue(ApplicationType.Value.ToString()); + } if (options.Format != "W" && _serializedAdditionalRawData != null) { foreach (var item in _serializedAdditionalRawData) @@ -141,6 +181,14 @@ internal static ConfidentialLedgerProperties DeserializeConfidentialLedgerProper ConfidentialLedgerSku? ledgerSku = default; IList aadBasedSecurityPrincipals = default; IList certBasedSecurityPrincipals = default; + string hostLevel = default; + int? maxBodySizeInMb = default; + string subjectName = default; + int? nodeCount = default; + string writeLBAddressPrefix = default; + int? workerThreads = default; + EnclavePlatform? enclavePlatform = default; + ApplicationType? applicationType = default; IDictionary serializedAdditionalRawData = default; Dictionary rawDataDictionary = new Dictionary(); foreach (var property in element.EnumerateObject()) @@ -237,6 +285,66 @@ internal static ConfidentialLedgerProperties DeserializeConfidentialLedgerProper certBasedSecurityPrincipals = array; continue; } + if (property.NameEquals("hostLevel"u8)) + { + hostLevel = property.Value.GetString(); + continue; + } + if (property.NameEquals("maxBodySizeInMb"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + maxBodySizeInMb = property.Value.GetInt32(); + continue; + } + if (property.NameEquals("subjectName"u8)) + { + subjectName = property.Value.GetString(); + continue; + } + if (property.NameEquals("nodeCount"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + nodeCount = property.Value.GetInt32(); + continue; + } + if (property.NameEquals("writeLBAddressPrefix"u8)) + { + writeLBAddressPrefix = property.Value.GetString(); + continue; + } + if (property.NameEquals("workerThreads"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + workerThreads = property.Value.GetInt32(); + continue; + } + if (property.NameEquals("enclavePlatform"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + enclavePlatform = new EnclavePlatform(property.Value.GetString()); + continue; + } + if (property.NameEquals("applicationType"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + applicationType = new ApplicationType(property.Value.GetString()); + continue; + } if (options.Format != "W") { rawDataDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); @@ -254,6 +362,14 @@ internal static ConfidentialLedgerProperties DeserializeConfidentialLedgerProper ledgerSku, aadBasedSecurityPrincipals ?? new ChangeTrackingList(), certBasedSecurityPrincipals ?? new ChangeTrackingList(), + hostLevel, + maxBodySizeInMb, + subjectName, + nodeCount, + writeLBAddressPrefix, + workerThreads, + enclavePlatform, + applicationType, serializedAdditionalRawData); } diff --git a/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/Generated/Models/ConfidentialLedgerProperties.cs b/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/Generated/Models/ConfidentialLedgerProperties.cs index 927956754f61..3502ba6810b5 100644 --- a/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/Generated/Models/ConfidentialLedgerProperties.cs +++ b/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/Generated/Models/ConfidentialLedgerProperties.cs @@ -63,8 +63,16 @@ public ConfidentialLedgerProperties() /// SKU associated with the ledger. /// Array of all AAD based Security Principals. /// Array of all cert based Security Principals. + /// CCF Property for the logging level for the untrusted host: Trace, Debug, Info, Fail, Fatal. + /// CCF Property for the maximum size of the http request body: 1MB, 5MB, 10MB. + /// CCF Property for the subject name to include in the node certificate. Default: CN=CCF Node. + /// Number of CCF nodes in the ACC Ledger. + /// Prefix for the write load balancer. Example: write. + /// Number of additional threads processing incoming client requests in the enclave (modify with care!). + /// Enclave platform of the Confidential Ledger. + /// Application type of the Confidential Ledger. /// Keeps track of any properties unknown to the library. - internal ConfidentialLedgerProperties(string ledgerName, Uri ledgerUri, Uri identityServiceUri, string ledgerInternalNamespace, ConfidentialLedgerRunningState? runningState, ConfidentialLedgerType? ledgerType, ConfidentialLedgerProvisioningState? provisioningState, ConfidentialLedgerSku? ledgerSku, IList aadBasedSecurityPrincipals, IList certBasedSecurityPrincipals, IDictionary serializedAdditionalRawData) + internal ConfidentialLedgerProperties(string ledgerName, Uri ledgerUri, Uri identityServiceUri, string ledgerInternalNamespace, ConfidentialLedgerRunningState? runningState, ConfidentialLedgerType? ledgerType, ConfidentialLedgerProvisioningState? provisioningState, ConfidentialLedgerSku? ledgerSku, IList aadBasedSecurityPrincipals, IList certBasedSecurityPrincipals, string hostLevel, int? maxBodySizeInMb, string subjectName, int? nodeCount, string writeLBAddressPrefix, int? workerThreads, EnclavePlatform? enclavePlatform, ApplicationType? applicationType, IDictionary serializedAdditionalRawData) { LedgerName = ledgerName; LedgerUri = ledgerUri; @@ -76,6 +84,14 @@ internal ConfidentialLedgerProperties(string ledgerName, Uri ledgerUri, Uri iden LedgerSku = ledgerSku; AadBasedSecurityPrincipals = aadBasedSecurityPrincipals; CertBasedSecurityPrincipals = certBasedSecurityPrincipals; + HostLevel = hostLevel; + MaxBodySizeInMb = maxBodySizeInMb; + SubjectName = subjectName; + NodeCount = nodeCount; + WriteLBAddressPrefix = writeLBAddressPrefix; + WorkerThreads = workerThreads; + EnclavePlatform = enclavePlatform; + ApplicationType = applicationType; _serializedAdditionalRawData = serializedAdditionalRawData; } @@ -99,5 +115,21 @@ internal ConfidentialLedgerProperties(string ledgerName, Uri ledgerUri, Uri iden public IList AadBasedSecurityPrincipals { get; } /// Array of all cert based Security Principals. public IList CertBasedSecurityPrincipals { get; } + /// CCF Property for the logging level for the untrusted host: Trace, Debug, Info, Fail, Fatal. + public string HostLevel { get; set; } + /// CCF Property for the maximum size of the http request body: 1MB, 5MB, 10MB. + public int? MaxBodySizeInMb { get; set; } + /// CCF Property for the subject name to include in the node certificate. Default: CN=CCF Node. + public string SubjectName { get; set; } + /// Number of CCF nodes in the ACC Ledger. + public int? NodeCount { get; set; } + /// Prefix for the write load balancer. Example: write. + public string WriteLBAddressPrefix { get; set; } + /// Number of additional threads processing incoming client requests in the enclave (modify with care!). + public int? WorkerThreads { get; set; } + /// Enclave platform of the Confidential Ledger. + public EnclavePlatform? EnclavePlatform { get; set; } + /// Application type of the Confidential Ledger. + public ApplicationType? ApplicationType { get; set; } } } diff --git a/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/Generated/Models/EnclavePlatform.cs b/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/Generated/Models/EnclavePlatform.cs new file mode 100644 index 000000000000..e3b444961de7 --- /dev/null +++ b/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/Generated/Models/EnclavePlatform.cs @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.ComponentModel; + +namespace Azure.ResourceManager.ConfidentialLedger.Models +{ + /// Object representing the enclave platform for the Confidential Ledger application. Defaults to IntelSgx. + public readonly partial struct EnclavePlatform : IEquatable + { + private readonly string _value; + + /// Initializes a new instance of . + /// is null. + public EnclavePlatform(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + private const string IntelSgxValue = "IntelSgx"; + private const string AmdSevSnpValue = "AmdSevSnp"; + + /// IntelSgx. + public static EnclavePlatform IntelSgx { get; } = new EnclavePlatform(IntelSgxValue); + /// AmdSevSnp. + public static EnclavePlatform AmdSevSnp { get; } = new EnclavePlatform(AmdSevSnpValue); + /// Determines if two values are the same. + public static bool operator ==(EnclavePlatform left, EnclavePlatform right) => left.Equals(right); + /// Determines if two values are not the same. + public static bool operator !=(EnclavePlatform left, EnclavePlatform right) => !left.Equals(right); + /// Converts a to a . + public static implicit operator EnclavePlatform(string value) => new EnclavePlatform(value); + + /// + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object obj) => obj is EnclavePlatform other && Equals(other); + /// + public bool Equals(EnclavePlatform other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase); + + /// + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value != null ? StringComparer.InvariantCultureIgnoreCase.GetHashCode(_value) : 0; + /// + public override string ToString() => _value; + } +} diff --git a/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/Generated/Models/ManagedCcfProperties.Serialization.cs b/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/Generated/Models/ManagedCcfProperties.Serialization.cs index eca95b61a2ec..fd93e72e70b7 100644 --- a/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/Generated/Models/ManagedCcfProperties.Serialization.cs +++ b/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/Generated/Models/ManagedCcfProperties.Serialization.cs @@ -79,6 +79,11 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("nodeCount"u8); writer.WriteNumberValue(NodeCount.Value); } + if (Optional.IsDefined(EnclavePlatform)) + { + writer.WritePropertyName("enclavePlatform"u8); + writer.WriteStringValue(EnclavePlatform.Value.ToString()); + } if (options.Format != "W" && _serializedAdditionalRawData != null) { foreach (var item in _serializedAdditionalRawData) @@ -124,6 +129,7 @@ internal static ManagedCcfProperties DeserializeManagedCcfProperties(JsonElement ConfidentialLedgerRunningState? runningState = default; ConfidentialLedgerProvisioningState? provisioningState = default; int? nodeCount = default; + EnclavePlatform? enclavePlatform = default; IDictionary serializedAdditionalRawData = default; Dictionary rawDataDictionary = new Dictionary(); foreach (var property in element.EnumerateObject()) @@ -201,6 +207,15 @@ internal static ManagedCcfProperties DeserializeManagedCcfProperties(JsonElement nodeCount = property.Value.GetInt32(); continue; } + if (property.NameEquals("enclavePlatform"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + enclavePlatform = new EnclavePlatform(property.Value.GetString()); + continue; + } if (options.Format != "W") { rawDataDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); @@ -216,6 +231,7 @@ internal static ManagedCcfProperties DeserializeManagedCcfProperties(JsonElement runningState, provisioningState, nodeCount, + enclavePlatform, serializedAdditionalRawData); } diff --git a/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/Generated/Models/ManagedCcfProperties.cs b/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/Generated/Models/ManagedCcfProperties.cs index 9c25d16e4b1e..b6c81246ce48 100644 --- a/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/Generated/Models/ManagedCcfProperties.cs +++ b/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/Generated/Models/ManagedCcfProperties.cs @@ -60,8 +60,9 @@ public ManagedCcfProperties() /// Object representing RunningState for Managed CCF. /// Provisioning state of Managed CCF Resource. /// Number of CCF nodes in the Managed CCF. + /// Enclave platform of Managed CCF. /// Keeps track of any properties unknown to the library. - internal ManagedCcfProperties(string appName, Uri appUri, Uri identityServiceUri, IList memberIdentityCertificates, ConfidentialLedgerDeploymentType deploymentType, ConfidentialLedgerRunningState? runningState, ConfidentialLedgerProvisioningState? provisioningState, int? nodeCount, IDictionary serializedAdditionalRawData) + internal ManagedCcfProperties(string appName, Uri appUri, Uri identityServiceUri, IList memberIdentityCertificates, ConfidentialLedgerDeploymentType deploymentType, ConfidentialLedgerRunningState? runningState, ConfidentialLedgerProvisioningState? provisioningState, int? nodeCount, EnclavePlatform? enclavePlatform, IDictionary serializedAdditionalRawData) { AppName = appName; AppUri = appUri; @@ -71,6 +72,7 @@ internal ManagedCcfProperties(string appName, Uri appUri, Uri identityServiceUri RunningState = runningState; ProvisioningState = provisioningState; NodeCount = nodeCount; + EnclavePlatform = enclavePlatform; _serializedAdditionalRawData = serializedAdditionalRawData; } @@ -90,5 +92,7 @@ internal ManagedCcfProperties(string appName, Uri appUri, Uri identityServiceUri public ConfidentialLedgerProvisioningState? ProvisioningState { get; } /// Number of CCF nodes in the Managed CCF. public int? NodeCount { get; set; } + /// Enclave platform of Managed CCF. + public EnclavePlatform? EnclavePlatform { get; set; } } } diff --git a/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/Generated/RestOperations/ConfidentialLedgerRestOperations.cs b/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/Generated/RestOperations/ConfidentialLedgerRestOperations.cs index bd9767bf522b..e994bd093de4 100644 --- a/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/Generated/RestOperations/ConfidentialLedgerRestOperations.cs +++ b/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/Generated/RestOperations/ConfidentialLedgerRestOperations.cs @@ -32,7 +32,7 @@ public ConfidentialLedgerRestOperations(HttpPipeline pipeline, string applicatio { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2023-06-28-preview"; + _apiVersion = apiVersion ?? "2024-09-19-preview"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/Generated/RestOperations/LedgerRestOperations.cs b/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/Generated/RestOperations/LedgerRestOperations.cs index 1ddf6053a8df..5ce077f58291 100644 --- a/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/Generated/RestOperations/LedgerRestOperations.cs +++ b/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/Generated/RestOperations/LedgerRestOperations.cs @@ -32,7 +32,7 @@ public LedgerRestOperations(HttpPipeline pipeline, string applicationId, Uri end { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2023-06-28-preview"; + _apiVersion = apiVersion ?? "2024-09-19-preview"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/Generated/RestOperations/ManagedCCFRestOperations.cs b/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/Generated/RestOperations/ManagedCCFRestOperations.cs index d32db4d39416..3472eed7b419 100644 --- a/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/Generated/RestOperations/ManagedCCFRestOperations.cs +++ b/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/Generated/RestOperations/ManagedCCFRestOperations.cs @@ -32,7 +32,7 @@ public ManagedCCFRestOperations(HttpPipeline pipeline, string applicationId, Uri { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2023-06-28-preview"; + _apiVersion = apiVersion ?? "2024-09-19-preview"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/autorest.md b/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/autorest.md index 7b6d4536b199..ae02b3528f71 100644 --- a/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/autorest.md +++ b/sdk/confidentialledger/Azure.ResourceManager.ConfidentialLedger/src/autorest.md @@ -8,7 +8,7 @@ azure-arm: true csharp: true library-name: ConfidentialLedger namespace: Azure.ResourceManager.ConfidentialLedger -require: https://github.com/Azure/azure-rest-api-specs/blob/de1bc645b4c91e6cb3fddb5588c102ca050dd4da/specification/confidentialledger/resource-manager/readme.md +require: /mnt/vss/_work/1/s/azure-rest-api-specs/specification/confidentialledger/resource-manager/readme.md #tag: package-preview-2023-06 output-folder: $(this-folder)/Generated clear-output-folder: true diff --git a/sdk/storage/ci.yml b/sdk/storage/ci.yml index 2ca0501b60bd..4e749e6b85b1 100644 --- a/sdk/storage/ci.yml +++ b/sdk/storage/ci.yml @@ -12,6 +12,8 @@ trigger: - sdk/storage/Azure.Storage.DataMovement/ - sdk/storage/Azure.Storage.DataMovement.Blobs/ - sdk/storage/Azure.Storage.DataMovement.Files/ + exclude: + - sdk/storage/Azure.ResourceManager.Storage/ - sdk/storage/Azure.Storage.DataMovement.Blobs.Files.Shares/ exclude: - sdk/storage/Azure.ResourceManager.Storage/