From 17d9fc7853e73f276c443aa199567c0043534b80 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Fri, 11 Oct 2024 01:32:33 +0000 Subject: [PATCH] CodeGen from PR 30961 in Azure/azure-rest-api-specs Merge dadba68158db00a8d2f4b4ca76ad21f10440647d into fda3d5e4ae4c69aa72ddfdf5ca1b6d5795a03e71 --- ...ceManager.OracleDatabase.netstandard2.0.cs | 181 +++++++++++------- .../Sample_AutonomousDBVersionCollection.cs | 8 +- .../Sample_AutonomousDBVersionResource.cs | 2 +- ...mple_AutonomousDatabaseBackupCollection.cs | 20 +- ...Sample_AutonomousDatabaseBackupResource.cs | 12 +- ...utonomousDatabaseCharacterSetCollection.cs | 8 +- ..._AutonomousDatabaseCharacterSetResource.cs | 2 +- .../Sample_AutonomousDatabaseCollection.cs | 22 +-- ...sDatabaseNationalCharacterSetCollection.cs | 8 +- ...ousDatabaseNationalCharacterSetResource.cs | 2 +- .../Sample_AutonomousDatabaseResource.cs | 26 +-- ...le_CloudExadataInfrastructureCollection.cs | 10 +- ...mple_CloudExadataInfrastructureResource.cs | 10 +- .../Sample_CloudVmClusterCollection.cs | 10 +- .../Sample_CloudVmClusterDBNodeCollection.cs | 8 +- .../Sample_CloudVmClusterDBNodeResource.cs | 6 +- .../Samples/Sample_CloudVmClusterResource.cs | 14 +- ...mClusterVirtualNetworkAddressCollection.cs | 10 +- ...dVmClusterVirtualNetworkAddressResource.cs | 6 +- .../Sample_OracleDBServerCollection.cs | 8 +- .../Samples/Sample_OracleDBServerResource.cs | 2 +- .../Sample_OracleDBSystemShapeCollection.cs | 8 +- .../Sample_OracleDBSystemShapeResource.cs | 2 +- .../Sample_OracleDnsPrivateViewCollection.cs | 8 +- .../Sample_OracleDnsPrivateViewResource.cs | 2 +- .../Sample_OracleDnsPrivateZoneCollection.cs | 8 +- .../Sample_OracleDnsPrivateZoneResource.cs | 2 +- .../Sample_OracleGIVersionCollection.cs | 8 +- .../Samples/Sample_OracleGIVersionResource.cs | 2 +- .../Sample_OracleSubscriptionResource.cs | 43 ++++- .../Sample_OracleSystemVersionCollection.cs | 16 +- .../Sample_OracleSystemVersionResource.cs | 4 +- .../ArmOracleDatabaseModelFactory.cs | 102 +++------- .../AutonomousDBVersionCollection.cs | 16 +- .../Generated/AutonomousDBVersionResource.cs | 4 +- .../AutonomousDatabaseBackupCollection.cs | 20 +- .../AutonomousDatabaseBackupResource.cs | 12 +- ...utonomousDatabaseCharacterSetCollection.cs | 16 +- .../AutonomousDatabaseCharacterSetResource.cs | 4 +- .../Generated/AutonomousDatabaseCollection.cs | 20 +- ...sDatabaseNationalCharacterSetCollection.cs | 16 +- ...ousDatabaseNationalCharacterSetResource.cs | 4 +- .../Generated/AutonomousDatabaseResource.cs | 48 ++--- .../CloudExadataInfrastructureCollection.cs | 20 +- .../CloudExadataInfrastructureResource.cs | 32 ++-- .../src/Generated/CloudVmClusterCollection.cs | 20 +- .../CloudVmClusterDBNodeCollection.cs | 16 +- .../Generated/CloudVmClusterDBNodeResource.cs | 8 +- .../src/Generated/CloudVmClusterResource.cs | 44 ++--- ...mClusterVirtualNetworkAddressCollection.cs | 20 +- ...dVmClusterVirtualNetworkAddressResource.cs | 12 +- ...ableOracleDatabaseResourceGroupResource.cs | 12 +- ...kableOracleDatabaseSubscriptionResource.cs | 44 ++--- .../Extensions/OracleDatabaseExtensions.cs | 56 +++--- .../Models/AddSubscriptionOperationState.cs | 54 ++++++ ...nomousDBVersionProperties.Serialization.cs | 17 +- .../Models/AutonomousDBVersionProperties.cs | 15 +- .../Models/AutonomousDatabaseBackupPatch.cs | 4 +- ...aseCharacterSetProperties.Serialization.cs | 7 +- ...utonomousDatabaseCharacterSetProperties.cs | 5 +- ...nalCharacterSetProperties.Serialization.cs | 7 +- ...sDatabaseNationalCharacterSetProperties.cs | 5 +- .../Models/AutonomousDatabasePatch.cs | 4 +- .../AzureSubscriptions.Serialization.cs | 136 +++++++++++++ .../Generated/Models/AzureSubscriptions.cs | 76 ++++++++ .../Models/CloudExadataInfrastructurePatch.cs | 4 +- ...VmClusterDBNodeProperties.Serialization.cs | 76 +++----- .../Models/CloudVmClusterDBNodeProperties.cs | 56 +++--- .../Generated/Models/CloudVmClusterPatch.cs | 4 +- ...leDBSystemShapeProperties.Serialization.cs | 45 ++--- .../Models/OracleDBSystemShapeProperties.cs | 40 ++-- ...eDnsPrivateViewProperties.Serialization.cs | 55 ++---- .../Models/OracleDnsPrivateViewProperties.cs | 33 ++-- ...eDnsPrivateZoneProperties.Serialization.cs | 64 ++----- .../Models/OracleDnsPrivateZoneProperties.cs | 29 +-- ...OracleGIVersionProperties.Serialization.cs | 7 +- .../Models/OracleGIVersionProperties.cs | 5 +- .../Models/OracleSubscriptionPatch.cs | 4 +- ...cleSubscriptionProperties.Serialization.cs | 54 ++++++ .../Models/OracleSubscriptionProperties.cs | 15 +- ...leSystemVersionProperties.Serialization.cs | 7 +- .../Models/OracleSystemVersionProperties.cs | 5 +- .../src/Generated/OracleDBServerCollection.cs | 16 +- .../src/Generated/OracleDBServerResource.cs | 4 +- .../OracleDBSystemShapeCollection.cs | 16 +- .../Generated/OracleDBSystemShapeResource.cs | 4 +- .../OracleDnsPrivateViewCollection.cs | 16 +- .../Generated/OracleDnsPrivateViewResource.cs | 4 +- .../OracleDnsPrivateZoneCollection.cs | 16 +- .../Generated/OracleDnsPrivateZoneResource.cs | 4 +- .../Generated/OracleGIVersionCollection.cs | 16 +- .../src/Generated/OracleGIVersionResource.cs | 4 +- .../Generated/OracleSubscriptionResource.cs | 120 ++++++++++-- .../OracleSystemVersionCollection.cs | 16 +- .../Generated/OracleSystemVersionResource.cs | 4 +- ...AutonomousDatabaseBackupsRestOperations.cs | 2 +- ...mousDatabaseCharacterSetsRestOperations.cs | 2 +- ...baseNationalCharacterSetsRestOperations.cs | 2 +- ...utonomousDatabaseVersionsRestOperations.cs | 2 +- .../AutonomousDatabasesRestOperations.cs | 2 +- ...oudExadataInfrastructuresRestOperations.cs | 2 +- .../CloudVmClustersRestOperations.cs | 2 +- .../RestOperations/DbNodesRestOperations.cs | 2 +- .../RestOperations/DbServersRestOperations.cs | 2 +- .../DbSystemShapesRestOperations.cs | 2 +- .../DnsPrivateViewsRestOperations.cs | 2 +- .../DnsPrivateZonesRestOperations.cs | 2 +- .../GiVersionsRestOperations.cs | 2 +- .../OracleSubscriptionsRestOperations.cs | 78 +++++++- .../SystemVersionsRestOperations.cs | 2 +- .../VirtualNetworkAddressesRestOperations.cs | 2 +- .../src/autorest.md | 2 +- 112 files changed, 1338 insertions(+), 869 deletions(-) create mode 100644 sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/AddSubscriptionOperationState.cs create mode 100644 sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/AzureSubscriptions.Serialization.cs create mode 100644 sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/AzureSubscriptions.cs diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/api/Azure.ResourceManager.OracleDatabase.netstandard2.0.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/api/Azure.ResourceManager.OracleDatabase.netstandard2.0.cs index 39861563d6ab..9f5687e76f76 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/api/Azure.ResourceManager.OracleDatabase.netstandard2.0.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/api/Azure.ResourceManager.OracleDatabase.netstandard2.0.cs @@ -732,6 +732,8 @@ public partial class OracleSubscriptionResource : Azure.ResourceManager.ArmResou protected OracleSubscriptionResource() { } public virtual Azure.ResourceManager.OracleDatabase.OracleSubscriptionData Data { get { throw null; } } public virtual bool HasData { get { throw null; } } + public virtual Azure.ResourceManager.ArmOperation AddAzureSubscriptions(Azure.WaitUntil waitUntil, Azure.ResourceManager.OracleDatabase.Models.AzureSubscriptions body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task AddAzureSubscriptionsAsync(Azure.WaitUntil waitUntil, Azure.ResourceManager.OracleDatabase.Models.AzureSubscriptions body, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.ResourceManager.ArmOperation CreateOrUpdate(Azure.WaitUntil waitUntil, Azure.ResourceManager.OracleDatabase.OracleSubscriptionData data, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> CreateOrUpdateAsync(Azure.WaitUntil waitUntil, Azure.ResourceManager.OracleDatabase.OracleSubscriptionData data, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public static Azure.Core.ResourceIdentifier CreateResourceIdentifier(string subscriptionId) { throw null; } @@ -868,6 +870,25 @@ protected MockableOracleDatabaseSubscriptionResource() { } } namespace Azure.ResourceManager.OracleDatabase.Models { + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] + public readonly partial struct AddSubscriptionOperationState : System.IEquatable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public AddSubscriptionOperationState(string value) { throw null; } + public static Azure.ResourceManager.OracleDatabase.Models.AddSubscriptionOperationState Failed { get { throw null; } } + public static Azure.ResourceManager.OracleDatabase.Models.AddSubscriptionOperationState Succeeded { get { throw null; } } + public static Azure.ResourceManager.OracleDatabase.Models.AddSubscriptionOperationState Updating { get { throw null; } } + public bool Equals(Azure.ResourceManager.OracleDatabase.Models.AddSubscriptionOperationState 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.OracleDatabase.Models.AddSubscriptionOperationState left, Azure.ResourceManager.OracleDatabase.Models.AddSubscriptionOperationState right) { throw null; } + public static implicit operator Azure.ResourceManager.OracleDatabase.Models.AddSubscriptionOperationState (string value) { throw null; } + public static bool operator !=(Azure.ResourceManager.OracleDatabase.Models.AddSubscriptionOperationState left, Azure.ResourceManager.OracleDatabase.Models.AddSubscriptionOperationState right) { throw null; } + public override string ToString() { throw null; } + } public static partial class ArmOracleDatabaseModelFactory { public static Azure.ResourceManager.OracleDatabase.AutonomousDatabaseBackupData AutonomousDatabaseBackupData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, Azure.ResourceManager.OracleDatabase.Models.AutonomousDatabaseBackupProperties properties = null) { throw null; } @@ -885,14 +906,13 @@ public static partial class ArmOracleDatabaseModelFactory public static Azure.ResourceManager.OracleDatabase.Models.AutonomousDatabaseStandbySummary AutonomousDatabaseStandbySummary(int? lagTimeInSeconds = default(int?), Azure.ResourceManager.OracleDatabase.Models.AutonomousDatabaseLifecycleState? lifecycleState = default(Azure.ResourceManager.OracleDatabase.Models.AutonomousDatabaseLifecycleState?), string lifecycleDetails = null, System.DateTimeOffset? dataGuardRoleChangedOn = default(System.DateTimeOffset?), System.DateTimeOffset? disasterRecoveryRoleChangedOn = default(System.DateTimeOffset?)) { throw null; } public static Azure.ResourceManager.OracleDatabase.Models.AutonomousDatabaseWalletFile AutonomousDatabaseWalletFile(string walletFiles = null) { throw null; } public static Azure.ResourceManager.OracleDatabase.AutonomousDBVersionData AutonomousDBVersionData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, Azure.ResourceManager.OracleDatabase.Models.AutonomousDBVersionProperties properties = null) { throw null; } - public static Azure.ResourceManager.OracleDatabase.Models.AutonomousDBVersionProperties AutonomousDBVersionProperties(string version = null, Azure.ResourceManager.OracleDatabase.Models.AutonomousDatabaseWorkloadType? dbWorkload = default(Azure.ResourceManager.OracleDatabase.Models.AutonomousDatabaseWorkloadType?), bool? isDefaultForFree = default(bool?), bool? isDefaultForPaid = default(bool?), bool? isFreeTierEnabled = default(bool?), bool? isPaidEnabled = default(bool?)) { throw null; } public static Azure.ResourceManager.OracleDatabase.Models.CloudAccountActivationLinks CloudAccountActivationLinks(string newCloudAccountActivationLink = null, string existingCloudAccountActivationLink = null) { throw null; } public static Azure.ResourceManager.OracleDatabase.Models.CloudAccountDetails CloudAccountDetails(string cloudAccountName = null, string cloudAccountHomeRegion = null) { throw null; } public static Azure.ResourceManager.OracleDatabase.CloudExadataInfrastructureData CloudExadataInfrastructureData(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.OracleDatabase.Models.CloudExadataInfrastructureProperties properties = null, System.Collections.Generic.IEnumerable zones = null) { throw null; } public static Azure.ResourceManager.OracleDatabase.Models.CloudExadataInfrastructureProperties CloudExadataInfrastructureProperties(Azure.Core.ResourceIdentifier ocid = null, int? computeCount = default(int?), int? storageCount = default(int?), int? totalStorageSizeInGbs = default(int?), int? availableStorageSizeInGbs = default(int?), System.DateTimeOffset? createdOn = default(System.DateTimeOffset?), string lifecycleDetails = null, Azure.ResourceManager.OracleDatabase.Models.OracleDatabaseMaintenanceWindow maintenanceWindow = null, Azure.ResourceManager.OracleDatabase.Models.EstimatedPatchingTime estimatedPatchingTime = null, System.Collections.Generic.IEnumerable customerContacts = null, Azure.ResourceManager.OracleDatabase.Models.OracleDatabaseProvisioningState? provisioningState = default(Azure.ResourceManager.OracleDatabase.Models.OracleDatabaseProvisioningState?), Azure.ResourceManager.OracleDatabase.Models.CloudExadataInfrastructureLifecycleState? lifecycleState = default(Azure.ResourceManager.OracleDatabase.Models.CloudExadataInfrastructureLifecycleState?), string shape = null, System.Uri ociUri = null, int? cpuCount = default(int?), int? maxCpuCount = default(int?), int? memorySizeInGbs = default(int?), int? maxMemoryInGbs = default(int?), int? dbNodeStorageSizeInGbs = default(int?), int? maxDBNodeStorageSizeInGbs = default(int?), double? dataStorageSizeInTbs = default(double?), double? maxDataStorageInTbs = default(double?), string dbServerVersion = null, string storageServerVersion = null, int? activatedStorageCount = default(int?), int? additionalStorageCount = default(int?), string displayName = null, Azure.Core.ResourceIdentifier lastMaintenanceRunId = null, Azure.Core.ResourceIdentifier nextMaintenanceRunId = null, string monthlyDBServerVersion = null, string monthlyStorageServerVersion = null) { throw null; } public static Azure.ResourceManager.OracleDatabase.CloudVmClusterData CloudVmClusterData(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.OracleDatabase.Models.CloudVmClusterProperties properties = null) { throw null; } public static Azure.ResourceManager.OracleDatabase.CloudVmClusterDBNodeData CloudVmClusterDBNodeData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, Azure.ResourceManager.OracleDatabase.Models.CloudVmClusterDBNodeProperties properties = null) { throw null; } - public static Azure.ResourceManager.OracleDatabase.Models.CloudVmClusterDBNodeProperties CloudVmClusterDBNodeProperties(Azure.Core.ResourceIdentifier ocid = null, string additionalDetails = null, Azure.Core.ResourceIdentifier backupIPId = null, Azure.Core.ResourceIdentifier backupVnic2Id = null, Azure.Core.ResourceIdentifier backupVnicId = null, int? cpuCoreCount = default(int?), int? dbNodeStorageSizeInGbs = default(int?), Azure.Core.ResourceIdentifier dbServerId = null, Azure.Core.ResourceIdentifier dbSystemId = null, string faultDomain = null, Azure.Core.ResourceIdentifier hostIPId = null, string hostname = null, Azure.ResourceManager.OracleDatabase.Models.DBNodeProvisioningState? lifecycleState = default(Azure.ResourceManager.OracleDatabase.Models.DBNodeProvisioningState?), string lifecycleDetails = null, Azure.ResourceManager.OracleDatabase.Models.DBNodeMaintenanceType? maintenanceType = default(Azure.ResourceManager.OracleDatabase.Models.DBNodeMaintenanceType?), int? memorySizeInGbs = default(int?), int? softwareStorageSizeInGb = default(int?), System.DateTimeOffset? timeCreated = default(System.DateTimeOffset?), System.DateTimeOffset? timeMaintenanceWindowEnd = default(System.DateTimeOffset?), System.DateTimeOffset? timeMaintenanceWindowStart = default(System.DateTimeOffset?), Azure.Core.ResourceIdentifier vnic2Id = null, Azure.Core.ResourceIdentifier vnicId = null, Azure.ResourceManager.OracleDatabase.Models.OracleDatabaseResourceProvisioningState? provisioningState = default(Azure.ResourceManager.OracleDatabase.Models.OracleDatabaseResourceProvisioningState?)) { throw null; } + public static Azure.ResourceManager.OracleDatabase.Models.CloudVmClusterDBNodeProperties CloudVmClusterDBNodeProperties(Azure.Core.ResourceIdentifier ocid = null, string additionalDetails = null, Azure.Core.ResourceIdentifier backupIPId = null, Azure.Core.ResourceIdentifier backupVnic2Id = null, Azure.Core.ResourceIdentifier backupVnicId = null, int? cpuCoreCount = default(int?), int? dbNodeStorageSizeInGbs = default(int?), Azure.Core.ResourceIdentifier dbServerId = null, Azure.Core.ResourceIdentifier dbSystemId = null, string faultDomain = null, Azure.Core.ResourceIdentifier hostIPId = null, string hostname = null, Azure.ResourceManager.OracleDatabase.Models.DBNodeProvisioningState lifecycleState = default(Azure.ResourceManager.OracleDatabase.Models.DBNodeProvisioningState), string lifecycleDetails = null, Azure.ResourceManager.OracleDatabase.Models.DBNodeMaintenanceType? maintenanceType = default(Azure.ResourceManager.OracleDatabase.Models.DBNodeMaintenanceType?), int? memorySizeInGbs = default(int?), int? softwareStorageSizeInGb = default(int?), System.DateTimeOffset timeCreated = default(System.DateTimeOffset), System.DateTimeOffset? timeMaintenanceWindowEnd = default(System.DateTimeOffset?), System.DateTimeOffset? timeMaintenanceWindowStart = default(System.DateTimeOffset?), Azure.Core.ResourceIdentifier vnic2Id = null, Azure.Core.ResourceIdentifier vnicId = null, Azure.ResourceManager.OracleDatabase.Models.OracleDatabaseResourceProvisioningState? provisioningState = default(Azure.ResourceManager.OracleDatabase.Models.OracleDatabaseResourceProvisioningState?)) { throw null; } public static Azure.ResourceManager.OracleDatabase.Models.CloudVmClusterProperties CloudVmClusterProperties(Azure.Core.ResourceIdentifier ocid = null, long? listenerPort = default(long?), int? nodeCount = default(int?), int? storageSizeInGbs = default(int?), double? dataStorageSizeInTbs = default(double?), int? dbNodeStorageSizeInGbs = default(int?), int? memorySizeInGbs = default(int?), System.DateTimeOffset? createdOn = default(System.DateTimeOffset?), string lifecycleDetails = null, string timeZone = null, Azure.Core.ResourceIdentifier zoneId = null, string hostname = null, string domain = null, int cpuCoreCount = 0, float? ocpuCount = default(float?), string clusterName = null, int? dataStoragePercentage = default(int?), bool? isLocalBackupEnabled = default(bool?), Azure.Core.ResourceIdentifier cloudExadataInfrastructureId = null, bool? isSparseDiskgroupEnabled = default(bool?), string systemVersion = null, System.Collections.Generic.IEnumerable sshPublicKeys = null, Azure.ResourceManager.OracleDatabase.Models.OracleLicenseModel? licenseModel = default(Azure.ResourceManager.OracleDatabase.Models.OracleLicenseModel?), Azure.ResourceManager.OracleDatabase.Models.CloudVmClusterDiskRedundancy? diskRedundancy = default(Azure.ResourceManager.OracleDatabase.Models.CloudVmClusterDiskRedundancy?), System.Collections.Generic.IEnumerable scanIPIds = null, System.Collections.Generic.IEnumerable vipIds = null, string scanDnsName = null, int? scanListenerPortTcp = default(int?), int? scanListenerPortTcpSsl = default(int?), Azure.Core.ResourceIdentifier scanDnsRecordId = null, string shape = null, Azure.ResourceManager.OracleDatabase.Models.OracleDatabaseProvisioningState? provisioningState = default(Azure.ResourceManager.OracleDatabase.Models.OracleDatabaseProvisioningState?), Azure.ResourceManager.OracleDatabase.Models.CloudVmClusterLifecycleState? lifecycleState = default(Azure.ResourceManager.OracleDatabase.Models.CloudVmClusterLifecycleState?), Azure.Core.ResourceIdentifier vnetId = null, string giVersion = null, System.Uri ociUri = null, System.Uri nsgUri = null, Azure.Core.ResourceIdentifier subnetId = null, string backupSubnetCidr = null, System.Collections.Generic.IEnumerable nsgCidrs = null, Azure.ResourceManager.OracleDatabase.Models.DiagnosticCollectionConfig dataCollectionOptions = null, string displayName = null, System.Collections.Generic.IEnumerable computeNodes = null, Azure.ResourceManager.OracleDatabase.Models.ExadataIormConfig iormConfigCache = null, Azure.Core.ResourceIdentifier lastUpdateHistoryEntryId = null, System.Collections.Generic.IEnumerable dbServers = null, Azure.Core.ResourceIdentifier compartmentId = null, Azure.Core.ResourceIdentifier subnetOcid = null) { throw null; } public static Azure.ResourceManager.OracleDatabase.CloudVmClusterVirtualNetworkAddressData CloudVmClusterVirtualNetworkAddressData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, Azure.ResourceManager.OracleDatabase.Models.CloudVmClusterVirtualNetworkAddressProperties properties = null) { throw null; } public static Azure.ResourceManager.OracleDatabase.Models.CloudVmClusterVirtualNetworkAddressProperties CloudVmClusterVirtualNetworkAddressProperties(string ipAddress = null, Azure.Core.ResourceIdentifier vmOcid = null, Azure.Core.ResourceIdentifier ocid = null, string domain = null, string lifecycleDetails = null, Azure.ResourceManager.OracleDatabase.Models.OracleDatabaseProvisioningState? provisioningState = default(Azure.ResourceManager.OracleDatabase.Models.OracleDatabaseProvisioningState?), Azure.ResourceManager.OracleDatabase.Models.VirtualNetworkAddressLifecycleState? lifecycleState = default(Azure.ResourceManager.OracleDatabase.Models.VirtualNetworkAddressLifecycleState?), System.DateTimeOffset? assignedOn = default(System.DateTimeOffset?)) { throw null; } @@ -905,14 +925,15 @@ public static partial class ArmOracleDatabaseModelFactory public static Azure.ResourceManager.OracleDatabase.OracleDBServerData OracleDBServerData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, Azure.ResourceManager.OracleDatabase.Models.OracleDBServerProperties properties = null) { throw null; } public static Azure.ResourceManager.OracleDatabase.Models.OracleDBServerProperties OracleDBServerProperties(Azure.Core.ResourceIdentifier ocid = null, string displayName = null, Azure.Core.ResourceIdentifier compartmentId = null, Azure.Core.ResourceIdentifier exadataInfrastructureId = null, int? cpuCoreCount = default(int?), Azure.ResourceManager.OracleDatabase.Models.DBServerPatchingDetails dbServerPatchingDetails = null, int? maxMemoryInGbs = default(int?), int? dbNodeStorageSizeInGbs = default(int?), System.Collections.Generic.IEnumerable vmClusterIds = null, System.Collections.Generic.IEnumerable dbNodeIds = null, string lifecycleDetails = null, Azure.ResourceManager.OracleDatabase.Models.DBServerProvisioningState? lifecycleState = default(Azure.ResourceManager.OracleDatabase.Models.DBServerProvisioningState?), int? maxCpuCount = default(int?), System.Collections.Generic.IEnumerable autonomousVmClusterIds = null, System.Collections.Generic.IEnumerable autonomousVirtualMachineIds = null, int? maxDBNodeStorageInGbs = default(int?), int? memorySizeInGbs = default(int?), string shape = null, System.DateTimeOffset? createdOn = default(System.DateTimeOffset?), Azure.ResourceManager.OracleDatabase.Models.OracleDatabaseResourceProvisioningState? provisioningState = default(Azure.ResourceManager.OracleDatabase.Models.OracleDatabaseResourceProvisioningState?)) { throw null; } public static Azure.ResourceManager.OracleDatabase.OracleDBSystemShapeData OracleDBSystemShapeData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, Azure.ResourceManager.OracleDatabase.Models.OracleDBSystemShapeProperties properties = null) { throw null; } - public static Azure.ResourceManager.OracleDatabase.Models.OracleDBSystemShapeProperties OracleDBSystemShapeProperties(string shapeFamily = null, int availableCoreCount = 0, int? minimumCoreCount = default(int?), int? runtimeMinimumCoreCount = default(int?), int? coreCountIncrement = default(int?), int? minStorageCount = default(int?), int? maxStorageCount = default(int?), double? availableDataStoragePerServerInTbs = default(double?), int? availableMemoryPerNodeInGbs = default(int?), int? availableDBNodePerNodeInGbs = default(int?), int? minCoreCountPerNode = default(int?), int? availableMemoryInGbs = default(int?), int? minMemoryPerNodeInGbs = default(int?), int? availableDBNodeStorageInGbs = default(int?), int? minDBNodeStoragePerNodeInGbs = default(int?), int? availableDataStorageInTbs = default(int?), int? minDataStorageInTbs = default(int?), int? minimumNodeCount = default(int?), int? maximumNodeCount = default(int?), int? availableCoreCountPerNode = default(int?)) { throw null; } public static Azure.ResourceManager.OracleDatabase.OracleDnsPrivateViewData OracleDnsPrivateViewData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, Azure.ResourceManager.OracleDatabase.Models.OracleDnsPrivateViewProperties properties = null) { throw null; } - public static Azure.ResourceManager.OracleDatabase.Models.OracleDnsPrivateViewProperties OracleDnsPrivateViewProperties(Azure.Core.ResourceIdentifier ocid = null, string displayName = null, bool isProtected = false, Azure.ResourceManager.OracleDatabase.Models.DnsPrivateViewsLifecycleState? lifecycleState = default(Azure.ResourceManager.OracleDatabase.Models.DnsPrivateViewsLifecycleState?), string self = null, System.DateTimeOffset createdOn = default(System.DateTimeOffset), System.DateTimeOffset updatedOn = default(System.DateTimeOffset), Azure.ResourceManager.OracleDatabase.Models.OracleDatabaseResourceProvisioningState? provisioningState = default(Azure.ResourceManager.OracleDatabase.Models.OracleDatabaseResourceProvisioningState?)) { throw null; } + public static Azure.ResourceManager.OracleDatabase.Models.OracleDnsPrivateViewProperties OracleDnsPrivateViewProperties(Azure.Core.ResourceIdentifier ocid = null, string displayName = null, bool isProtected = false, Azure.ResourceManager.OracleDatabase.Models.DnsPrivateViewsLifecycleState lifecycleState = default(Azure.ResourceManager.OracleDatabase.Models.DnsPrivateViewsLifecycleState), string self = null, System.DateTimeOffset createdOn = default(System.DateTimeOffset), System.DateTimeOffset updatedOn = default(System.DateTimeOffset), Azure.ResourceManager.OracleDatabase.Models.OracleDatabaseResourceProvisioningState? provisioningState = default(Azure.ResourceManager.OracleDatabase.Models.OracleDatabaseResourceProvisioningState?)) { throw null; } public static Azure.ResourceManager.OracleDatabase.OracleDnsPrivateZoneData OracleDnsPrivateZoneData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, Azure.ResourceManager.OracleDatabase.Models.OracleDnsPrivateZoneProperties properties = null) { throw null; } - public static Azure.ResourceManager.OracleDatabase.Models.OracleDnsPrivateZoneProperties OracleDnsPrivateZoneProperties(Azure.Core.ResourceIdentifier ocid = null, bool isProtected = false, Azure.ResourceManager.OracleDatabase.Models.DnsPrivateZonesLifecycleState? lifecycleState = default(Azure.ResourceManager.OracleDatabase.Models.DnsPrivateZonesLifecycleState?), string self = null, int serial = 0, string version = null, Azure.Core.ResourceIdentifier viewId = null, Azure.ResourceManager.OracleDatabase.Models.OracleDnsPrivateZoneType zoneType = default(Azure.ResourceManager.OracleDatabase.Models.OracleDnsPrivateZoneType), System.DateTimeOffset createdOn = default(System.DateTimeOffset), Azure.ResourceManager.OracleDatabase.Models.OracleDatabaseResourceProvisioningState? provisioningState = default(Azure.ResourceManager.OracleDatabase.Models.OracleDatabaseResourceProvisioningState?)) { throw null; } + public static Azure.ResourceManager.OracleDatabase.Models.OracleDnsPrivateZoneProperties OracleDnsPrivateZoneProperties(Azure.Core.ResourceIdentifier ocid = null, bool isProtected = false, Azure.ResourceManager.OracleDatabase.Models.DnsPrivateZonesLifecycleState lifecycleState = default(Azure.ResourceManager.OracleDatabase.Models.DnsPrivateZonesLifecycleState), string self = null, int serial = 0, string version = null, Azure.Core.ResourceIdentifier viewId = null, Azure.ResourceManager.OracleDatabase.Models.OracleDnsPrivateZoneType zoneType = default(Azure.ResourceManager.OracleDatabase.Models.OracleDnsPrivateZoneType), System.DateTimeOffset createdOn = default(System.DateTimeOffset), Azure.ResourceManager.OracleDatabase.Models.OracleDatabaseResourceProvisioningState? provisioningState = default(Azure.ResourceManager.OracleDatabase.Models.OracleDatabaseResourceProvisioningState?)) { throw null; } public static Azure.ResourceManager.OracleDatabase.OracleGIVersionData OracleGIVersionData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, string oracleGIVersion = null) { throw null; } public static Azure.ResourceManager.OracleDatabase.OracleSubscriptionData OracleSubscriptionData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, Azure.ResourceManager.OracleDatabase.Models.OracleSubscriptionProperties properties = null, Azure.ResourceManager.Models.ArmPlan plan = null) { throw null; } - public static Azure.ResourceManager.OracleDatabase.Models.OracleSubscriptionProperties OracleSubscriptionProperties(Azure.ResourceManager.OracleDatabase.Models.OracleSubscriptionProvisioningState? provisioningState = default(Azure.ResourceManager.OracleDatabase.Models.OracleSubscriptionProvisioningState?), string saasSubscriptionId = null, Azure.Core.ResourceIdentifier cloudAccountId = null, Azure.ResourceManager.OracleDatabase.Models.CloudAccountProvisioningState? cloudAccountState = default(Azure.ResourceManager.OracleDatabase.Models.CloudAccountProvisioningState?), string termUnit = null, string productCode = null, Azure.ResourceManager.OracleDatabase.Models.OracleSubscriptionUpdateIntent? intent = default(Azure.ResourceManager.OracleDatabase.Models.OracleSubscriptionUpdateIntent?)) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public static Azure.ResourceManager.OracleDatabase.Models.OracleSubscriptionProperties OracleSubscriptionProperties(Azure.ResourceManager.OracleDatabase.Models.OracleSubscriptionProvisioningState? provisioningState, string saasSubscriptionId, Azure.Core.ResourceIdentifier cloudAccountId, Azure.ResourceManager.OracleDatabase.Models.CloudAccountProvisioningState? cloudAccountState, string termUnit, string productCode, Azure.ResourceManager.OracleDatabase.Models.OracleSubscriptionUpdateIntent? intent) { throw null; } + public static Azure.ResourceManager.OracleDatabase.Models.OracleSubscriptionProperties OracleSubscriptionProperties(Azure.ResourceManager.OracleDatabase.Models.OracleSubscriptionProvisioningState? provisioningState = default(Azure.ResourceManager.OracleDatabase.Models.OracleSubscriptionProvisioningState?), string saasSubscriptionId = null, Azure.Core.ResourceIdentifier cloudAccountId = null, Azure.ResourceManager.OracleDatabase.Models.CloudAccountProvisioningState? cloudAccountState = default(Azure.ResourceManager.OracleDatabase.Models.CloudAccountProvisioningState?), string termUnit = null, string productCode = null, Azure.ResourceManager.OracleDatabase.Models.OracleSubscriptionUpdateIntent? intent = default(Azure.ResourceManager.OracleDatabase.Models.OracleSubscriptionUpdateIntent?), System.Collections.Generic.IEnumerable azureSubscriptionIds = null, Azure.ResourceManager.OracleDatabase.Models.AddSubscriptionOperationState? addSubscriptionOperationState = default(Azure.ResourceManager.OracleDatabase.Models.AddSubscriptionOperationState?), string lastOperationStatusDetail = null) { throw null; } public static Azure.ResourceManager.OracleDatabase.OracleSystemVersionData OracleSystemVersionData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, string oracleSystemVersion = null) { throw null; } public static Azure.ResourceManager.OracleDatabase.Models.PrivateIPAddressResult PrivateIPAddressResult(string displayName = null, string hostnameLabel = null, Azure.Core.ResourceIdentifier ocid = null, string ipAddress = null, Azure.Core.ResourceIdentifier subnetId = null) { throw null; } public static Azure.ResourceManager.OracleDatabase.Models.SaasSubscriptionDetails SaasSubscriptionDetails(string id = null, string subscriptionName = null, System.DateTimeOffset? createdOn = default(System.DateTimeOffset?), string offerId = null, string planId = null, string saasSubscriptionStatus = null, string publisherId = null, string purchaserEmailId = null, string purchaserTenantId = null, string termUnit = null, bool? isAutoRenew = default(bool?), bool? isFreeTrial = default(bool?)) { throw null; } @@ -1408,12 +1429,12 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer public partial class AutonomousDBVersionProperties : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { public AutonomousDBVersionProperties(string version) { } - public Azure.ResourceManager.OracleDatabase.Models.AutonomousDatabaseWorkloadType? DBWorkload { get { throw null; } } - public bool? IsDefaultForFree { get { throw null; } } - public bool? IsDefaultForPaid { get { throw null; } } - public bool? IsFreeTierEnabled { get { throw null; } } - public bool? IsPaidEnabled { get { throw null; } } - public string Version { get { throw null; } } + public Azure.ResourceManager.OracleDatabase.Models.AutonomousDatabaseWorkloadType? DBWorkload { get { throw null; } set { } } + public bool? IsDefaultForFree { get { throw null; } set { } } + public bool? IsDefaultForPaid { get { throw null; } set { } } + public bool? IsFreeTierEnabled { get { throw null; } set { } } + public bool? IsPaidEnabled { get { throw null; } set { } } + public string Version { get { throw null; } set { } } protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } Azure.ResourceManager.OracleDatabase.Models.AutonomousDBVersionProperties 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) { } @@ -1439,6 +1460,17 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer public static bool operator !=(Azure.ResourceManager.OracleDatabase.Models.AutonomousMaintenanceScheduleType left, Azure.ResourceManager.OracleDatabase.Models.AutonomousMaintenanceScheduleType right) { throw null; } public override string ToString() { throw null; } } + public partial class AzureSubscriptions : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel + { + public AzureSubscriptions(System.Collections.Generic.IEnumerable azureSubscriptionIds) { } + public System.Collections.Generic.IList AzureSubscriptionIds { get { throw null; } } + protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } + Azure.ResourceManager.OracleDatabase.Models.AzureSubscriptions 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) { } + Azure.ResourceManager.OracleDatabase.Models.AzureSubscriptions System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + 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; } + } public partial class CloudAccountActivationLinks : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { internal CloudAccountActivationLinks() { } @@ -1587,30 +1619,30 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer } public partial class CloudVmClusterDBNodeProperties : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { - public CloudVmClusterDBNodeProperties(Azure.Core.ResourceIdentifier ocid, Azure.Core.ResourceIdentifier dbSystemId) { } - public string AdditionalDetails { get { throw null; } } - public Azure.Core.ResourceIdentifier BackupIPId { get { throw null; } } - public Azure.Core.ResourceIdentifier BackupVnic2Id { get { throw null; } } - public Azure.Core.ResourceIdentifier BackupVnicId { get { throw null; } } - public int? CpuCoreCount { get { throw null; } } - public int? DBNodeStorageSizeInGbs { get { throw null; } } - public Azure.Core.ResourceIdentifier DBServerId { get { throw null; } } - public Azure.Core.ResourceIdentifier DBSystemId { get { throw null; } } - public string FaultDomain { get { throw null; } } - public Azure.Core.ResourceIdentifier HostIPId { get { throw null; } } - public string Hostname { get { throw null; } } - public string LifecycleDetails { get { throw null; } } - public Azure.ResourceManager.OracleDatabase.Models.DBNodeProvisioningState? LifecycleState { get { throw null; } } - public Azure.ResourceManager.OracleDatabase.Models.DBNodeMaintenanceType? MaintenanceType { get { throw null; } } - public int? MemorySizeInGbs { get { throw null; } } - public Azure.Core.ResourceIdentifier Ocid { get { throw null; } } + public CloudVmClusterDBNodeProperties(Azure.Core.ResourceIdentifier ocid, Azure.Core.ResourceIdentifier dbSystemId, Azure.ResourceManager.OracleDatabase.Models.DBNodeProvisioningState lifecycleState, System.DateTimeOffset timeCreated) { } + public string AdditionalDetails { get { throw null; } set { } } + public Azure.Core.ResourceIdentifier BackupIPId { get { throw null; } set { } } + public Azure.Core.ResourceIdentifier BackupVnic2Id { get { throw null; } set { } } + public Azure.Core.ResourceIdentifier BackupVnicId { get { throw null; } set { } } + public int? CpuCoreCount { get { throw null; } set { } } + public int? DBNodeStorageSizeInGbs { get { throw null; } set { } } + public Azure.Core.ResourceIdentifier DBServerId { get { throw null; } set { } } + public Azure.Core.ResourceIdentifier DBSystemId { get { throw null; } set { } } + public string FaultDomain { get { throw null; } set { } } + public Azure.Core.ResourceIdentifier HostIPId { get { throw null; } set { } } + public string Hostname { get { throw null; } set { } } + public string LifecycleDetails { get { throw null; } set { } } + public Azure.ResourceManager.OracleDatabase.Models.DBNodeProvisioningState LifecycleState { get { throw null; } set { } } + public Azure.ResourceManager.OracleDatabase.Models.DBNodeMaintenanceType? MaintenanceType { get { throw null; } set { } } + public int? MemorySizeInGbs { get { throw null; } set { } } + public Azure.Core.ResourceIdentifier Ocid { get { throw null; } set { } } public Azure.ResourceManager.OracleDatabase.Models.OracleDatabaseResourceProvisioningState? ProvisioningState { get { throw null; } } - public int? SoftwareStorageSizeInGb { get { throw null; } } - public System.DateTimeOffset? TimeCreated { get { throw null; } } - public System.DateTimeOffset? TimeMaintenanceWindowEnd { get { throw null; } } - public System.DateTimeOffset? TimeMaintenanceWindowStart { get { throw null; } } - public Azure.Core.ResourceIdentifier Vnic2Id { get { throw null; } } - public Azure.Core.ResourceIdentifier VnicId { get { throw null; } } + public int? SoftwareStorageSizeInGb { get { throw null; } set { } } + public System.DateTimeOffset TimeCreated { get { throw null; } set { } } + public System.DateTimeOffset? TimeMaintenanceWindowEnd { get { throw null; } set { } } + public System.DateTimeOffset? TimeMaintenanceWindowStart { get { throw null; } set { } } + public Azure.Core.ResourceIdentifier Vnic2Id { get { throw null; } set { } } + public Azure.Core.ResourceIdentifier VnicId { get { throw null; } set { } } protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } Azure.ResourceManager.OracleDatabase.Models.CloudVmClusterDBNodeProperties 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) { } @@ -2502,26 +2534,26 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer public partial class OracleDBSystemShapeProperties : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { public OracleDBSystemShapeProperties(int availableCoreCount) { } - public int AvailableCoreCount { get { throw null; } } - public int? AvailableCoreCountPerNode { get { throw null; } } - public int? AvailableDataStorageInTbs { get { throw null; } } - public double? AvailableDataStoragePerServerInTbs { get { throw null; } } - public int? AvailableDBNodePerNodeInGbs { get { throw null; } } - public int? AvailableDBNodeStorageInGbs { get { throw null; } } - public int? AvailableMemoryInGbs { get { throw null; } } - public int? AvailableMemoryPerNodeInGbs { get { throw null; } } - public int? CoreCountIncrement { get { throw null; } } - public int? MaximumNodeCount { get { throw null; } } - public int? MaxStorageCount { get { throw null; } } - public int? MinCoreCountPerNode { get { throw null; } } - public int? MinDataStorageInTbs { get { throw null; } } - public int? MinDBNodeStoragePerNodeInGbs { get { throw null; } } - public int? MinimumCoreCount { get { throw null; } } - public int? MinimumNodeCount { get { throw null; } } - public int? MinMemoryPerNodeInGbs { get { throw null; } } - public int? MinStorageCount { get { throw null; } } - public int? RuntimeMinimumCoreCount { get { throw null; } } - public string ShapeFamily { get { throw null; } } + public int AvailableCoreCount { get { throw null; } set { } } + public int? AvailableCoreCountPerNode { get { throw null; } set { } } + public int? AvailableDataStorageInTbs { get { throw null; } set { } } + public double? AvailableDataStoragePerServerInTbs { get { throw null; } set { } } + public int? AvailableDBNodePerNodeInGbs { get { throw null; } set { } } + public int? AvailableDBNodeStorageInGbs { get { throw null; } set { } } + public int? AvailableMemoryInGbs { get { throw null; } set { } } + public int? AvailableMemoryPerNodeInGbs { get { throw null; } set { } } + public int? CoreCountIncrement { get { throw null; } set { } } + public int? MaximumNodeCount { get { throw null; } set { } } + public int? MaxStorageCount { get { throw null; } set { } } + public int? MinCoreCountPerNode { get { throw null; } set { } } + public int? MinDataStorageInTbs { get { throw null; } set { } } + public int? MinDBNodeStoragePerNodeInGbs { get { throw null; } set { } } + public int? MinimumCoreCount { get { throw null; } set { } } + public int? MinimumNodeCount { get { throw null; } set { } } + public int? MinMemoryPerNodeInGbs { get { throw null; } set { } } + public int? MinStorageCount { get { throw null; } set { } } + public int? RuntimeMinimumCoreCount { get { throw null; } set { } } + public string ShapeFamily { get { throw null; } set { } } protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } Azure.ResourceManager.OracleDatabase.Models.OracleDBSystemShapeProperties 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) { } @@ -2531,15 +2563,15 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer } public partial class OracleDnsPrivateViewProperties : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { - public OracleDnsPrivateViewProperties(Azure.Core.ResourceIdentifier ocid, bool isProtected, string self, System.DateTimeOffset createdOn, System.DateTimeOffset updatedOn) { } - public System.DateTimeOffset CreatedOn { get { throw null; } } - public string DisplayName { get { throw null; } } - public bool IsProtected { get { throw null; } } - public Azure.ResourceManager.OracleDatabase.Models.DnsPrivateViewsLifecycleState? LifecycleState { get { throw null; } } - public Azure.Core.ResourceIdentifier Ocid { get { throw null; } } + public OracleDnsPrivateViewProperties(Azure.Core.ResourceIdentifier ocid, string displayName, bool isProtected, Azure.ResourceManager.OracleDatabase.Models.DnsPrivateViewsLifecycleState lifecycleState, string self, System.DateTimeOffset createdOn, System.DateTimeOffset updatedOn) { } + public System.DateTimeOffset CreatedOn { get { throw null; } set { } } + public string DisplayName { get { throw null; } set { } } + public bool IsProtected { get { throw null; } set { } } + public Azure.ResourceManager.OracleDatabase.Models.DnsPrivateViewsLifecycleState LifecycleState { get { throw null; } set { } } + public Azure.Core.ResourceIdentifier Ocid { get { throw null; } set { } } public Azure.ResourceManager.OracleDatabase.Models.OracleDatabaseResourceProvisioningState? ProvisioningState { get { throw null; } } - public string Self { get { throw null; } } - public System.DateTimeOffset UpdatedOn { get { throw null; } } + public string Self { get { throw null; } set { } } + public System.DateTimeOffset UpdatedOn { get { throw null; } set { } } protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } Azure.ResourceManager.OracleDatabase.Models.OracleDnsPrivateViewProperties 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) { } @@ -2549,17 +2581,17 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer } public partial class OracleDnsPrivateZoneProperties : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { - public OracleDnsPrivateZoneProperties(Azure.Core.ResourceIdentifier ocid, bool isProtected, string self, int serial, string version, Azure.ResourceManager.OracleDatabase.Models.OracleDnsPrivateZoneType zoneType, System.DateTimeOffset createdOn) { } - public System.DateTimeOffset CreatedOn { get { throw null; } } - public bool IsProtected { get { throw null; } } - public Azure.ResourceManager.OracleDatabase.Models.DnsPrivateZonesLifecycleState? LifecycleState { get { throw null; } } - public Azure.Core.ResourceIdentifier Ocid { get { throw null; } } + public OracleDnsPrivateZoneProperties(Azure.Core.ResourceIdentifier ocid, bool isProtected, Azure.ResourceManager.OracleDatabase.Models.DnsPrivateZonesLifecycleState lifecycleState, string self, int serial, string version, Azure.ResourceManager.OracleDatabase.Models.OracleDnsPrivateZoneType zoneType, System.DateTimeOffset createdOn) { } + public System.DateTimeOffset CreatedOn { get { throw null; } set { } } + public bool IsProtected { get { throw null; } set { } } + public Azure.ResourceManager.OracleDatabase.Models.DnsPrivateZonesLifecycleState LifecycleState { get { throw null; } set { } } + public Azure.Core.ResourceIdentifier Ocid { get { throw null; } set { } } public Azure.ResourceManager.OracleDatabase.Models.OracleDatabaseResourceProvisioningState? ProvisioningState { get { throw null; } } - public string Self { get { throw null; } } - public int Serial { get { throw null; } } - public string Version { get { throw null; } } - public Azure.Core.ResourceIdentifier ViewId { get { throw null; } } - public Azure.ResourceManager.OracleDatabase.Models.OracleDnsPrivateZoneType ZoneType { get { throw null; } } + public string Self { get { throw null; } set { } } + public int Serial { get { throw null; } set { } } + public string Version { get { throw null; } set { } } + public Azure.Core.ResourceIdentifier ViewId { get { throw null; } set { } } + public Azure.ResourceManager.OracleDatabase.Models.OracleDnsPrivateZoneType ZoneType { get { throw null; } set { } } protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } Azure.ResourceManager.OracleDatabase.Models.OracleDnsPrivateZoneProperties 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) { } @@ -2618,9 +2650,12 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer public partial class OracleSubscriptionProperties : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { public OracleSubscriptionProperties() { } + public Azure.ResourceManager.OracleDatabase.Models.AddSubscriptionOperationState? AddSubscriptionOperationState { get { throw null; } } + public System.Collections.Generic.IReadOnlyList AzureSubscriptionIds { get { throw null; } } public Azure.Core.ResourceIdentifier CloudAccountId { get { throw null; } } public Azure.ResourceManager.OracleDatabase.Models.CloudAccountProvisioningState? CloudAccountState { get { throw null; } } public Azure.ResourceManager.OracleDatabase.Models.OracleSubscriptionUpdateIntent? Intent { get { throw null; } set { } } + public string LastOperationStatusDetail { get { throw null; } } public string ProductCode { get { throw null; } set { } } public Azure.ResourceManager.OracleDatabase.Models.OracleSubscriptionProvisioningState? ProvisioningState { get { throw null; } } public string SaasSubscriptionId { get { throw null; } } diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDBVersionCollection.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDBVersionCollection.cs index c4b69be9a8f8..ea2959a25294 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDBVersionCollection.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDBVersionCollection.cs @@ -20,7 +20,7 @@ public partial class Sample_AutonomousDBVersionCollection [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetAll_ListAnAutonomousVersionsByLocation() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseVersion_listByLocation.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/autonomousDatabaseVersion_listByLocation.json // this example is just showing the usage of "AutonomousDatabaseVersions_ListByLocation" 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 @@ -56,7 +56,7 @@ public async Task GetAll_ListAnAutonomousVersionsByLocation() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_GetAnAutonomousVersion() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseVersion_get.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/autonomousDatabaseVersion_get.json // this example is just showing the usage of "AutonomousDatabaseVersions_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 @@ -90,7 +90,7 @@ public async Task Get_GetAnAutonomousVersion() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Exists_GetAnAutonomousVersion() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseVersion_get.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/autonomousDatabaseVersion_get.json // this example is just showing the usage of "AutonomousDatabaseVersions_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 @@ -120,7 +120,7 @@ public async Task Exists_GetAnAutonomousVersion() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetIfExists_GetAnAutonomousVersion() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseVersion_get.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/autonomousDatabaseVersion_get.json // this example is just showing the usage of "AutonomousDatabaseVersions_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/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDBVersionResource.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDBVersionResource.cs index f856d6fb7efc..cdbdd5ffcc0b 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDBVersionResource.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDBVersionResource.cs @@ -19,7 +19,7 @@ public partial class Sample_AutonomousDBVersionResource [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_GetAnAutonomousVersion() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseVersion_get.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/autonomousDatabaseVersion_get.json // this example is just showing the usage of "AutonomousDatabaseVersions_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/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDatabaseBackupCollection.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDatabaseBackupCollection.cs index 39754185cbdf..37e6b254a6ee 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDatabaseBackupCollection.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDatabaseBackupCollection.cs @@ -20,7 +20,7 @@ public partial class Sample_AutonomousDatabaseBackupCollection [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetAll_AutonomousDatabaseBackupsListByAutonomousDatabase() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseBackup_listByParent.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/autonomousDatabaseBackup_listByParent.json // this example is just showing the usage of "AutonomousDatabaseBackups_ListByAutonomousDatabase" 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 @@ -57,7 +57,7 @@ public async Task GetAll_AutonomousDatabaseBackupsListByAutonomousDatabase() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetAll_ListAutonomousDatabaseBackupsByAutonomousDatabase() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseBackup_listByParent.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/autonomousDatabaseBackup_listByParent.json // this example is just showing the usage of "AutonomousDatabaseBackups_ListByAutonomousDatabase" 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 @@ -94,7 +94,7 @@ public async Task GetAll_ListAutonomousDatabaseBackupsByAutonomousDatabase() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_AutonomousDatabaseBackupsGet() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseBackup_get.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/autonomousDatabaseBackup_get.json // this example is just showing the usage of "AutonomousDatabaseBackups_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 @@ -129,7 +129,7 @@ public async Task Get_AutonomousDatabaseBackupsGet() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Exists_AutonomousDatabaseBackupsGet() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseBackup_get.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/autonomousDatabaseBackup_get.json // this example is just showing the usage of "AutonomousDatabaseBackups_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 @@ -160,7 +160,7 @@ public async Task Exists_AutonomousDatabaseBackupsGet() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetIfExists_AutonomousDatabaseBackupsGet() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseBackup_get.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/autonomousDatabaseBackup_get.json // this example is just showing the usage of "AutonomousDatabaseBackups_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 @@ -203,7 +203,7 @@ public async Task GetIfExists_AutonomousDatabaseBackupsGet() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_GetAutonomousDatabaseBackup() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseBackup_get.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/autonomousDatabaseBackup_get.json // this example is just showing the usage of "AutonomousDatabaseBackups_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 @@ -238,7 +238,7 @@ public async Task Get_GetAutonomousDatabaseBackup() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Exists_GetAutonomousDatabaseBackup() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseBackup_get.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/autonomousDatabaseBackup_get.json // this example is just showing the usage of "AutonomousDatabaseBackups_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 @@ -269,7 +269,7 @@ public async Task Exists_GetAutonomousDatabaseBackup() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetIfExists_GetAutonomousDatabaseBackup() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseBackup_get.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/autonomousDatabaseBackup_get.json // this example is just showing the usage of "AutonomousDatabaseBackups_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 @@ -312,7 +312,7 @@ public async Task GetIfExists_GetAutonomousDatabaseBackup() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task CreateOrUpdate_AutonomousDatabaseBackupsCreateOrUpdate() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseBackup_create.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/autonomousDatabaseBackup_create.json // this example is just showing the usage of "AutonomousDatabaseBackups_CreateOrUpdate" 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 @@ -356,7 +356,7 @@ public async Task CreateOrUpdate_AutonomousDatabaseBackupsCreateOrUpdate() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task CreateOrUpdate_CreateAutonomousDatabaseBackup() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseBackup_create.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/autonomousDatabaseBackup_create.json // this example is just showing the usage of "AutonomousDatabaseBackups_CreateOrUpdate" 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/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDatabaseBackupResource.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDatabaseBackupResource.cs index 414375b5b0c8..7613fb2c3a77 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDatabaseBackupResource.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDatabaseBackupResource.cs @@ -20,7 +20,7 @@ public partial class Sample_AutonomousDatabaseBackupResource [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_AutonomousDatabaseBackupsGet() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseBackup_get.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/autonomousDatabaseBackup_get.json // this example is just showing the usage of "AutonomousDatabaseBackups_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 @@ -52,7 +52,7 @@ public async Task Get_AutonomousDatabaseBackupsGet() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_GetAutonomousDatabaseBackup() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseBackup_get.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/autonomousDatabaseBackup_get.json // this example is just showing the usage of "AutonomousDatabaseBackups_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 @@ -84,7 +84,7 @@ public async Task Get_GetAutonomousDatabaseBackup() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Update_AutonomousDatabaseBackupsUpdate() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseBackup_patch.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/autonomousDatabaseBackup_patch.json // this example is just showing the usage of "AutonomousDatabaseBackups_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 @@ -118,7 +118,7 @@ public async Task Update_AutonomousDatabaseBackupsUpdate() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Update_PatchAutonomousDatabaseBackup() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseBackup_patch.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/autonomousDatabaseBackup_patch.json // this example is just showing the usage of "AutonomousDatabaseBackups_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 @@ -152,7 +152,7 @@ public async Task Update_PatchAutonomousDatabaseBackup() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Delete_AutonomousDatabaseBackupsDelete() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseBackup_delete.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/autonomousDatabaseBackup_delete.json // this example is just showing the usage of "AutonomousDatabaseBackups_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 @@ -180,7 +180,7 @@ public async Task Delete_AutonomousDatabaseBackupsDelete() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Delete_DeleteAutonomousDatabaseBackup() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseBackup_delete.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/autonomousDatabaseBackup_delete.json // this example is just showing the usage of "AutonomousDatabaseBackups_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 diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDatabaseCharacterSetCollection.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDatabaseCharacterSetCollection.cs index 00321b2f4263..c7aca0d1f89d 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDatabaseCharacterSetCollection.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDatabaseCharacterSetCollection.cs @@ -20,7 +20,7 @@ public partial class Sample_AutonomousDatabaseCharacterSetCollection [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetAll_ListAutonomousDbCharacterSetsByLocation() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseCharacterSet_listByLocation.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/autonomousDatabaseCharacterSet_listByLocation.json // this example is just showing the usage of "AutonomousDatabaseCharacterSets_ListByLocation" 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 @@ -56,7 +56,7 @@ public async Task GetAll_ListAutonomousDbCharacterSetsByLocation() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_GetAutonomousDbCharacterSet() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseCharacterSet_get.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/autonomousDatabaseCharacterSet_get.json // this example is just showing the usage of "AutonomousDatabaseCharacterSets_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 @@ -90,7 +90,7 @@ public async Task Get_GetAutonomousDbCharacterSet() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Exists_GetAutonomousDbCharacterSet() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseCharacterSet_get.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/autonomousDatabaseCharacterSet_get.json // this example is just showing the usage of "AutonomousDatabaseCharacterSets_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 @@ -120,7 +120,7 @@ public async Task Exists_GetAutonomousDbCharacterSet() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetIfExists_GetAutonomousDbCharacterSet() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseCharacterSet_get.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/autonomousDatabaseCharacterSet_get.json // this example is just showing the usage of "AutonomousDatabaseCharacterSets_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/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDatabaseCharacterSetResource.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDatabaseCharacterSetResource.cs index 44998c369774..5caa77f469c6 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDatabaseCharacterSetResource.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDatabaseCharacterSetResource.cs @@ -19,7 +19,7 @@ public partial class Sample_AutonomousDatabaseCharacterSetResource [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_GetAutonomousDbCharacterSet() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseCharacterSet_get.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/autonomousDatabaseCharacterSet_get.json // this example is just showing the usage of "AutonomousDatabaseCharacterSets_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/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDatabaseCollection.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDatabaseCollection.cs index 31d7d0b9a888..e0e8a501e308 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDatabaseCollection.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDatabaseCollection.cs @@ -21,7 +21,7 @@ public partial class Sample_AutonomousDatabaseCollection [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetAll_ListAutonomousDatabaseByResourceGroup() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabase_listByResourceGroup.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/autonomousDatabase_listByResourceGroup.json // this example is just showing the usage of "AutonomousDatabases_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 @@ -57,7 +57,7 @@ public async Task GetAll_ListAutonomousDatabaseByResourceGroup() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_AutonomousDatabasesGet() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabase_get.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/autonomousDatabase_get.json // this example is just showing the usage of "AutonomousDatabases_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 @@ -91,7 +91,7 @@ public async Task Get_AutonomousDatabasesGet() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Exists_AutonomousDatabasesGet() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabase_get.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/autonomousDatabase_get.json // this example is just showing the usage of "AutonomousDatabases_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 @@ -121,7 +121,7 @@ public async Task Exists_AutonomousDatabasesGet() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetIfExists_AutonomousDatabasesGet() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabase_get.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/autonomousDatabase_get.json // this example is just showing the usage of "AutonomousDatabases_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 @@ -163,7 +163,7 @@ public async Task GetIfExists_AutonomousDatabasesGet() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_GetAutonomousDatabase() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabase_get.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/autonomousDatabase_get.json // this example is just showing the usage of "AutonomousDatabases_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 @@ -197,7 +197,7 @@ public async Task Get_GetAutonomousDatabase() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Exists_GetAutonomousDatabase() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabase_get.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/autonomousDatabase_get.json // this example is just showing the usage of "AutonomousDatabases_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 @@ -227,7 +227,7 @@ public async Task Exists_GetAutonomousDatabase() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetIfExists_GetAutonomousDatabase() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabase_get.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/autonomousDatabase_get.json // this example is just showing the usage of "AutonomousDatabases_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 @@ -269,7 +269,7 @@ public async Task GetIfExists_GetAutonomousDatabase() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task CreateOrUpdate_AutonomousDatabasesCreateOrUpdate() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabase_create.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/autonomousDatabase_create.json // this example is just showing the usage of "AutonomousDatabases_CreateOrUpdate" 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 @@ -324,7 +324,7 @@ public async Task CreateOrUpdate_AutonomousDatabasesCreateOrUpdate() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task CreateOrUpdate_AutonomousDatabasesCreateOrUpdateClone() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseClone_create.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/autonomousDatabaseClone_create.json // this example is just showing the usage of "AutonomousDatabases_CreateOrUpdate" 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 @@ -378,7 +378,7 @@ public async Task CreateOrUpdate_AutonomousDatabasesCreateOrUpdateClone() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task CreateOrUpdate_CreateAutonomousDatabase() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabase_create.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/autonomousDatabase_create.json // this example is just showing the usage of "AutonomousDatabases_CreateOrUpdate" 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 @@ -433,7 +433,7 @@ public async Task CreateOrUpdate_CreateAutonomousDatabase() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task CreateOrUpdate_CreateCloneAutonomousDatabase() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseClone_create.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/autonomousDatabaseClone_create.json // this example is just showing the usage of "AutonomousDatabases_CreateOrUpdate" 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/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDatabaseNationalCharacterSetCollection.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDatabaseNationalCharacterSetCollection.cs index 1e1284553ecb..39beddb8f666 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDatabaseNationalCharacterSetCollection.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDatabaseNationalCharacterSetCollection.cs @@ -20,7 +20,7 @@ public partial class Sample_AutonomousDatabaseNationalCharacterSetCollection [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetAll_ListAutonomousDbNationalCharacterSetsByLocation() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseNationalCharacterSet_listByLocation.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/autonomousDatabaseNationalCharacterSet_listByLocation.json // this example is just showing the usage of "AutonomousDatabaseNationalCharacterSets_ListByLocation" 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 @@ -56,7 +56,7 @@ public async Task GetAll_ListAutonomousDbNationalCharacterSetsByLocation() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_GetAutonomousDbNationalCharacterSet() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseNationalCharacterSet_get.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/autonomousDatabaseNationalCharacterSet_get.json // this example is just showing the usage of "AutonomousDatabaseNationalCharacterSets_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 @@ -90,7 +90,7 @@ public async Task Get_GetAutonomousDbNationalCharacterSet() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Exists_GetAutonomousDbNationalCharacterSet() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseNationalCharacterSet_get.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/autonomousDatabaseNationalCharacterSet_get.json // this example is just showing the usage of "AutonomousDatabaseNationalCharacterSets_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 @@ -120,7 +120,7 @@ public async Task Exists_GetAutonomousDbNationalCharacterSet() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetIfExists_GetAutonomousDbNationalCharacterSet() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseNationalCharacterSet_get.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/autonomousDatabaseNationalCharacterSet_get.json // this example is just showing the usage of "AutonomousDatabaseNationalCharacterSets_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/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDatabaseNationalCharacterSetResource.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDatabaseNationalCharacterSetResource.cs index d39d6da08364..d791a5f8b1f0 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDatabaseNationalCharacterSetResource.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDatabaseNationalCharacterSetResource.cs @@ -19,7 +19,7 @@ public partial class Sample_AutonomousDatabaseNationalCharacterSetResource [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_GetAutonomousDbNationalCharacterSet() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseNationalCharacterSet_get.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/autonomousDatabaseNationalCharacterSet_get.json // this example is just showing the usage of "AutonomousDatabaseNationalCharacterSets_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/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDatabaseResource.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDatabaseResource.cs index 52e84e7d9693..104fb59c138b 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDatabaseResource.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_AutonomousDatabaseResource.cs @@ -21,7 +21,7 @@ public partial class Sample_AutonomousDatabaseResource [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetAutonomousDatabases_ListAutonomousDatabaseBySubscription() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabase_listBySubscription.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/autonomousDatabase_listBySubscription.json // this example is just showing the usage of "AutonomousDatabases_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 @@ -53,7 +53,7 @@ public async Task GetAutonomousDatabases_ListAutonomousDatabaseBySubscription() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_AutonomousDatabasesGet() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabase_get.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/autonomousDatabase_get.json // this example is just showing the usage of "AutonomousDatabases_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 @@ -84,7 +84,7 @@ public async Task Get_AutonomousDatabasesGet() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_GetAutonomousDatabase() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabase_get.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/autonomousDatabase_get.json // this example is just showing the usage of "AutonomousDatabases_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 @@ -115,7 +115,7 @@ public async Task Get_GetAutonomousDatabase() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Update_PatchAutonomousDatabase() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabase_patch.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/autonomousDatabase_patch.json // this example is just showing the usage of "AutonomousDatabases_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 @@ -148,7 +148,7 @@ public async Task Update_PatchAutonomousDatabase() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Delete_DeleteAutonomousDatabase() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabase_delete.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/autonomousDatabase_delete.json // this example is just showing the usage of "AutonomousDatabases_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 @@ -175,7 +175,7 @@ public async Task Delete_DeleteAutonomousDatabase() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Failover_AutonomousDatabasesFailover() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabase_failover.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/autonomousDatabase_failover.json // this example is just showing the usage of "AutonomousDatabases_Failover" 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 @@ -211,7 +211,7 @@ public async Task Failover_AutonomousDatabasesFailover() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Failover_PerformFailoverActionOnAutonomousDatabase() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabase_failover.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/autonomousDatabase_failover.json // this example is just showing the usage of "AutonomousDatabases_Failover" 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 @@ -247,7 +247,7 @@ public async Task Failover_PerformFailoverActionOnAutonomousDatabase() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GenerateWallet_GenerateWalletActionOnAutonomousDatabase() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabase_generateWallet.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/autonomousDatabase_generateWallet.json // this example is just showing the usage of "AutonomousDatabases_GenerateWallet" 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 @@ -279,7 +279,7 @@ public async Task GenerateWallet_GenerateWalletActionOnAutonomousDatabase() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Restore_AutonomousDatabasesRestore() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabase_restore.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/autonomousDatabase_restore.json // this example is just showing the usage of "AutonomousDatabases_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 @@ -312,7 +312,7 @@ public async Task Restore_AutonomousDatabasesRestore() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Restore_PerformRestoreActionOnAutonomousDatabase() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabase_restore.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/autonomousDatabase_restore.json // this example is just showing the usage of "AutonomousDatabases_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 @@ -345,7 +345,7 @@ public async Task Restore_PerformRestoreActionOnAutonomousDatabase() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Shrink_PerformShrinkActionOnAutonomousDatabase() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabase_shrink.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/autonomousDatabase_shrink.json // this example is just showing the usage of "AutonomousDatabases_Shrink" 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 @@ -377,7 +377,7 @@ public async Task Shrink_PerformShrinkActionOnAutonomousDatabase() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Switchover_AutonomousDatabasesSwitchover() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabase_switchover.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/autonomousDatabase_switchover.json // this example is just showing the usage of "AutonomousDatabases_Switchover" 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 @@ -413,7 +413,7 @@ public async Task Switchover_AutonomousDatabasesSwitchover() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Switchover_PerformSwitchoverActionOnAutonomousDatabase() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabase_switchover.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/autonomousDatabase_switchover.json // this example is just showing the usage of "AutonomousDatabases_Switchover" 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/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_CloudExadataInfrastructureCollection.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_CloudExadataInfrastructureCollection.cs index 07a3fa96e659..6eecdab1661b 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_CloudExadataInfrastructureCollection.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_CloudExadataInfrastructureCollection.cs @@ -21,7 +21,7 @@ public partial class Sample_CloudExadataInfrastructureCollection [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetAll_ListExadataInfrastructureByResourceGroup() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/exaInfra_listByResourceGroup.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/exaInfra_listByResourceGroup.json // this example is just showing the usage of "CloudExadataInfrastructures_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 @@ -57,7 +57,7 @@ public async Task GetAll_ListExadataInfrastructureByResourceGroup() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_GetExadataInfrastructure() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/exaInfra_get.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/exaInfra_get.json // this example is just showing the usage of "CloudExadataInfrastructures_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 @@ -91,7 +91,7 @@ public async Task Get_GetExadataInfrastructure() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Exists_GetExadataInfrastructure() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/exaInfra_get.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/exaInfra_get.json // this example is just showing the usage of "CloudExadataInfrastructures_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 @@ -121,7 +121,7 @@ public async Task Exists_GetExadataInfrastructure() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetIfExists_GetExadataInfrastructure() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/exaInfra_get.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/exaInfra_get.json // this example is just showing the usage of "CloudExadataInfrastructures_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 @@ -163,7 +163,7 @@ public async Task GetIfExists_GetExadataInfrastructure() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task CreateOrUpdate_CreateExadataInfrastructure() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/exaInfra_create.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/exaInfra_create.json // this example is just showing the usage of "CloudExadataInfrastructures_CreateOrUpdate" 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/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_CloudExadataInfrastructureResource.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_CloudExadataInfrastructureResource.cs index d469449d78de..69bae3774474 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_CloudExadataInfrastructureResource.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_CloudExadataInfrastructureResource.cs @@ -21,7 +21,7 @@ public partial class Sample_CloudExadataInfrastructureResource [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetCloudExadataInfrastructures_ListExadataInfrastructureBySubscription() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/exaInfra_listBySubscription.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/exaInfra_listBySubscription.json // this example is just showing the usage of "CloudExadataInfrastructures_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 @@ -53,7 +53,7 @@ public async Task GetCloudExadataInfrastructures_ListExadataInfrastructureBySubs [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_GetExadataInfrastructure() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/exaInfra_get.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/exaInfra_get.json // this example is just showing the usage of "CloudExadataInfrastructures_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 @@ -84,7 +84,7 @@ public async Task Get_GetExadataInfrastructure() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Update_PatchExadataInfrastructure() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/exaInfra_patch.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/exaInfra_patch.json // this example is just showing the usage of "CloudExadataInfrastructures_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 @@ -117,7 +117,7 @@ public async Task Update_PatchExadataInfrastructure() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Delete_DeleteExadataInfrastructure() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/exaInfra_delete.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/exaInfra_delete.json // this example is just showing the usage of "CloudExadataInfrastructures_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 @@ -144,7 +144,7 @@ public async Task Delete_DeleteExadataInfrastructure() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task AddStorageCapacity_PerformAddStorageCapacityOnExadataInfra() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/exaInfra_addStorageCapacity.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/exaInfra_addStorageCapacity.json // this example is just showing the usage of "CloudExadataInfrastructures_AddStorageCapacity" 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/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_CloudVmClusterCollection.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_CloudVmClusterCollection.cs index 17d21dded846..7a81863e3421 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_CloudVmClusterCollection.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_CloudVmClusterCollection.cs @@ -21,7 +21,7 @@ public partial class Sample_CloudVmClusterCollection [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetAll_ListVMClustersByResourceGroup() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/vmClusters_listByResourceGroup.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/vmClusters_listByResourceGroup.json // this example is just showing the usage of "CloudVmClusters_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 @@ -57,7 +57,7 @@ public async Task GetAll_ListVMClustersByResourceGroup() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_GetVMCluster() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/vmClusters_get.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/vmClusters_get.json // this example is just showing the usage of "CloudVmClusters_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 @@ -91,7 +91,7 @@ public async Task Get_GetVMCluster() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Exists_GetVMCluster() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/vmClusters_get.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/vmClusters_get.json // this example is just showing the usage of "CloudVmClusters_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 @@ -121,7 +121,7 @@ public async Task Exists_GetVMCluster() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetIfExists_GetVMCluster() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/vmClusters_get.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/vmClusters_get.json // this example is just showing the usage of "CloudVmClusters_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 @@ -163,7 +163,7 @@ public async Task GetIfExists_GetVMCluster() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task CreateOrUpdate_CreateVMCluster() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/vmClusters_create.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/vmClusters_create.json // this example is just showing the usage of "CloudVmClusters_CreateOrUpdate" 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/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_CloudVmClusterDBNodeCollection.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_CloudVmClusterDBNodeCollection.cs index ddec9db1807c..790fea6be169 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_CloudVmClusterDBNodeCollection.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_CloudVmClusterDBNodeCollection.cs @@ -19,7 +19,7 @@ public partial class Sample_CloudVmClusterDBNodeCollection [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetAll_ListDbNodesByVMCluster() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/dbNodes_listByParent.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/dbNodes_listByParent.json // this example is just showing the usage of "DbNodes_ListByCloudVmCluster" 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 @@ -56,7 +56,7 @@ public async Task GetAll_ListDbNodesByVMCluster() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_GetDbNode() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/dbNodes_get.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/dbNodes_get.json // this example is just showing the usage of "DbNodes_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 @@ -91,7 +91,7 @@ public async Task Get_GetDbNode() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Exists_GetDbNode() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/dbNodes_get.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/dbNodes_get.json // this example is just showing the usage of "DbNodes_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 @@ -122,7 +122,7 @@ public async Task Exists_GetDbNode() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetIfExists_GetDbNode() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/dbNodes_get.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/dbNodes_get.json // this example is just showing the usage of "DbNodes_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/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_CloudVmClusterDBNodeResource.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_CloudVmClusterDBNodeResource.cs index f4a6704ed947..94512a15d5bb 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_CloudVmClusterDBNodeResource.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_CloudVmClusterDBNodeResource.cs @@ -20,7 +20,7 @@ public partial class Sample_CloudVmClusterDBNodeResource [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_GetDbNode() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/dbNodes_get.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/dbNodes_get.json // this example is just showing the usage of "DbNodes_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 @@ -52,7 +52,7 @@ public async Task Get_GetDbNode() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Action_DbNodesAction() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/dbNodes_action.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/dbNodes_action.json // this example is just showing the usage of "DbNodes_Action" 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 @@ -86,7 +86,7 @@ public async Task Action_DbNodesAction() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Action_VMActionsOnDbNodesOfVMCluster() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/dbNodes_action.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/dbNodes_action.json // this example is just showing the usage of "DbNodes_Action" 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/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_CloudVmClusterResource.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_CloudVmClusterResource.cs index 60c021d5dab1..68ccf1dd3d10 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_CloudVmClusterResource.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_CloudVmClusterResource.cs @@ -21,7 +21,7 @@ public partial class Sample_CloudVmClusterResource [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetCloudVmClusters_ListVMClustersBySubscription() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/vmClusters_listBySubscription.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/vmClusters_listBySubscription.json // this example is just showing the usage of "CloudVmClusters_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 @@ -53,7 +53,7 @@ public async Task GetCloudVmClusters_ListVMClustersBySubscription() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_GetVMCluster() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/vmClusters_get.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/vmClusters_get.json // this example is just showing the usage of "CloudVmClusters_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 @@ -84,7 +84,7 @@ public async Task Get_GetVMCluster() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Update_PatchVMCluster() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/vmClusters_patch.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/vmClusters_patch.json // this example is just showing the usage of "CloudVmClusters_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 @@ -117,7 +117,7 @@ public async Task Update_PatchVMCluster() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Delete_DeleteVMCluster() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/vmClusters_delete.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/vmClusters_delete.json // this example is just showing the usage of "CloudVmClusters_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 @@ -144,7 +144,7 @@ public async Task Delete_DeleteVMCluster() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task AddVms_AddVMsToVMCluster() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/vmClusters_addVms.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/vmClusters_addVms.json // this example is just showing the usage of "CloudVmClusters_AddVms" 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 @@ -180,7 +180,7 @@ public async Task AddVms_AddVMsToVMCluster() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetPrivateIPAddresses_ListPrivateIPAddressesForVMCluster() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/vmClusters_listPrivateIpAddresses.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/vmClusters_listPrivateIpAddresses.json // this example is just showing the usage of "CloudVmClusters_ListPrivateIPAddresses" 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 @@ -211,7 +211,7 @@ public async Task GetPrivateIPAddresses_ListPrivateIPAddressesForVMCluster() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task RemoveVms_RemoveVMsFromVMCluster() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/vmClusters_removeVms.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/vmClusters_removeVms.json // this example is just showing the usage of "CloudVmClusters_RemoveVms" 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/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_CloudVmClusterVirtualNetworkAddressCollection.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_CloudVmClusterVirtualNetworkAddressCollection.cs index 299524b50f06..08469c923494 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_CloudVmClusterVirtualNetworkAddressCollection.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_CloudVmClusterVirtualNetworkAddressCollection.cs @@ -20,7 +20,7 @@ public partial class Sample_CloudVmClusterVirtualNetworkAddressCollection [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetAll_ListVirtualNetworkAddressesByVMCluster() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/virtualNetworkAddresses_listByParent.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/virtualNetworkAddresses_listByParent.json // this example is just showing the usage of "VirtualNetworkAddresses_ListByCloudVmCluster" 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 @@ -57,7 +57,7 @@ public async Task GetAll_ListVirtualNetworkAddressesByVMCluster() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_GetVirtualNetworkAddress() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/virtualNetworkAddresses_get.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/virtualNetworkAddresses_get.json // this example is just showing the usage of "VirtualNetworkAddresses_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 @@ -92,7 +92,7 @@ public async Task Get_GetVirtualNetworkAddress() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Exists_GetVirtualNetworkAddress() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/virtualNetworkAddresses_get.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/virtualNetworkAddresses_get.json // this example is just showing the usage of "VirtualNetworkAddresses_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 @@ -123,7 +123,7 @@ public async Task Exists_GetVirtualNetworkAddress() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetIfExists_GetVirtualNetworkAddress() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/virtualNetworkAddresses_get.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/virtualNetworkAddresses_get.json // this example is just showing the usage of "VirtualNetworkAddresses_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 @@ -166,7 +166,7 @@ public async Task GetIfExists_GetVirtualNetworkAddress() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task CreateOrUpdate_CreateVirtualNetworkAddress() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/virtualNetworkAddresses_create.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/virtualNetworkAddresses_create.json // this example is just showing the usage of "VirtualNetworkAddresses_CreateOrUpdate" 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/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_CloudVmClusterVirtualNetworkAddressResource.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_CloudVmClusterVirtualNetworkAddressResource.cs index 93160442b451..0d888b9479d9 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_CloudVmClusterVirtualNetworkAddressResource.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_CloudVmClusterVirtualNetworkAddressResource.cs @@ -20,7 +20,7 @@ public partial class Sample_CloudVmClusterVirtualNetworkAddressResource [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_GetVirtualNetworkAddress() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/virtualNetworkAddresses_get.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/virtualNetworkAddresses_get.json // this example is just showing the usage of "VirtualNetworkAddresses_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 @@ -52,7 +52,7 @@ public async Task Get_GetVirtualNetworkAddress() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Update_CreateVirtualNetworkAddress() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/virtualNetworkAddresses_create.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/virtualNetworkAddresses_create.json // this example is just showing the usage of "VirtualNetworkAddresses_CreateOrUpdate" 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 @@ -93,7 +93,7 @@ public async Task Update_CreateVirtualNetworkAddress() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Delete_DeleteVirtualNetworkAddress() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/virtualNetworkAddresses_delete.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/virtualNetworkAddresses_delete.json // this example is just showing the usage of "VirtualNetworkAddresses_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 diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleDBServerCollection.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleDBServerCollection.cs index b09384e8d699..64ec509942ae 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleDBServerCollection.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleDBServerCollection.cs @@ -19,7 +19,7 @@ public partial class Sample_OracleDBServerCollection [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetAll_ListDbServersByExadataInfrastructure() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/dbServers_listByParent.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/dbServers_listByParent.json // this example is just showing the usage of "DbServers_ListByCloudExadataInfrastructure" 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 @@ -56,7 +56,7 @@ public async Task GetAll_ListDbServersByExadataInfrastructure() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_GetDbServerByParent() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/dbServers_get.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/dbServers_get.json // this example is just showing the usage of "DbServers_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 @@ -91,7 +91,7 @@ public async Task Get_GetDbServerByParent() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Exists_GetDbServerByParent() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/dbServers_get.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/dbServers_get.json // this example is just showing the usage of "DbServers_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 @@ -122,7 +122,7 @@ public async Task Exists_GetDbServerByParent() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetIfExists_GetDbServerByParent() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/dbServers_get.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/dbServers_get.json // this example is just showing the usage of "DbServers_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/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleDBServerResource.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleDBServerResource.cs index 76d23a7cbbb2..76ba21eb590b 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleDBServerResource.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleDBServerResource.cs @@ -19,7 +19,7 @@ public partial class Sample_OracleDBServerResource [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_GetDbServerByParent() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/dbServers_get.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/dbServers_get.json // this example is just showing the usage of "DbServers_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/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleDBSystemShapeCollection.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleDBSystemShapeCollection.cs index 03a7b9936b06..13e034256af8 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleDBSystemShapeCollection.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleDBSystemShapeCollection.cs @@ -20,7 +20,7 @@ public partial class Sample_OracleDBSystemShapeCollection [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetAll_ListDbSystemShapesByLocation() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/dbSystemShapes_listByLocation.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/dbSystemShapes_listByLocation.json // this example is just showing the usage of "DbSystemShapes_ListByLocation" 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 @@ -56,7 +56,7 @@ public async Task GetAll_ListDbSystemShapesByLocation() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_GetADbSystemShapeByName() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/dbSystemShapes_get.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/dbSystemShapes_get.json // this example is just showing the usage of "DbSystemShapes_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 @@ -90,7 +90,7 @@ public async Task Get_GetADbSystemShapeByName() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Exists_GetADbSystemShapeByName() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/dbSystemShapes_get.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/dbSystemShapes_get.json // this example is just showing the usage of "DbSystemShapes_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 @@ -120,7 +120,7 @@ public async Task Exists_GetADbSystemShapeByName() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetIfExists_GetADbSystemShapeByName() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/dbSystemShapes_get.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/dbSystemShapes_get.json // this example is just showing the usage of "DbSystemShapes_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/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleDBSystemShapeResource.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleDBSystemShapeResource.cs index 46e6e18a1cc5..546be85b5f23 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleDBSystemShapeResource.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleDBSystemShapeResource.cs @@ -19,7 +19,7 @@ public partial class Sample_OracleDBSystemShapeResource [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_GetADbSystemShapeByName() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/dbSystemShapes_get.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/dbSystemShapes_get.json // this example is just showing the usage of "DbSystemShapes_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/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleDnsPrivateViewCollection.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleDnsPrivateViewCollection.cs index 539044f2d0a3..576b2f69cb6d 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleDnsPrivateViewCollection.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleDnsPrivateViewCollection.cs @@ -20,7 +20,7 @@ public partial class Sample_OracleDnsPrivateViewCollection [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetAll_ListDnsPrivateViewsByLocation() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/dnsPrivateViews_listByLocation.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/dnsPrivateViews_listByLocation.json // this example is just showing the usage of "DnsPrivateViews_ListByLocation" 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 @@ -56,7 +56,7 @@ public async Task GetAll_ListDnsPrivateViewsByLocation() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_GetADnsPrivateViewByName() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/dnsPrivateViews_get.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/dnsPrivateViews_get.json // this example is just showing the usage of "DnsPrivateViews_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 @@ -90,7 +90,7 @@ public async Task Get_GetADnsPrivateViewByName() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Exists_GetADnsPrivateViewByName() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/dnsPrivateViews_get.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/dnsPrivateViews_get.json // this example is just showing the usage of "DnsPrivateViews_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 @@ -120,7 +120,7 @@ public async Task Exists_GetADnsPrivateViewByName() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetIfExists_GetADnsPrivateViewByName() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/dnsPrivateViews_get.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/dnsPrivateViews_get.json // this example is just showing the usage of "DnsPrivateViews_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/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleDnsPrivateViewResource.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleDnsPrivateViewResource.cs index ca387bb84c9e..19fbcb29edbd 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleDnsPrivateViewResource.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleDnsPrivateViewResource.cs @@ -19,7 +19,7 @@ public partial class Sample_OracleDnsPrivateViewResource [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_GetADnsPrivateViewByName() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/dnsPrivateViews_get.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/dnsPrivateViews_get.json // this example is just showing the usage of "DnsPrivateViews_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/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleDnsPrivateZoneCollection.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleDnsPrivateZoneCollection.cs index c6a1e5292411..88951a7c5cf6 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleDnsPrivateZoneCollection.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleDnsPrivateZoneCollection.cs @@ -20,7 +20,7 @@ public partial class Sample_OracleDnsPrivateZoneCollection [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetAll_ListDnsPrivateZonesByLocation() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/dnsPrivateZones_listByLocation.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/dnsPrivateZones_listByLocation.json // this example is just showing the usage of "DnsPrivateZones_ListByLocation" 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 @@ -56,7 +56,7 @@ public async Task GetAll_ListDnsPrivateZonesByLocation() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_GetADnsPrivateZoneByName() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/dnsPrivateZones_get.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/dnsPrivateZones_get.json // this example is just showing the usage of "DnsPrivateZones_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 @@ -90,7 +90,7 @@ public async Task Get_GetADnsPrivateZoneByName() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Exists_GetADnsPrivateZoneByName() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/dnsPrivateZones_get.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/dnsPrivateZones_get.json // this example is just showing the usage of "DnsPrivateZones_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 @@ -120,7 +120,7 @@ public async Task Exists_GetADnsPrivateZoneByName() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetIfExists_GetADnsPrivateZoneByName() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/dnsPrivateZones_get.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/dnsPrivateZones_get.json // this example is just showing the usage of "DnsPrivateZones_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/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleDnsPrivateZoneResource.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleDnsPrivateZoneResource.cs index 2480a1be0f52..eeafd2a9a881 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleDnsPrivateZoneResource.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleDnsPrivateZoneResource.cs @@ -19,7 +19,7 @@ public partial class Sample_OracleDnsPrivateZoneResource [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_GetADnsPrivateZoneByName() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/dnsPrivateZones_get.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/dnsPrivateZones_get.json // this example is just showing the usage of "DnsPrivateZones_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/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleGIVersionCollection.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleGIVersionCollection.cs index 6e5ebe162072..1fdde3e81495 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleGIVersionCollection.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleGIVersionCollection.cs @@ -20,7 +20,7 @@ public partial class Sample_OracleGIVersionCollection [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetAll_ListGiVersionsByLocation() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/giVersions_listByLocation.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/giVersions_listByLocation.json // this example is just showing the usage of "GiVersions_ListByLocation" 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 @@ -56,7 +56,7 @@ public async Task GetAll_ListGiVersionsByLocation() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_GetAGiVersionByName() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/giVersions_get.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/giVersions_get.json // this example is just showing the usage of "GiVersions_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 @@ -90,7 +90,7 @@ public async Task Get_GetAGiVersionByName() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Exists_GetAGiVersionByName() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/giVersions_get.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/giVersions_get.json // this example is just showing the usage of "GiVersions_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 @@ -120,7 +120,7 @@ public async Task Exists_GetAGiVersionByName() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetIfExists_GetAGiVersionByName() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/giVersions_get.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/giVersions_get.json // this example is just showing the usage of "GiVersions_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/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleGIVersionResource.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleGIVersionResource.cs index 17b7a4513844..28dae3dcea67 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleGIVersionResource.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleGIVersionResource.cs @@ -19,7 +19,7 @@ public partial class Sample_OracleGIVersionResource [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_GetAGiVersionByName() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/giVersions_get.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/giVersions_get.json // this example is just showing the usage of "GiVersions_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/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleSubscriptionResource.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleSubscriptionResource.cs index 155088b463f1..db54bdc3a78d 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleSubscriptionResource.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleSubscriptionResource.cs @@ -21,7 +21,7 @@ public partial class Sample_OracleSubscriptionResource [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_GetOracleSubscription() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/oracleSubscriptions_get.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/oracleSubscriptions_get.json // this example is just showing the usage of "OracleSubscriptions_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_GetOracleSubscription() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task CreateOrUpdate_CreateOrUpdateOracleSubscription() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/oracleSubscriptions_create.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/oracleSubscriptions_create.json // this example is just showing the usage of "OracleSubscriptions_CreateOrUpdate" 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 @@ -89,7 +89,7 @@ public async Task CreateOrUpdate_CreateOrUpdateOracleSubscription() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Update_PatchOracleSubscription() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/oracleSubscriptions_patch.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/oracleSubscriptions_patch.json // this example is just showing the usage of "OracleSubscriptions_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 @@ -120,7 +120,7 @@ public async Task Update_PatchOracleSubscription() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Delete_DeleteOracleSubscription() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/oracleSubscriptions_delete.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/oracleSubscriptions_delete.json // this example is just showing the usage of "OracleSubscriptions_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 @@ -140,12 +140,41 @@ public async Task Delete_DeleteOracleSubscription() Console.WriteLine($"Succeeded"); } + // Add Azure Subscriptions to the OracleSubscription + [NUnit.Framework.Test] + [NUnit.Framework.Ignore("Only verifying that the sample builds")] + public async Task AddAzureSubscriptions_AddAzureSubscriptionsToTheOracleSubscription() + { + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/oracleSubscriptions_addAzureSubscriptions.json + // this example is just showing the usage of "OracleSubscriptions_AddAzureSubscriptions" 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 + TokenCredential cred = new DefaultAzureCredential(); + // authenticate your client + ArmClient client = new ArmClient(cred); + + // this example assumes you already have this OracleSubscriptionResource created on azure + // for more information of creating OracleSubscriptionResource, please refer to the document of OracleSubscriptionResource + string subscriptionId = "00000000-0000-0000-0000-000000000000"; + ResourceIdentifier oracleSubscriptionResourceId = OracleSubscriptionResource.CreateResourceIdentifier(subscriptionId); + OracleSubscriptionResource oracleSubscription = client.GetOracleSubscriptionResource(oracleSubscriptionResourceId); + + // invoke the operation + AzureSubscriptions body = new AzureSubscriptions(new string[] + { +"00000000-0000-0000-0000-000000000001" + }); + await oracleSubscription.AddAzureSubscriptionsAsync(WaitUntil.Completed, body); + + Console.WriteLine($"Succeeded"); + } + // List Activation Links for the Oracle Subscription [NUnit.Framework.Test] [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetActivationLinks_ListActivationLinksForTheOracleSubscription() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/oracleSubscriptions_listActivationLinks.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/oracleSubscriptions_listActivationLinks.json // this example is just showing the usage of "OracleSubscriptions_ListActivationLinks" 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 @@ -171,7 +200,7 @@ public async Task GetActivationLinks_ListActivationLinksForTheOracleSubscription [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetCloudAccountDetails_ListCloudAccountDetailsForTheOracleSubscription() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/oracleSubscriptions_listCloudAccountDetails.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/oracleSubscriptions_listCloudAccountDetails.json // this example is just showing the usage of "OracleSubscriptions_ListCloudAccountDetails" 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 @@ -197,7 +226,7 @@ public async Task GetCloudAccountDetails_ListCloudAccountDetailsForTheOracleSubs [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetSaasSubscriptionDetails_ListSaasSubscriptionDetailsForTheOracleSubscription() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/oracleSubscriptions_listSaasSubscriptionDetails.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/oracleSubscriptions_listSaasSubscriptionDetails.json // this example is just showing the usage of "OracleSubscriptions_ListSaasSubscriptionDetails" 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/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleSystemVersionCollection.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleSystemVersionCollection.cs index 27ba98e99de6..530da6ee90c5 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleSystemVersionCollection.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleSystemVersionCollection.cs @@ -20,7 +20,7 @@ public partial class Sample_OracleSystemVersionCollection [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetAll_ListExadataSystemVersionsByTheProvidedFilter() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/systemVersions_listByLocation.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/systemVersions_listByLocation.json // this example is just showing the usage of "SystemVersions_ListByLocation" 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 @@ -56,7 +56,7 @@ public async Task GetAll_ListExadataSystemVersionsByTheProvidedFilter() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetAll_SystemVersionsListByLocation() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/systemVersions_listByLocation.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/systemVersions_listByLocation.json // this example is just showing the usage of "SystemVersions_ListByLocation" 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 @@ -92,7 +92,7 @@ public async Task GetAll_SystemVersionsListByLocation() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_GetExadataSystemVersion() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/systemVersions_get.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/systemVersions_get.json // this example is just showing the usage of "SystemVersions_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 @@ -126,7 +126,7 @@ public async Task Get_GetExadataSystemVersion() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Exists_GetExadataSystemVersion() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/systemVersions_get.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/systemVersions_get.json // this example is just showing the usage of "SystemVersions_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 @@ -156,7 +156,7 @@ public async Task Exists_GetExadataSystemVersion() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetIfExists_GetExadataSystemVersion() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/systemVersions_get.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/systemVersions_get.json // this example is just showing the usage of "SystemVersions_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 @@ -198,7 +198,7 @@ public async Task GetIfExists_GetExadataSystemVersion() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_SystemVersionsListSystemVersions() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/systemVersions_get.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/systemVersions_get.json // this example is just showing the usage of "SystemVersions_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 @@ -232,7 +232,7 @@ public async Task Get_SystemVersionsListSystemVersions() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Exists_SystemVersionsListSystemVersions() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/systemVersions_get.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/systemVersions_get.json // this example is just showing the usage of "SystemVersions_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 @@ -262,7 +262,7 @@ public async Task Exists_SystemVersionsListSystemVersions() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetIfExists_SystemVersionsListSystemVersions() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/systemVersions_get.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/systemVersions_get.json // this example is just showing the usage of "SystemVersions_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/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleSystemVersionResource.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleSystemVersionResource.cs index 7b7cb57e7ce8..0d42cad7587f 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleSystemVersionResource.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/samples/Generated/Samples/Sample_OracleSystemVersionResource.cs @@ -19,7 +19,7 @@ public partial class Sample_OracleSystemVersionResource [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_GetExadataSystemVersion() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/systemVersions_get.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/systemVersions_get.json // this example is just showing the usage of "SystemVersions_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_GetExadataSystemVersion() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_SystemVersionsListSystemVersions() { - // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/systemVersions_get.json + // Generated from example definition: specification/oracle/resource-manager/Oracle.Database/stable/2024-06-01/examples/systemVersions_get.json // this example is just showing the usage of "SystemVersions_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/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/ArmOracleDatabaseModelFactory.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/ArmOracleDatabaseModelFactory.cs index bfd7327b51ae..416b82b9f008 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/ArmOracleDatabaseModelFactory.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/ArmOracleDatabaseModelFactory.cs @@ -7,6 +7,7 @@ using System; using System.Collections.Generic; +using System.ComponentModel; using System.Linq; using Azure.Core; using Azure.ResourceManager.Models; @@ -638,26 +639,6 @@ public static AutonomousDBVersionData AutonomousDBVersionData(ResourceIdentifier serializedAdditionalRawData: null); } - /// Initializes a new instance of . - /// Supported Autonomous Db versions. - /// The Autonomous Database workload type. - /// True if this version of the Oracle Database software's default is free. - /// True if this version of the Oracle Database software's default is paid. - /// True if this version of the Oracle Database software can be used for Always-Free Autonomous Databases. - /// True if this version of the Oracle Database software has payments enabled. - /// A new instance for mocking. - public static AutonomousDBVersionProperties AutonomousDBVersionProperties(string version = null, AutonomousDatabaseWorkloadType? dbWorkload = null, bool? isDefaultForFree = null, bool? isDefaultForPaid = null, bool? isFreeTierEnabled = null, bool? isPaidEnabled = null) - { - return new AutonomousDBVersionProperties( - version, - dbWorkload, - isDefaultForFree, - isDefaultForPaid, - isFreeTierEnabled, - isPaidEnabled, - serializedAdditionalRawData: null); - } - /// Initializes a new instance of . /// The id. /// The name. @@ -676,54 +657,6 @@ public static OracleDBSystemShapeData OracleDBSystemShapeData(ResourceIdentifier serializedAdditionalRawData: null); } - /// Initializes a new instance of . - /// The family of the shape used for the DB system. - /// The maximum number of CPU cores that can be enabled on the DB system for this shape. - /// The minimum number of CPU cores that can be enabled on the DB system for this shape. - /// The runtime minimum number of CPU cores that can be enabled on the DB system for this shape. - /// The discrete number by which the CPU core count for this shape can be increased or decreased. - /// The minimum number of Exadata storage servers available for the Exadata infrastructure. - /// The maximum number of Exadata storage servers available for the Exadata infrastructure. - /// The maximum data storage available per storage server for this shape. Only applicable to ExaCC Elastic shapes. - /// The maximum memory available per database node for this shape. Only applicable to ExaCC Elastic shapes. - /// The maximum Db Node storage available per database node for this shape. Only applicable to ExaCC Elastic shapes. - /// The minimum number of CPU cores that can be enabled per node for this shape. - /// The maximum memory that can be enabled for this shape. - /// The minimum memory that need be allocated per node for this shape. - /// The maximum Db Node storage that can be enabled for this shape. - /// The minimum Db Node storage that need be allocated per node for this shape. - /// The maximum DATA storage that can be enabled for this shape. - /// The minimum data storage that need be allocated for this shape. - /// The minimum number of database nodes available for this shape. - /// The maximum number of database nodes available for this shape. - /// The maximum number of CPU cores per database node that can be enabled for this shape. Only applicable to the flex Exadata shape and ExaCC Elastic shapes. - /// A new instance for mocking. - public static OracleDBSystemShapeProperties OracleDBSystemShapeProperties(string shapeFamily = null, int availableCoreCount = default, int? minimumCoreCount = null, int? runtimeMinimumCoreCount = null, int? coreCountIncrement = null, int? minStorageCount = null, int? maxStorageCount = null, double? availableDataStoragePerServerInTbs = null, int? availableMemoryPerNodeInGbs = null, int? availableDBNodePerNodeInGbs = null, int? minCoreCountPerNode = null, int? availableMemoryInGbs = null, int? minMemoryPerNodeInGbs = null, int? availableDBNodeStorageInGbs = null, int? minDBNodeStoragePerNodeInGbs = null, int? availableDataStorageInTbs = null, int? minDataStorageInTbs = null, int? minimumNodeCount = null, int? maximumNodeCount = null, int? availableCoreCountPerNode = null) - { - return new OracleDBSystemShapeProperties( - shapeFamily, - availableCoreCount, - minimumCoreCount, - runtimeMinimumCoreCount, - coreCountIncrement, - minStorageCount, - maxStorageCount, - availableDataStoragePerServerInTbs, - availableMemoryPerNodeInGbs, - availableDBNodePerNodeInGbs, - minCoreCountPerNode, - availableMemoryInGbs, - minMemoryPerNodeInGbs, - availableDBNodeStorageInGbs, - minDBNodeStoragePerNodeInGbs, - availableDataStorageInTbs, - minDataStorageInTbs, - minimumNodeCount, - maximumNodeCount, - availableCoreCountPerNode, - serializedAdditionalRawData: null); - } - /// Initializes a new instance of . /// The id. /// The name. @@ -749,10 +682,10 @@ public static OracleDnsPrivateViewData OracleDnsPrivateViewData(ResourceIdentifi /// Views lifecycleState. /// The canonical absolute URL of the resource. /// views timeCreated. - /// views timeCreated. + /// views timeUpdated. /// Azure resource provisioning state. /// A new instance for mocking. - public static OracleDnsPrivateViewProperties OracleDnsPrivateViewProperties(ResourceIdentifier ocid = null, string displayName = null, bool isProtected = default, DnsPrivateViewsLifecycleState? lifecycleState = null, string self = null, DateTimeOffset createdOn = default, DateTimeOffset updatedOn = default, OracleDatabaseResourceProvisioningState? provisioningState = null) + public static OracleDnsPrivateViewProperties OracleDnsPrivateViewProperties(ResourceIdentifier ocid = null, string displayName = null, bool isProtected = default, DnsPrivateViewsLifecycleState lifecycleState = default, string self = null, DateTimeOffset createdOn = default, DateTimeOffset updatedOn = default, OracleDatabaseResourceProvisioningState? provisioningState = null) { return new OracleDnsPrivateViewProperties( ocid, @@ -796,7 +729,7 @@ public static OracleDnsPrivateZoneData OracleDnsPrivateZoneData(ResourceIdentifi /// Zones timeCreated. /// Azure resource provisioning state. /// A new instance for mocking. - public static OracleDnsPrivateZoneProperties OracleDnsPrivateZoneProperties(ResourceIdentifier ocid = null, bool isProtected = default, DnsPrivateZonesLifecycleState? lifecycleState = null, string self = null, int serial = default, string version = null, ResourceIdentifier viewId = null, OracleDnsPrivateZoneType zoneType = default, DateTimeOffset createdOn = default, OracleDatabaseResourceProvisioningState? provisioningState = null) + public static OracleDnsPrivateZoneProperties OracleDnsPrivateZoneProperties(ResourceIdentifier ocid = null, bool isProtected = default, DnsPrivateZonesLifecycleState lifecycleState = default, string self = null, int serial = default, string version = null, ResourceIdentifier viewId = null, OracleDnsPrivateZoneType zoneType = default, DateTimeOffset createdOn = default, OracleDatabaseResourceProvisioningState? provisioningState = null) { return new OracleDnsPrivateZoneProperties( ocid, @@ -876,9 +809,14 @@ public static OracleSubscriptionData OracleSubscriptionData(ResourceIdentifier i /// Term Unit. P1Y, P3Y, etc, see Durations https://en.wikipedia.org/wiki/ISO_8601. /// Product code for the term unit. /// Intent for the update operation. + /// Azure subscriptions associated with this OracleSubscription. + /// State of the add Azure subscription operation on Oracle subscription. + /// Status details of the last operation on Oracle subscription. /// A new instance for mocking. - public static OracleSubscriptionProperties OracleSubscriptionProperties(OracleSubscriptionProvisioningState? provisioningState = null, string saasSubscriptionId = null, ResourceIdentifier cloudAccountId = null, CloudAccountProvisioningState? cloudAccountState = null, string termUnit = null, string productCode = null, OracleSubscriptionUpdateIntent? intent = null) + public static OracleSubscriptionProperties OracleSubscriptionProperties(OracleSubscriptionProvisioningState? provisioningState = null, string saasSubscriptionId = null, ResourceIdentifier cloudAccountId = null, CloudAccountProvisioningState? cloudAccountState = null, string termUnit = null, string productCode = null, OracleSubscriptionUpdateIntent? intent = null, IEnumerable azureSubscriptionIds = null, AddSubscriptionOperationState? addSubscriptionOperationState = null, string lastOperationStatusDetail = null) { + azureSubscriptionIds ??= new List(); + return new OracleSubscriptionProperties( provisioningState, saasSubscriptionId, @@ -887,6 +825,9 @@ public static OracleSubscriptionProperties OracleSubscriptionProperties(OracleSu termUnit, productCode, intent, + azureSubscriptionIds?.ToList(), + addSubscriptionOperationState, + lastOperationStatusDetail, serializedAdditionalRawData: null); } @@ -1141,7 +1082,7 @@ public static CloudVmClusterDBNodeData CloudVmClusterDBNodeData(ResourceIdentifi /// The OCID of the VNIC. /// Azure resource provisioning state. /// A new instance for mocking. - public static CloudVmClusterDBNodeProperties CloudVmClusterDBNodeProperties(ResourceIdentifier ocid = null, string additionalDetails = null, ResourceIdentifier backupIPId = null, ResourceIdentifier backupVnic2Id = null, ResourceIdentifier backupVnicId = null, int? cpuCoreCount = null, int? dbNodeStorageSizeInGbs = null, ResourceIdentifier dbServerId = null, ResourceIdentifier dbSystemId = null, string faultDomain = null, ResourceIdentifier hostIPId = null, string hostname = null, DBNodeProvisioningState? lifecycleState = null, string lifecycleDetails = null, DBNodeMaintenanceType? maintenanceType = null, int? memorySizeInGbs = null, int? softwareStorageSizeInGb = null, DateTimeOffset? timeCreated = null, DateTimeOffset? timeMaintenanceWindowEnd = null, DateTimeOffset? timeMaintenanceWindowStart = null, ResourceIdentifier vnic2Id = null, ResourceIdentifier vnicId = null, OracleDatabaseResourceProvisioningState? provisioningState = null) + public static CloudVmClusterDBNodeProperties CloudVmClusterDBNodeProperties(ResourceIdentifier ocid = null, string additionalDetails = null, ResourceIdentifier backupIPId = null, ResourceIdentifier backupVnic2Id = null, ResourceIdentifier backupVnicId = null, int? cpuCoreCount = null, int? dbNodeStorageSizeInGbs = null, ResourceIdentifier dbServerId = null, ResourceIdentifier dbSystemId = null, string faultDomain = null, ResourceIdentifier hostIPId = null, string hostname = null, DBNodeProvisioningState lifecycleState = default, string lifecycleDetails = null, DBNodeMaintenanceType? maintenanceType = null, int? memorySizeInGbs = null, int? softwareStorageSizeInGb = null, DateTimeOffset timeCreated = default, DateTimeOffset? timeMaintenanceWindowEnd = null, DateTimeOffset? timeMaintenanceWindowStart = null, ResourceIdentifier vnic2Id = null, ResourceIdentifier vnicId = null, OracleDatabaseResourceProvisioningState? provisioningState = null) { return new CloudVmClusterDBNodeProperties( ocid, @@ -1573,5 +1514,20 @@ public static AutonomousDatabaseProperties AutonomousDatabaseProperties(string a whitelistedIPs?.ToList(), serializedAdditionalRawData: null); } + + /// Initializes a new instance of . + /// OracleSubscriptionProvisioningState provisioning state. + /// SAAS subscription ID generated by Marketplace. + /// Cloud Account Id. + /// Cloud Account provisioning state. + /// Term Unit. P1Y, P3Y, etc, see Durations https://en.wikipedia.org/wiki/ISO_8601. + /// Product code for the term unit. + /// Intent for the update operation. + /// A new instance for mocking. + [EditorBrowsable(EditorBrowsableState.Never)] + public static OracleSubscriptionProperties OracleSubscriptionProperties(OracleSubscriptionProvisioningState? provisioningState, string saasSubscriptionId, ResourceIdentifier cloudAccountId, CloudAccountProvisioningState? cloudAccountState, string termUnit, string productCode, OracleSubscriptionUpdateIntent? intent) + { + return OracleSubscriptionProperties(provisioningState: provisioningState, saasSubscriptionId: saasSubscriptionId, cloudAccountId: cloudAccountId, cloudAccountState: cloudAccountState, termUnit: termUnit, productCode: productCode, intent: intent, azureSubscriptionIds: default, addSubscriptionOperationState: default, lastOperationStatusDetail: default); + } } } diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/AutonomousDBVersionCollection.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/AutonomousDBVersionCollection.cs index 3c3676a88ffe..8cc03a16262a 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/AutonomousDBVersionCollection.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/AutonomousDBVersionCollection.cs @@ -68,7 +68,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -113,7 +113,7 @@ public virtual async Task> GetAsync(string /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -158,7 +158,7 @@ public virtual Response Get(string autonomousdbvers /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -188,7 +188,7 @@ public virtual AsyncPageable GetAllAsync(Cancellati /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -218,7 +218,7 @@ public virtual Pageable GetAll(CancellationToken ca /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -261,7 +261,7 @@ public virtual async Task> ExistsAsync(string autonomousdbversion /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -304,7 +304,7 @@ public virtual Response Exists(string autonomousdbversionsname, Cancellati /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -349,7 +349,7 @@ public virtual async Task> GetIfEx /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/AutonomousDBVersionResource.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/AutonomousDBVersionResource.cs index 5e9b6ff9a91b..e4c24149c898 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/AutonomousDBVersionResource.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/AutonomousDBVersionResource.cs @@ -101,7 +101,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -141,7 +141,7 @@ public virtual async Task> GetAsync(Cancel /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/AutonomousDatabaseBackupCollection.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/AutonomousDatabaseBackupCollection.cs index 7949d6bf217b..3986ab836dea 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/AutonomousDatabaseBackupCollection.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/AutonomousDatabaseBackupCollection.cs @@ -64,7 +64,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -113,7 +113,7 @@ public virtual async Task> Create /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -162,7 +162,7 @@ public virtual ArmOperation CreateOrUpdate(Wai /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -207,7 +207,7 @@ public virtual async Task> GetAsync(s /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -252,7 +252,7 @@ public virtual Response Get(string adbbackupid /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -282,7 +282,7 @@ public virtual AsyncPageable GetAllAsync(Cance /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -312,7 +312,7 @@ public virtual Pageable GetAll(CancellationTok /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -355,7 +355,7 @@ public virtual async Task> ExistsAsync(string adbbackupid, Cancel /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -398,7 +398,7 @@ public virtual Response Exists(string adbbackupid, CancellationToken cance /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -443,7 +443,7 @@ public virtual async Task> Ge /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/AutonomousDatabaseBackupResource.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/AutonomousDatabaseBackupResource.cs index e77c1e4b351d..e8f74f66fc67 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/AutonomousDatabaseBackupResource.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/AutonomousDatabaseBackupResource.cs @@ -102,7 +102,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -142,7 +142,7 @@ public virtual async Task> GetAsync(C /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -182,7 +182,7 @@ public virtual Response Get(CancellationToken /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -224,7 +224,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -266,7 +266,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -312,7 +312,7 @@ public virtual async Task> Update /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/AutonomousDatabaseCharacterSetCollection.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/AutonomousDatabaseCharacterSetCollection.cs index ed660289b8c4..354f91b37054 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/AutonomousDatabaseCharacterSetCollection.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/AutonomousDatabaseCharacterSetCollection.cs @@ -68,7 +68,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -113,7 +113,7 @@ public virtual async Task> GetA /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -158,7 +158,7 @@ public virtual Response Get(string adbsc /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -188,7 +188,7 @@ public virtual AsyncPageable GetAllAsync /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -218,7 +218,7 @@ public virtual Pageable GetAll(Cancellat /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -261,7 +261,7 @@ public virtual async Task> ExistsAsync(string adbscharsetname, Ca /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -304,7 +304,7 @@ public virtual Response Exists(string adbscharsetname, CancellationToken c /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -349,7 +349,7 @@ public virtual async Task /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/AutonomousDatabaseCharacterSetResource.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/AutonomousDatabaseCharacterSetResource.cs index add8b6954302..ada39ec93b30 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/AutonomousDatabaseCharacterSetResource.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/AutonomousDatabaseCharacterSetResource.cs @@ -101,7 +101,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -141,7 +141,7 @@ public virtual async Task> GetA /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/AutonomousDatabaseCollection.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/AutonomousDatabaseCollection.cs index b0ad77230b4a..d65e7c509b91 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/AutonomousDatabaseCollection.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/AutonomousDatabaseCollection.cs @@ -65,7 +65,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -114,7 +114,7 @@ public virtual async Task> CreateOrUpda /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -163,7 +163,7 @@ public virtual ArmOperation CreateOrUpdate(WaitUntil /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -208,7 +208,7 @@ public virtual async Task> GetAsync(string /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -253,7 +253,7 @@ public virtual Response Get(string autonomousdatabas /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -283,7 +283,7 @@ public virtual AsyncPageable GetAllAsync(Cancellatio /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -313,7 +313,7 @@ public virtual Pageable GetAll(CancellationToken can /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -356,7 +356,7 @@ public virtual async Task> ExistsAsync(string autonomousdatabasen /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -399,7 +399,7 @@ public virtual Response Exists(string autonomousdatabasename, Cancellation /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -444,7 +444,7 @@ public virtual async Task> GetIfExi /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/AutonomousDatabaseNationalCharacterSetCollection.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/AutonomousDatabaseNationalCharacterSetCollection.cs index 971fa09286e7..b5a984914a19 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/AutonomousDatabaseNationalCharacterSetCollection.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/AutonomousDatabaseNationalCharacterSetCollection.cs @@ -68,7 +68,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -113,7 +113,7 @@ public virtual async Task /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -158,7 +158,7 @@ public virtual Response Get(stri /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -188,7 +188,7 @@ public virtual AsyncPageable Get /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -218,7 +218,7 @@ public virtual Pageable GetAll(C /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -261,7 +261,7 @@ public virtual async Task> ExistsAsync(string adbsncharsetname, C /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -304,7 +304,7 @@ public virtual Response Exists(string adbsncharsetname, CancellationToken /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -349,7 +349,7 @@ public virtual async Task /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/AutonomousDatabaseNationalCharacterSetResource.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/AutonomousDatabaseNationalCharacterSetResource.cs index b8edaac9c36f..9965fb04d223 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/AutonomousDatabaseNationalCharacterSetResource.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/AutonomousDatabaseNationalCharacterSetResource.cs @@ -101,7 +101,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -141,7 +141,7 @@ public virtual async Task /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/AutonomousDatabaseResource.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/AutonomousDatabaseResource.cs index d51866781728..0a14f0453bef 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/AutonomousDatabaseResource.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/AutonomousDatabaseResource.cs @@ -110,7 +110,7 @@ public virtual AutonomousDatabaseBackupCollection GetAutonomousDatabaseBackups() /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -141,7 +141,7 @@ public virtual async Task> GetAutonom /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -172,7 +172,7 @@ public virtual Response GetAutonomousDatabaseB /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -212,7 +212,7 @@ public virtual async Task> GetAsync(Cancell /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -252,7 +252,7 @@ public virtual Response Get(CancellationToken cancel /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -294,7 +294,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -336,7 +336,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -382,7 +382,7 @@ public virtual async Task> UpdateAsync( /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -428,7 +428,7 @@ public virtual ArmOperation Update(WaitUntil waitUnt /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -474,7 +474,7 @@ public virtual async Task> FailoverAsyn /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -520,7 +520,7 @@ public virtual ArmOperation Failover(WaitUntil waitU /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -562,7 +562,7 @@ public virtual async Task> GenerateWallet /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -604,7 +604,7 @@ public virtual Response GenerateWallet(GenerateAut /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -650,7 +650,7 @@ public virtual async Task> RestoreAsync /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -696,7 +696,7 @@ public virtual ArmOperation Restore(WaitUntil waitUn /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -738,7 +738,7 @@ public virtual async Task> ShrinkAsync( /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -780,7 +780,7 @@ public virtual ArmOperation Shrink(WaitUntil waitUnt /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -826,7 +826,7 @@ public virtual async Task> SwitchoverAs /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -872,7 +872,7 @@ public virtual ArmOperation Switchover(WaitUntil wai /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -934,7 +934,7 @@ public virtual async Task> AddTagAsync(stri /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -996,7 +996,7 @@ public virtual Response AddTag(string key, string va /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -1053,7 +1053,7 @@ public virtual async Task> SetTagsAsync(IDi /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -1110,7 +1110,7 @@ public virtual Response SetTags(IDictionary /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -1170,7 +1170,7 @@ public virtual async Task> RemoveTagAsync(s /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/CloudExadataInfrastructureCollection.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/CloudExadataInfrastructureCollection.cs index 7d6c86d2c077..de8fe25bfa80 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/CloudExadataInfrastructureCollection.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/CloudExadataInfrastructureCollection.cs @@ -65,7 +65,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -114,7 +114,7 @@ public virtual async Task> Crea /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -163,7 +163,7 @@ public virtual ArmOperation CreateOrUpdate(W /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -208,7 +208,7 @@ public virtual async Task> GetAsync /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -253,7 +253,7 @@ public virtual Response Get(string cloudexad /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -283,7 +283,7 @@ public virtual AsyncPageable GetAllAsync(Can /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -313,7 +313,7 @@ public virtual Pageable GetAll(CancellationT /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -356,7 +356,7 @@ public virtual async Task> ExistsAsync(string cloudexadatainfrast /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -399,7 +399,7 @@ public virtual Response Exists(string cloudexadatainfrastructurename, Canc /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -444,7 +444,7 @@ public virtual async Task> /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/CloudExadataInfrastructureResource.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/CloudExadataInfrastructureResource.cs index 0ce169064a1c..e9d6663e30eb 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/CloudExadataInfrastructureResource.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/CloudExadataInfrastructureResource.cs @@ -110,7 +110,7 @@ public virtual OracleDBServerCollection GetOracleDBServers() /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -141,7 +141,7 @@ public virtual async Task> GetOracleDBServerAsy /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -172,7 +172,7 @@ public virtual Response GetOracleDBServer(string dbserve /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -212,7 +212,7 @@ public virtual async Task> GetAsync /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -252,7 +252,7 @@ public virtual Response Get(CancellationToke /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -294,7 +294,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -336,7 +336,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -382,7 +382,7 @@ public virtual async Task> Upda /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -428,7 +428,7 @@ public virtual ArmOperation Update(WaitUntil /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -470,7 +470,7 @@ public virtual async Task> AddS /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -512,7 +512,7 @@ public virtual ArmOperation AddStorageCapaci /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -574,7 +574,7 @@ public virtual async Task> AddTagAs /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -636,7 +636,7 @@ public virtual Response AddTag(string key, s /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -693,7 +693,7 @@ public virtual async Task> SetTagsA /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -750,7 +750,7 @@ public virtual Response SetTags(IDictionary< /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -810,7 +810,7 @@ public virtual async Task> RemoveTa /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/CloudVmClusterCollection.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/CloudVmClusterCollection.cs index 8a45baad9fe4..15fc3bf48112 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/CloudVmClusterCollection.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/CloudVmClusterCollection.cs @@ -65,7 +65,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -114,7 +114,7 @@ public virtual async Task> CreateOrUpdateAs /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -163,7 +163,7 @@ public virtual ArmOperation CreateOrUpdate(WaitUntil wai /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -208,7 +208,7 @@ public virtual async Task> GetAsync(string clou /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -253,7 +253,7 @@ public virtual Response Get(string cloudvmclustername, C /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -283,7 +283,7 @@ public virtual AsyncPageable GetAllAsync(CancellationTok /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -313,7 +313,7 @@ public virtual Pageable GetAll(CancellationToken cancell /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -356,7 +356,7 @@ public virtual async Task> ExistsAsync(string cloudvmclustername, /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -399,7 +399,7 @@ public virtual Response Exists(string cloudvmclustername, CancellationToke /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -444,7 +444,7 @@ public virtual async Task> GetIfExistsA /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/CloudVmClusterDBNodeCollection.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/CloudVmClusterDBNodeCollection.cs index 59721ec74eff..6a77ab5bbb85 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/CloudVmClusterDBNodeCollection.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/CloudVmClusterDBNodeCollection.cs @@ -64,7 +64,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -109,7 +109,7 @@ public virtual async Task> GetAsync(strin /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -154,7 +154,7 @@ public virtual Response Get(string dbnodeocid, Can /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -184,7 +184,7 @@ public virtual AsyncPageable GetAllAsync(Cancellat /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -214,7 +214,7 @@ public virtual Pageable GetAll(CancellationToken c /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -257,7 +257,7 @@ public virtual async Task> ExistsAsync(string dbnodeocid, Cancell /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -300,7 +300,7 @@ public virtual Response Exists(string dbnodeocid, CancellationToken cancel /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -345,7 +345,7 @@ public virtual async Task> GetIfE /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/CloudVmClusterDBNodeResource.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/CloudVmClusterDBNodeResource.cs index 8e002b047058..782c7449e8a6 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/CloudVmClusterDBNodeResource.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/CloudVmClusterDBNodeResource.cs @@ -102,7 +102,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -142,7 +142,7 @@ public virtual async Task> GetAsync(Cance /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -182,7 +182,7 @@ public virtual Response Get(CancellationToken canc /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -228,7 +228,7 @@ public virtual async Task> ActionAsyn /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/CloudVmClusterResource.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/CloudVmClusterResource.cs index 301353267a10..486a4300fc6a 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/CloudVmClusterResource.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/CloudVmClusterResource.cs @@ -111,7 +111,7 @@ public virtual CloudVmClusterDBNodeCollection GetCloudVmClusterDBNodes() /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -142,7 +142,7 @@ public virtual async Task> GetCloudVmClus /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -180,7 +180,7 @@ public virtual CloudVmClusterVirtualNetworkAddressCollection GetCloudVmClusterVi /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -211,7 +211,7 @@ public virtual async Task> /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -242,7 +242,7 @@ public virtual Response GetCloudVmC /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -282,7 +282,7 @@ public virtual async Task> GetAsync(Cancellatio /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -322,7 +322,7 @@ public virtual Response Get(CancellationToken cancellati /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -364,7 +364,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -406,7 +406,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -452,7 +452,7 @@ public virtual async Task> UpdateAsync(Wait /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -498,7 +498,7 @@ public virtual ArmOperation Update(WaitUntil waitUntil, /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -544,7 +544,7 @@ public virtual async Task> AddVmsAsync(Wait /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -590,7 +590,7 @@ public virtual ArmOperation AddVms(WaitUntil waitUntil, /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -623,7 +623,7 @@ public virtual AsyncPageable GetPrivateIPAddressesAsync( /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -656,7 +656,7 @@ public virtual Pageable GetPrivateIPAddresses(PrivateIPA /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -702,7 +702,7 @@ public virtual async Task> RemoveVmsAsync(W /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -748,7 +748,7 @@ public virtual ArmOperation RemoveVms(WaitUntil waitUnti /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -810,7 +810,7 @@ public virtual async Task> AddTagAsync(string k /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -872,7 +872,7 @@ public virtual Response AddTag(string key, string value, /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -929,7 +929,7 @@ public virtual async Task> SetTagsAsync(IDictio /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -986,7 +986,7 @@ public virtual Response SetTags(IDictionary /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -1046,7 +1046,7 @@ public virtual async Task> RemoveTagAsync(strin /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/CloudVmClusterVirtualNetworkAddressCollection.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/CloudVmClusterVirtualNetworkAddressCollection.cs index 7e1323b0b949..81edc0e66675 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/CloudVmClusterVirtualNetworkAddressCollection.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/CloudVmClusterVirtualNetworkAddressCollection.cs @@ -64,7 +64,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -113,7 +113,7 @@ public virtual async Task /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -162,7 +162,7 @@ public virtual ArmOperation CreateO /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -207,7 +207,7 @@ public virtual async Task> /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -252,7 +252,7 @@ public virtual Response Get(string /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -282,7 +282,7 @@ public virtual AsyncPageable GetAll /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -312,7 +312,7 @@ public virtual Pageable GetAll(Canc /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -355,7 +355,7 @@ public virtual async Task> ExistsAsync(string virtualnetworkaddre /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -398,7 +398,7 @@ public virtual Response Exists(string virtualnetworkaddressname, Cancellat /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -443,7 +443,7 @@ public virtual async Task /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/CloudVmClusterVirtualNetworkAddressResource.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/CloudVmClusterVirtualNetworkAddressResource.cs index 467045fe9607..ece840fd935b 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/CloudVmClusterVirtualNetworkAddressResource.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/CloudVmClusterVirtualNetworkAddressResource.cs @@ -101,7 +101,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -141,7 +141,7 @@ public virtual async Task> /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -181,7 +181,7 @@ public virtual Response Get(Cancell /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -223,7 +223,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -265,7 +265,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -311,7 +311,7 @@ public virtual async Task /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Extensions/MockableOracleDatabaseResourceGroupResource.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Extensions/MockableOracleDatabaseResourceGroupResource.cs index b04720fb1980..37c4be4b2926 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Extensions/MockableOracleDatabaseResourceGroupResource.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Extensions/MockableOracleDatabaseResourceGroupResource.cs @@ -53,7 +53,7 @@ public virtual AutonomousDatabaseCollection GetAutonomousDatabases() /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -84,7 +84,7 @@ public virtual async Task> GetAutonomousDat /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -122,7 +122,7 @@ public virtual CloudExadataInfrastructureCollection GetCloudExadataInfrastructur /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -153,7 +153,7 @@ public virtual async Task> GetCloud /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -191,7 +191,7 @@ public virtual CloudVmClusterCollection GetCloudVmClusters() /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -222,7 +222,7 @@ public virtual async Task> GetCloudVmClusterAsy /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Extensions/MockableOracleDatabaseSubscriptionResource.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Extensions/MockableOracleDatabaseSubscriptionResource.cs index 0b4249a63a43..0e21b9fce106 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Extensions/MockableOracleDatabaseSubscriptionResource.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Extensions/MockableOracleDatabaseSubscriptionResource.cs @@ -70,7 +70,7 @@ public virtual AutonomousDatabaseCharacterSetCollection GetAutonomousDatabaseCha /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -102,7 +102,7 @@ public virtual async Task> GetA /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -142,7 +142,7 @@ public virtual AutonomousDatabaseNationalCharacterSetCollection GetAutonomousDat /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -174,7 +174,7 @@ public virtual async Task /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -214,7 +214,7 @@ public virtual AutonomousDBVersionCollection GetAutonomousDBVersions(AzureLocati /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -246,7 +246,7 @@ public virtual async Task> GetAutonomousDB /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -286,7 +286,7 @@ public virtual OracleDBSystemShapeCollection GetOracleDBSystemShapes(AzureLocati /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -318,7 +318,7 @@ public virtual async Task> GetOracleDBSyst /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -358,7 +358,7 @@ public virtual OracleDnsPrivateViewCollection GetOracleDnsPrivateViews(AzureLoca /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -390,7 +390,7 @@ public virtual async Task> GetOracleDnsPr /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -430,7 +430,7 @@ public virtual OracleDnsPrivateZoneCollection GetOracleDnsPrivateZones(AzureLoca /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -462,7 +462,7 @@ public virtual async Task> GetOracleDnsPr /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -502,7 +502,7 @@ public virtual OracleGIVersionCollection GetOracleGIVersions(AzureLocation locat /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -534,7 +534,7 @@ public virtual async Task> GetOracleGIVersionA /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -574,7 +574,7 @@ public virtual OracleSystemVersionCollection GetOracleSystemVersions(AzureLocati /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -606,7 +606,7 @@ public virtual async Task> GetOracleSystem /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -645,7 +645,7 @@ public virtual OracleSubscriptionResource GetOracleSubscription() /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -675,7 +675,7 @@ public virtual AsyncPageable GetAutonomousDatabasesA /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -705,7 +705,7 @@ public virtual Pageable GetAutonomousDatabases(Cance /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -735,7 +735,7 @@ public virtual AsyncPageable GetCloudExadata /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -765,7 +765,7 @@ public virtual Pageable GetCloudExadataInfra /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -795,7 +795,7 @@ public virtual AsyncPageable GetCloudVmClustersAsync(Can /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Extensions/OracleDatabaseExtensions.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Extensions/OracleDatabaseExtensions.cs index cf143a951a26..dc32880a9cad 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Extensions/OracleDatabaseExtensions.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Extensions/OracleDatabaseExtensions.cs @@ -366,7 +366,7 @@ public static AutonomousDatabaseCollection GetAutonomousDatabases(this ResourceG /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -404,7 +404,7 @@ public static async Task> GetAutonomousData /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -459,7 +459,7 @@ public static CloudExadataInfrastructureCollection GetCloudExadataInfrastructure /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -497,7 +497,7 @@ public static async Task> GetCloudE /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -552,7 +552,7 @@ public static CloudVmClusterCollection GetCloudVmClusters(this ResourceGroupReso /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -590,7 +590,7 @@ public static async Task> GetCloudVmClusterAsyn /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -646,7 +646,7 @@ public static AutonomousDatabaseCharacterSetCollection GetAutonomousDatabaseChar /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -685,7 +685,7 @@ public static async Task> GetAu /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -742,7 +742,7 @@ public static AutonomousDatabaseNationalCharacterSetCollection GetAutonomousData /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -781,7 +781,7 @@ public static async Task /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -838,7 +838,7 @@ public static AutonomousDBVersionCollection GetAutonomousDBVersions(this Subscri /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -877,7 +877,7 @@ public static async Task> GetAutonomousDBV /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -934,7 +934,7 @@ public static OracleDBSystemShapeCollection GetOracleDBSystemShapes(this Subscri /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -973,7 +973,7 @@ public static async Task> GetOracleDBSyste /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -1030,7 +1030,7 @@ public static OracleDnsPrivateViewCollection GetOracleDnsPrivateViews(this Subsc /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -1069,7 +1069,7 @@ public static async Task> GetOracleDnsPri /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -1126,7 +1126,7 @@ public static OracleDnsPrivateZoneCollection GetOracleDnsPrivateZones(this Subsc /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -1165,7 +1165,7 @@ public static async Task> GetOracleDnsPri /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -1222,7 +1222,7 @@ public static OracleGIVersionCollection GetOracleGIVersions(this SubscriptionRes /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -1261,7 +1261,7 @@ public static async Task> GetOracleGIVersionAs /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -1318,7 +1318,7 @@ public static OracleSystemVersionCollection GetOracleSystemVersions(this Subscri /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -1357,7 +1357,7 @@ public static async Task> GetOracleSystemV /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -1413,7 +1413,7 @@ public static OracleSubscriptionResource GetOracleSubscription(this Subscription /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -1449,7 +1449,7 @@ public static AsyncPageable GetAutonomousDatabasesAs /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -1485,7 +1485,7 @@ public static Pageable GetAutonomousDatabases(this S /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -1521,7 +1521,7 @@ public static AsyncPageable GetCloudExadataI /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -1557,7 +1557,7 @@ public static Pageable GetCloudExadataInfras /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -1593,7 +1593,7 @@ public static AsyncPageable GetCloudVmClustersAsync(this /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/AddSubscriptionOperationState.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/AddSubscriptionOperationState.cs new file mode 100644 index 000000000000..29255876381b --- /dev/null +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/AddSubscriptionOperationState.cs @@ -0,0 +1,54 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.ComponentModel; + +namespace Azure.ResourceManager.OracleDatabase.Models +{ + /// Add Subscription Operation state enum. + public readonly partial struct AddSubscriptionOperationState : IEquatable + { + private readonly string _value; + + /// Initializes a new instance of . + /// is null. + public AddSubscriptionOperationState(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + private const string SucceededValue = "Succeeded"; + private const string UpdatingValue = "Updating"; + private const string FailedValue = "Failed"; + + /// Succeeded - State when Add Subscription operation succeeded. + public static AddSubscriptionOperationState Succeeded { get; } = new AddSubscriptionOperationState(SucceededValue); + /// Updating - State when Add Subscription operation is being Updated. + public static AddSubscriptionOperationState Updating { get; } = new AddSubscriptionOperationState(UpdatingValue); + /// Failed - State when Add Subscription operation failed. + public static AddSubscriptionOperationState Failed { get; } = new AddSubscriptionOperationState(FailedValue); + /// Determines if two values are the same. + public static bool operator ==(AddSubscriptionOperationState left, AddSubscriptionOperationState right) => left.Equals(right); + /// Determines if two values are not the same. + public static bool operator !=(AddSubscriptionOperationState left, AddSubscriptionOperationState right) => !left.Equals(right); + /// Converts a to a . + public static implicit operator AddSubscriptionOperationState(string value) => new AddSubscriptionOperationState(value); + + /// + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object obj) => obj is AddSubscriptionOperationState other && Equals(other); + /// + public bool Equals(AddSubscriptionOperationState 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/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/AutonomousDBVersionProperties.Serialization.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/AutonomousDBVersionProperties.Serialization.cs index 7b49e6539bd9..6d4055f1398c 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/AutonomousDBVersionProperties.Serialization.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/AutonomousDBVersionProperties.Serialization.cs @@ -34,32 +34,29 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit throw new FormatException($"The model {nameof(AutonomousDBVersionProperties)} does not support writing '{format}' format."); } - if (options.Format != "W") - { - writer.WritePropertyName("version"u8); - writer.WriteStringValue(Version); - } - if (options.Format != "W" && Optional.IsDefined(DBWorkload)) + writer.WritePropertyName("version"u8); + writer.WriteStringValue(Version); + if (Optional.IsDefined(DBWorkload)) { writer.WritePropertyName("dbWorkload"u8); writer.WriteStringValue(DBWorkload.Value.ToString()); } - if (options.Format != "W" && Optional.IsDefined(IsDefaultForFree)) + if (Optional.IsDefined(IsDefaultForFree)) { writer.WritePropertyName("isDefaultForFree"u8); writer.WriteBooleanValue(IsDefaultForFree.Value); } - if (options.Format != "W" && Optional.IsDefined(IsDefaultForPaid)) + if (Optional.IsDefined(IsDefaultForPaid)) { writer.WritePropertyName("isDefaultForPaid"u8); writer.WriteBooleanValue(IsDefaultForPaid.Value); } - if (options.Format != "W" && Optional.IsDefined(IsFreeTierEnabled)) + if (Optional.IsDefined(IsFreeTierEnabled)) { writer.WritePropertyName("isFreeTierEnabled"u8); writer.WriteBooleanValue(IsFreeTierEnabled.Value); } - if (options.Format != "W" && Optional.IsDefined(IsPaidEnabled)) + if (Optional.IsDefined(IsPaidEnabled)) { writer.WritePropertyName("isPaidEnabled"u8); writer.WriteBooleanValue(IsPaidEnabled.Value); diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/AutonomousDBVersionProperties.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/AutonomousDBVersionProperties.cs index f621e5994b38..f6e159b37371 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/AutonomousDBVersionProperties.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/AutonomousDBVersionProperties.cs @@ -47,8 +47,11 @@ public partial class AutonomousDBVersionProperties /// Initializes a new instance of . /// Supported Autonomous Db versions. + /// is null. public AutonomousDBVersionProperties(string version) { + Argument.AssertNotNull(version, nameof(version)); + Version = version; } @@ -77,16 +80,16 @@ internal AutonomousDBVersionProperties() } /// Supported Autonomous Db versions. - public string Version { get; } + public string Version { get; set; } /// The Autonomous Database workload type. - public AutonomousDatabaseWorkloadType? DBWorkload { get; } + public AutonomousDatabaseWorkloadType? DBWorkload { get; set; } /// True if this version of the Oracle Database software's default is free. - public bool? IsDefaultForFree { get; } + public bool? IsDefaultForFree { get; set; } /// True if this version of the Oracle Database software's default is paid. - public bool? IsDefaultForPaid { get; } + public bool? IsDefaultForPaid { get; set; } /// True if this version of the Oracle Database software can be used for Always-Free Autonomous Databases. - public bool? IsFreeTierEnabled { get; } + public bool? IsFreeTierEnabled { get; set; } /// True if this version of the Oracle Database software has payments enabled. - public bool? IsPaidEnabled { get; } + public bool? IsPaidEnabled { get; set; } } } diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/AutonomousDatabaseBackupPatch.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/AutonomousDatabaseBackupPatch.cs index a6fdfd83a508..fc67dd4ea1d4 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/AutonomousDatabaseBackupPatch.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/AutonomousDatabaseBackupPatch.cs @@ -51,7 +51,7 @@ public AutonomousDatabaseBackupPatch() } /// Initializes a new instance of . - /// The updatable properties of the AutonomousDatabaseBackup. + /// The resource-specific properties for this resource. /// Keeps track of any properties unknown to the library. internal AutonomousDatabaseBackupPatch(AutonomousDatabaseBackupUpdateProperties properties, IDictionary serializedAdditionalRawData) { @@ -59,7 +59,7 @@ internal AutonomousDatabaseBackupPatch(AutonomousDatabaseBackupUpdateProperties _serializedAdditionalRawData = serializedAdditionalRawData; } - /// The updatable properties of the AutonomousDatabaseBackup. + /// The resource-specific properties for this resource. internal AutonomousDatabaseBackupUpdateProperties Properties { get; set; } /// Retention period, in days, for long-term backups. public int? AutonomousDatabaseBackupUpdateRetentionPeriodInDays diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/AutonomousDatabaseCharacterSetProperties.Serialization.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/AutonomousDatabaseCharacterSetProperties.Serialization.cs index c96fccb7270c..f0b82a72deb1 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/AutonomousDatabaseCharacterSetProperties.Serialization.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/AutonomousDatabaseCharacterSetProperties.Serialization.cs @@ -34,11 +34,8 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit throw new FormatException($"The model {nameof(AutonomousDatabaseCharacterSetProperties)} does not support writing '{format}' format."); } - if (options.Format != "W") - { - writer.WritePropertyName("characterSet"u8); - writer.WriteStringValue(CharacterSet); - } + writer.WritePropertyName("characterSet"u8); + writer.WriteStringValue(CharacterSet); if (options.Format != "W" && _serializedAdditionalRawData != null) { foreach (var item in _serializedAdditionalRawData) diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/AutonomousDatabaseCharacterSetProperties.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/AutonomousDatabaseCharacterSetProperties.cs index a1a8e1075de3..a66f49fb4df1 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/AutonomousDatabaseCharacterSetProperties.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/AutonomousDatabaseCharacterSetProperties.cs @@ -47,8 +47,11 @@ internal partial class AutonomousDatabaseCharacterSetProperties /// Initializes a new instance of . /// The Oracle Autonomous Database supported character sets. + /// is null. public AutonomousDatabaseCharacterSetProperties(string characterSet) { + Argument.AssertNotNull(characterSet, nameof(characterSet)); + CharacterSet = characterSet; } @@ -67,6 +70,6 @@ internal AutonomousDatabaseCharacterSetProperties() } /// The Oracle Autonomous Database supported character sets. - public string CharacterSet { get; } + public string CharacterSet { get; set; } } } diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/AutonomousDatabaseNationalCharacterSetProperties.Serialization.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/AutonomousDatabaseNationalCharacterSetProperties.Serialization.cs index fde79a074828..389588cec0d5 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/AutonomousDatabaseNationalCharacterSetProperties.Serialization.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/AutonomousDatabaseNationalCharacterSetProperties.Serialization.cs @@ -34,11 +34,8 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit throw new FormatException($"The model {nameof(AutonomousDatabaseNationalCharacterSetProperties)} does not support writing '{format}' format."); } - if (options.Format != "W") - { - writer.WritePropertyName("characterSet"u8); - writer.WriteStringValue(CharacterSet); - } + writer.WritePropertyName("characterSet"u8); + writer.WriteStringValue(CharacterSet); if (options.Format != "W" && _serializedAdditionalRawData != null) { foreach (var item in _serializedAdditionalRawData) diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/AutonomousDatabaseNationalCharacterSetProperties.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/AutonomousDatabaseNationalCharacterSetProperties.cs index 6992133934c3..89c316e07d6b 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/AutonomousDatabaseNationalCharacterSetProperties.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/AutonomousDatabaseNationalCharacterSetProperties.cs @@ -47,8 +47,11 @@ internal partial class AutonomousDatabaseNationalCharacterSetProperties /// Initializes a new instance of . /// The Oracle Autonomous Database supported national character sets. + /// is null. public AutonomousDatabaseNationalCharacterSetProperties(string characterSet) { + Argument.AssertNotNull(characterSet, nameof(characterSet)); + CharacterSet = characterSet; } @@ -67,6 +70,6 @@ internal AutonomousDatabaseNationalCharacterSetProperties() } /// The Oracle Autonomous Database supported national character sets. - public string CharacterSet { get; } + public string CharacterSet { get; set; } } } diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/AutonomousDatabasePatch.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/AutonomousDatabasePatch.cs index 12e7d7e5f6d6..0a6d36756b5c 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/AutonomousDatabasePatch.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/AutonomousDatabasePatch.cs @@ -53,7 +53,7 @@ public AutonomousDatabasePatch() /// Initializes a new instance of . /// Resource tags. - /// The updatable properties of the AutonomousDatabase. + /// The resource-specific properties for this resource. /// Keeps track of any properties unknown to the library. internal AutonomousDatabasePatch(IDictionary tags, AutonomousDatabaseUpdateProperties properties, IDictionary serializedAdditionalRawData) { @@ -64,7 +64,7 @@ internal AutonomousDatabasePatch(IDictionary tags, AutonomousDat /// Resource tags. public IDictionary Tags { get; } - /// The updatable properties of the AutonomousDatabase. + /// The resource-specific properties for this resource. public AutonomousDatabaseUpdateProperties Properties { get; set; } } } diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/AzureSubscriptions.Serialization.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/AzureSubscriptions.Serialization.cs new file mode 100644 index 000000000000..432b8814f16a --- /dev/null +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/AzureSubscriptions.Serialization.cs @@ -0,0 +1,136 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Collections.Generic; +using System.Text.Json; +using Azure.Core; + +namespace Azure.ResourceManager.OracleDatabase.Models +{ + public partial class AzureSubscriptions : IUtf8JsonSerializable, IJsonModel + { + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); + + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + writer.WriteStartObject(); + JsonModelWriteCore(writer, options); + writer.WriteEndObject(); + } + + /// The JSON writer. + /// The client options for reading and writing models. + protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(AzureSubscriptions)} does not support writing '{format}' format."); + } + + writer.WritePropertyName("azureSubscriptionIds"u8); + writer.WriteStartArray(); + foreach (var item in AzureSubscriptionIds) + { + writer.WriteStringValue(item); + } + writer.WriteEndArray(); + if (options.Format != "W" && _serializedAdditionalRawData != null) + { + foreach (var item in _serializedAdditionalRawData) + { + writer.WritePropertyName(item.Key); +#if NET6_0_OR_GREATER + writer.WriteRawValue(item.Value); +#else + using (JsonDocument document = JsonDocument.Parse(item.Value)) + { + JsonSerializer.Serialize(writer, document.RootElement); + } +#endif + } + } + } + + AzureSubscriptions IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(AzureSubscriptions)} does not support reading '{format}' format."); + } + + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeAzureSubscriptions(document.RootElement, options); + } + + internal static AzureSubscriptions DeserializeAzureSubscriptions(JsonElement element, ModelReaderWriterOptions options = null) + { + options ??= ModelSerializationExtensions.WireOptions; + + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + IList azureSubscriptionIds = default; + IDictionary serializedAdditionalRawData = default; + Dictionary rawDataDictionary = new Dictionary(); + foreach (var property in element.EnumerateObject()) + { + if (property.NameEquals("azureSubscriptionIds"u8)) + { + List array = new List(); + foreach (var item in property.Value.EnumerateArray()) + { + array.Add(item.GetString()); + } + azureSubscriptionIds = array; + continue; + } + if (options.Format != "W") + { + rawDataDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + } + } + serializedAdditionalRawData = rawDataDictionary; + return new AzureSubscriptions(azureSubscriptionIds, serializedAdditionalRawData); + } + + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options); + default: + throw new FormatException($"The model {nameof(AzureSubscriptions)} does not support writing '{options.Format}' format."); + } + } + + AzureSubscriptions IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + + switch (format) + { + case "J": + { + using JsonDocument document = JsonDocument.Parse(data); + return DeserializeAzureSubscriptions(document.RootElement, options); + } + default: + throw new FormatException($"The model {nameof(AzureSubscriptions)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + } +} diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/AzureSubscriptions.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/AzureSubscriptions.cs new file mode 100644 index 000000000000..4fc171c10996 --- /dev/null +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/AzureSubscriptions.cs @@ -0,0 +1,76 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Collections.Generic; +using System.Linq; + +namespace Azure.ResourceManager.OracleDatabase.Models +{ + /// Azure Subscriptions model. + public partial class AzureSubscriptions + { + /// + /// Keeps track of any properties unknown to the library. + /// + /// To assign an object to the value of this property use . + /// + /// + /// To assign an already formatted json string to this property use . + /// + /// + /// Examples: + /// + /// + /// BinaryData.FromObjectAsJson("foo") + /// Creates a payload of "foo". + /// + /// + /// BinaryData.FromString("\"foo\"") + /// Creates a payload of "foo". + /// + /// + /// BinaryData.FromObjectAsJson(new { key = "value" }) + /// Creates a payload of { "key": "value" }. + /// + /// + /// BinaryData.FromString("{\"key\": \"value\"}") + /// Creates a payload of { "key": "value" }. + /// + /// + /// + /// + private IDictionary _serializedAdditionalRawData; + + /// Initializes a new instance of . + /// Azure Subscription Ids to be updated. + /// is null. + public AzureSubscriptions(IEnumerable azureSubscriptionIds) + { + Argument.AssertNotNull(azureSubscriptionIds, nameof(azureSubscriptionIds)); + + AzureSubscriptionIds = azureSubscriptionIds.ToList(); + } + + /// Initializes a new instance of . + /// Azure Subscription Ids to be updated. + /// Keeps track of any properties unknown to the library. + internal AzureSubscriptions(IList azureSubscriptionIds, IDictionary serializedAdditionalRawData) + { + AzureSubscriptionIds = azureSubscriptionIds; + _serializedAdditionalRawData = serializedAdditionalRawData; + } + + /// Initializes a new instance of for deserialization. + internal AzureSubscriptions() + { + } + + /// Azure Subscription Ids to be updated. + public IList AzureSubscriptionIds { get; } + } +} diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/CloudExadataInfrastructurePatch.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/CloudExadataInfrastructurePatch.cs index 41954decd0b7..42364e92eec8 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/CloudExadataInfrastructurePatch.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/CloudExadataInfrastructurePatch.cs @@ -55,7 +55,7 @@ public CloudExadataInfrastructurePatch() /// Initializes a new instance of . /// CloudExadataInfrastructure zones. /// Resource tags. - /// The updatable properties of the CloudExadataInfrastructure. + /// The resource-specific properties for this resource. /// Keeps track of any properties unknown to the library. internal CloudExadataInfrastructurePatch(IList zones, IDictionary tags, CloudExadataInfrastructureUpdateProperties properties, IDictionary serializedAdditionalRawData) { @@ -69,7 +69,7 @@ internal CloudExadataInfrastructurePatch(IList zones, IDictionary Zones { get; } /// Resource tags. public IDictionary Tags { get; } - /// The updatable properties of the CloudExadataInfrastructure. + /// The resource-specific properties for this resource. public CloudExadataInfrastructureUpdateProperties Properties { get; set; } } } diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/CloudVmClusterDBNodeProperties.Serialization.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/CloudVmClusterDBNodeProperties.Serialization.cs index a5e6ab281e4d..97044fe65c50 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/CloudVmClusterDBNodeProperties.Serialization.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/CloudVmClusterDBNodeProperties.Serialization.cs @@ -34,112 +34,100 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit throw new FormatException($"The model {nameof(CloudVmClusterDBNodeProperties)} does not support writing '{format}' format."); } - if (options.Format != "W") - { - writer.WritePropertyName("ocid"u8); - writer.WriteStringValue(Ocid); - } - if (options.Format != "W" && Optional.IsDefined(AdditionalDetails)) + writer.WritePropertyName("ocid"u8); + writer.WriteStringValue(Ocid); + if (Optional.IsDefined(AdditionalDetails)) { writer.WritePropertyName("additionalDetails"u8); writer.WriteStringValue(AdditionalDetails); } - if (options.Format != "W" && Optional.IsDefined(BackupIPId)) + if (Optional.IsDefined(BackupIPId)) { writer.WritePropertyName("backupIpId"u8); writer.WriteStringValue(BackupIPId); } - if (options.Format != "W" && Optional.IsDefined(BackupVnic2Id)) + if (Optional.IsDefined(BackupVnic2Id)) { writer.WritePropertyName("backupVnic2Id"u8); writer.WriteStringValue(BackupVnic2Id); } - if (options.Format != "W" && Optional.IsDefined(BackupVnicId)) + if (Optional.IsDefined(BackupVnicId)) { writer.WritePropertyName("backupVnicId"u8); writer.WriteStringValue(BackupVnicId); } - if (options.Format != "W" && Optional.IsDefined(CpuCoreCount)) + if (Optional.IsDefined(CpuCoreCount)) { writer.WritePropertyName("cpuCoreCount"u8); writer.WriteNumberValue(CpuCoreCount.Value); } - if (options.Format != "W" && Optional.IsDefined(DBNodeStorageSizeInGbs)) + if (Optional.IsDefined(DBNodeStorageSizeInGbs)) { writer.WritePropertyName("dbNodeStorageSizeInGbs"u8); writer.WriteNumberValue(DBNodeStorageSizeInGbs.Value); } - if (options.Format != "W" && Optional.IsDefined(DBServerId)) + if (Optional.IsDefined(DBServerId)) { writer.WritePropertyName("dbServerId"u8); writer.WriteStringValue(DBServerId); } - if (options.Format != "W") - { - writer.WritePropertyName("dbSystemId"u8); - writer.WriteStringValue(DBSystemId); - } - if (options.Format != "W" && Optional.IsDefined(FaultDomain)) + writer.WritePropertyName("dbSystemId"u8); + writer.WriteStringValue(DBSystemId); + if (Optional.IsDefined(FaultDomain)) { writer.WritePropertyName("faultDomain"u8); writer.WriteStringValue(FaultDomain); } - if (options.Format != "W" && Optional.IsDefined(HostIPId)) + if (Optional.IsDefined(HostIPId)) { writer.WritePropertyName("hostIpId"u8); writer.WriteStringValue(HostIPId); } - if (options.Format != "W" && Optional.IsDefined(Hostname)) + if (Optional.IsDefined(Hostname)) { writer.WritePropertyName("hostname"u8); writer.WriteStringValue(Hostname); } - if (options.Format != "W" && Optional.IsDefined(LifecycleState)) - { - writer.WritePropertyName("lifecycleState"u8); - writer.WriteStringValue(LifecycleState.Value.ToString()); - } - if (options.Format != "W" && Optional.IsDefined(LifecycleDetails)) + writer.WritePropertyName("lifecycleState"u8); + writer.WriteStringValue(LifecycleState.ToString()); + if (Optional.IsDefined(LifecycleDetails)) { writer.WritePropertyName("lifecycleDetails"u8); writer.WriteStringValue(LifecycleDetails); } - if (options.Format != "W" && Optional.IsDefined(MaintenanceType)) + if (Optional.IsDefined(MaintenanceType)) { writer.WritePropertyName("maintenanceType"u8); writer.WriteStringValue(MaintenanceType.Value.ToString()); } - if (options.Format != "W" && Optional.IsDefined(MemorySizeInGbs)) + if (Optional.IsDefined(MemorySizeInGbs)) { writer.WritePropertyName("memorySizeInGbs"u8); writer.WriteNumberValue(MemorySizeInGbs.Value); } - if (options.Format != "W" && Optional.IsDefined(SoftwareStorageSizeInGb)) + if (Optional.IsDefined(SoftwareStorageSizeInGb)) { writer.WritePropertyName("softwareStorageSizeInGb"u8); writer.WriteNumberValue(SoftwareStorageSizeInGb.Value); } - if (options.Format != "W" && Optional.IsDefined(TimeCreated)) - { - writer.WritePropertyName("timeCreated"u8); - writer.WriteStringValue(TimeCreated.Value, "O"); - } - if (options.Format != "W" && Optional.IsDefined(TimeMaintenanceWindowEnd)) + writer.WritePropertyName("timeCreated"u8); + writer.WriteStringValue(TimeCreated, "O"); + if (Optional.IsDefined(TimeMaintenanceWindowEnd)) { writer.WritePropertyName("timeMaintenanceWindowEnd"u8); writer.WriteStringValue(TimeMaintenanceWindowEnd.Value, "O"); } - if (options.Format != "W" && Optional.IsDefined(TimeMaintenanceWindowStart)) + if (Optional.IsDefined(TimeMaintenanceWindowStart)) { writer.WritePropertyName("timeMaintenanceWindowStart"u8); writer.WriteStringValue(TimeMaintenanceWindowStart.Value, "O"); } - if (options.Format != "W" && Optional.IsDefined(Vnic2Id)) + if (Optional.IsDefined(Vnic2Id)) { writer.WritePropertyName("vnic2Id"u8); writer.WriteStringValue(Vnic2Id); } - if (options.Format != "W" && Optional.IsDefined(VnicId)) + if (Optional.IsDefined(VnicId)) { writer.WritePropertyName("vnicId"u8); writer.WriteStringValue(VnicId); @@ -198,12 +186,12 @@ internal static CloudVmClusterDBNodeProperties DeserializeCloudVmClusterDBNodePr string faultDomain = default; ResourceIdentifier hostIPId = default; string hostname = default; - DBNodeProvisioningState? lifecycleState = default; + DBNodeProvisioningState lifecycleState = default; string lifecycleDetails = default; DBNodeMaintenanceType? maintenanceType = default; int? memorySizeInGbs = default; int? softwareStorageSizeInGb = default; - DateTimeOffset? timeCreated = default; + DateTimeOffset timeCreated = default; DateTimeOffset? timeMaintenanceWindowEnd = default; DateTimeOffset? timeMaintenanceWindowStart = default; ResourceIdentifier vnic2Id = default; @@ -303,10 +291,6 @@ internal static CloudVmClusterDBNodeProperties DeserializeCloudVmClusterDBNodePr } if (property.NameEquals("lifecycleState"u8)) { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } lifecycleState = new DBNodeProvisioningState(property.Value.GetString()); continue; } @@ -344,10 +328,6 @@ internal static CloudVmClusterDBNodeProperties DeserializeCloudVmClusterDBNodePr } if (property.NameEquals("timeCreated"u8)) { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } timeCreated = property.Value.GetDateTimeOffset("O"); continue; } diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/CloudVmClusterDBNodeProperties.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/CloudVmClusterDBNodeProperties.cs index b4c580563281..d09744ddd54a 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/CloudVmClusterDBNodeProperties.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/CloudVmClusterDBNodeProperties.cs @@ -49,10 +49,18 @@ public partial class CloudVmClusterDBNodeProperties /// Initializes a new instance of . /// DbNode OCID. /// The OCID of the DB system. - public CloudVmClusterDBNodeProperties(ResourceIdentifier ocid, ResourceIdentifier dbSystemId) + /// The current state of the database node. + /// The date and time that the database node was created. + /// or is null. + public CloudVmClusterDBNodeProperties(ResourceIdentifier ocid, ResourceIdentifier dbSystemId, DBNodeProvisioningState lifecycleState, DateTimeOffset timeCreated) { + Argument.AssertNotNull(ocid, nameof(ocid)); + Argument.AssertNotNull(dbSystemId, nameof(dbSystemId)); + Ocid = ocid; DBSystemId = dbSystemId; + LifecycleState = lifecycleState; + TimeCreated = timeCreated; } /// Initializes a new instance of . @@ -80,7 +88,7 @@ public CloudVmClusterDBNodeProperties(ResourceIdentifier ocid, ResourceIdentifie /// The OCID of the VNIC. /// Azure resource provisioning state. /// Keeps track of any properties unknown to the library. - internal CloudVmClusterDBNodeProperties(ResourceIdentifier ocid, string additionalDetails, ResourceIdentifier backupIPId, ResourceIdentifier backupVnic2Id, ResourceIdentifier backupVnicId, int? cpuCoreCount, int? dbNodeStorageSizeInGbs, ResourceIdentifier dbServerId, ResourceIdentifier dbSystemId, string faultDomain, ResourceIdentifier hostIPId, string hostname, DBNodeProvisioningState? lifecycleState, string lifecycleDetails, DBNodeMaintenanceType? maintenanceType, int? memorySizeInGbs, int? softwareStorageSizeInGb, DateTimeOffset? timeCreated, DateTimeOffset? timeMaintenanceWindowEnd, DateTimeOffset? timeMaintenanceWindowStart, ResourceIdentifier vnic2Id, ResourceIdentifier vnicId, OracleDatabaseResourceProvisioningState? provisioningState, IDictionary serializedAdditionalRawData) + internal CloudVmClusterDBNodeProperties(ResourceIdentifier ocid, string additionalDetails, ResourceIdentifier backupIPId, ResourceIdentifier backupVnic2Id, ResourceIdentifier backupVnicId, int? cpuCoreCount, int? dbNodeStorageSizeInGbs, ResourceIdentifier dbServerId, ResourceIdentifier dbSystemId, string faultDomain, ResourceIdentifier hostIPId, string hostname, DBNodeProvisioningState lifecycleState, string lifecycleDetails, DBNodeMaintenanceType? maintenanceType, int? memorySizeInGbs, int? softwareStorageSizeInGb, DateTimeOffset timeCreated, DateTimeOffset? timeMaintenanceWindowEnd, DateTimeOffset? timeMaintenanceWindowStart, ResourceIdentifier vnic2Id, ResourceIdentifier vnicId, OracleDatabaseResourceProvisioningState? provisioningState, IDictionary serializedAdditionalRawData) { Ocid = ocid; AdditionalDetails = additionalDetails; @@ -114,49 +122,49 @@ internal CloudVmClusterDBNodeProperties() } /// DbNode OCID. - public ResourceIdentifier Ocid { get; } + public ResourceIdentifier Ocid { get; set; } /// Additional information about the planned maintenance. - public string AdditionalDetails { get; } + public string AdditionalDetails { get; set; } /// The OCID of the backup IP address associated with the database node. - public ResourceIdentifier BackupIPId { get; } + public ResourceIdentifier BackupIPId { get; set; } /// The OCID of the second backup VNIC. - public ResourceIdentifier BackupVnic2Id { get; } + public ResourceIdentifier BackupVnic2Id { get; set; } /// The OCID of the backup VNIC. - public ResourceIdentifier BackupVnicId { get; } + public ResourceIdentifier BackupVnicId { get; set; } /// The number of CPU cores enabled on the Db node. - public int? CpuCoreCount { get; } + public int? CpuCoreCount { get; set; } /// The allocated local node storage in GBs on the Db node. - public int? DBNodeStorageSizeInGbs { get; } + public int? DBNodeStorageSizeInGbs { get; set; } /// The OCID of the Exacc Db server associated with the database node. - public ResourceIdentifier DBServerId { get; } + public ResourceIdentifier DBServerId { get; set; } /// The OCID of the DB system. - public ResourceIdentifier DBSystemId { get; } + public ResourceIdentifier DBSystemId { get; set; } /// The name of the Fault Domain the instance is contained in. - public string FaultDomain { get; } + public string FaultDomain { get; set; } /// The OCID of the host IP address associated with the database node. - public ResourceIdentifier HostIPId { get; } + public ResourceIdentifier HostIPId { get; set; } /// The host name for the database node. - public string Hostname { get; } + public string Hostname { get; set; } /// The current state of the database node. - public DBNodeProvisioningState? LifecycleState { get; } + public DBNodeProvisioningState LifecycleState { get; set; } /// Lifecycle details of Db Node. - public string LifecycleDetails { get; } + public string LifecycleDetails { get; set; } /// The type of database node maintenance. - public DBNodeMaintenanceType? MaintenanceType { get; } + public DBNodeMaintenanceType? MaintenanceType { get; set; } /// The allocated memory in GBs on the Db node. - public int? MemorySizeInGbs { get; } + public int? MemorySizeInGbs { get; set; } /// The size (in GB) of the block storage volume allocation for the DB system. This attribute applies only for virtual machine DB systems. - public int? SoftwareStorageSizeInGb { get; } + public int? SoftwareStorageSizeInGb { get; set; } /// The date and time that the database node was created. - public DateTimeOffset? TimeCreated { get; } + public DateTimeOffset TimeCreated { get; set; } /// End date and time of maintenance window. - public DateTimeOffset? TimeMaintenanceWindowEnd { get; } + public DateTimeOffset? TimeMaintenanceWindowEnd { get; set; } /// Start date and time of maintenance window. - public DateTimeOffset? TimeMaintenanceWindowStart { get; } + public DateTimeOffset? TimeMaintenanceWindowStart { get; set; } /// The OCID of the second VNIC. - public ResourceIdentifier Vnic2Id { get; } + public ResourceIdentifier Vnic2Id { get; set; } /// The OCID of the VNIC. - public ResourceIdentifier VnicId { get; } + public ResourceIdentifier VnicId { get; set; } /// Azure resource provisioning state. public OracleDatabaseResourceProvisioningState? ProvisioningState { get; } } diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/CloudVmClusterPatch.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/CloudVmClusterPatch.cs index 32879c816a6a..67473a1a7c53 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/CloudVmClusterPatch.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/CloudVmClusterPatch.cs @@ -53,7 +53,7 @@ public CloudVmClusterPatch() /// Initializes a new instance of . /// Resource tags. - /// The updatable properties of the CloudVmCluster. + /// The resource-specific properties for this resource. /// Keeps track of any properties unknown to the library. internal CloudVmClusterPatch(IDictionary tags, CloudVmClusterUpdateProperties properties, IDictionary serializedAdditionalRawData) { @@ -64,7 +64,7 @@ internal CloudVmClusterPatch(IDictionary tags, CloudVmClusterUpd /// Resource tags. public IDictionary Tags { get; } - /// The updatable properties of the CloudVmCluster. + /// The resource-specific properties for this resource. public CloudVmClusterUpdateProperties Properties { get; set; } } } diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/OracleDBSystemShapeProperties.Serialization.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/OracleDBSystemShapeProperties.Serialization.cs index 472975ff5262..28202b5997d5 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/OracleDBSystemShapeProperties.Serialization.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/OracleDBSystemShapeProperties.Serialization.cs @@ -34,102 +34,99 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit throw new FormatException($"The model {nameof(OracleDBSystemShapeProperties)} does not support writing '{format}' format."); } - if (options.Format != "W" && Optional.IsDefined(ShapeFamily)) + if (Optional.IsDefined(ShapeFamily)) { writer.WritePropertyName("shapeFamily"u8); writer.WriteStringValue(ShapeFamily); } - if (options.Format != "W") - { - writer.WritePropertyName("availableCoreCount"u8); - writer.WriteNumberValue(AvailableCoreCount); - } - if (options.Format != "W" && Optional.IsDefined(MinimumCoreCount)) + writer.WritePropertyName("availableCoreCount"u8); + writer.WriteNumberValue(AvailableCoreCount); + if (Optional.IsDefined(MinimumCoreCount)) { writer.WritePropertyName("minimumCoreCount"u8); writer.WriteNumberValue(MinimumCoreCount.Value); } - if (options.Format != "W" && Optional.IsDefined(RuntimeMinimumCoreCount)) + if (Optional.IsDefined(RuntimeMinimumCoreCount)) { writer.WritePropertyName("runtimeMinimumCoreCount"u8); writer.WriteNumberValue(RuntimeMinimumCoreCount.Value); } - if (options.Format != "W" && Optional.IsDefined(CoreCountIncrement)) + if (Optional.IsDefined(CoreCountIncrement)) { writer.WritePropertyName("coreCountIncrement"u8); writer.WriteNumberValue(CoreCountIncrement.Value); } - if (options.Format != "W" && Optional.IsDefined(MinStorageCount)) + if (Optional.IsDefined(MinStorageCount)) { writer.WritePropertyName("minStorageCount"u8); writer.WriteNumberValue(MinStorageCount.Value); } - if (options.Format != "W" && Optional.IsDefined(MaxStorageCount)) + if (Optional.IsDefined(MaxStorageCount)) { writer.WritePropertyName("maxStorageCount"u8); writer.WriteNumberValue(MaxStorageCount.Value); } - if (options.Format != "W" && Optional.IsDefined(AvailableDataStoragePerServerInTbs)) + if (Optional.IsDefined(AvailableDataStoragePerServerInTbs)) { writer.WritePropertyName("availableDataStoragePerServerInTbs"u8); writer.WriteNumberValue(AvailableDataStoragePerServerInTbs.Value); } - if (options.Format != "W" && Optional.IsDefined(AvailableMemoryPerNodeInGbs)) + if (Optional.IsDefined(AvailableMemoryPerNodeInGbs)) { writer.WritePropertyName("availableMemoryPerNodeInGbs"u8); writer.WriteNumberValue(AvailableMemoryPerNodeInGbs.Value); } - if (options.Format != "W" && Optional.IsDefined(AvailableDBNodePerNodeInGbs)) + if (Optional.IsDefined(AvailableDBNodePerNodeInGbs)) { writer.WritePropertyName("availableDbNodePerNodeInGbs"u8); writer.WriteNumberValue(AvailableDBNodePerNodeInGbs.Value); } - if (options.Format != "W" && Optional.IsDefined(MinCoreCountPerNode)) + if (Optional.IsDefined(MinCoreCountPerNode)) { writer.WritePropertyName("minCoreCountPerNode"u8); writer.WriteNumberValue(MinCoreCountPerNode.Value); } - if (options.Format != "W" && Optional.IsDefined(AvailableMemoryInGbs)) + if (Optional.IsDefined(AvailableMemoryInGbs)) { writer.WritePropertyName("availableMemoryInGbs"u8); writer.WriteNumberValue(AvailableMemoryInGbs.Value); } - if (options.Format != "W" && Optional.IsDefined(MinMemoryPerNodeInGbs)) + if (Optional.IsDefined(MinMemoryPerNodeInGbs)) { writer.WritePropertyName("minMemoryPerNodeInGbs"u8); writer.WriteNumberValue(MinMemoryPerNodeInGbs.Value); } - if (options.Format != "W" && Optional.IsDefined(AvailableDBNodeStorageInGbs)) + if (Optional.IsDefined(AvailableDBNodeStorageInGbs)) { writer.WritePropertyName("availableDbNodeStorageInGbs"u8); writer.WriteNumberValue(AvailableDBNodeStorageInGbs.Value); } - if (options.Format != "W" && Optional.IsDefined(MinDBNodeStoragePerNodeInGbs)) + if (Optional.IsDefined(MinDBNodeStoragePerNodeInGbs)) { writer.WritePropertyName("minDbNodeStoragePerNodeInGbs"u8); writer.WriteNumberValue(MinDBNodeStoragePerNodeInGbs.Value); } - if (options.Format != "W" && Optional.IsDefined(AvailableDataStorageInTbs)) + if (Optional.IsDefined(AvailableDataStorageInTbs)) { writer.WritePropertyName("availableDataStorageInTbs"u8); writer.WriteNumberValue(AvailableDataStorageInTbs.Value); } - if (options.Format != "W" && Optional.IsDefined(MinDataStorageInTbs)) + if (Optional.IsDefined(MinDataStorageInTbs)) { writer.WritePropertyName("minDataStorageInTbs"u8); writer.WriteNumberValue(MinDataStorageInTbs.Value); } - if (options.Format != "W" && Optional.IsDefined(MinimumNodeCount)) + if (Optional.IsDefined(MinimumNodeCount)) { writer.WritePropertyName("minimumNodeCount"u8); writer.WriteNumberValue(MinimumNodeCount.Value); } - if (options.Format != "W" && Optional.IsDefined(MaximumNodeCount)) + if (Optional.IsDefined(MaximumNodeCount)) { writer.WritePropertyName("maximumNodeCount"u8); writer.WriteNumberValue(MaximumNodeCount.Value); } - if (options.Format != "W" && Optional.IsDefined(AvailableCoreCountPerNode)) + if (Optional.IsDefined(AvailableCoreCountPerNode)) { writer.WritePropertyName("availableCoreCountPerNode"u8); writer.WriteNumberValue(AvailableCoreCountPerNode.Value); diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/OracleDBSystemShapeProperties.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/OracleDBSystemShapeProperties.cs index 74ad3267ecf9..1a0e262f4214 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/OracleDBSystemShapeProperties.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/OracleDBSystemShapeProperties.cs @@ -105,44 +105,44 @@ internal OracleDBSystemShapeProperties() } /// The family of the shape used for the DB system. - public string ShapeFamily { get; } + public string ShapeFamily { get; set; } /// The maximum number of CPU cores that can be enabled on the DB system for this shape. - public int AvailableCoreCount { get; } + public int AvailableCoreCount { get; set; } /// The minimum number of CPU cores that can be enabled on the DB system for this shape. - public int? MinimumCoreCount { get; } + public int? MinimumCoreCount { get; set; } /// The runtime minimum number of CPU cores that can be enabled on the DB system for this shape. - public int? RuntimeMinimumCoreCount { get; } + public int? RuntimeMinimumCoreCount { get; set; } /// The discrete number by which the CPU core count for this shape can be increased or decreased. - public int? CoreCountIncrement { get; } + public int? CoreCountIncrement { get; set; } /// The minimum number of Exadata storage servers available for the Exadata infrastructure. - public int? MinStorageCount { get; } + public int? MinStorageCount { get; set; } /// The maximum number of Exadata storage servers available for the Exadata infrastructure. - public int? MaxStorageCount { get; } + public int? MaxStorageCount { get; set; } /// The maximum data storage available per storage server for this shape. Only applicable to ExaCC Elastic shapes. - public double? AvailableDataStoragePerServerInTbs { get; } + public double? AvailableDataStoragePerServerInTbs { get; set; } /// The maximum memory available per database node for this shape. Only applicable to ExaCC Elastic shapes. - public int? AvailableMemoryPerNodeInGbs { get; } + public int? AvailableMemoryPerNodeInGbs { get; set; } /// The maximum Db Node storage available per database node for this shape. Only applicable to ExaCC Elastic shapes. - public int? AvailableDBNodePerNodeInGbs { get; } + public int? AvailableDBNodePerNodeInGbs { get; set; } /// The minimum number of CPU cores that can be enabled per node for this shape. - public int? MinCoreCountPerNode { get; } + public int? MinCoreCountPerNode { get; set; } /// The maximum memory that can be enabled for this shape. - public int? AvailableMemoryInGbs { get; } + public int? AvailableMemoryInGbs { get; set; } /// The minimum memory that need be allocated per node for this shape. - public int? MinMemoryPerNodeInGbs { get; } + public int? MinMemoryPerNodeInGbs { get; set; } /// The maximum Db Node storage that can be enabled for this shape. - public int? AvailableDBNodeStorageInGbs { get; } + public int? AvailableDBNodeStorageInGbs { get; set; } /// The minimum Db Node storage that need be allocated per node for this shape. - public int? MinDBNodeStoragePerNodeInGbs { get; } + public int? MinDBNodeStoragePerNodeInGbs { get; set; } /// The maximum DATA storage that can be enabled for this shape. - public int? AvailableDataStorageInTbs { get; } + public int? AvailableDataStorageInTbs { get; set; } /// The minimum data storage that need be allocated for this shape. - public int? MinDataStorageInTbs { get; } + public int? MinDataStorageInTbs { get; set; } /// The minimum number of database nodes available for this shape. - public int? MinimumNodeCount { get; } + public int? MinimumNodeCount { get; set; } /// The maximum number of database nodes available for this shape. - public int? MaximumNodeCount { get; } + public int? MaximumNodeCount { get; set; } /// The maximum number of CPU cores per database node that can be enabled for this shape. Only applicable to the flex Exadata shape and ExaCC Elastic shapes. - public int? AvailableCoreCountPerNode { get; } + public int? AvailableCoreCountPerNode { get; set; } } } diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/OracleDnsPrivateViewProperties.Serialization.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/OracleDnsPrivateViewProperties.Serialization.cs index bea96c114e4c..b8f1fe6198fb 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/OracleDnsPrivateViewProperties.Serialization.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/OracleDnsPrivateViewProperties.Serialization.cs @@ -34,41 +34,20 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit throw new FormatException($"The model {nameof(OracleDnsPrivateViewProperties)} does not support writing '{format}' format."); } - if (options.Format != "W") - { - writer.WritePropertyName("ocid"u8); - writer.WriteStringValue(Ocid); - } - if (options.Format != "W" && Optional.IsDefined(DisplayName)) - { - writer.WritePropertyName("displayName"u8); - writer.WriteStringValue(DisplayName); - } - if (options.Format != "W") - { - writer.WritePropertyName("isProtected"u8); - writer.WriteBooleanValue(IsProtected); - } - if (options.Format != "W" && Optional.IsDefined(LifecycleState)) - { - writer.WritePropertyName("lifecycleState"u8); - writer.WriteStringValue(LifecycleState.Value.ToString()); - } - if (options.Format != "W") - { - writer.WritePropertyName("self"u8); - writer.WriteStringValue(Self); - } - if (options.Format != "W") - { - writer.WritePropertyName("timeCreated"u8); - writer.WriteStringValue(CreatedOn, "O"); - } - if (options.Format != "W") - { - writer.WritePropertyName("timeUpdated"u8); - writer.WriteStringValue(UpdatedOn, "O"); - } + writer.WritePropertyName("ocid"u8); + writer.WriteStringValue(Ocid); + writer.WritePropertyName("displayName"u8); + writer.WriteStringValue(DisplayName); + writer.WritePropertyName("isProtected"u8); + writer.WriteBooleanValue(IsProtected); + writer.WritePropertyName("lifecycleState"u8); + writer.WriteStringValue(LifecycleState.ToString()); + writer.WritePropertyName("self"u8); + writer.WriteStringValue(Self); + writer.WritePropertyName("timeCreated"u8); + writer.WriteStringValue(CreatedOn, "O"); + writer.WritePropertyName("timeUpdated"u8); + writer.WriteStringValue(UpdatedOn, "O"); if (options.Format != "W" && Optional.IsDefined(ProvisioningState)) { writer.WritePropertyName("provisioningState"u8); @@ -114,7 +93,7 @@ internal static OracleDnsPrivateViewProperties DeserializeOracleDnsPrivateViewPr ResourceIdentifier ocid = default; string displayName = default; bool isProtected = default; - DnsPrivateViewsLifecycleState? lifecycleState = default; + DnsPrivateViewsLifecycleState lifecycleState = default; string self = default; DateTimeOffset timeCreated = default; DateTimeOffset timeUpdated = default; @@ -140,10 +119,6 @@ internal static OracleDnsPrivateViewProperties DeserializeOracleDnsPrivateViewPr } if (property.NameEquals("lifecycleState"u8)) { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } lifecycleState = new DnsPrivateViewsLifecycleState(property.Value.GetString()); continue; } diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/OracleDnsPrivateViewProperties.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/OracleDnsPrivateViewProperties.cs index c8b26ebd44fd..bbae727e5245 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/OracleDnsPrivateViewProperties.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/OracleDnsPrivateViewProperties.cs @@ -48,14 +48,23 @@ public partial class OracleDnsPrivateViewProperties /// Initializes a new instance of . /// The OCID of the view. + /// The display name of the view resource. /// A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed. + /// Views lifecycleState. /// The canonical absolute URL of the resource. /// views timeCreated. - /// views timeCreated. - public OracleDnsPrivateViewProperties(ResourceIdentifier ocid, bool isProtected, string self, DateTimeOffset createdOn, DateTimeOffset updatedOn) + /// views timeUpdated. + /// , or is null. + public OracleDnsPrivateViewProperties(ResourceIdentifier ocid, string displayName, bool isProtected, DnsPrivateViewsLifecycleState lifecycleState, string self, DateTimeOffset createdOn, DateTimeOffset updatedOn) { + Argument.AssertNotNull(ocid, nameof(ocid)); + Argument.AssertNotNull(displayName, nameof(displayName)); + Argument.AssertNotNull(self, nameof(self)); + Ocid = ocid; + DisplayName = displayName; IsProtected = isProtected; + LifecycleState = lifecycleState; Self = self; CreatedOn = createdOn; UpdatedOn = updatedOn; @@ -68,10 +77,10 @@ public OracleDnsPrivateViewProperties(ResourceIdentifier ocid, bool isProtected, /// Views lifecycleState. /// The canonical absolute URL of the resource. /// views timeCreated. - /// views timeCreated. + /// views timeUpdated. /// Azure resource provisioning state. /// Keeps track of any properties unknown to the library. - internal OracleDnsPrivateViewProperties(ResourceIdentifier ocid, string displayName, bool isProtected, DnsPrivateViewsLifecycleState? lifecycleState, string self, DateTimeOffset createdOn, DateTimeOffset updatedOn, OracleDatabaseResourceProvisioningState? provisioningState, IDictionary serializedAdditionalRawData) + internal OracleDnsPrivateViewProperties(ResourceIdentifier ocid, string displayName, bool isProtected, DnsPrivateViewsLifecycleState lifecycleState, string self, DateTimeOffset createdOn, DateTimeOffset updatedOn, OracleDatabaseResourceProvisioningState? provisioningState, IDictionary serializedAdditionalRawData) { Ocid = ocid; DisplayName = displayName; @@ -90,19 +99,19 @@ internal OracleDnsPrivateViewProperties() } /// The OCID of the view. - public ResourceIdentifier Ocid { get; } + public ResourceIdentifier Ocid { get; set; } /// The display name of the view resource. - public string DisplayName { get; } + public string DisplayName { get; set; } /// A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed. - public bool IsProtected { get; } + public bool IsProtected { get; set; } /// Views lifecycleState. - public DnsPrivateViewsLifecycleState? LifecycleState { get; } + public DnsPrivateViewsLifecycleState LifecycleState { get; set; } /// The canonical absolute URL of the resource. - public string Self { get; } - /// views timeCreated. - public DateTimeOffset CreatedOn { get; } + public string Self { get; set; } /// views timeCreated. - public DateTimeOffset UpdatedOn { get; } + public DateTimeOffset CreatedOn { get; set; } + /// views timeUpdated. + public DateTimeOffset UpdatedOn { get; set; } /// Azure resource provisioning state. public OracleDatabaseResourceProvisioningState? ProvisioningState { get; } } diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/OracleDnsPrivateZoneProperties.Serialization.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/OracleDnsPrivateZoneProperties.Serialization.cs index 6b82aa629e7b..e690d49ee994 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/OracleDnsPrivateZoneProperties.Serialization.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/OracleDnsPrivateZoneProperties.Serialization.cs @@ -34,51 +34,27 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit throw new FormatException($"The model {nameof(OracleDnsPrivateZoneProperties)} does not support writing '{format}' format."); } - if (options.Format != "W") - { - writer.WritePropertyName("ocid"u8); - writer.WriteStringValue(Ocid); - } - if (options.Format != "W") - { - writer.WritePropertyName("isProtected"u8); - writer.WriteBooleanValue(IsProtected); - } - if (options.Format != "W" && Optional.IsDefined(LifecycleState)) - { - writer.WritePropertyName("lifecycleState"u8); - writer.WriteStringValue(LifecycleState.Value.ToString()); - } - if (options.Format != "W") - { - writer.WritePropertyName("self"u8); - writer.WriteStringValue(Self); - } - if (options.Format != "W") - { - writer.WritePropertyName("serial"u8); - writer.WriteNumberValue(Serial); - } - if (options.Format != "W") - { - writer.WritePropertyName("version"u8); - writer.WriteStringValue(Version); - } - if (options.Format != "W" && Optional.IsDefined(ViewId)) + writer.WritePropertyName("ocid"u8); + writer.WriteStringValue(Ocid); + writer.WritePropertyName("isProtected"u8); + writer.WriteBooleanValue(IsProtected); + writer.WritePropertyName("lifecycleState"u8); + writer.WriteStringValue(LifecycleState.ToString()); + writer.WritePropertyName("self"u8); + writer.WriteStringValue(Self); + writer.WritePropertyName("serial"u8); + writer.WriteNumberValue(Serial); + writer.WritePropertyName("version"u8); + writer.WriteStringValue(Version); + if (Optional.IsDefined(ViewId)) { writer.WritePropertyName("viewId"u8); writer.WriteStringValue(ViewId); } - if (options.Format != "W") - { - writer.WritePropertyName("zoneType"u8); - writer.WriteStringValue(ZoneType.ToString()); - } - if (options.Format != "W") - { - writer.WritePropertyName("timeCreated"u8); - writer.WriteStringValue(CreatedOn, "O"); - } + writer.WritePropertyName("zoneType"u8); + writer.WriteStringValue(ZoneType.ToString()); + writer.WritePropertyName("timeCreated"u8); + writer.WriteStringValue(CreatedOn, "O"); if (options.Format != "W" && Optional.IsDefined(ProvisioningState)) { writer.WritePropertyName("provisioningState"u8); @@ -123,7 +99,7 @@ internal static OracleDnsPrivateZoneProperties DeserializeOracleDnsPrivateZonePr } ResourceIdentifier ocid = default; bool isProtected = default; - DnsPrivateZonesLifecycleState? lifecycleState = default; + DnsPrivateZonesLifecycleState lifecycleState = default; string self = default; int serial = default; string version = default; @@ -147,10 +123,6 @@ internal static OracleDnsPrivateZoneProperties DeserializeOracleDnsPrivateZonePr } if (property.NameEquals("lifecycleState"u8)) { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } lifecycleState = new DnsPrivateZonesLifecycleState(property.Value.GetString()); continue; } diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/OracleDnsPrivateZoneProperties.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/OracleDnsPrivateZoneProperties.cs index 767e429526c0..bb80c4e598d9 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/OracleDnsPrivateZoneProperties.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/OracleDnsPrivateZoneProperties.cs @@ -49,15 +49,22 @@ public partial class OracleDnsPrivateZoneProperties /// Initializes a new instance of . /// The OCID of the Zone. /// A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed. + /// Zones lifecycleState. /// The canonical absolute URL of the resource. /// The current serial of the zone. As seen in the zone's SOA record. /// Version is the never-repeating, totally-orderable, version of the zone, from which the serial field of the zone's SOA record is derived. /// The type of the zone. Must be either PRIMARY or SECONDARY. SECONDARY is only supported for GLOBAL zones. /// Zones timeCreated. - public OracleDnsPrivateZoneProperties(ResourceIdentifier ocid, bool isProtected, string self, int serial, string version, OracleDnsPrivateZoneType zoneType, DateTimeOffset createdOn) + /// , or is null. + public OracleDnsPrivateZoneProperties(ResourceIdentifier ocid, bool isProtected, DnsPrivateZonesLifecycleState lifecycleState, string self, int serial, string version, OracleDnsPrivateZoneType zoneType, DateTimeOffset createdOn) { + Argument.AssertNotNull(ocid, nameof(ocid)); + Argument.AssertNotNull(self, nameof(self)); + Argument.AssertNotNull(version, nameof(version)); + Ocid = ocid; IsProtected = isProtected; + LifecycleState = lifecycleState; Self = self; Serial = serial; Version = version; @@ -77,7 +84,7 @@ public OracleDnsPrivateZoneProperties(ResourceIdentifier ocid, bool isProtected, /// Zones timeCreated. /// Azure resource provisioning state. /// Keeps track of any properties unknown to the library. - internal OracleDnsPrivateZoneProperties(ResourceIdentifier ocid, bool isProtected, DnsPrivateZonesLifecycleState? lifecycleState, string self, int serial, string version, ResourceIdentifier viewId, OracleDnsPrivateZoneType zoneType, DateTimeOffset createdOn, OracleDatabaseResourceProvisioningState? provisioningState, IDictionary serializedAdditionalRawData) + internal OracleDnsPrivateZoneProperties(ResourceIdentifier ocid, bool isProtected, DnsPrivateZonesLifecycleState lifecycleState, string self, int serial, string version, ResourceIdentifier viewId, OracleDnsPrivateZoneType zoneType, DateTimeOffset createdOn, OracleDatabaseResourceProvisioningState? provisioningState, IDictionary serializedAdditionalRawData) { Ocid = ocid; IsProtected = isProtected; @@ -98,23 +105,23 @@ internal OracleDnsPrivateZoneProperties() } /// The OCID of the Zone. - public ResourceIdentifier Ocid { get; } + public ResourceIdentifier Ocid { get; set; } /// A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed. - public bool IsProtected { get; } + public bool IsProtected { get; set; } /// Zones lifecycleState. - public DnsPrivateZonesLifecycleState? LifecycleState { get; } + public DnsPrivateZonesLifecycleState LifecycleState { get; set; } /// The canonical absolute URL of the resource. - public string Self { get; } + public string Self { get; set; } /// The current serial of the zone. As seen in the zone's SOA record. - public int Serial { get; } + public int Serial { get; set; } /// Version is the never-repeating, totally-orderable, version of the zone, from which the serial field of the zone's SOA record is derived. - public string Version { get; } + public string Version { get; set; } /// The OCID of the private view containing the zone. This value will be null for zones in the global DNS, which are publicly resolvable and not part of a private view. - public ResourceIdentifier ViewId { get; } + public ResourceIdentifier ViewId { get; set; } /// The type of the zone. Must be either PRIMARY or SECONDARY. SECONDARY is only supported for GLOBAL zones. - public OracleDnsPrivateZoneType ZoneType { get; } + public OracleDnsPrivateZoneType ZoneType { get; set; } /// Zones timeCreated. - public DateTimeOffset CreatedOn { get; } + public DateTimeOffset CreatedOn { get; set; } /// Azure resource provisioning state. public OracleDatabaseResourceProvisioningState? ProvisioningState { get; } } diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/OracleGIVersionProperties.Serialization.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/OracleGIVersionProperties.Serialization.cs index f2ff217fb5e7..44781c43d6df 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/OracleGIVersionProperties.Serialization.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/OracleGIVersionProperties.Serialization.cs @@ -34,11 +34,8 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit throw new FormatException($"The model {nameof(OracleGIVersionProperties)} does not support writing '{format}' format."); } - if (options.Format != "W") - { - writer.WritePropertyName("version"u8); - writer.WriteStringValue(Version); - } + writer.WritePropertyName("version"u8); + writer.WriteStringValue(Version); if (options.Format != "W" && _serializedAdditionalRawData != null) { foreach (var item in _serializedAdditionalRawData) diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/OracleGIVersionProperties.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/OracleGIVersionProperties.cs index 1fb55ebcb869..8d5d7252ae85 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/OracleGIVersionProperties.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/OracleGIVersionProperties.cs @@ -47,8 +47,11 @@ internal partial class OracleGIVersionProperties /// Initializes a new instance of . /// A valid Oracle Grid Infrastructure (GI) software version. + /// is null. public OracleGIVersionProperties(string version) { + Argument.AssertNotNull(version, nameof(version)); + Version = version; } @@ -67,6 +70,6 @@ internal OracleGIVersionProperties() } /// A valid Oracle Grid Infrastructure (GI) software version. - public string Version { get; } + public string Version { get; set; } } } diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/OracleSubscriptionPatch.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/OracleSubscriptionPatch.cs index 86d3ac06d0a0..0c3c8e379f39 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/OracleSubscriptionPatch.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/OracleSubscriptionPatch.cs @@ -53,7 +53,7 @@ public OracleSubscriptionPatch() /// Initializes a new instance of . /// Details of the resource plan. - /// The updatable properties of the OracleSubscription. + /// The resource-specific properties for this resource. /// Keeps track of any properties unknown to the library. internal OracleSubscriptionPatch(ArmPlan plan, OracleSubscriptionUpdateProperties properties, IDictionary serializedAdditionalRawData) { @@ -64,7 +64,7 @@ internal OracleSubscriptionPatch(ArmPlan plan, OracleSubscriptionUpdatePropertie /// Details of the resource plan. public ArmPlan Plan { get; set; } - /// The updatable properties of the OracleSubscription. + /// The resource-specific properties for this resource. public OracleSubscriptionUpdateProperties Properties { get; set; } } } diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/OracleSubscriptionProperties.Serialization.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/OracleSubscriptionProperties.Serialization.cs index 2a3abe88bbf0..8566017fefac 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/OracleSubscriptionProperties.Serialization.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/OracleSubscriptionProperties.Serialization.cs @@ -69,6 +69,26 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("intent"u8); writer.WriteStringValue(Intent.Value.ToString()); } + if (options.Format != "W" && Optional.IsCollectionDefined(AzureSubscriptionIds)) + { + writer.WritePropertyName("azureSubscriptionIds"u8); + writer.WriteStartArray(); + foreach (var item in AzureSubscriptionIds) + { + writer.WriteStringValue(item); + } + writer.WriteEndArray(); + } + if (options.Format != "W" && Optional.IsDefined(AddSubscriptionOperationState)) + { + writer.WritePropertyName("addSubscriptionOperationState"u8); + writer.WriteStringValue(AddSubscriptionOperationState.Value.ToString()); + } + if (options.Format != "W" && Optional.IsDefined(LastOperationStatusDetail)) + { + writer.WritePropertyName("lastOperationStatusDetail"u8); + writer.WriteStringValue(LastOperationStatusDetail); + } if (options.Format != "W" && _serializedAdditionalRawData != null) { foreach (var item in _serializedAdditionalRawData) @@ -113,6 +133,9 @@ internal static OracleSubscriptionProperties DeserializeOracleSubscriptionProper string termUnit = default; string productCode = default; OracleSubscriptionUpdateIntent? intent = default; + IReadOnlyList azureSubscriptionIds = default; + AddSubscriptionOperationState? addSubscriptionOperationState = default; + string lastOperationStatusDetail = default; IDictionary serializedAdditionalRawData = default; Dictionary rawDataDictionary = new Dictionary(); foreach (var property in element.EnumerateObject()) @@ -168,6 +191,34 @@ internal static OracleSubscriptionProperties DeserializeOracleSubscriptionProper intent = new OracleSubscriptionUpdateIntent(property.Value.GetString()); continue; } + if (property.NameEquals("azureSubscriptionIds"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + List array = new List(); + foreach (var item in property.Value.EnumerateArray()) + { + array.Add(item.GetString()); + } + azureSubscriptionIds = array; + continue; + } + if (property.NameEquals("addSubscriptionOperationState"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + addSubscriptionOperationState = new AddSubscriptionOperationState(property.Value.GetString()); + continue; + } + if (property.NameEquals("lastOperationStatusDetail"u8)) + { + lastOperationStatusDetail = property.Value.GetString(); + continue; + } if (options.Format != "W") { rawDataDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); @@ -182,6 +233,9 @@ internal static OracleSubscriptionProperties DeserializeOracleSubscriptionProper termUnit, productCode, intent, + azureSubscriptionIds ?? new ChangeTrackingList(), + addSubscriptionOperationState, + lastOperationStatusDetail, serializedAdditionalRawData); } diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/OracleSubscriptionProperties.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/OracleSubscriptionProperties.cs index 46663dd20aa9..8c47f4147088 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/OracleSubscriptionProperties.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/OracleSubscriptionProperties.cs @@ -49,6 +49,7 @@ public partial class OracleSubscriptionProperties /// Initializes a new instance of . public OracleSubscriptionProperties() { + AzureSubscriptionIds = new ChangeTrackingList(); } /// Initializes a new instance of . @@ -59,8 +60,11 @@ public OracleSubscriptionProperties() /// Term Unit. P1Y, P3Y, etc, see Durations https://en.wikipedia.org/wiki/ISO_8601. /// Product code for the term unit. /// Intent for the update operation. + /// Azure subscriptions associated with this OracleSubscription. + /// State of the add Azure subscription operation on Oracle subscription. + /// Status details of the last operation on Oracle subscription. /// Keeps track of any properties unknown to the library. - internal OracleSubscriptionProperties(OracleSubscriptionProvisioningState? provisioningState, string saasSubscriptionId, ResourceIdentifier cloudAccountId, CloudAccountProvisioningState? cloudAccountState, string termUnit, string productCode, OracleSubscriptionUpdateIntent? intent, IDictionary serializedAdditionalRawData) + internal OracleSubscriptionProperties(OracleSubscriptionProvisioningState? provisioningState, string saasSubscriptionId, ResourceIdentifier cloudAccountId, CloudAccountProvisioningState? cloudAccountState, string termUnit, string productCode, OracleSubscriptionUpdateIntent? intent, IReadOnlyList azureSubscriptionIds, AddSubscriptionOperationState? addSubscriptionOperationState, string lastOperationStatusDetail, IDictionary serializedAdditionalRawData) { ProvisioningState = provisioningState; SaasSubscriptionId = saasSubscriptionId; @@ -69,6 +73,9 @@ internal OracleSubscriptionProperties(OracleSubscriptionProvisioningState? provi TermUnit = termUnit; ProductCode = productCode; Intent = intent; + AzureSubscriptionIds = azureSubscriptionIds; + AddSubscriptionOperationState = addSubscriptionOperationState; + LastOperationStatusDetail = lastOperationStatusDetail; _serializedAdditionalRawData = serializedAdditionalRawData; } @@ -86,5 +93,11 @@ internal OracleSubscriptionProperties(OracleSubscriptionProvisioningState? provi public string ProductCode { get; set; } /// Intent for the update operation. public OracleSubscriptionUpdateIntent? Intent { get; set; } + /// Azure subscriptions associated with this OracleSubscription. + public IReadOnlyList AzureSubscriptionIds { get; } + /// State of the add Azure subscription operation on Oracle subscription. + public AddSubscriptionOperationState? AddSubscriptionOperationState { get; } + /// Status details of the last operation on Oracle subscription. + public string LastOperationStatusDetail { get; } } } diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/OracleSystemVersionProperties.Serialization.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/OracleSystemVersionProperties.Serialization.cs index abf6879018a0..fcf4e75c6480 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/OracleSystemVersionProperties.Serialization.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/OracleSystemVersionProperties.Serialization.cs @@ -34,11 +34,8 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit throw new FormatException($"The model {nameof(OracleSystemVersionProperties)} does not support writing '{format}' format."); } - if (options.Format != "W") - { - writer.WritePropertyName("systemVersion"u8); - writer.WriteStringValue(SystemVersion); - } + writer.WritePropertyName("systemVersion"u8); + writer.WriteStringValue(SystemVersion); if (options.Format != "W" && _serializedAdditionalRawData != null) { foreach (var item in _serializedAdditionalRawData) diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/OracleSystemVersionProperties.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/OracleSystemVersionProperties.cs index 51122b328aed..5c7f8c510e28 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/OracleSystemVersionProperties.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/Models/OracleSystemVersionProperties.cs @@ -47,8 +47,11 @@ internal partial class OracleSystemVersionProperties /// Initializes a new instance of . /// A valid Oracle System Version. + /// is null. public OracleSystemVersionProperties(string systemVersion) { + Argument.AssertNotNull(systemVersion, nameof(systemVersion)); + SystemVersion = systemVersion; } @@ -67,6 +70,6 @@ internal OracleSystemVersionProperties() } /// A valid Oracle System Version. - public string SystemVersion { get; } + public string SystemVersion { get; set; } } } diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/OracleDBServerCollection.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/OracleDBServerCollection.cs index 1974818dcd46..c86181264ceb 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/OracleDBServerCollection.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/OracleDBServerCollection.cs @@ -64,7 +64,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -109,7 +109,7 @@ public virtual async Task> GetAsync(string dbse /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -154,7 +154,7 @@ public virtual Response Get(string dbserverocid, Cancell /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -184,7 +184,7 @@ public virtual AsyncPageable GetAllAsync(CancellationTok /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -214,7 +214,7 @@ public virtual Pageable GetAll(CancellationToken cancell /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -257,7 +257,7 @@ public virtual async Task> ExistsAsync(string dbserverocid, Cance /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -300,7 +300,7 @@ public virtual Response Exists(string dbserverocid, CancellationToken canc /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -345,7 +345,7 @@ public virtual async Task> GetIfExistsA /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/OracleDBServerResource.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/OracleDBServerResource.cs index d73223aa38b7..f2a96e8fa95a 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/OracleDBServerResource.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/OracleDBServerResource.cs @@ -101,7 +101,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -141,7 +141,7 @@ public virtual async Task> GetAsync(Cancellatio /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/OracleDBSystemShapeCollection.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/OracleDBSystemShapeCollection.cs index cfd4a43143f5..c5b91de9356f 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/OracleDBSystemShapeCollection.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/OracleDBSystemShapeCollection.cs @@ -68,7 +68,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -113,7 +113,7 @@ public virtual async Task> GetAsync(string /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -158,7 +158,7 @@ public virtual Response Get(string dbsystemshapenam /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -188,7 +188,7 @@ public virtual AsyncPageable GetAllAsync(Cancellati /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -218,7 +218,7 @@ public virtual Pageable GetAll(CancellationToken ca /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -261,7 +261,7 @@ public virtual async Task> ExistsAsync(string dbsystemshapename, /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -304,7 +304,7 @@ public virtual Response Exists(string dbsystemshapename, CancellationToken /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -349,7 +349,7 @@ public virtual async Task> GetIfEx /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/OracleDBSystemShapeResource.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/OracleDBSystemShapeResource.cs index 5ad08f145310..1a97bdf8c796 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/OracleDBSystemShapeResource.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/OracleDBSystemShapeResource.cs @@ -101,7 +101,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -141,7 +141,7 @@ public virtual async Task> GetAsync(Cancel /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/OracleDnsPrivateViewCollection.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/OracleDnsPrivateViewCollection.cs index bf4e4e1f9634..9bc372830c27 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/OracleDnsPrivateViewCollection.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/OracleDnsPrivateViewCollection.cs @@ -68,7 +68,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -113,7 +113,7 @@ public virtual async Task> GetAsync(strin /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -158,7 +158,7 @@ public virtual Response Get(string dnsprivateviewo /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -188,7 +188,7 @@ public virtual AsyncPageable GetAllAsync(Cancellat /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -218,7 +218,7 @@ public virtual Pageable GetAll(CancellationToken c /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -261,7 +261,7 @@ public virtual async Task> ExistsAsync(string dnsprivateviewocid, /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -304,7 +304,7 @@ public virtual Response Exists(string dnsprivateviewocid, CancellationToke /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -349,7 +349,7 @@ public virtual async Task> GetIfE /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/OracleDnsPrivateViewResource.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/OracleDnsPrivateViewResource.cs index 06d1a5566821..6bef56c14769 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/OracleDnsPrivateViewResource.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/OracleDnsPrivateViewResource.cs @@ -101,7 +101,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -141,7 +141,7 @@ public virtual async Task> GetAsync(Cance /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/OracleDnsPrivateZoneCollection.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/OracleDnsPrivateZoneCollection.cs index 640c59409848..f9169a9a7275 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/OracleDnsPrivateZoneCollection.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/OracleDnsPrivateZoneCollection.cs @@ -68,7 +68,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -113,7 +113,7 @@ public virtual async Task> GetAsync(strin /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -158,7 +158,7 @@ public virtual Response Get(string dnsprivatezonen /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -188,7 +188,7 @@ public virtual AsyncPageable GetAllAsync(Cancellat /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -218,7 +218,7 @@ public virtual Pageable GetAll(CancellationToken c /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -261,7 +261,7 @@ public virtual async Task> ExistsAsync(string dnsprivatezonename, /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -304,7 +304,7 @@ public virtual Response Exists(string dnsprivatezonename, CancellationToke /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -349,7 +349,7 @@ public virtual async Task> GetIfE /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/OracleDnsPrivateZoneResource.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/OracleDnsPrivateZoneResource.cs index 2d439010f542..f089654ea49b 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/OracleDnsPrivateZoneResource.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/OracleDnsPrivateZoneResource.cs @@ -101,7 +101,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -141,7 +141,7 @@ public virtual async Task> GetAsync(Cance /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/OracleGIVersionCollection.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/OracleGIVersionCollection.cs index fa4d6ea40d66..8301fbe0a45f 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/OracleGIVersionCollection.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/OracleGIVersionCollection.cs @@ -68,7 +68,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -113,7 +113,7 @@ public virtual async Task> GetAsync(string giv /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -158,7 +158,7 @@ public virtual Response Get(string giversionname, Cance /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -188,7 +188,7 @@ public virtual AsyncPageable GetAllAsync(CancellationTo /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -218,7 +218,7 @@ public virtual Pageable GetAll(CancellationToken cancel /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -261,7 +261,7 @@ public virtual async Task> ExistsAsync(string giversionname, Canc /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -304,7 +304,7 @@ public virtual Response Exists(string giversionname, CancellationToken can /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -349,7 +349,7 @@ public virtual async Task> GetIfExists /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/OracleGIVersionResource.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/OracleGIVersionResource.cs index 9e98955a7b92..04b6933ee27f 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/OracleGIVersionResource.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/OracleGIVersionResource.cs @@ -101,7 +101,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -141,7 +141,7 @@ public virtual async Task> GetAsync(Cancellati /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/OracleSubscriptionResource.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/OracleSubscriptionResource.cs index e54faa78b31c..3ed286736701 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/OracleSubscriptionResource.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/OracleSubscriptionResource.cs @@ -100,7 +100,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -140,7 +140,7 @@ public virtual async Task> GetAsync(Cancell /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -180,7 +180,7 @@ public virtual Response Get(CancellationToken cancel /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -222,7 +222,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -264,7 +264,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -310,7 +310,7 @@ public virtual async Task> UpdateAsync( /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -356,7 +356,7 @@ public virtual ArmOperation Update(WaitUntil waitUnt /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -402,7 +402,7 @@ public virtual async Task> CreateOrUpda /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -435,6 +435,98 @@ public virtual ArmOperation CreateOrUpdate(WaitUntil } } + /// + /// Add Azure Subscriptions + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/providers/Oracle.Database/oracleSubscriptions/default/addAzureSubscriptions + /// + /// + /// Operation Id + /// OracleSubscriptions_AddAzureSubscriptions + /// + /// + /// Default Api Version + /// 2024-06-01 + /// + /// + /// Resource + /// + /// + /// + /// + /// if the method should wait to return until the long-running operation has completed on the service; if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples. + /// The content of the action request. + /// The cancellation token to use. + /// is null. + public virtual async Task AddAzureSubscriptionsAsync(WaitUntil waitUntil, AzureSubscriptions body, CancellationToken cancellationToken = default) + { + Argument.AssertNotNull(body, nameof(body)); + + using var scope = _oracleSubscriptionClientDiagnostics.CreateScope("OracleSubscriptionResource.AddAzureSubscriptions"); + scope.Start(); + try + { + var response = await _oracleSubscriptionRestClient.AddAzureSubscriptionsAsync(Id.SubscriptionId, body, cancellationToken).ConfigureAwait(false); + var operation = new OracleDatabaseArmOperation(_oracleSubscriptionClientDiagnostics, Pipeline, _oracleSubscriptionRestClient.CreateAddAzureSubscriptionsRequest(Id.SubscriptionId, body).Request, response, OperationFinalStateVia.Location); + if (waitUntil == WaitUntil.Completed) + await operation.WaitForCompletionResponseAsync(cancellationToken).ConfigureAwait(false); + return operation; + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Add Azure Subscriptions + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/providers/Oracle.Database/oracleSubscriptions/default/addAzureSubscriptions + /// + /// + /// Operation Id + /// OracleSubscriptions_AddAzureSubscriptions + /// + /// + /// Default Api Version + /// 2024-06-01 + /// + /// + /// Resource + /// + /// + /// + /// + /// if the method should wait to return until the long-running operation has completed on the service; if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples. + /// The content of the action request. + /// The cancellation token to use. + /// is null. + public virtual ArmOperation AddAzureSubscriptions(WaitUntil waitUntil, AzureSubscriptions body, CancellationToken cancellationToken = default) + { + Argument.AssertNotNull(body, nameof(body)); + + using var scope = _oracleSubscriptionClientDiagnostics.CreateScope("OracleSubscriptionResource.AddAzureSubscriptions"); + scope.Start(); + try + { + var response = _oracleSubscriptionRestClient.AddAzureSubscriptions(Id.SubscriptionId, body, cancellationToken); + var operation = new OracleDatabaseArmOperation(_oracleSubscriptionClientDiagnostics, Pipeline, _oracleSubscriptionRestClient.CreateAddAzureSubscriptionsRequest(Id.SubscriptionId, body).Request, response, OperationFinalStateVia.Location); + if (waitUntil == WaitUntil.Completed) + operation.WaitForCompletionResponse(cancellationToken); + return operation; + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + /// /// List Activation Links /// @@ -448,7 +540,7 @@ public virtual ArmOperation CreateOrUpdate(WaitUntil /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -490,7 +582,7 @@ public virtual async Task> GetActivati /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -532,7 +624,7 @@ public virtual ArmOperation GetActivationLinks(Wait /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -574,7 +666,7 @@ public virtual async Task> GetCloudAccountDeta /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -616,7 +708,7 @@ public virtual ArmOperation GetCloudAccountDetails(WaitUnti /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -658,7 +750,7 @@ public virtual async Task> GetSaasSubscrip /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/OracleSystemVersionCollection.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/OracleSystemVersionCollection.cs index c9bee9e10153..c4f521cb1d96 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/OracleSystemVersionCollection.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/OracleSystemVersionCollection.cs @@ -68,7 +68,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -113,7 +113,7 @@ public virtual async Task> GetAsync(string /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -158,7 +158,7 @@ public virtual Response Get(string systemversionnam /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -188,7 +188,7 @@ public virtual AsyncPageable GetAllAsync(Cancellati /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -218,7 +218,7 @@ public virtual Pageable GetAll(CancellationToken ca /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -261,7 +261,7 @@ public virtual async Task> ExistsAsync(string systemversionname, /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -304,7 +304,7 @@ public virtual Response Exists(string systemversionname, CancellationToken /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -349,7 +349,7 @@ public virtual async Task> GetIfEx /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/OracleSystemVersionResource.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/OracleSystemVersionResource.cs index 3ccef66e54d9..2320826c63b6 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/OracleSystemVersionResource.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/OracleSystemVersionResource.cs @@ -101,7 +101,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource @@ -141,7 +141,7 @@ public virtual async Task> GetAsync(Cancel /// /// /// Default Api Version - /// 2023-09-01 + /// 2024-06-01 /// /// /// Resource diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/RestOperations/AutonomousDatabaseBackupsRestOperations.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/RestOperations/AutonomousDatabaseBackupsRestOperations.cs index 6012ec7c8c91..d42e98c80768 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/RestOperations/AutonomousDatabaseBackupsRestOperations.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/RestOperations/AutonomousDatabaseBackupsRestOperations.cs @@ -32,7 +32,7 @@ public AutonomousDatabaseBackupsRestOperations(HttpPipeline pipeline, string app { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2023-09-01"; + _apiVersion = apiVersion ?? "2024-06-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/RestOperations/AutonomousDatabaseCharacterSetsRestOperations.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/RestOperations/AutonomousDatabaseCharacterSetsRestOperations.cs index d95c3dfd3ef2..dd87730d8f14 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/RestOperations/AutonomousDatabaseCharacterSetsRestOperations.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/RestOperations/AutonomousDatabaseCharacterSetsRestOperations.cs @@ -32,7 +32,7 @@ public AutonomousDatabaseCharacterSetsRestOperations(HttpPipeline pipeline, stri { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2023-09-01"; + _apiVersion = apiVersion ?? "2024-06-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/RestOperations/AutonomousDatabaseNationalCharacterSetsRestOperations.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/RestOperations/AutonomousDatabaseNationalCharacterSetsRestOperations.cs index 0521d0601314..cb89d906d0c9 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/RestOperations/AutonomousDatabaseNationalCharacterSetsRestOperations.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/RestOperations/AutonomousDatabaseNationalCharacterSetsRestOperations.cs @@ -32,7 +32,7 @@ public AutonomousDatabaseNationalCharacterSetsRestOperations(HttpPipeline pipeli { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2023-09-01"; + _apiVersion = apiVersion ?? "2024-06-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/RestOperations/AutonomousDatabaseVersionsRestOperations.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/RestOperations/AutonomousDatabaseVersionsRestOperations.cs index 63551352bec6..ed01e52433fc 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/RestOperations/AutonomousDatabaseVersionsRestOperations.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/RestOperations/AutonomousDatabaseVersionsRestOperations.cs @@ -32,7 +32,7 @@ public AutonomousDatabaseVersionsRestOperations(HttpPipeline pipeline, string ap { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2023-09-01"; + _apiVersion = apiVersion ?? "2024-06-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/RestOperations/AutonomousDatabasesRestOperations.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/RestOperations/AutonomousDatabasesRestOperations.cs index 64b79ad12a50..a2b179a540d3 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/RestOperations/AutonomousDatabasesRestOperations.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/RestOperations/AutonomousDatabasesRestOperations.cs @@ -32,7 +32,7 @@ public AutonomousDatabasesRestOperations(HttpPipeline pipeline, string applicati { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2023-09-01"; + _apiVersion = apiVersion ?? "2024-06-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/RestOperations/CloudExadataInfrastructuresRestOperations.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/RestOperations/CloudExadataInfrastructuresRestOperations.cs index 65bc8d6fc938..5e40931dd5f8 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/RestOperations/CloudExadataInfrastructuresRestOperations.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/RestOperations/CloudExadataInfrastructuresRestOperations.cs @@ -32,7 +32,7 @@ public CloudExadataInfrastructuresRestOperations(HttpPipeline pipeline, string a { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2023-09-01"; + _apiVersion = apiVersion ?? "2024-06-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/RestOperations/CloudVmClustersRestOperations.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/RestOperations/CloudVmClustersRestOperations.cs index b47efa75f790..ad316181966f 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/RestOperations/CloudVmClustersRestOperations.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/RestOperations/CloudVmClustersRestOperations.cs @@ -33,7 +33,7 @@ public CloudVmClustersRestOperations(HttpPipeline pipeline, string applicationId { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2023-09-01"; + _apiVersion = apiVersion ?? "2024-06-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/RestOperations/DbNodesRestOperations.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/RestOperations/DbNodesRestOperations.cs index f082d6464af5..de9be8b9a4b4 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/RestOperations/DbNodesRestOperations.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/RestOperations/DbNodesRestOperations.cs @@ -32,7 +32,7 @@ public DbNodesRestOperations(HttpPipeline pipeline, string applicationId, Uri en { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2023-09-01"; + _apiVersion = apiVersion ?? "2024-06-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/RestOperations/DbServersRestOperations.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/RestOperations/DbServersRestOperations.cs index cb68b4bb480a..0fa62104760f 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/RestOperations/DbServersRestOperations.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/RestOperations/DbServersRestOperations.cs @@ -32,7 +32,7 @@ public DbServersRestOperations(HttpPipeline pipeline, string applicationId, Uri { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2023-09-01"; + _apiVersion = apiVersion ?? "2024-06-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/RestOperations/DbSystemShapesRestOperations.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/RestOperations/DbSystemShapesRestOperations.cs index 4662323d4f9e..48ed2fbd0865 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/RestOperations/DbSystemShapesRestOperations.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/RestOperations/DbSystemShapesRestOperations.cs @@ -32,7 +32,7 @@ public DbSystemShapesRestOperations(HttpPipeline pipeline, string applicationId, { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2023-09-01"; + _apiVersion = apiVersion ?? "2024-06-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/RestOperations/DnsPrivateViewsRestOperations.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/RestOperations/DnsPrivateViewsRestOperations.cs index 4965ffde7211..fbb0911c55f6 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/RestOperations/DnsPrivateViewsRestOperations.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/RestOperations/DnsPrivateViewsRestOperations.cs @@ -32,7 +32,7 @@ public DnsPrivateViewsRestOperations(HttpPipeline pipeline, string applicationId { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2023-09-01"; + _apiVersion = apiVersion ?? "2024-06-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/RestOperations/DnsPrivateZonesRestOperations.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/RestOperations/DnsPrivateZonesRestOperations.cs index 139c56b8cea9..11f584e968f9 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/RestOperations/DnsPrivateZonesRestOperations.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/RestOperations/DnsPrivateZonesRestOperations.cs @@ -32,7 +32,7 @@ public DnsPrivateZonesRestOperations(HttpPipeline pipeline, string applicationId { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2023-09-01"; + _apiVersion = apiVersion ?? "2024-06-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/RestOperations/GiVersionsRestOperations.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/RestOperations/GiVersionsRestOperations.cs index b35bad7f6b9d..7c4e33442a9d 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/RestOperations/GiVersionsRestOperations.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/RestOperations/GiVersionsRestOperations.cs @@ -32,7 +32,7 @@ public GiVersionsRestOperations(HttpPipeline pipeline, string applicationId, Uri { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2023-09-01"; + _apiVersion = apiVersion ?? "2024-06-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/RestOperations/OracleSubscriptionsRestOperations.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/RestOperations/OracleSubscriptionsRestOperations.cs index f3f259450439..4592bb45bbbc 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/RestOperations/OracleSubscriptionsRestOperations.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/RestOperations/OracleSubscriptionsRestOperations.cs @@ -32,7 +32,7 @@ public OracleSubscriptionsRestOperations(HttpPipeline pipeline, string applicati { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2023-09-01"; + _apiVersion = apiVersion ?? "2024-06-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } @@ -422,6 +422,82 @@ public Response Delete(string subscriptionId, CancellationToken cancellationToke } } + internal RequestUriBuilder CreateAddAzureSubscriptionsRequestUri(string subscriptionId, AzureSubscriptions body) + { + var uri = new RawRequestUriBuilder(); + uri.Reset(_endpoint); + uri.AppendPath("/subscriptions/", false); + uri.AppendPath(subscriptionId, true); + uri.AppendPath("/providers/Oracle.Database/oracleSubscriptions/default/addAzureSubscriptions", false); + uri.AppendQuery("api-version", _apiVersion, true); + return uri; + } + + internal HttpMessage CreateAddAzureSubscriptionsRequest(string subscriptionId, AzureSubscriptions body) + { + var message = _pipeline.CreateMessage(); + var request = message.Request; + request.Method = RequestMethod.Post; + var uri = new RawRequestUriBuilder(); + uri.Reset(_endpoint); + uri.AppendPath("/subscriptions/", false); + uri.AppendPath(subscriptionId, true); + uri.AppendPath("/providers/Oracle.Database/oracleSubscriptions/default/addAzureSubscriptions", false); + uri.AppendQuery("api-version", _apiVersion, true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(body, ModelSerializationExtensions.WireOptions); + request.Content = content; + _userAgent.Apply(message); + return message; + } + + /// Add Azure Subscriptions. + /// The ID of the target subscription. The value must be an UUID. + /// The content of the action request. + /// The cancellation token to use. + /// or is null. + /// is an empty string, and was expected to be non-empty. + public async Task AddAzureSubscriptionsAsync(string subscriptionId, AzureSubscriptions body, CancellationToken cancellationToken = default) + { + Argument.AssertNotNullOrEmpty(subscriptionId, nameof(subscriptionId)); + Argument.AssertNotNull(body, nameof(body)); + + using var message = CreateAddAzureSubscriptionsRequest(subscriptionId, body); + await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); + switch (message.Response.Status) + { + case 202: + return message.Response; + default: + throw new RequestFailedException(message.Response); + } + } + + /// Add Azure Subscriptions. + /// The ID of the target subscription. The value must be an UUID. + /// The content of the action request. + /// The cancellation token to use. + /// or is null. + /// is an empty string, and was expected to be non-empty. + public Response AddAzureSubscriptions(string subscriptionId, AzureSubscriptions body, CancellationToken cancellationToken = default) + { + Argument.AssertNotNullOrEmpty(subscriptionId, nameof(subscriptionId)); + Argument.AssertNotNull(body, nameof(body)); + + using var message = CreateAddAzureSubscriptionsRequest(subscriptionId, body); + _pipeline.Send(message, cancellationToken); + switch (message.Response.Status) + { + case 202: + return message.Response; + default: + throw new RequestFailedException(message.Response); + } + } + internal RequestUriBuilder CreateListActivationLinksRequestUri(string subscriptionId) { var uri = new RawRequestUriBuilder(); diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/RestOperations/SystemVersionsRestOperations.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/RestOperations/SystemVersionsRestOperations.cs index 75fed813e12c..7d2548ec157e 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/RestOperations/SystemVersionsRestOperations.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/RestOperations/SystemVersionsRestOperations.cs @@ -32,7 +32,7 @@ public SystemVersionsRestOperations(HttpPipeline pipeline, string applicationId, { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2023-09-01"; + _apiVersion = apiVersion ?? "2024-06-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/RestOperations/VirtualNetworkAddressesRestOperations.cs b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/RestOperations/VirtualNetworkAddressesRestOperations.cs index f5075227a24b..9b5ababd2566 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/RestOperations/VirtualNetworkAddressesRestOperations.cs +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/Generated/RestOperations/VirtualNetworkAddressesRestOperations.cs @@ -32,7 +32,7 @@ public VirtualNetworkAddressesRestOperations(HttpPipeline pipeline, string appli { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2023-09-01"; + _apiVersion = apiVersion ?? "2024-06-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/autorest.md b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/autorest.md index 80c535d9b1a0..d77ba24095c9 100644 --- a/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/autorest.md +++ b/sdk/oracle/Azure.ResourceManager.OracleDatabase/src/autorest.md @@ -7,7 +7,7 @@ azure-arm: true csharp: true library-name: OracleDatabase namespace: Azure.ResourceManager.OracleDatabase -require: https://github.com/Azure/azure-rest-api-specs/blob/ec7ee8842bf615c2f0354bf8b5b8725fdac9454a/specification/oracle/resource-manager/readme.md +require: /mnt/vss/_work/1/s/azure-rest-api-specs/specification/oracle/resource-manager/readme.md #tag: package-2023-09-01 output-folder: $(this-folder)/Generated clear-output-folder: true