From 0392568a40b28e546824b3940545b25b4f54b60a Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Fri, 18 Nov 2022 11:44:06 +0000 Subject: [PATCH] CodeGen from PR 21604 in Azure/azure-rest-api-specs Merge c4af63228e94bc9e50f89ad233f0e1bfade7542b into be6cd9ccfcb6ba08c1c206627026eabfbff31fc1 --- ...esourceManager.Workloads.netstandard2.0.cs | 64 ++++++++++++++++ .../SubscriptionResourceExtensionClient.cs | 20 ++--- .../Extensions/WorkloadsExtensions.cs | 28 +++---- .../Models/CentralServerVmDetails.cs | 2 +- .../src/Generated/Models/ConfigurationType.cs | 54 +++++++++++++ ...untFileShareConfiguration.Serialization.cs | 59 ++++++++++++++ .../CreateAndMountFileShareConfiguration.cs | 35 +++++++++ ...roviderInstanceProperties.Serialization.cs | 34 ++++++++- .../Models/DB2ProviderInstanceProperties.cs | 10 ++- .../src/Generated/Models/DatabaseVmDetails.cs | 2 +- .../Models/DeploymentConfiguration.cs | 4 +- .../Models/DeploymentWithOSConfiguration.cs | 4 +- .../EnqueueReplicationServerProperties.cs | 26 +++---- .../Models/EnqueueServerProperties.cs | 18 ++--- ...tionSoftwareConfiguration.Serialization.cs | 48 ++++++++++++ ...ternalInstallationSoftwareConfiguration.cs | 31 ++++++++ .../FileShareConfiguration.Serialization.cs | 37 +++++++++ .../Models/FileShareConfiguration.cs | 32 ++++++++ .../Models/GatewayServerProperties.cs | 8 +- ...roviderInstanceProperties.Serialization.cs | 34 ++++++++- .../HanaDBProviderInstanceProperties.cs | 10 ++- .../Models/InfrastructureConfiguration.cs | 4 +- .../Models/MessageServerProperties.cs | 30 ++++---- ...untFileShareConfiguration.Serialization.cs | 53 +++++++++++++ .../Models/MountFileShareConfiguration.cs | 46 +++++++++++ ...roviderInstanceProperties.Serialization.cs | 34 ++++++++- .../MsSqlServerProviderInstanceProperties.cs | 10 ++- .../Generated/Models/NetworkConfiguration.cs | 6 +- ...roviderInstanceProperties.Serialization.cs | 34 ++++++++- ...heusHAClusterProviderInstanceProperties.cs | 10 ++- ...roviderInstanceProperties.Serialization.cs | 34 ++++++++- .../PrometheusOSProviderInstanceProperties.cs | 10 ++- .../SapApplicationServerInstanceList.cs | 6 +- .../Models/SapCentralInstanceList.cs | 6 +- .../src/Generated/Models/SapDeploymentType.cs | 2 +- .../src/Generated/Models/SapHealthState.cs | 2 +- .../Models/SapMonitorData.Serialization.cs | 35 ++++++++- .../Models/SapMonitorPatch.Serialization.cs | 5 ++ .../src/Generated/Models/SapMonitorPatch.cs | 6 +- ...roviderInstanceProperties.Serialization.cs | 34 ++++++++- .../SapNetWeaverProviderInstanceProperties.cs | 10 ++- .../SapProviderInstanceData.Serialization.cs | 18 ++++- .../Models/SapSizingRecommendationResult.cs | 4 +- .../Models/SapSoftwareInstallationType.cs | 3 + .../Models/SapVirtualInstanceList.cs | 6 +- .../Models/SapVirtualInstanceState.cs | 6 ++ .../Models/SingleServerConfiguration.cs | 4 +- .../SingleServerRecommendationResult.cs | 2 +- ...kipFileShareConfiguration.Serialization.cs | 37 +++++++++ .../Models/SkipFileShareConfiguration.cs | 26 +++++++ .../SoftwareConfiguration.Serialization.cs | 1 + .../Generated/Models/SoftwareConfiguration.cs | 2 +- .../src/Generated/Models/SslPreference.cs | 54 +++++++++++++ .../StorageConfiguration.Serialization.cs | 45 +++++++++++ .../Generated/Models/StorageConfiguration.cs | 36 +++++++++ .../ThreeTierConfiguration.Serialization.cs | 18 ++++- .../Models/ThreeTierConfiguration.cs | 26 ++++++- .../Models/ThreeTierRecommendationResult.cs | 2 +- ...ownFileShareConfiguration.Serialization.cs | 37 +++++++++ .../Models/UnknownFileShareConfiguration.cs | 20 +++++ .../UnknownInfrastructureConfiguration.cs | 2 +- .../UnknownSapSizingRecommendationResult.cs | 2 +- .../RestOperations/MonitorsRestOperations.cs | 4 +- ...pplicationServerInstancesRestOperations.cs | 72 +++++++++--------- .../SAPCentralInstancesRestOperations.cs | 72 +++++++++--------- .../SAPDatabaseInstancesRestOperations.cs | 72 +++++++++--------- .../SAPVirtualInstancesRestOperations.cs | 76 +++++++++---------- .../RestOperations/WorkloadsRestOperations.cs | 16 ++-- .../SapApplicationServerInstanceCollection.cs | 28 +++---- .../SapApplicationServerInstanceData.cs | 40 +++++----- .../SapApplicationServerInstanceResource.cs | 16 ++-- .../SapCentralServerInstanceCollection.cs | 28 +++---- .../Generated/SapCentralServerInstanceData.cs | 40 +++++----- .../SapCentralServerInstanceResource.cs | 16 ++-- .../SapDatabaseInstanceCollection.cs | 28 +++---- .../src/Generated/SapDatabaseInstanceData.cs | 24 +++--- .../Generated/SapDatabaseInstanceResource.cs | 16 ++-- .../src/Generated/SapMonitorData.cs | 14 +++- .../src/Generated/SapMonitorResource.cs | 8 +- .../src/Generated/SapProviderInstanceData.cs | 6 +- .../Generated/SapProviderInstanceResource.cs | 4 +- .../Generated/SapVirtualInstanceCollection.cs | 28 +++---- .../src/Generated/SapVirtualInstanceData.cs | 14 ++-- .../Generated/SapVirtualInstanceResource.cs | 52 ++++++------- .../src/autorest.md | 2 +- 85 files changed, 1518 insertions(+), 446 deletions(-) create mode 100644 sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/ConfigurationType.cs create mode 100644 sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/CreateAndMountFileShareConfiguration.Serialization.cs create mode 100644 sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/CreateAndMountFileShareConfiguration.cs create mode 100644 sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/ExternalInstallationSoftwareConfiguration.Serialization.cs create mode 100644 sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/ExternalInstallationSoftwareConfiguration.cs create mode 100644 sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/FileShareConfiguration.Serialization.cs create mode 100644 sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/FileShareConfiguration.cs create mode 100644 sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/MountFileShareConfiguration.Serialization.cs create mode 100644 sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/MountFileShareConfiguration.cs create mode 100644 sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SkipFileShareConfiguration.Serialization.cs create mode 100644 sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SkipFileShareConfiguration.cs create mode 100644 sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SslPreference.cs create mode 100644 sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/StorageConfiguration.Serialization.cs create mode 100644 sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/StorageConfiguration.cs create mode 100644 sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/UnknownFileShareConfiguration.Serialization.cs create mode 100644 sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/UnknownFileShareConfiguration.cs diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/api/Azure.ResourceManager.Workloads.netstandard2.0.cs b/sdk/workloads/Azure.ResourceManager.Workloads/api/Azure.ResourceManager.Workloads.netstandard2.0.cs index 73f296f4dbb58..38476c1475b5f 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/api/Azure.ResourceManager.Workloads.netstandard2.0.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/api/Azure.ResourceManager.Workloads.netstandard2.0.cs @@ -229,12 +229,15 @@ public partial class SapMonitorData : Azure.ResourceManager.Models.TrackedResour public SapMonitorData(Azure.Core.AzureLocation location) : base (default(Azure.Core.AzureLocation)) { } public Azure.Core.AzureLocation? AppLocation { get { throw null; } set { } } public Azure.ResponseError Errors { get { throw null; } } + public Azure.ResourceManager.Workloads.Models.UserAssignedServiceIdentity Identity { get { throw null; } set { } } public Azure.Core.ResourceIdentifier LogAnalyticsWorkspaceArmId { get { throw null; } set { } } public string ManagedResourceGroupName { get { throw null; } set { } } public Azure.Core.ResourceIdentifier MonitorSubnetId { get { throw null; } set { } } public Azure.Core.ResourceIdentifier MsiArmId { get { throw null; } } public Azure.ResourceManager.Workloads.Models.WorkloadMonitorProvisioningState? ProvisioningState { get { throw null; } } public Azure.ResourceManager.Workloads.Models.RoutingPreference? RoutingPreference { get { throw null; } set { } } + public string StorageAccountArmId { get { throw null; } } + public string ZoneRedundancyPreference { get { throw null; } set { } } } public partial class SapMonitorResource : Azure.ResourceManager.ArmResource { @@ -278,6 +281,7 @@ public partial class SapProviderInstanceData : Azure.ResourceManager.Models.Reso { public SapProviderInstanceData() { } public Azure.ResponseError Errors { get { throw null; } } + public Azure.ResourceManager.Workloads.Models.UserAssignedServiceIdentity Identity { get { throw null; } set { } } public Azure.ResourceManager.Workloads.Models.ProviderSpecificProperties ProviderSettings { get { throw null; } set { } } public Azure.ResourceManager.Workloads.Models.WorkloadMonitorProvisioningState? ProvisioningState { get { throw null; } } } @@ -518,6 +522,12 @@ internal CentralServerVmDetails() { } public Azure.Core.ResourceIdentifier VirtualMachineId { get { throw null; } } public Azure.ResourceManager.Workloads.Models.CentralServerVirtualMachineType? VirtualMachineType { get { throw null; } } } + public partial class CreateAndMountFileShareConfiguration : Azure.ResourceManager.Workloads.Models.FileShareConfiguration + { + public CreateAndMountFileShareConfiguration() { } + public string ResourceGroup { get { throw null; } set { } } + public string StorageAccountName { get { throw null; } set { } } + } public partial class DatabaseConfiguration { public DatabaseConfiguration(Azure.Core.ResourceIdentifier subnetId, Azure.ResourceManager.Workloads.Models.VirtualMachineConfiguration virtualMachineConfiguration, long instanceCount) { } @@ -581,6 +591,8 @@ public DB2ProviderInstanceProperties() { } public string DBUsername { get { throw null; } set { } } public string Hostname { get { throw null; } set { } } public string SapSid { get { throw null; } set { } } + public System.Uri SslCertificateUri { get { throw null; } set { } } + public Azure.ResourceManager.Workloads.Models.SslPreference? SslPreference { get { throw null; } set { } } } public partial class DeployerVmPackages { @@ -694,6 +706,15 @@ public EnqueueServerProperties() { } public string IPAddress { get { throw null; } } public long? Port { get { throw null; } } } + public partial class ExternalInstallationSoftwareConfiguration : Azure.ResourceManager.Workloads.Models.SoftwareConfiguration + { + public ExternalInstallationSoftwareConfiguration() { } + public string CentralServerVmId { get { throw null; } set { } } + } + public abstract partial class FileShareConfiguration + { + protected FileShareConfiguration() { } + } public partial class FileshareProfile { public FileshareProfile(Azure.ResourceManager.Workloads.Models.FileShareType shareType, Azure.ResourceManager.Workloads.Models.FileShareStorageType storageType) { } @@ -776,7 +797,9 @@ public HanaDBProviderInstanceProperties() { } public string Hostname { get { throw null; } set { } } public string InstanceNumber { get { throw null; } set { } } public string SqlPort { get { throw null; } set { } } + public System.Uri SslCertificateUri { get { throw null; } set { } } public string SslHostNameInCertificate { get { throw null; } set { } } + public Azure.ResourceManager.Workloads.Models.SslPreference? SslPreference { get { throw null; } set { } } } public partial class HighAvailabilitySoftwareConfiguration { @@ -871,6 +894,12 @@ public MessageServerProperties() { } public string IPAddress { get { throw null; } } public long? MsPort { get { throw null; } } } + public partial class MountFileShareConfiguration : Azure.ResourceManager.Workloads.Models.FileShareConfiguration + { + public MountFileShareConfiguration(string id, string privateEndpointId) { } + public string Id { get { throw null; } set { } } + public string PrivateEndpointId { get { throw null; } set { } } + } public partial class MsSqlServerProviderInstanceProperties : Azure.ResourceManager.Workloads.Models.ProviderSpecificProperties { public MsSqlServerProviderInstanceProperties() { } @@ -880,6 +909,8 @@ public MsSqlServerProviderInstanceProperties() { } public string DBUsername { get { throw null; } set { } } public string Hostname { get { throw null; } set { } } public string SapSid { get { throw null; } set { } } + public System.Uri SslCertificateUri { get { throw null; } set { } } + public Azure.ResourceManager.Workloads.Models.SslPreference? SslPreference { get { throw null; } set { } } } public partial class NetworkProfile { @@ -1063,11 +1094,15 @@ public PrometheusHAClusterProviderInstanceProperties() { } public string Hostname { get { throw null; } set { } } public System.Uri PrometheusUri { get { throw null; } set { } } public string Sid { get { throw null; } set { } } + public System.Uri SslCertificateUri { get { throw null; } set { } } + public Azure.ResourceManager.Workloads.Models.SslPreference? SslPreference { get { throw null; } set { } } } public partial class PrometheusOSProviderInstanceProperties : Azure.ResourceManager.Workloads.Models.ProviderSpecificProperties { public PrometheusOSProviderInstanceProperties() { } public System.Uri PrometheusUri { get { throw null; } set { } } + public System.Uri SslCertificateUri { get { throw null; } set { } } + public Azure.ResourceManager.Workloads.Models.SslPreference? SslPreference { get { throw null; } set { } } } public abstract partial class ProviderSpecificProperties { @@ -1298,6 +1333,7 @@ public SapInstallWithoutOSConfigSoftwareConfiguration(System.Uri bomUri, string public partial class SapMonitorPatch { public SapMonitorPatch() { } + public Azure.ResourceManager.Workloads.Models.UserAssignedServiceIdentity Identity { get { throw null; } set { } } public System.Collections.Generic.IDictionary Tags { get { throw null; } } } public partial class SapNetWeaverProviderInstanceProperties : Azure.ResourceManager.Workloads.Models.ProviderSpecificProperties @@ -1313,6 +1349,8 @@ public SapNetWeaverProviderInstanceProperties() { } public string SapSid { get { throw null; } set { } } public System.Uri SapSslCertificateUri { get { throw null; } set { } } public string SapUsername { get { throw null; } set { } } + public System.Uri SslCertificateUri { get { throw null; } set { } } + public Azure.ResourceManager.Workloads.Models.SslPreference? SslPreference { get { throw null; } set { } } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct SapProductType : System.IEquatable @@ -1419,6 +1457,8 @@ public SapVirtualInstancePatch() { } public static Azure.ResourceManager.Workloads.Models.SapVirtualInstanceState InfrastructureDeploymentInProgress { get { throw null; } } public static Azure.ResourceManager.Workloads.Models.SapVirtualInstanceState InfrastructureDeploymentPending { get { throw null; } } public static Azure.ResourceManager.Workloads.Models.SapVirtualInstanceState RegistrationComplete { get { throw null; } } + public static Azure.ResourceManager.Workloads.Models.SapVirtualInstanceState SoftwareDetectionFailed { get { throw null; } } + public static Azure.ResourceManager.Workloads.Models.SapVirtualInstanceState SoftwareDetectionInProgress { get { throw null; } } public static Azure.ResourceManager.Workloads.Models.SapVirtualInstanceState SoftwareInstallationFailed { get { throw null; } } public static Azure.ResourceManager.Workloads.Models.SapVirtualInstanceState SoftwareInstallationInProgress { get { throw null; } } public static Azure.ResourceManager.Workloads.Models.SapVirtualInstanceState SoftwareInstallationPending { get { throw null; } } @@ -1499,6 +1539,10 @@ public partial class SingleServerRecommendationResult : Azure.ResourceManager.Wo internal SingleServerRecommendationResult() { } public string VmSku { get { throw null; } } } + public partial class SkipFileShareConfiguration : Azure.ResourceManager.Workloads.Models.FileShareConfiguration + { + public SkipFileShareConfiguration() { } + } public partial class SkuCapability { internal SkuCapability() { } @@ -1604,6 +1648,25 @@ public partial class SshPublicKey public SshPublicKey() { } public string KeyData { get { throw null; } set { } } } + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] + public readonly partial struct SslPreference : System.IEquatable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public SslPreference(string value) { throw null; } + public static Azure.ResourceManager.Workloads.Models.SslPreference Disabled { get { throw null; } } + public static Azure.ResourceManager.Workloads.Models.SslPreference RootCertificate { get { throw null; } } + public static Azure.ResourceManager.Workloads.Models.SslPreference ServerCertificate { get { throw null; } } + public bool Equals(Azure.ResourceManager.Workloads.Models.SslPreference 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.Workloads.Models.SslPreference left, Azure.ResourceManager.Workloads.Models.SslPreference right) { throw null; } + public static implicit operator Azure.ResourceManager.Workloads.Models.SslPreference (string value) { throw null; } + public static bool operator !=(Azure.ResourceManager.Workloads.Models.SslPreference left, Azure.ResourceManager.Workloads.Models.SslPreference right) { throw null; } + public override string ToString() { throw null; } + } public partial class StopContent { public StopContent() { } @@ -1617,6 +1680,7 @@ public ThreeTierConfiguration(string appResourceGroup, Azure.ResourceManager.Wor public Azure.ResourceManager.Workloads.Models.DatabaseConfiguration DatabaseServer { get { throw null; } set { } } public Azure.ResourceManager.Workloads.Models.SapHighAvailabilityType? HighAvailabilityType { get { throw null; } set { } } public bool? IsSecondaryIPEnabled { get { throw null; } set { } } + public Azure.ResourceManager.Workloads.Models.FileShareConfiguration StorageTransportFileShareConfiguration { get { throw null; } set { } } } public partial class ThreeTierRecommendationResult : Azure.ResourceManager.Workloads.Models.SapSizingRecommendationResult { diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Extensions/SubscriptionResourceExtensionClient.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Extensions/SubscriptionResourceExtensionClient.cs index c93b1d09c9931..bf9bb32a783c0 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Extensions/SubscriptionResourceExtensionClient.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Extensions/SubscriptionResourceExtensionClient.cs @@ -145,7 +145,7 @@ Page NextPageFunc(string nextLink, int? pageSizeHint) } /// - /// Get SAP sizing recommendations. + /// Get SAP sizing recommendations by providing input SAPS for application tier and memory required for database tier /// Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/{location}/sapVirtualInstanceMetadata/default/getSizingRecommendations /// Operation Id: SAPSizingRecommendations /// @@ -169,7 +169,7 @@ public virtual async Task> SapSizingReco } /// - /// Get SAP sizing recommendations. + /// Get SAP sizing recommendations by providing input SAPS for application tier and memory required for database tier /// Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/{location}/sapVirtualInstanceMetadata/default/getSizingRecommendations /// Operation Id: SAPSizingRecommendations /// @@ -193,7 +193,7 @@ public virtual Response SapSizingRecommendations( } /// - /// Get SAP supported SKUs. + /// Get a list of SAP supported SKUs for ASCS, Application and Database tier. /// Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/{location}/sapVirtualInstanceMetadata/default/getSapSupportedSku /// Operation Id: SAPSupportedSku /// @@ -217,7 +217,7 @@ public virtual async Task> SapSupported } /// - /// Get SAP supported SKUs. + /// Get a list of SAP supported SKUs for ASCS, Application and Database tier. /// Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/{location}/sapVirtualInstanceMetadata/default/getSapSupportedSku /// Operation Id: SAPSupportedSku /// @@ -241,7 +241,7 @@ public virtual Response SapSupportedSku(AzureLoc } /// - /// Get SAP Disk Configurations. + /// Get the SAP Disk Configuration Layout prod/non-prod SAP System. /// Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/{location}/sapVirtualInstanceMetadata/default/getDiskConfigurations /// Operation Id: SAPDiskConfigurations /// @@ -265,7 +265,7 @@ public virtual async Task> SapDiskConfigur } /// - /// Get SAP Disk Configurations. + /// Get the SAP Disk Configuration Layout prod/non-prod SAP System. /// Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/{location}/sapVirtualInstanceMetadata/default/getDiskConfigurations /// Operation Id: SAPDiskConfigurations /// @@ -289,7 +289,7 @@ public virtual Response SapDiskConfigurations(Azure } /// - /// Get SAP Availability Zone Details. + /// Get the recommended SAP Availability Zone Pair Details for your region. /// Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/{location}/sapVirtualInstanceMetadata/default/getAvailabilityZoneDetails /// Operation Id: SAPAvailabilityZoneDetails /// @@ -313,7 +313,7 @@ public virtual async Task> SapAvailab } /// - /// Get SAP Availability Zone Details. + /// Get the recommended SAP Availability Zone Pair Details for your region. /// Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/{location}/sapVirtualInstanceMetadata/default/getAvailabilityZoneDetails /// Operation Id: SAPAvailabilityZoneDetails /// @@ -337,7 +337,7 @@ public virtual Response SapAvailabilityZoneDet } /// - /// Gets all Virtual Instances for SAP in the subscription. + /// Gets all Virtual Instances for SAP solutions resources in a Subscription. /// Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Workloads/sapVirtualInstances /// Operation Id: SAPVirtualInstances_ListBySubscription /// @@ -379,7 +379,7 @@ async Task> NextPageFunc(string nextLink, int? } /// - /// Gets all Virtual Instances for SAP in the subscription. + /// Gets all Virtual Instances for SAP solutions resources in a Subscription. /// Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Workloads/sapVirtualInstances /// Operation Id: SAPVirtualInstances_ListBySubscription /// diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Extensions/WorkloadsExtensions.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Extensions/WorkloadsExtensions.cs index 7b8d616410d81..daba417379481 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Extensions/WorkloadsExtensions.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Extensions/WorkloadsExtensions.cs @@ -55,7 +55,7 @@ public static Pageable GetPhpWorkloadResources(this Subscri } /// - /// Get SAP sizing recommendations. + /// Get SAP sizing recommendations by providing input SAPS for application tier and memory required for database tier /// Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/{location}/sapVirtualInstanceMetadata/default/getSizingRecommendations /// Operation Id: SAPSizingRecommendations /// @@ -69,7 +69,7 @@ public static async Task> SapSizingRecom } /// - /// Get SAP sizing recommendations. + /// Get SAP sizing recommendations by providing input SAPS for application tier and memory required for database tier /// Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/{location}/sapVirtualInstanceMetadata/default/getSizingRecommendations /// Operation Id: SAPSizingRecommendations /// @@ -83,7 +83,7 @@ public static Response SapSizingRecommendations(t } /// - /// Get SAP supported SKUs. + /// Get a list of SAP supported SKUs for ASCS, Application and Database tier. /// Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/{location}/sapVirtualInstanceMetadata/default/getSapSupportedSku /// Operation Id: SAPSupportedSku /// @@ -97,7 +97,7 @@ public static async Task> SapSupportedS } /// - /// Get SAP supported SKUs. + /// Get a list of SAP supported SKUs for ASCS, Application and Database tier. /// Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/{location}/sapVirtualInstanceMetadata/default/getSapSupportedSku /// Operation Id: SAPSupportedSku /// @@ -111,7 +111,7 @@ public static Response SapSupportedSku(this Subs } /// - /// Get SAP Disk Configurations. + /// Get the SAP Disk Configuration Layout prod/non-prod SAP System. /// Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/{location}/sapVirtualInstanceMetadata/default/getDiskConfigurations /// Operation Id: SAPDiskConfigurations /// @@ -125,7 +125,7 @@ public static async Task> SapDiskConfigura } /// - /// Get SAP Disk Configurations. + /// Get the SAP Disk Configuration Layout prod/non-prod SAP System. /// Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/{location}/sapVirtualInstanceMetadata/default/getDiskConfigurations /// Operation Id: SAPDiskConfigurations /// @@ -139,7 +139,7 @@ public static Response SapDiskConfigurations(this S } /// - /// Get SAP Availability Zone Details. + /// Get the recommended SAP Availability Zone Pair Details for your region. /// Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/{location}/sapVirtualInstanceMetadata/default/getAvailabilityZoneDetails /// Operation Id: SAPAvailabilityZoneDetails /// @@ -153,7 +153,7 @@ public static async Task> SapAvailabi } /// - /// Get SAP Availability Zone Details. + /// Get the recommended SAP Availability Zone Pair Details for your region. /// Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/{location}/sapVirtualInstanceMetadata/default/getAvailabilityZoneDetails /// Operation Id: SAPAvailabilityZoneDetails /// @@ -167,7 +167,7 @@ public static Response SapAvailabilityZoneDeta } /// - /// Gets all Virtual Instances for SAP in the subscription. + /// Gets all Virtual Instances for SAP solutions resources in a Subscription. /// Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Workloads/sapVirtualInstances /// Operation Id: SAPVirtualInstances_ListBySubscription /// @@ -180,7 +180,7 @@ public static AsyncPageable GetSapVirtualInstancesAs } /// - /// Gets all Virtual Instances for SAP in the subscription. + /// Gets all Virtual Instances for SAP solutions resources in a Subscription. /// Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Workloads/sapVirtualInstances /// Operation Id: SAPVirtualInstances_ListBySubscription /// @@ -302,12 +302,12 @@ public static SapVirtualInstanceCollection GetSapVirtualInstances(this ResourceG } /// - /// Gets an Virtual Instance for SAP. + /// Gets a Virtual Instance for SAP solutions resource /// Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName} /// Operation Id: SAPVirtualInstances_Get /// /// The instance the method will execute against. - /// The name of the Virtual Instances for SAP. + /// The name of the Virtual Instances for SAP solutions resource. /// The cancellation token to use. /// is an empty string, and was expected to be non-empty. /// is null. @@ -318,12 +318,12 @@ public static async Task> GetSapVirtualInst } /// - /// Gets an Virtual Instance for SAP. + /// Gets a Virtual Instance for SAP solutions resource /// Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName} /// Operation Id: SAPVirtualInstances_Get /// /// The instance the method will execute against. - /// The name of the Virtual Instances for SAP. + /// The name of the Virtual Instances for SAP solutions resource. /// The cancellation token to use. /// is an empty string, and was expected to be non-empty. /// is null. diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/CentralServerVmDetails.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/CentralServerVmDetails.cs index 204f9cfc4a910..11894aaeb56a2 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/CentralServerVmDetails.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/CentralServerVmDetails.cs @@ -9,7 +9,7 @@ namespace Azure.ResourceManager.Workloads.Models { - /// The Central Server VM Details. + /// The SAP Central Services Instance VM details. public partial class CentralServerVmDetails { /// Initializes a new instance of CentralServerVmDetails. diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/ConfigurationType.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/ConfigurationType.cs new file mode 100644 index 0000000000000..f0631a014cf99 --- /dev/null +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/ConfigurationType.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.Workloads.Models +{ + /// The type of file share config. + internal readonly partial struct ConfigurationType : IEquatable + { + private readonly string _value; + + /// Initializes a new instance of . + /// is null. + public ConfigurationType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + private const string SkipValue = "Skip"; + private const string CreateAndMountValue = "CreateAndMount"; + private const string MountValue = "Mount"; + + /// Skip. + public static ConfigurationType Skip { get; } = new ConfigurationType(SkipValue); + /// CreateAndMount. + public static ConfigurationType CreateAndMount { get; } = new ConfigurationType(CreateAndMountValue); + /// Mount. + public static ConfigurationType Mount { get; } = new ConfigurationType(MountValue); + /// Determines if two values are the same. + public static bool operator ==(ConfigurationType left, ConfigurationType right) => left.Equals(right); + /// Determines if two values are not the same. + public static bool operator !=(ConfigurationType left, ConfigurationType right) => !left.Equals(right); + /// Converts a string to a . + public static implicit operator ConfigurationType(string value) => new ConfigurationType(value); + + /// + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object obj) => obj is ConfigurationType other && Equals(other); + /// + public bool Equals(ConfigurationType other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase); + + /// + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + /// + public override string ToString() => _value; + } +} diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/CreateAndMountFileShareConfiguration.Serialization.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/CreateAndMountFileShareConfiguration.Serialization.cs new file mode 100644 index 0000000000000..570170c3aa01f --- /dev/null +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/CreateAndMountFileShareConfiguration.Serialization.cs @@ -0,0 +1,59 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.Text.Json; +using Azure.Core; + +namespace Azure.ResourceManager.Workloads.Models +{ + public partial class CreateAndMountFileShareConfiguration : IUtf8JsonSerializable + { + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) + { + writer.WriteStartObject(); + if (Optional.IsDefined(ResourceGroup)) + { + writer.WritePropertyName("resourceGroup"); + writer.WriteStringValue(ResourceGroup); + } + if (Optional.IsDefined(StorageAccountName)) + { + writer.WritePropertyName("storageAccountName"); + writer.WriteStringValue(StorageAccountName); + } + writer.WritePropertyName("configurationType"); + writer.WriteStringValue(ConfigurationType.ToString()); + writer.WriteEndObject(); + } + + internal static CreateAndMountFileShareConfiguration DeserializeCreateAndMountFileShareConfiguration(JsonElement element) + { + Optional resourceGroup = default; + Optional storageAccountName = default; + ConfigurationType configurationType = default; + foreach (var property in element.EnumerateObject()) + { + if (property.NameEquals("resourceGroup")) + { + resourceGroup = property.Value.GetString(); + continue; + } + if (property.NameEquals("storageAccountName")) + { + storageAccountName = property.Value.GetString(); + continue; + } + if (property.NameEquals("configurationType")) + { + configurationType = new ConfigurationType(property.Value.GetString()); + continue; + } + } + return new CreateAndMountFileShareConfiguration(configurationType, resourceGroup.Value, storageAccountName.Value); + } + } +} diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/CreateAndMountFileShareConfiguration.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/CreateAndMountFileShareConfiguration.cs new file mode 100644 index 0000000000000..ca818d9845452 --- /dev/null +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/CreateAndMountFileShareConfiguration.cs @@ -0,0 +1,35 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +namespace Azure.ResourceManager.Workloads.Models +{ + /// Gets or sets the file share configuration for file share created with the VIS case. + public partial class CreateAndMountFileShareConfiguration : FileShareConfiguration + { + /// Initializes a new instance of CreateAndMountFileShareConfiguration. + public CreateAndMountFileShareConfiguration() + { + ConfigurationType = ConfigurationType.CreateAndMount; + } + + /// Initializes a new instance of CreateAndMountFileShareConfiguration. + /// The type of file share config. + /// The name of file share resource group. The app rg is used in case of missing input. + /// The name of file share storage account name . A custom name is used in case of missing input. + internal CreateAndMountFileShareConfiguration(ConfigurationType configurationType, string resourceGroup, string storageAccountName) : base(configurationType) + { + ResourceGroup = resourceGroup; + StorageAccountName = storageAccountName; + ConfigurationType = configurationType; + } + + /// The name of file share resource group. The app rg is used in case of missing input. + public string ResourceGroup { get; set; } + /// The name of file share storage account name . A custom name is used in case of missing input. + public string StorageAccountName { get; set; } + } +} diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/DB2ProviderInstanceProperties.Serialization.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/DB2ProviderInstanceProperties.Serialization.cs index 672ae27c8a952..229a7423d7cad 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/DB2ProviderInstanceProperties.Serialization.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/DB2ProviderInstanceProperties.Serialization.cs @@ -51,6 +51,16 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("sapSid"); writer.WriteStringValue(SapSid); } + if (Optional.IsDefined(SslPreference)) + { + writer.WritePropertyName("sslPreference"); + writer.WriteStringValue(SslPreference.Value.ToString()); + } + if (Optional.IsDefined(SslCertificateUri)) + { + writer.WritePropertyName("sslCertificateUri"); + writer.WriteStringValue(SslCertificateUri.AbsoluteUri); + } writer.WritePropertyName("providerType"); writer.WriteStringValue(ProviderType); writer.WriteEndObject(); @@ -65,6 +75,8 @@ internal static DB2ProviderInstanceProperties DeserializeDB2ProviderInstanceProp Optional dbPassword = default; Optional dbPasswordUri = default; Optional sapSid = default; + Optional sslPreference = default; + Optional sslCertificateUri = default; string providerType = default; foreach (var property in element.EnumerateObject()) { @@ -108,13 +120,33 @@ internal static DB2ProviderInstanceProperties DeserializeDB2ProviderInstanceProp sapSid = property.Value.GetString(); continue; } + if (property.NameEquals("sslPreference")) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + property.ThrowNonNullablePropertyIsNull(); + continue; + } + sslPreference = new SslPreference(property.Value.GetString()); + continue; + } + if (property.NameEquals("sslCertificateUri")) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + sslCertificateUri = null; + continue; + } + sslCertificateUri = new Uri(property.Value.GetString()); + continue; + } if (property.NameEquals("providerType")) { providerType = property.Value.GetString(); continue; } } - return new DB2ProviderInstanceProperties(providerType, hostname.Value, dbName.Value, dbPort.Value, dbUsername.Value, dbPassword.Value, dbPasswordUri.Value, sapSid.Value); + return new DB2ProviderInstanceProperties(providerType, hostname.Value, dbName.Value, dbPort.Value, dbUsername.Value, dbPassword.Value, dbPasswordUri.Value, sapSid.Value, Optional.ToNullable(sslPreference), sslCertificateUri.Value); } } } diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/DB2ProviderInstanceProperties.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/DB2ProviderInstanceProperties.cs index c8eddc4f237ca..fea11cbec060d 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/DB2ProviderInstanceProperties.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/DB2ProviderInstanceProperties.cs @@ -27,7 +27,9 @@ public DB2ProviderInstanceProperties() /// Gets or sets the db2 database password. /// Gets or sets the key vault URI to secret with the database password. /// Gets or sets the SAP System Identifier. - internal DB2ProviderInstanceProperties(string providerType, string hostname, string dbName, string dbPort, string dbUsername, string dbPassword, Uri dbPasswordUri, string sapSid) : base(providerType) + /// Gets or sets certificate preference if secure communication is enabled. + /// Gets or sets the blob URI to SSL certificate for the DB2 Database. + internal DB2ProviderInstanceProperties(string providerType, string hostname, string dbName, string dbPort, string dbUsername, string dbPassword, Uri dbPasswordUri, string sapSid, SslPreference? sslPreference, Uri sslCertificateUri) : base(providerType) { Hostname = hostname; DBName = dbName; @@ -36,6 +38,8 @@ internal DB2ProviderInstanceProperties(string providerType, string hostname, str DBPassword = dbPassword; DBPasswordUri = dbPasswordUri; SapSid = sapSid; + SslPreference = sslPreference; + SslCertificateUri = sslCertificateUri; ProviderType = providerType ?? "Db2"; } @@ -53,5 +57,9 @@ internal DB2ProviderInstanceProperties(string providerType, string hostname, str public Uri DBPasswordUri { get; set; } /// Gets or sets the SAP System Identifier. public string SapSid { get; set; } + /// Gets or sets certificate preference if secure communication is enabled. + public SslPreference? SslPreference { get; set; } + /// Gets or sets the blob URI to SSL certificate for the DB2 Database. + public Uri SslCertificateUri { get; set; } } } diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/DatabaseVmDetails.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/DatabaseVmDetails.cs index 3a315267e850f..9dfc84a75b9c6 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/DatabaseVmDetails.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/DatabaseVmDetails.cs @@ -9,7 +9,7 @@ namespace Azure.ResourceManager.Workloads.Models { - /// The Database VM Details. + /// Database VM details. public partial class DatabaseVmDetails { /// Initializes a new instance of DatabaseVmDetails. diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/DeploymentConfiguration.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/DeploymentConfiguration.cs index d4ebce2c43c8e..5e55a9e269ae3 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/DeploymentConfiguration.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/DeploymentConfiguration.cs @@ -29,7 +29,7 @@ public DeploymentConfiguration() /// /// The software configuration. /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. - /// The available derived classes include and . + /// The available derived classes include , and . /// internal DeploymentConfiguration(SapConfigurationType configurationType, AzureLocation? appLocation, InfrastructureConfiguration infrastructureConfiguration, SoftwareConfiguration softwareConfiguration) : base(configurationType) { @@ -50,7 +50,7 @@ internal DeploymentConfiguration(SapConfigurationType configurationType, AzureLo /// /// The software configuration. /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. - /// The available derived classes include and . + /// The available derived classes include , and . /// public SoftwareConfiguration SoftwareConfiguration { get; set; } } diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/DeploymentWithOSConfiguration.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/DeploymentWithOSConfiguration.cs index 6c3fc059cf5b4..bfe7971ced3b6 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/DeploymentWithOSConfiguration.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/DeploymentWithOSConfiguration.cs @@ -29,7 +29,7 @@ public DeploymentWithOSConfiguration() /// /// The software configuration. /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. - /// The available derived classes include and . + /// The available derived classes include , and . /// /// The OS and SAP configuration. internal DeploymentWithOSConfiguration(SapConfigurationType configurationType, AzureLocation? appLocation, InfrastructureConfiguration infrastructureConfiguration, SoftwareConfiguration softwareConfiguration, OSSapConfiguration osSapConfiguration) : base(configurationType) @@ -52,7 +52,7 @@ internal DeploymentWithOSConfiguration(SapConfigurationType configurationType, A /// /// The software configuration. /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. - /// The available derived classes include and . + /// The available derived classes include , and . /// public SoftwareConfiguration SoftwareConfiguration { get; set; } /// The OS and SAP configuration. diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/EnqueueReplicationServerProperties.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/EnqueueReplicationServerProperties.cs index 6d7881fb0fe09..8a6c14af33af7 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/EnqueueReplicationServerProperties.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/EnqueueReplicationServerProperties.cs @@ -7,7 +7,7 @@ namespace Azure.ResourceManager.Workloads.Models { - /// Defines the SAP ERS Server properties. + /// Defines the SAP Enqueue Replication Server (ERS) properties. public partial class EnqueueReplicationServerProperties { /// Initializes a new instance of EnqueueReplicationServerProperties. @@ -17,12 +17,12 @@ public EnqueueReplicationServerProperties() /// Initializes a new instance of EnqueueReplicationServerProperties. /// Defines the type of Enqueue Replication Server. - /// The ERS server instance id. - /// The ERS server SAP host name. - /// The ERS server SAP kernel version. - /// The ERS server SAP kernel patch. - /// The ERS server SAP IP Address. - /// Defines the SAP Instance health. + /// ERS Instance Number. + /// ERS SAP Hostname. + /// ERS SAP Kernel Version. + /// ERS SAP Kernel Patch level. + /// ERS SAP IP Address. + /// Defines the health of SAP Instances. internal EnqueueReplicationServerProperties(EnqueueReplicationServerType? ersVersion, string instanceNo, string hostname, string kernelVersion, string kernelPatch, string ipAddress, SapHealthState? health) { ErsVersion = ersVersion; @@ -36,17 +36,17 @@ internal EnqueueReplicationServerProperties(EnqueueReplicationServerType? ersVer /// Defines the type of Enqueue Replication Server. public EnqueueReplicationServerType? ErsVersion { get; } - /// The ERS server instance id. + /// ERS Instance Number. public string InstanceNo { get; } - /// The ERS server SAP host name. + /// ERS SAP Hostname. public string Hostname { get; } - /// The ERS server SAP kernel version. + /// ERS SAP Kernel Version. public string KernelVersion { get; } - /// The ERS server SAP kernel patch. + /// ERS SAP Kernel Patch level. public string KernelPatch { get; } - /// The ERS server SAP IP Address. + /// ERS SAP IP Address. public string IPAddress { get; } - /// Defines the SAP Instance health. + /// Defines the health of SAP Instances. public SapHealthState? Health { get; } } } diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/EnqueueServerProperties.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/EnqueueServerProperties.cs index e4b67cb5103f6..29a9c65591c72 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/EnqueueServerProperties.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/EnqueueServerProperties.cs @@ -7,7 +7,7 @@ namespace Azure.ResourceManager.Workloads.Models { - /// Defines the SAP enqueue server properties. + /// Defines the SAP Enqueue Server properties. public partial class EnqueueServerProperties { /// Initializes a new instance of EnqueueServerProperties. @@ -16,10 +16,10 @@ public EnqueueServerProperties() } /// Initializes a new instance of EnqueueServerProperties. - /// The enqueue server SAP host name. - /// The enqueue server SAP IP Address. - /// The enqueue server Port. - /// Defines the SAP Instance health. + /// Enqueue Server SAP Hostname. + /// Enqueue Server SAP IP Address. + /// Enqueue Server Port. + /// Defines the health of SAP Instances. internal EnqueueServerProperties(string hostname, string ipAddress, long? port, SapHealthState? health) { Hostname = hostname; @@ -28,13 +28,13 @@ internal EnqueueServerProperties(string hostname, string ipAddress, long? port, Health = health; } - /// The enqueue server SAP host name. + /// Enqueue Server SAP Hostname. public string Hostname { get; } - /// The enqueue server SAP IP Address. + /// Enqueue Server SAP IP Address. public string IPAddress { get; } - /// The enqueue server Port. + /// Enqueue Server Port. public long? Port { get; } - /// Defines the SAP Instance health. + /// Defines the health of SAP Instances. public SapHealthState? Health { get; } } } diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/ExternalInstallationSoftwareConfiguration.Serialization.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/ExternalInstallationSoftwareConfiguration.Serialization.cs new file mode 100644 index 0000000000000..95c8dac590858 --- /dev/null +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/ExternalInstallationSoftwareConfiguration.Serialization.cs @@ -0,0 +1,48 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.Text.Json; +using Azure.Core; + +namespace Azure.ResourceManager.Workloads.Models +{ + public partial class ExternalInstallationSoftwareConfiguration : IUtf8JsonSerializable + { + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) + { + writer.WriteStartObject(); + if (Optional.IsDefined(CentralServerVmId)) + { + writer.WritePropertyName("centralServerVmId"); + writer.WriteStringValue(CentralServerVmId); + } + writer.WritePropertyName("softwareInstallationType"); + writer.WriteStringValue(SoftwareInstallationType.ToString()); + writer.WriteEndObject(); + } + + internal static ExternalInstallationSoftwareConfiguration DeserializeExternalInstallationSoftwareConfiguration(JsonElement element) + { + Optional centralServerVmId = default; + SapSoftwareInstallationType softwareInstallationType = default; + foreach (var property in element.EnumerateObject()) + { + if (property.NameEquals("centralServerVmId")) + { + centralServerVmId = property.Value.GetString(); + continue; + } + if (property.NameEquals("softwareInstallationType")) + { + softwareInstallationType = new SapSoftwareInstallationType(property.Value.GetString()); + continue; + } + } + return new ExternalInstallationSoftwareConfiguration(softwareInstallationType, centralServerVmId.Value); + } + } +} diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/ExternalInstallationSoftwareConfiguration.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/ExternalInstallationSoftwareConfiguration.cs new file mode 100644 index 0000000000000..89595812509d6 --- /dev/null +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/ExternalInstallationSoftwareConfiguration.cs @@ -0,0 +1,31 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +namespace Azure.ResourceManager.Workloads.Models +{ + /// The SAP Software configuration Input when the software is installed externally outside the service. + public partial class ExternalInstallationSoftwareConfiguration : SoftwareConfiguration + { + /// Initializes a new instance of ExternalInstallationSoftwareConfiguration. + public ExternalInstallationSoftwareConfiguration() + { + SoftwareInstallationType = SapSoftwareInstallationType.External; + } + + /// Initializes a new instance of ExternalInstallationSoftwareConfiguration. + /// The SAP software installation Type. + /// The resource ID of the virtual machine containing the central server instance. + internal ExternalInstallationSoftwareConfiguration(SapSoftwareInstallationType softwareInstallationType, string centralServerVmId) : base(softwareInstallationType) + { + CentralServerVmId = centralServerVmId; + SoftwareInstallationType = softwareInstallationType; + } + + /// The resource ID of the virtual machine containing the central server instance. + public string CentralServerVmId { get; set; } + } +} diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/FileShareConfiguration.Serialization.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/FileShareConfiguration.Serialization.cs new file mode 100644 index 0000000000000..546cb5f023fe3 --- /dev/null +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/FileShareConfiguration.Serialization.cs @@ -0,0 +1,37 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.Text.Json; +using Azure.Core; + +namespace Azure.ResourceManager.Workloads.Models +{ + public partial class FileShareConfiguration : IUtf8JsonSerializable + { + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) + { + writer.WriteStartObject(); + writer.WritePropertyName("configurationType"); + writer.WriteStringValue(ConfigurationType.ToString()); + writer.WriteEndObject(); + } + + internal static FileShareConfiguration DeserializeFileShareConfiguration(JsonElement element) + { + if (element.TryGetProperty("configurationType", out JsonElement discriminator)) + { + switch (discriminator.GetString()) + { + case "CreateAndMount": return CreateAndMountFileShareConfiguration.DeserializeCreateAndMountFileShareConfiguration(element); + case "Mount": return MountFileShareConfiguration.DeserializeMountFileShareConfiguration(element); + case "Skip": return SkipFileShareConfiguration.DeserializeSkipFileShareConfiguration(element); + } + } + return UnknownFileShareConfiguration.DeserializeUnknownFileShareConfiguration(element); + } + } +} diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/FileShareConfiguration.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/FileShareConfiguration.cs new file mode 100644 index 0000000000000..c1ca4a38e380a --- /dev/null +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/FileShareConfiguration.cs @@ -0,0 +1,32 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +namespace Azure.ResourceManager.Workloads.Models +{ + /// + /// File Share configuration details, populated with information on storage configuration mounted on the VIS. The createAndMount option is selected in case of missing input. + /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. + /// The available derived classes include , and . + /// + public abstract partial class FileShareConfiguration + { + /// Initializes a new instance of FileShareConfiguration. + protected FileShareConfiguration() + { + } + + /// Initializes a new instance of FileShareConfiguration. + /// The type of file share config. + internal FileShareConfiguration(ConfigurationType configurationType) + { + ConfigurationType = configurationType; + } + + /// The type of file share config. + internal ConfigurationType ConfigurationType { get; set; } + } +} diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/GatewayServerProperties.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/GatewayServerProperties.cs index bb90efa5c1d91..7e2cb7ab01171 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/GatewayServerProperties.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/GatewayServerProperties.cs @@ -16,17 +16,17 @@ public GatewayServerProperties() } /// Initializes a new instance of GatewayServerProperties. - /// The gateway Port. - /// Defines the SAP Instance health. + /// Gateway Port. + /// Defines the health of SAP Instances. internal GatewayServerProperties(long? port, SapHealthState? health) { Port = port; Health = health; } - /// The gateway Port. + /// Gateway Port. public long? Port { get; } - /// Defines the SAP Instance health. + /// Defines the health of SAP Instances. public SapHealthState? Health { get; } } } diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/HanaDBProviderInstanceProperties.Serialization.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/HanaDBProviderInstanceProperties.Serialization.cs index aa71357101e8e..81c561bf7ce36 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/HanaDBProviderInstanceProperties.Serialization.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/HanaDBProviderInstanceProperties.Serialization.cs @@ -56,11 +56,21 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("dbSslCertificateUri"); writer.WriteStringValue(DBSslCertificateUri.AbsoluteUri); } + if (Optional.IsDefined(SslCertificateUri)) + { + writer.WritePropertyName("sslCertificateUri"); + writer.WriteStringValue(SslCertificateUri.AbsoluteUri); + } if (Optional.IsDefined(SslHostNameInCertificate)) { writer.WritePropertyName("sslHostNameInCertificate"); writer.WriteStringValue(SslHostNameInCertificate); } + if (Optional.IsDefined(SslPreference)) + { + writer.WritePropertyName("sslPreference"); + writer.WriteStringValue(SslPreference.Value.ToString()); + } writer.WritePropertyName("providerType"); writer.WriteStringValue(ProviderType); writer.WriteEndObject(); @@ -76,7 +86,9 @@ internal static HanaDBProviderInstanceProperties DeserializeHanaDBProviderInstan Optional dbPassword = default; Optional dbPasswordUri = default; Optional dbSslCertificateUri = default; + Optional sslCertificateUri = default; Optional sslHostNameInCertificate = default; + Optional sslPreference = default; string providerType = default; foreach (var property in element.EnumerateObject()) { @@ -130,18 +142,38 @@ internal static HanaDBProviderInstanceProperties DeserializeHanaDBProviderInstan dbSslCertificateUri = new Uri(property.Value.GetString()); continue; } + if (property.NameEquals("sslCertificateUri")) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + sslCertificateUri = null; + continue; + } + sslCertificateUri = new Uri(property.Value.GetString()); + continue; + } if (property.NameEquals("sslHostNameInCertificate")) { sslHostNameInCertificate = property.Value.GetString(); continue; } + if (property.NameEquals("sslPreference")) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + property.ThrowNonNullablePropertyIsNull(); + continue; + } + sslPreference = new SslPreference(property.Value.GetString()); + continue; + } if (property.NameEquals("providerType")) { providerType = property.Value.GetString(); continue; } } - return new HanaDBProviderInstanceProperties(providerType, hostname.Value, dbName.Value, sqlPort.Value, instanceNumber.Value, dbUsername.Value, dbPassword.Value, dbPasswordUri.Value, dbSslCertificateUri.Value, sslHostNameInCertificate.Value); + return new HanaDBProviderInstanceProperties(providerType, hostname.Value, dbName.Value, sqlPort.Value, instanceNumber.Value, dbUsername.Value, dbPassword.Value, dbPasswordUri.Value, dbSslCertificateUri.Value, sslCertificateUri.Value, sslHostNameInCertificate.Value, Optional.ToNullable(sslPreference)); } } } diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/HanaDBProviderInstanceProperties.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/HanaDBProviderInstanceProperties.cs index a2786b93b6ddd..164fce964d403 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/HanaDBProviderInstanceProperties.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/HanaDBProviderInstanceProperties.cs @@ -28,8 +28,10 @@ public HanaDBProviderInstanceProperties() /// Gets or sets the database password. /// Gets or sets the key vault URI to secret with the database password. /// Gets or sets the blob URI to SSL certificate for the DB. + /// Gets or sets the blob URI to SSL certificate for the DB. /// Gets or sets the hostname(s) in the SSL certificate. - internal HanaDBProviderInstanceProperties(string providerType, string hostname, string dbName, string sqlPort, string instanceNumber, string dbUsername, string dbPassword, Uri dbPasswordUri, Uri dbSslCertificateUri, string sslHostNameInCertificate) : base(providerType) + /// Gets or sets certificate preference if secure communication is enabled. + internal HanaDBProviderInstanceProperties(string providerType, string hostname, string dbName, string sqlPort, string instanceNumber, string dbUsername, string dbPassword, Uri dbPasswordUri, Uri dbSslCertificateUri, Uri sslCertificateUri, string sslHostNameInCertificate, SslPreference? sslPreference) : base(providerType) { Hostname = hostname; DBName = dbName; @@ -39,7 +41,9 @@ internal HanaDBProviderInstanceProperties(string providerType, string hostname, DBPassword = dbPassword; DBPasswordUri = dbPasswordUri; DBSslCertificateUri = dbSslCertificateUri; + SslCertificateUri = sslCertificateUri; SslHostNameInCertificate = sslHostNameInCertificate; + SslPreference = sslPreference; ProviderType = providerType ?? "SapHana"; } @@ -59,7 +63,11 @@ internal HanaDBProviderInstanceProperties(string providerType, string hostname, public Uri DBPasswordUri { get; set; } /// Gets or sets the blob URI to SSL certificate for the DB. public Uri DBSslCertificateUri { get; set; } + /// Gets or sets the blob URI to SSL certificate for the DB. + public Uri SslCertificateUri { get; set; } /// Gets or sets the hostname(s) in the SSL certificate. public string SslHostNameInCertificate { get; set; } + /// Gets or sets certificate preference if secure communication is enabled. + public SslPreference? SslPreference { get; set; } } } diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/InfrastructureConfiguration.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/InfrastructureConfiguration.cs index 5205bbb7576bc..f4dc176496864 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/InfrastructureConfiguration.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/InfrastructureConfiguration.cs @@ -28,7 +28,7 @@ protected InfrastructureConfiguration(string appResourceGroup) } /// Initializes a new instance of InfrastructureConfiguration. - /// The deployment Type. + /// The type of SAP deployment, single server or Three tier. /// The application resource group where SAP system resources will be deployed. internal InfrastructureConfiguration(SapDeploymentType deploymentType, string appResourceGroup) { @@ -36,7 +36,7 @@ internal InfrastructureConfiguration(SapDeploymentType deploymentType, string ap AppResourceGroup = appResourceGroup; } - /// The deployment Type. + /// The type of SAP deployment, single server or Three tier. internal SapDeploymentType DeploymentType { get; set; } /// The application resource group where SAP system resources will be deployed. public string AppResourceGroup { get; set; } diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/MessageServerProperties.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/MessageServerProperties.cs index a16f7d95bf495..7cb291bba5944 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/MessageServerProperties.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/MessageServerProperties.cs @@ -7,7 +7,7 @@ namespace Azure.ResourceManager.Workloads.Models { - /// Defines the SAP message server properties. + /// Defines the SAP Message Server properties. public partial class MessageServerProperties { /// Initializes a new instance of MessageServerProperties. @@ -16,13 +16,13 @@ public MessageServerProperties() } /// Initializes a new instance of MessageServerProperties. - /// The message server port. - /// The message server internal MS port. - /// The message server http port. - /// The message server https port. - /// The message server SAP host name. - /// The message server IP Address. - /// Defines the SAP Instance health. + /// Message Server port. + /// Message Server internal MS port. + /// Message Server HTTP Port. + /// Message Server HTTPS Port. + /// Message Server SAP Hostname. + /// Message server IP Address. + /// Defines the health of SAP Instances. internal MessageServerProperties(long? msPort, long? internalMsPort, long? httpPort, long? httpsPort, string hostname, string ipAddress, SapHealthState? health) { MsPort = msPort; @@ -34,19 +34,19 @@ internal MessageServerProperties(long? msPort, long? internalMsPort, long? httpP Health = health; } - /// The message server port. + /// Message Server port. public long? MsPort { get; } - /// The message server internal MS port. + /// Message Server internal MS port. public long? InternalMsPort { get; } - /// The message server http port. + /// Message Server HTTP Port. public long? HttpPort { get; } - /// The message server https port. + /// Message Server HTTPS Port. public long? HttpsPort { get; } - /// The message server SAP host name. + /// Message Server SAP Hostname. public string Hostname { get; } - /// The message server IP Address. + /// Message server IP Address. public string IPAddress { get; } - /// Defines the SAP Instance health. + /// Defines the health of SAP Instances. public SapHealthState? Health { get; } } } diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/MountFileShareConfiguration.Serialization.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/MountFileShareConfiguration.Serialization.cs new file mode 100644 index 0000000000000..76f6f3a5bdff8 --- /dev/null +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/MountFileShareConfiguration.Serialization.cs @@ -0,0 +1,53 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.Text.Json; +using Azure.Core; + +namespace Azure.ResourceManager.Workloads.Models +{ + public partial class MountFileShareConfiguration : IUtf8JsonSerializable + { + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) + { + writer.WriteStartObject(); + writer.WritePropertyName("id"); + writer.WriteStringValue(Id); + writer.WritePropertyName("privateEndpointId"); + writer.WriteStringValue(PrivateEndpointId); + writer.WritePropertyName("configurationType"); + writer.WriteStringValue(ConfigurationType.ToString()); + writer.WriteEndObject(); + } + + internal static MountFileShareConfiguration DeserializeMountFileShareConfiguration(JsonElement element) + { + string id = default; + string privateEndpointId = default; + ConfigurationType configurationType = default; + foreach (var property in element.EnumerateObject()) + { + if (property.NameEquals("id")) + { + id = property.Value.GetString(); + continue; + } + if (property.NameEquals("privateEndpointId")) + { + privateEndpointId = property.Value.GetString(); + continue; + } + if (property.NameEquals("configurationType")) + { + configurationType = new ConfigurationType(property.Value.GetString()); + continue; + } + } + return new MountFileShareConfiguration(configurationType, id, privateEndpointId); + } + } +} diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/MountFileShareConfiguration.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/MountFileShareConfiguration.cs new file mode 100644 index 0000000000000..f2b298955ff90 --- /dev/null +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/MountFileShareConfiguration.cs @@ -0,0 +1,46 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using Azure.Core; + +namespace Azure.ResourceManager.Workloads.Models +{ + /// Gets or sets the file share configuration for externally mounted cases. + public partial class MountFileShareConfiguration : FileShareConfiguration + { + /// Initializes a new instance of MountFileShareConfiguration. + /// The fileshare resource ID. + /// The private endpoint resource ID. + /// or is null. + public MountFileShareConfiguration(string id, string privateEndpointId) + { + Argument.AssertNotNull(id, nameof(id)); + Argument.AssertNotNull(privateEndpointId, nameof(privateEndpointId)); + + Id = id; + PrivateEndpointId = privateEndpointId; + ConfigurationType = ConfigurationType.Mount; + } + + /// Initializes a new instance of MountFileShareConfiguration. + /// The type of file share config. + /// The fileshare resource ID. + /// The private endpoint resource ID. + internal MountFileShareConfiguration(ConfigurationType configurationType, string id, string privateEndpointId) : base(configurationType) + { + Id = id; + PrivateEndpointId = privateEndpointId; + ConfigurationType = configurationType; + } + + /// The fileshare resource ID. + public string Id { get; set; } + /// The private endpoint resource ID. + public string PrivateEndpointId { get; set; } + } +} diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/MsSqlServerProviderInstanceProperties.Serialization.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/MsSqlServerProviderInstanceProperties.Serialization.cs index 108cb0d876b54..2342ea9afeb19 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/MsSqlServerProviderInstanceProperties.Serialization.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/MsSqlServerProviderInstanceProperties.Serialization.cs @@ -46,6 +46,16 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("sapSid"); writer.WriteStringValue(SapSid); } + if (Optional.IsDefined(SslPreference)) + { + writer.WritePropertyName("sslPreference"); + writer.WriteStringValue(SslPreference.Value.ToString()); + } + if (Optional.IsDefined(SslCertificateUri)) + { + writer.WritePropertyName("sslCertificateUri"); + writer.WriteStringValue(SslCertificateUri.AbsoluteUri); + } writer.WritePropertyName("providerType"); writer.WriteStringValue(ProviderType); writer.WriteEndObject(); @@ -59,6 +69,8 @@ internal static MsSqlServerProviderInstanceProperties DeserializeMsSqlServerProv Optional dbPassword = default; Optional dbPasswordUri = default; Optional sapSid = default; + Optional sslPreference = default; + Optional sslCertificateUri = default; string providerType = default; foreach (var property in element.EnumerateObject()) { @@ -97,13 +109,33 @@ internal static MsSqlServerProviderInstanceProperties DeserializeMsSqlServerProv sapSid = property.Value.GetString(); continue; } + if (property.NameEquals("sslPreference")) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + property.ThrowNonNullablePropertyIsNull(); + continue; + } + sslPreference = new SslPreference(property.Value.GetString()); + continue; + } + if (property.NameEquals("sslCertificateUri")) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + sslCertificateUri = null; + continue; + } + sslCertificateUri = new Uri(property.Value.GetString()); + continue; + } if (property.NameEquals("providerType")) { providerType = property.Value.GetString(); continue; } } - return new MsSqlServerProviderInstanceProperties(providerType, hostname.Value, dbPort.Value, dbUsername.Value, dbPassword.Value, dbPasswordUri.Value, sapSid.Value); + return new MsSqlServerProviderInstanceProperties(providerType, hostname.Value, dbPort.Value, dbUsername.Value, dbPassword.Value, dbPasswordUri.Value, sapSid.Value, Optional.ToNullable(sslPreference), sslCertificateUri.Value); } } } diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/MsSqlServerProviderInstanceProperties.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/MsSqlServerProviderInstanceProperties.cs index b2b552792232d..75b5884398a00 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/MsSqlServerProviderInstanceProperties.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/MsSqlServerProviderInstanceProperties.cs @@ -26,7 +26,9 @@ public MsSqlServerProviderInstanceProperties() /// Gets or sets the database password. /// Gets or sets the key vault URI to secret with the database password. /// Gets or sets the SAP System Identifier. - internal MsSqlServerProviderInstanceProperties(string providerType, string hostname, string dbPort, string dbUsername, string dbPassword, Uri dbPasswordUri, string sapSid) : base(providerType) + /// Gets or sets certificate preference if secure communication is enabled. + /// Gets or sets the blob URI to SSL certificate for the SQL Database. + internal MsSqlServerProviderInstanceProperties(string providerType, string hostname, string dbPort, string dbUsername, string dbPassword, Uri dbPasswordUri, string sapSid, SslPreference? sslPreference, Uri sslCertificateUri) : base(providerType) { Hostname = hostname; DBPort = dbPort; @@ -34,6 +36,8 @@ internal MsSqlServerProviderInstanceProperties(string providerType, string hostn DBPassword = dbPassword; DBPasswordUri = dbPasswordUri; SapSid = sapSid; + SslPreference = sslPreference; + SslCertificateUri = sslCertificateUri; ProviderType = providerType ?? "MsSqlServer"; } @@ -49,5 +53,9 @@ internal MsSqlServerProviderInstanceProperties(string providerType, string hostn public Uri DBPasswordUri { get; set; } /// Gets or sets the SAP System Identifier. public string SapSid { get; set; } + /// Gets or sets certificate preference if secure communication is enabled. + public SslPreference? SslPreference { get; set; } + /// Gets or sets the blob URI to SSL certificate for the SQL Database. + public Uri SslCertificateUri { get; set; } } } diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/NetworkConfiguration.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/NetworkConfiguration.cs index 11c7ad8072194..658141f22d529 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/NetworkConfiguration.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/NetworkConfiguration.cs @@ -7,7 +7,7 @@ namespace Azure.ResourceManager.Workloads.Models { - /// Defines the network configuration for SAP infrastructure. + /// Defines the network configuration type for SAP system infrastructure that is being deployed. internal partial class NetworkConfiguration { /// Initializes a new instance of NetworkConfiguration. @@ -16,13 +16,13 @@ public NetworkConfiguration() } /// Initializes a new instance of NetworkConfiguration. - /// Specifies whether a secondary IP address should be added to the network interface on all VMs. + /// Specifies whether a secondary IP address should be added to the network interface on all VMs of the SAP system being deployed. internal NetworkConfiguration(bool? isSecondaryIPEnabled) { IsSecondaryIPEnabled = isSecondaryIPEnabled; } - /// Specifies whether a secondary IP address should be added to the network interface on all VMs. + /// Specifies whether a secondary IP address should be added to the network interface on all VMs of the SAP system being deployed. public bool? IsSecondaryIPEnabled { get; set; } } } diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/PrometheusHAClusterProviderInstanceProperties.Serialization.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/PrometheusHAClusterProviderInstanceProperties.Serialization.cs index 69122a1d7464a..78e61513453d3 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/PrometheusHAClusterProviderInstanceProperties.Serialization.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/PrometheusHAClusterProviderInstanceProperties.Serialization.cs @@ -36,6 +36,16 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("clusterName"); writer.WriteStringValue(ClusterName); } + if (Optional.IsDefined(SslPreference)) + { + writer.WritePropertyName("sslPreference"); + writer.WriteStringValue(SslPreference.Value.ToString()); + } + if (Optional.IsDefined(SslCertificateUri)) + { + writer.WritePropertyName("sslCertificateUri"); + writer.WriteStringValue(SslCertificateUri.AbsoluteUri); + } writer.WritePropertyName("providerType"); writer.WriteStringValue(ProviderType); writer.WriteEndObject(); @@ -47,6 +57,8 @@ internal static PrometheusHAClusterProviderInstanceProperties DeserializePrometh Optional hostname = default; Optional sid = default; Optional clusterName = default; + Optional sslPreference = default; + Optional sslCertificateUri = default; string providerType = default; foreach (var property in element.EnumerateObject()) { @@ -75,13 +87,33 @@ internal static PrometheusHAClusterProviderInstanceProperties DeserializePrometh clusterName = property.Value.GetString(); continue; } + if (property.NameEquals("sslPreference")) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + property.ThrowNonNullablePropertyIsNull(); + continue; + } + sslPreference = new SslPreference(property.Value.GetString()); + continue; + } + if (property.NameEquals("sslCertificateUri")) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + sslCertificateUri = null; + continue; + } + sslCertificateUri = new Uri(property.Value.GetString()); + continue; + } if (property.NameEquals("providerType")) { providerType = property.Value.GetString(); continue; } } - return new PrometheusHAClusterProviderInstanceProperties(providerType, prometheusUrl.Value, hostname.Value, sid.Value, clusterName.Value); + return new PrometheusHAClusterProviderInstanceProperties(providerType, prometheusUrl.Value, hostname.Value, sid.Value, clusterName.Value, Optional.ToNullable(sslPreference), sslCertificateUri.Value); } } } diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/PrometheusHAClusterProviderInstanceProperties.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/PrometheusHAClusterProviderInstanceProperties.cs index 19535a537583f..7dde038aaae79 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/PrometheusHAClusterProviderInstanceProperties.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/PrometheusHAClusterProviderInstanceProperties.cs @@ -24,12 +24,16 @@ public PrometheusHAClusterProviderInstanceProperties() /// Gets or sets the target machine name. /// Gets or sets the cluster sid. /// Gets or sets the clusterName. - internal PrometheusHAClusterProviderInstanceProperties(string providerType, Uri prometheusUri, string hostname, string sid, string clusterName) : base(providerType) + /// Gets or sets certificate preference if secure communication is enabled. + /// Gets or sets the blob URI to SSL certificate for the HA cluster exporter. + internal PrometheusHAClusterProviderInstanceProperties(string providerType, Uri prometheusUri, string hostname, string sid, string clusterName, SslPreference? sslPreference, Uri sslCertificateUri) : base(providerType) { PrometheusUri = prometheusUri; Hostname = hostname; Sid = sid; ClusterName = clusterName; + SslPreference = sslPreference; + SslCertificateUri = sslCertificateUri; ProviderType = providerType ?? "PrometheusHaCluster"; } @@ -41,5 +45,9 @@ internal PrometheusHAClusterProviderInstanceProperties(string providerType, Uri public string Sid { get; set; } /// Gets or sets the clusterName. public string ClusterName { get; set; } + /// Gets or sets certificate preference if secure communication is enabled. + public SslPreference? SslPreference { get; set; } + /// Gets or sets the blob URI to SSL certificate for the HA cluster exporter. + public Uri SslCertificateUri { get; set; } } } diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/PrometheusOSProviderInstanceProperties.Serialization.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/PrometheusOSProviderInstanceProperties.Serialization.cs index 6323a71c8291e..11d14d477f7cf 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/PrometheusOSProviderInstanceProperties.Serialization.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/PrometheusOSProviderInstanceProperties.Serialization.cs @@ -21,6 +21,16 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("prometheusUrl"); writer.WriteStringValue(PrometheusUri.AbsoluteUri); } + if (Optional.IsDefined(SslPreference)) + { + writer.WritePropertyName("sslPreference"); + writer.WriteStringValue(SslPreference.Value.ToString()); + } + if (Optional.IsDefined(SslCertificateUri)) + { + writer.WritePropertyName("sslCertificateUri"); + writer.WriteStringValue(SslCertificateUri.AbsoluteUri); + } writer.WritePropertyName("providerType"); writer.WriteStringValue(ProviderType); writer.WriteEndObject(); @@ -29,6 +39,8 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) internal static PrometheusOSProviderInstanceProperties DeserializePrometheusOSProviderInstanceProperties(JsonElement element) { Optional prometheusUrl = default; + Optional sslPreference = default; + Optional sslCertificateUri = default; string providerType = default; foreach (var property in element.EnumerateObject()) { @@ -42,13 +54,33 @@ internal static PrometheusOSProviderInstanceProperties DeserializePrometheusOSPr prometheusUrl = new Uri(property.Value.GetString()); continue; } + if (property.NameEquals("sslPreference")) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + property.ThrowNonNullablePropertyIsNull(); + continue; + } + sslPreference = new SslPreference(property.Value.GetString()); + continue; + } + if (property.NameEquals("sslCertificateUri")) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + sslCertificateUri = null; + continue; + } + sslCertificateUri = new Uri(property.Value.GetString()); + continue; + } if (property.NameEquals("providerType")) { providerType = property.Value.GetString(); continue; } } - return new PrometheusOSProviderInstanceProperties(providerType, prometheusUrl.Value); + return new PrometheusOSProviderInstanceProperties(providerType, prometheusUrl.Value, Optional.ToNullable(sslPreference), sslCertificateUri.Value); } } } diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/PrometheusOSProviderInstanceProperties.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/PrometheusOSProviderInstanceProperties.cs index 8f8e994e7e261..d25e2a953ac41 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/PrometheusOSProviderInstanceProperties.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/PrometheusOSProviderInstanceProperties.cs @@ -21,13 +21,21 @@ public PrometheusOSProviderInstanceProperties() /// Initializes a new instance of PrometheusOSProviderInstanceProperties. /// The provider type. For example, the value can be SapHana. /// URL of the Node Exporter endpoint. - internal PrometheusOSProviderInstanceProperties(string providerType, Uri prometheusUri) : base(providerType) + /// Gets or sets certificate preference if secure communication is enabled. + /// Gets or sets the blob URI to SSL certificate for the prometheus node exporter. + internal PrometheusOSProviderInstanceProperties(string providerType, Uri prometheusUri, SslPreference? sslPreference, Uri sslCertificateUri) : base(providerType) { PrometheusUri = prometheusUri; + SslPreference = sslPreference; + SslCertificateUri = sslCertificateUri; ProviderType = providerType ?? "PrometheusOS"; } /// URL of the Node Exporter endpoint. public Uri PrometheusUri { get; set; } + /// Gets or sets certificate preference if secure communication is enabled. + public SslPreference? SslPreference { get; set; } + /// Gets or sets the blob URI to SSL certificate for the prometheus node exporter. + public Uri SslCertificateUri { get; set; } } } diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SapApplicationServerInstanceList.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SapApplicationServerInstanceList.cs index 2e8f7406990ff..e1237ad446eb5 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SapApplicationServerInstanceList.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SapApplicationServerInstanceList.cs @@ -11,7 +11,7 @@ namespace Azure.ResourceManager.Workloads.Models { - /// Defines the collection of SAP Application Server Instances. + /// Defines the collection of SAP Application Server Instance resources. internal partial class SapApplicationServerInstanceList { /// Initializes a new instance of SapApplicationServerInstanceList. @@ -21,7 +21,7 @@ internal SapApplicationServerInstanceList() } /// Initializes a new instance of SapApplicationServerInstanceList. - /// Gets the list of SAP Application Server instances. + /// Gets the list of SAP Application Server instance resources. /// Gets the value of next link. internal SapApplicationServerInstanceList(IReadOnlyList value, string nextLink) { @@ -29,7 +29,7 @@ internal SapApplicationServerInstanceList(IReadOnlyList Gets the list of SAP Application Server instances. + /// Gets the list of SAP Application Server instance resources. public IReadOnlyList Value { get; } /// Gets the value of next link. public string NextLink { get; } diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SapCentralInstanceList.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SapCentralInstanceList.cs index 50c81f0ab6fb8..5dd98cf4bfbbf 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SapCentralInstanceList.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SapCentralInstanceList.cs @@ -11,7 +11,7 @@ namespace Azure.ResourceManager.Workloads.Models { - /// Defines the collection of SAP Central Instances. + /// Defines the collection of SAP Central Services Instance resources. internal partial class SapCentralInstanceList { /// Initializes a new instance of SapCentralInstanceList. @@ -21,7 +21,7 @@ internal SapCentralInstanceList() } /// Initializes a new instance of SapCentralInstanceList. - /// Gets the list of SAP central instances. + /// Gets the list of SAP central services instance resources. /// Gets the value of next link. internal SapCentralInstanceList(IReadOnlyList value, string nextLink) { @@ -29,7 +29,7 @@ internal SapCentralInstanceList(IReadOnlyList valu NextLink = nextLink; } - /// Gets the list of SAP central instances. + /// Gets the list of SAP central services instance resources. public IReadOnlyList Value { get; } /// Gets the value of next link. public string NextLink { get; } diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SapDeploymentType.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SapDeploymentType.cs index 8477355b07bd4..8f44835dadc4d 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SapDeploymentType.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SapDeploymentType.cs @@ -10,7 +10,7 @@ namespace Azure.ResourceManager.Workloads.Models { - /// The deployment Type. + /// The type of SAP deployment, single server or Three tier. public readonly partial struct SapDeploymentType : IEquatable { private readonly string _value; diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SapHealthState.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SapHealthState.cs index e86574ccbab44..100bb9901e090 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SapHealthState.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SapHealthState.cs @@ -10,7 +10,7 @@ namespace Azure.ResourceManager.Workloads.Models { - /// Defines the SAP Instance health. + /// Defines the health of SAP Instances. public readonly partial struct SapHealthState : IEquatable { private readonly string _value; diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SapMonitorData.Serialization.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SapMonitorData.Serialization.cs index b46db4aeed17e..b3e44079d1d0d 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SapMonitorData.Serialization.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SapMonitorData.Serialization.cs @@ -19,6 +19,11 @@ public partial class SapMonitorData : IUtf8JsonSerializable void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) { writer.WriteStartObject(); + if (Optional.IsDefined(Identity)) + { + writer.WritePropertyName("identity"); + writer.WriteObjectValue(Identity); + } if (Optional.IsCollectionDefined(Tags)) { writer.WritePropertyName("tags"); @@ -44,6 +49,11 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("routingPreference"); writer.WriteStringValue(RoutingPreference.Value.ToString()); } + if (Optional.IsDefined(ZoneRedundancyPreference)) + { + writer.WritePropertyName("zoneRedundancyPreference"); + writer.WriteStringValue(ZoneRedundancyPreference); + } if (Optional.IsDefined(ManagedResourceGroupConfiguration)) { writer.WritePropertyName("managedResourceGroupConfiguration"); @@ -65,6 +75,7 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) internal static SapMonitorData DeserializeSapMonitorData(JsonElement element) { + Optional identity = default; Optional> tags = default; AzureLocation location = default; ResourceIdentifier id = default; @@ -75,12 +86,24 @@ internal static SapMonitorData DeserializeSapMonitorData(JsonElement element) Optional errors = default; Optional appLocation = default; Optional routingPreference = default; + Optional zoneRedundancyPreference = default; Optional managedResourceGroupConfiguration = default; Optional logAnalyticsWorkspaceArmId = default; Optional monitorSubnet = default; Optional msiArmId = default; + Optional storageAccountArmId = default; foreach (var property in element.EnumerateObject()) { + if (property.NameEquals("identity")) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + property.ThrowNonNullablePropertyIsNull(); + continue; + } + identity = UserAssignedServiceIdentity.DeserializeUserAssignedServiceIdentity(property.Value); + continue; + } if (property.NameEquals("tags")) { if (property.Value.ValueKind == JsonValueKind.Null) @@ -175,6 +198,11 @@ internal static SapMonitorData DeserializeSapMonitorData(JsonElement element) routingPreference = new RoutingPreference(property0.Value.GetString()); continue; } + if (property0.NameEquals("zoneRedundancyPreference")) + { + zoneRedundancyPreference = property0.Value.GetString(); + continue; + } if (property0.NameEquals("managedResourceGroupConfiguration")) { if (property0.Value.ValueKind == JsonValueKind.Null) @@ -215,11 +243,16 @@ internal static SapMonitorData DeserializeSapMonitorData(JsonElement element) msiArmId = new ResourceIdentifier(property0.Value.GetString()); continue; } + if (property0.NameEquals("storageAccountArmId")) + { + storageAccountArmId = property0.Value.GetString(); + continue; + } } continue; } } - return new SapMonitorData(id, name, type, systemData.Value, Optional.ToDictionary(tags), location, Optional.ToNullable(provisioningState), errors.Value, Optional.ToNullable(appLocation), Optional.ToNullable(routingPreference), managedResourceGroupConfiguration.Value, logAnalyticsWorkspaceArmId.Value, monitorSubnet.Value, msiArmId.Value); + return new SapMonitorData(id, name, type, systemData.Value, Optional.ToDictionary(tags), location, identity.Value, Optional.ToNullable(provisioningState), errors.Value, Optional.ToNullable(appLocation), Optional.ToNullable(routingPreference), zoneRedundancyPreference.Value, managedResourceGroupConfiguration.Value, logAnalyticsWorkspaceArmId.Value, monitorSubnet.Value, msiArmId.Value, storageAccountArmId.Value); } } } diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SapMonitorPatch.Serialization.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SapMonitorPatch.Serialization.cs index fe1cf82d7722f..04c421c149efe 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SapMonitorPatch.Serialization.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SapMonitorPatch.Serialization.cs @@ -26,6 +26,11 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) } writer.WriteEndObject(); } + if (Optional.IsDefined(Identity)) + { + writer.WritePropertyName("identity"); + writer.WriteObjectValue(Identity); + } writer.WriteEndObject(); } } diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SapMonitorPatch.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SapMonitorPatch.cs index a783c0e091c02..0e09a8a2526e6 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SapMonitorPatch.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SapMonitorPatch.cs @@ -10,7 +10,7 @@ namespace Azure.ResourceManager.Workloads.Models { - /// Tags field of the resource. + /// Defines the request body for updating SAP monitor resource. public partial class SapMonitorPatch { /// Initializes a new instance of SapMonitorPatch. @@ -19,7 +19,9 @@ public SapMonitorPatch() Tags = new ChangeTrackingDictionary(); } - /// Tags field of the resource. + /// Gets or sets the Resource tags. public IDictionary Tags { get; } + /// Managed service identity (user assigned identities). + public UserAssignedServiceIdentity Identity { get; set; } } } diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SapNetWeaverProviderInstanceProperties.Serialization.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SapNetWeaverProviderInstanceProperties.Serialization.cs index ee912375a535b..e44b25a915bf2 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SapNetWeaverProviderInstanceProperties.Serialization.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SapNetWeaverProviderInstanceProperties.Serialization.cs @@ -72,6 +72,16 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("sapSslCertificateUri"); writer.WriteStringValue(SapSslCertificateUri.AbsoluteUri); } + if (Optional.IsDefined(SslCertificateUri)) + { + writer.WritePropertyName("sslCertificateUri"); + writer.WriteStringValue(SslCertificateUri.AbsoluteUri); + } + if (Optional.IsDefined(SslPreference)) + { + writer.WritePropertyName("sslPreference"); + writer.WriteStringValue(SslPreference.Value.ToString()); + } writer.WritePropertyName("providerType"); writer.WriteStringValue(ProviderType); writer.WriteEndObject(); @@ -89,6 +99,8 @@ internal static SapNetWeaverProviderInstanceProperties DeserializeSapNetWeaverPr Optional sapClientId = default; Optional sapPortNumber = default; Optional sapSslCertificateUri = default; + Optional sslCertificateUri = default; + Optional sslPreference = default; string providerType = default; foreach (var property in element.EnumerateObject()) { @@ -162,13 +174,33 @@ internal static SapNetWeaverProviderInstanceProperties DeserializeSapNetWeaverPr sapSslCertificateUri = new Uri(property.Value.GetString()); continue; } + if (property.NameEquals("sslCertificateUri")) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + sslCertificateUri = null; + continue; + } + sslCertificateUri = new Uri(property.Value.GetString()); + continue; + } + if (property.NameEquals("sslPreference")) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + property.ThrowNonNullablePropertyIsNull(); + continue; + } + sslPreference = new SslPreference(property.Value.GetString()); + continue; + } if (property.NameEquals("providerType")) { providerType = property.Value.GetString(); continue; } } - return new SapNetWeaverProviderInstanceProperties(providerType, sapSid.Value, sapHostname.Value, sapInstanceNr.Value, Optional.ToList(sapHostFileEntries), sapUsername.Value, sapPassword.Value, sapPasswordUri.Value, sapClientId.Value, sapPortNumber.Value, sapSslCertificateUri.Value); + return new SapNetWeaverProviderInstanceProperties(providerType, sapSid.Value, sapHostname.Value, sapInstanceNr.Value, Optional.ToList(sapHostFileEntries), sapUsername.Value, sapPassword.Value, sapPasswordUri.Value, sapClientId.Value, sapPortNumber.Value, sapSslCertificateUri.Value, sslCertificateUri.Value, Optional.ToNullable(sslPreference)); } } } diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SapNetWeaverProviderInstanceProperties.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SapNetWeaverProviderInstanceProperties.cs index 3cc3f8723c3e1..65e06b35b1048 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SapNetWeaverProviderInstanceProperties.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SapNetWeaverProviderInstanceProperties.cs @@ -33,7 +33,9 @@ public SapNetWeaverProviderInstanceProperties() /// Gets or sets the SAP Client ID. /// Gets or sets the SAP HTTP port number. /// Gets or sets the blob URI to SSL certificate for the SAP system. - internal SapNetWeaverProviderInstanceProperties(string providerType, string sapSid, string sapHostname, string sapInstanceNr, IList sapHostFileEntries, string sapUsername, string sapPassword, Uri sapPasswordUri, string sapClientId, string sapPortNumber, Uri sapSslCertificateUri) : base(providerType) + /// Gets or sets the blob URI to SSL certificate for the SAP system. + /// Gets or sets certificate preference if secure communication is enabled. + internal SapNetWeaverProviderInstanceProperties(string providerType, string sapSid, string sapHostname, string sapInstanceNr, IList sapHostFileEntries, string sapUsername, string sapPassword, Uri sapPasswordUri, string sapClientId, string sapPortNumber, Uri sapSslCertificateUri, Uri sslCertificateUri, SslPreference? sslPreference) : base(providerType) { SapSid = sapSid; SapHostname = sapHostname; @@ -45,6 +47,8 @@ internal SapNetWeaverProviderInstanceProperties(string providerType, string sapS SapClientId = sapClientId; SapPortNumber = sapPortNumber; SapSslCertificateUri = sapSslCertificateUri; + SslCertificateUri = sslCertificateUri; + SslPreference = sslPreference; ProviderType = providerType ?? "SapNetWeaver"; } @@ -68,5 +72,9 @@ internal SapNetWeaverProviderInstanceProperties(string providerType, string sapS public string SapPortNumber { get; set; } /// Gets or sets the blob URI to SSL certificate for the SAP system. public Uri SapSslCertificateUri { get; set; } + /// Gets or sets the blob URI to SSL certificate for the SAP system. + public Uri SslCertificateUri { get; set; } + /// Gets or sets certificate preference if secure communication is enabled. + public SslPreference? SslPreference { get; set; } } } diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SapProviderInstanceData.Serialization.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SapProviderInstanceData.Serialization.cs index daa5a56cc062e..82bebfe1c0dc8 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SapProviderInstanceData.Serialization.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SapProviderInstanceData.Serialization.cs @@ -18,6 +18,11 @@ public partial class SapProviderInstanceData : IUtf8JsonSerializable void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) { writer.WriteStartObject(); + if (Optional.IsDefined(Identity)) + { + writer.WritePropertyName("identity"); + writer.WriteObjectValue(Identity); + } writer.WritePropertyName("properties"); writer.WriteStartObject(); if (Optional.IsDefined(ProviderSettings)) @@ -31,6 +36,7 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) internal static SapProviderInstanceData DeserializeSapProviderInstanceData(JsonElement element) { + Optional identity = default; ResourceIdentifier id = default; string name = default; ResourceType type = default; @@ -40,6 +46,16 @@ internal static SapProviderInstanceData DeserializeSapProviderInstanceData(JsonE Optional providerSettings = default; foreach (var property in element.EnumerateObject()) { + if (property.NameEquals("identity")) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + property.ThrowNonNullablePropertyIsNull(); + continue; + } + identity = UserAssignedServiceIdentity.DeserializeUserAssignedServiceIdentity(property.Value); + continue; + } if (property.NameEquals("id")) { id = new ResourceIdentifier(property.Value.GetString()); @@ -108,7 +124,7 @@ internal static SapProviderInstanceData DeserializeSapProviderInstanceData(JsonE continue; } } - return new SapProviderInstanceData(id, name, type, systemData.Value, Optional.ToNullable(provisioningState), errors.Value, providerSettings.Value); + return new SapProviderInstanceData(id, name, type, systemData.Value, identity.Value, Optional.ToNullable(provisioningState), errors.Value, providerSettings.Value); } } } diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SapSizingRecommendationResult.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SapSizingRecommendationResult.cs index c63030a72dfb3..dd645154240f5 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SapSizingRecommendationResult.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SapSizingRecommendationResult.cs @@ -20,13 +20,13 @@ protected SapSizingRecommendationResult() } /// Initializes a new instance of SapSizingRecommendationResult. - /// The deployment Type. + /// The type of SAP deployment, single server or Three tier. internal SapSizingRecommendationResult(SapDeploymentType deploymentType) { DeploymentType = deploymentType; } - /// The deployment Type. + /// The type of SAP deployment, single server or Three tier. internal SapDeploymentType DeploymentType { get; set; } } } diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SapSoftwareInstallationType.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SapSoftwareInstallationType.cs index d1da74e391929..6a53b8a4b7ac4 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SapSoftwareInstallationType.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SapSoftwareInstallationType.cs @@ -24,11 +24,14 @@ public SapSoftwareInstallationType(string value) private const string ServiceInitiatedValue = "ServiceInitiated"; private const string SapInstallWithoutOSConfigValue = "SAPInstallWithoutOSConfig"; + private const string ExternalValue = "External"; /// ServiceInitiated. public static SapSoftwareInstallationType ServiceInitiated { get; } = new SapSoftwareInstallationType(ServiceInitiatedValue); /// SAPInstallWithoutOSConfig. public static SapSoftwareInstallationType SapInstallWithoutOSConfig { get; } = new SapSoftwareInstallationType(SapInstallWithoutOSConfigValue); + /// External. + public static SapSoftwareInstallationType External { get; } = new SapSoftwareInstallationType(ExternalValue); /// Determines if two values are the same. public static bool operator ==(SapSoftwareInstallationType left, SapSoftwareInstallationType right) => left.Equals(right); /// Determines if two values are not the same. diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SapVirtualInstanceList.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SapVirtualInstanceList.cs index 22e0cd6be2972..6f627f0668dc7 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SapVirtualInstanceList.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SapVirtualInstanceList.cs @@ -11,7 +11,7 @@ namespace Azure.ResourceManager.Workloads.Models { - /// Defines the collection of Virtual Instance for SAP. + /// Defines the collection of Virtual Instance for SAP solutions resources. internal partial class SapVirtualInstanceList { /// Initializes a new instance of SapVirtualInstanceList. @@ -21,7 +21,7 @@ internal SapVirtualInstanceList() } /// Initializes a new instance of SapVirtualInstanceList. - /// Gets the list of Virtual Instances for SAP. + /// Gets the list of Virtual Instances for SAP solutions resources. /// Gets the value of next link. internal SapVirtualInstanceList(IReadOnlyList value, string nextLink) { @@ -29,7 +29,7 @@ internal SapVirtualInstanceList(IReadOnlyList value, str NextLink = nextLink; } - /// Gets the list of Virtual Instances for SAP. + /// Gets the list of Virtual Instances for SAP solutions resources. public IReadOnlyList Value { get; } /// Gets the value of next link. public string NextLink { get; } diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SapVirtualInstanceState.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SapVirtualInstanceState.cs index 42723d7125597..7cce650841cf7 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SapVirtualInstanceState.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SapVirtualInstanceState.cs @@ -28,6 +28,8 @@ public SapVirtualInstanceState(string value) private const string SoftwareInstallationPendingValue = "SoftwareInstallationPending"; private const string SoftwareInstallationInProgressValue = "SoftwareInstallationInProgress"; private const string SoftwareInstallationFailedValue = "SoftwareInstallationFailed"; + private const string SoftwareDetectionInProgressValue = "SoftwareDetectionInProgress"; + private const string SoftwareDetectionFailedValue = "SoftwareDetectionFailed"; private const string DiscoveryPendingValue = "DiscoveryPending"; private const string DiscoveryInProgressValue = "DiscoveryInProgress"; private const string DiscoveryFailedValue = "DiscoveryFailed"; @@ -45,6 +47,10 @@ public SapVirtualInstanceState(string value) public static SapVirtualInstanceState SoftwareInstallationInProgress { get; } = new SapVirtualInstanceState(SoftwareInstallationInProgressValue); /// SoftwareInstallationFailed. public static SapVirtualInstanceState SoftwareInstallationFailed { get; } = new SapVirtualInstanceState(SoftwareInstallationFailedValue); + /// SoftwareDetectionInProgress. + public static SapVirtualInstanceState SoftwareDetectionInProgress { get; } = new SapVirtualInstanceState(SoftwareDetectionInProgressValue); + /// SoftwareDetectionFailed. + public static SapVirtualInstanceState SoftwareDetectionFailed { get; } = new SapVirtualInstanceState(SoftwareDetectionFailedValue); /// DiscoveryPending. public static SapVirtualInstanceState DiscoveryPending { get; } = new SapVirtualInstanceState(DiscoveryPendingValue); /// DiscoveryInProgress. diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SingleServerConfiguration.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SingleServerConfiguration.cs index 9c3cf6b903be7..aa30962c0c939 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SingleServerConfiguration.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SingleServerConfiguration.cs @@ -30,7 +30,7 @@ public SingleServerConfiguration(string appResourceGroup, ResourceIdentifier sub } /// Initializes a new instance of SingleServerConfiguration. - /// The deployment Type. + /// The type of SAP deployment, single server or Three tier. /// The application resource group where SAP system resources will be deployed. /// Network configuration for the server. /// The database type. @@ -47,7 +47,7 @@ internal SingleServerConfiguration(SapDeploymentType deploymentType, string appR /// Network configuration for the server. internal NetworkConfiguration NetworkConfiguration { get; set; } - /// Specifies whether a secondary IP address should be added to the network interface on all VMs. + /// Specifies whether a secondary IP address should be added to the network interface on all VMs of the SAP system being deployed. public bool? IsSecondaryIPEnabled { get => NetworkConfiguration is null ? default : NetworkConfiguration.IsSecondaryIPEnabled; diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SingleServerRecommendationResult.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SingleServerRecommendationResult.cs index d63de2e57cf28..60cd60474b4ef 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SingleServerRecommendationResult.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SingleServerRecommendationResult.cs @@ -17,7 +17,7 @@ internal SingleServerRecommendationResult() } /// Initializes a new instance of SingleServerRecommendationResult. - /// The deployment Type. + /// The type of SAP deployment, single server or Three tier. /// The recommended VM SKU for single server. internal SingleServerRecommendationResult(SapDeploymentType deploymentType, string vmSku) : base(deploymentType) { diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SkipFileShareConfiguration.Serialization.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SkipFileShareConfiguration.Serialization.cs new file mode 100644 index 0000000000000..e12e5dd85d2da --- /dev/null +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SkipFileShareConfiguration.Serialization.cs @@ -0,0 +1,37 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.Text.Json; +using Azure.Core; + +namespace Azure.ResourceManager.Workloads.Models +{ + public partial class SkipFileShareConfiguration : IUtf8JsonSerializable + { + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) + { + writer.WriteStartObject(); + writer.WritePropertyName("configurationType"); + writer.WriteStringValue(ConfigurationType.ToString()); + writer.WriteEndObject(); + } + + internal static SkipFileShareConfiguration DeserializeSkipFileShareConfiguration(JsonElement element) + { + ConfigurationType configurationType = default; + foreach (var property in element.EnumerateObject()) + { + if (property.NameEquals("configurationType")) + { + configurationType = new ConfigurationType(property.Value.GetString()); + continue; + } + } + return new SkipFileShareConfiguration(configurationType); + } + } +} diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SkipFileShareConfiguration.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SkipFileShareConfiguration.cs new file mode 100644 index 0000000000000..ea371e1736b5b --- /dev/null +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SkipFileShareConfiguration.cs @@ -0,0 +1,26 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +namespace Azure.ResourceManager.Workloads.Models +{ + /// Gets or sets the skip file share configuration. + public partial class SkipFileShareConfiguration : FileShareConfiguration + { + /// Initializes a new instance of SkipFileShareConfiguration. + public SkipFileShareConfiguration() + { + ConfigurationType = ConfigurationType.Skip; + } + + /// Initializes a new instance of SkipFileShareConfiguration. + /// The type of file share config. + internal SkipFileShareConfiguration(ConfigurationType configurationType) : base(configurationType) + { + ConfigurationType = configurationType; + } + } +} diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SoftwareConfiguration.Serialization.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SoftwareConfiguration.Serialization.cs index 0a84bb9d7e92d..16ec249fc4c55 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SoftwareConfiguration.Serialization.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SoftwareConfiguration.Serialization.cs @@ -26,6 +26,7 @@ internal static SoftwareConfiguration DeserializeSoftwareConfiguration(JsonEleme { switch (discriminator.GetString()) { + case "External": return ExternalInstallationSoftwareConfiguration.DeserializeExternalInstallationSoftwareConfiguration(element); case "SAPInstallWithoutOSConfig": return SapInstallWithoutOSConfigSoftwareConfiguration.DeserializeSapInstallWithoutOSConfigSoftwareConfiguration(element); case "ServiceInitiated": return ServiceInitiatedSoftwareConfiguration.DeserializeServiceInitiatedSoftwareConfiguration(element); } diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SoftwareConfiguration.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SoftwareConfiguration.cs index e6c7448ff2771..7be7e00a76dd3 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SoftwareConfiguration.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SoftwareConfiguration.cs @@ -10,7 +10,7 @@ namespace Azure.ResourceManager.Workloads.Models /// /// The SAP Software configuration Input. /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. - /// The available derived classes include and . + /// The available derived classes include , and . /// public abstract partial class SoftwareConfiguration { diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SslPreference.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SslPreference.cs new file mode 100644 index 0000000000000..4887d0b0ee31a --- /dev/null +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/SslPreference.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.Workloads.Models +{ + /// Gets or sets certificate preference if secure communication is enabled. + public readonly partial struct SslPreference : IEquatable + { + private readonly string _value; + + /// Initializes a new instance of . + /// is null. + public SslPreference(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + private const string DisabledValue = "Disabled"; + private const string RootCertificateValue = "RootCertificate"; + private const string ServerCertificateValue = "ServerCertificate"; + + /// Disabled. + public static SslPreference Disabled { get; } = new SslPreference(DisabledValue); + /// RootCertificate. + public static SslPreference RootCertificate { get; } = new SslPreference(RootCertificateValue); + /// ServerCertificate. + public static SslPreference ServerCertificate { get; } = new SslPreference(ServerCertificateValue); + /// Determines if two values are the same. + public static bool operator ==(SslPreference left, SslPreference right) => left.Equals(right); + /// Determines if two values are not the same. + public static bool operator !=(SslPreference left, SslPreference right) => !left.Equals(right); + /// Converts a string to a . + public static implicit operator SslPreference(string value) => new SslPreference(value); + + /// + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object obj) => obj is SslPreference other && Equals(other); + /// + public bool Equals(SslPreference other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase); + + /// + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + /// + public override string ToString() => _value; + } +} diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/StorageConfiguration.Serialization.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/StorageConfiguration.Serialization.cs new file mode 100644 index 0000000000000..2a0828831a350 --- /dev/null +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/StorageConfiguration.Serialization.cs @@ -0,0 +1,45 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.Text.Json; +using Azure.Core; + +namespace Azure.ResourceManager.Workloads.Models +{ + internal partial class StorageConfiguration : IUtf8JsonSerializable + { + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) + { + writer.WriteStartObject(); + if (Optional.IsDefined(TransportFileShareConfiguration)) + { + writer.WritePropertyName("transportFileShareConfiguration"); + writer.WriteObjectValue(TransportFileShareConfiguration); + } + writer.WriteEndObject(); + } + + internal static StorageConfiguration DeserializeStorageConfiguration(JsonElement element) + { + Optional transportFileShareConfiguration = default; + foreach (var property in element.EnumerateObject()) + { + if (property.NameEquals("transportFileShareConfiguration")) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + property.ThrowNonNullablePropertyIsNull(); + continue; + } + transportFileShareConfiguration = FileShareConfiguration.DeserializeFileShareConfiguration(property.Value); + continue; + } + } + return new StorageConfiguration(transportFileShareConfiguration.Value); + } + } +} diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/StorageConfiguration.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/StorageConfiguration.cs new file mode 100644 index 0000000000000..a1eed03b68804 --- /dev/null +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/StorageConfiguration.cs @@ -0,0 +1,36 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +namespace Azure.ResourceManager.Workloads.Models +{ + /// Gets or sets the storage configuration. + internal partial class StorageConfiguration + { + /// Initializes a new instance of StorageConfiguration. + public StorageConfiguration() + { + } + + /// Initializes a new instance of StorageConfiguration. + /// + /// The properties of the transport directory attached to the VIS. The default for transportFileShareConfiguration is the createAndMount flow if storage configuration is missing. + /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. + /// The available derived classes include , and . + /// + internal StorageConfiguration(FileShareConfiguration transportFileShareConfiguration) + { + TransportFileShareConfiguration = transportFileShareConfiguration; + } + + /// + /// The properties of the transport directory attached to the VIS. The default for transportFileShareConfiguration is the createAndMount flow if storage configuration is missing. + /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. + /// The available derived classes include , and . + /// + public FileShareConfiguration TransportFileShareConfiguration { get; set; } + } +} diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/ThreeTierConfiguration.Serialization.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/ThreeTierConfiguration.Serialization.cs index c464d57c1d9ea..093cebd1a7483 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/ThreeTierConfiguration.Serialization.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/ThreeTierConfiguration.Serialization.cs @@ -31,6 +31,11 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("highAvailabilityConfig"); writer.WriteObjectValue(HighAvailabilityConfig); } + if (Optional.IsDefined(StorageConfiguration)) + { + writer.WritePropertyName("storageConfiguration"); + writer.WriteObjectValue(StorageConfiguration); + } writer.WritePropertyName("deploymentType"); writer.WriteStringValue(DeploymentType.ToString()); writer.WritePropertyName("appResourceGroup"); @@ -45,6 +50,7 @@ internal static ThreeTierConfiguration DeserializeThreeTierConfiguration(JsonEle ApplicationServerConfiguration applicationServer = default; DatabaseConfiguration databaseServer = default; Optional highAvailabilityConfig = default; + Optional storageConfiguration = default; SapDeploymentType deploymentType = default; string appResourceGroup = default; foreach (var property in element.EnumerateObject()) @@ -84,6 +90,16 @@ internal static ThreeTierConfiguration DeserializeThreeTierConfiguration(JsonEle highAvailabilityConfig = HighAvailabilityConfiguration.DeserializeHighAvailabilityConfiguration(property.Value); continue; } + if (property.NameEquals("storageConfiguration")) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + property.ThrowNonNullablePropertyIsNull(); + continue; + } + storageConfiguration = StorageConfiguration.DeserializeStorageConfiguration(property.Value); + continue; + } if (property.NameEquals("deploymentType")) { deploymentType = new SapDeploymentType(property.Value.GetString()); @@ -95,7 +111,7 @@ internal static ThreeTierConfiguration DeserializeThreeTierConfiguration(JsonEle continue; } } - return new ThreeTierConfiguration(deploymentType, appResourceGroup, networkConfiguration.Value, centralServer, applicationServer, databaseServer, highAvailabilityConfig.Value); + return new ThreeTierConfiguration(deploymentType, appResourceGroup, networkConfiguration.Value, centralServer, applicationServer, databaseServer, highAvailabilityConfig.Value, storageConfiguration.Value); } } } diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/ThreeTierConfiguration.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/ThreeTierConfiguration.cs index 076e631d3bc1c..ba794e173d19a 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/ThreeTierConfiguration.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/ThreeTierConfiguration.cs @@ -33,26 +33,28 @@ public ThreeTierConfiguration(string appResourceGroup, CentralServerConfiguratio } /// Initializes a new instance of ThreeTierConfiguration. - /// The deployment Type. + /// The type of SAP deployment, single server or Three tier. /// The application resource group where SAP system resources will be deployed. /// Network configuration common to all servers. /// The central server configuration. /// The application server configuration. /// The database configuration. /// The high availability configuration. - internal ThreeTierConfiguration(SapDeploymentType deploymentType, string appResourceGroup, NetworkConfiguration networkConfiguration, CentralServerConfiguration centralServer, ApplicationServerConfiguration applicationServer, DatabaseConfiguration databaseServer, HighAvailabilityConfiguration highAvailabilityConfig) : base(deploymentType, appResourceGroup) + /// The storage configuration. + internal ThreeTierConfiguration(SapDeploymentType deploymentType, string appResourceGroup, NetworkConfiguration networkConfiguration, CentralServerConfiguration centralServer, ApplicationServerConfiguration applicationServer, DatabaseConfiguration databaseServer, HighAvailabilityConfiguration highAvailabilityConfig, StorageConfiguration storageConfiguration) : base(deploymentType, appResourceGroup) { NetworkConfiguration = networkConfiguration; CentralServer = centralServer; ApplicationServer = applicationServer; DatabaseServer = databaseServer; HighAvailabilityConfig = highAvailabilityConfig; + StorageConfiguration = storageConfiguration; DeploymentType = deploymentType; } /// Network configuration common to all servers. internal NetworkConfiguration NetworkConfiguration { get; set; } - /// Specifies whether a secondary IP address should be added to the network interface on all VMs. + /// Specifies whether a secondary IP address should be added to the network interface on all VMs of the SAP system being deployed. public bool? IsSecondaryIPEnabled { get => NetworkConfiguration is null ? default : NetworkConfiguration.IsSecondaryIPEnabled; @@ -81,5 +83,23 @@ public SapHighAvailabilityType? HighAvailabilityType HighAvailabilityConfig = value.HasValue ? new HighAvailabilityConfiguration(value.Value) : null; } } + + /// The storage configuration. + internal StorageConfiguration StorageConfiguration { get; set; } + /// + /// The properties of the transport directory attached to the VIS. The default for transportFileShareConfiguration is the createAndMount flow if storage configuration is missing. + /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. + /// The available derived classes include , and . + /// + public FileShareConfiguration StorageTransportFileShareConfiguration + { + get => StorageConfiguration is null ? default : StorageConfiguration.TransportFileShareConfiguration; + set + { + if (StorageConfiguration is null) + StorageConfiguration = new StorageConfiguration(); + StorageConfiguration.TransportFileShareConfiguration = value; + } + } } } diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/ThreeTierRecommendationResult.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/ThreeTierRecommendationResult.cs index 9ea1a766febc1..ed83d24afd7a1 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/ThreeTierRecommendationResult.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/ThreeTierRecommendationResult.cs @@ -17,7 +17,7 @@ internal ThreeTierRecommendationResult() } /// Initializes a new instance of ThreeTierRecommendationResult. - /// The deployment Type. + /// The type of SAP deployment, single server or Three tier. /// The database VM SKU. /// The database server instance count. /// The central server VM SKU. diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/UnknownFileShareConfiguration.Serialization.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/UnknownFileShareConfiguration.Serialization.cs new file mode 100644 index 0000000000000..0992547b52392 --- /dev/null +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/UnknownFileShareConfiguration.Serialization.cs @@ -0,0 +1,37 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.Text.Json; +using Azure.Core; + +namespace Azure.ResourceManager.Workloads.Models +{ + internal partial class UnknownFileShareConfiguration : IUtf8JsonSerializable + { + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) + { + writer.WriteStartObject(); + writer.WritePropertyName("configurationType"); + writer.WriteStringValue(ConfigurationType.ToString()); + writer.WriteEndObject(); + } + + internal static UnknownFileShareConfiguration DeserializeUnknownFileShareConfiguration(JsonElement element) + { + ConfigurationType configurationType = "Unknown"; + foreach (var property in element.EnumerateObject()) + { + if (property.NameEquals("configurationType")) + { + configurationType = new ConfigurationType(property.Value.GetString()); + continue; + } + } + return new UnknownFileShareConfiguration(configurationType); + } + } +} diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/UnknownFileShareConfiguration.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/UnknownFileShareConfiguration.cs new file mode 100644 index 0000000000000..9a62c8f724ff5 --- /dev/null +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/UnknownFileShareConfiguration.cs @@ -0,0 +1,20 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +namespace Azure.ResourceManager.Workloads.Models +{ + /// The UnknownFileShareConfiguration. + internal partial class UnknownFileShareConfiguration : FileShareConfiguration + { + /// Initializes a new instance of UnknownFileShareConfiguration. + /// The type of file share config. + internal UnknownFileShareConfiguration(ConfigurationType configurationType) : base(configurationType) + { + ConfigurationType = configurationType; + } + } +} diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/UnknownInfrastructureConfiguration.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/UnknownInfrastructureConfiguration.cs index bce18c16d2166..36149690fc164 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/UnknownInfrastructureConfiguration.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/UnknownInfrastructureConfiguration.cs @@ -11,7 +11,7 @@ namespace Azure.ResourceManager.Workloads.Models internal partial class UnknownInfrastructureConfiguration : InfrastructureConfiguration { /// Initializes a new instance of UnknownInfrastructureConfiguration. - /// The deployment Type. + /// The type of SAP deployment, single server or Three tier. /// The application resource group where SAP system resources will be deployed. internal UnknownInfrastructureConfiguration(SapDeploymentType deploymentType, string appResourceGroup) : base(deploymentType, appResourceGroup) { diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/UnknownSapSizingRecommendationResult.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/UnknownSapSizingRecommendationResult.cs index a418e9b6a7864..44baa0145c445 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/UnknownSapSizingRecommendationResult.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/UnknownSapSizingRecommendationResult.cs @@ -11,7 +11,7 @@ namespace Azure.ResourceManager.Workloads.Models internal partial class UnknownSapSizingRecommendationResult : SapSizingRecommendationResult { /// Initializes a new instance of UnknownSapSizingRecommendationResult. - /// The deployment Type. + /// The type of SAP deployment, single server or Three tier. internal UnknownSapSizingRecommendationResult(SapDeploymentType deploymentType) : base(deploymentType) { DeploymentType = deploymentType; diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/RestOperations/MonitorsRestOperations.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/RestOperations/MonitorsRestOperations.cs index 58311460c3ac0..c7d8f9ca9f294 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/RestOperations/MonitorsRestOperations.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/RestOperations/MonitorsRestOperations.cs @@ -437,7 +437,7 @@ internal HttpMessage CreateUpdateRequest(string subscriptionId, string resourceG /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. /// Name of the SAP monitor resource. - /// Request body that only contains the new Tags field. + /// The Update SAP workload monitor request body. /// The cancellation token to use. /// , , or is null. /// , or is an empty string, and was expected to be non-empty. @@ -468,7 +468,7 @@ public async Task> UpdateAsync(string subscriptionId, s /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. /// Name of the SAP monitor resource. - /// Request body that only contains the new Tags field. + /// The Update SAP workload monitor request body. /// The cancellation token to use. /// , , or is null. /// , or is an empty string, and was expected to be non-empty. diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/RestOperations/SAPApplicationServerInstancesRestOperations.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/RestOperations/SAPApplicationServerInstancesRestOperations.cs index b52a7f057bc83..6c1d0e670f32c 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/RestOperations/SAPApplicationServerInstancesRestOperations.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/RestOperations/SAPApplicationServerInstancesRestOperations.cs @@ -59,11 +59,11 @@ internal HttpMessage CreateGetRequest(string subscriptionId, string resourceGrou return message; } - /// Gets the SAP Application Server Instance. + /// Gets the SAP Application Server Instance corresponding to the Virtual Instance for SAP solutions resource. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// The name of the Virtual Instances for SAP. - /// The name of SAP Application Server instance. + /// The name of the Virtual Instances for SAP solutions resource. + /// The name of SAP Application Server instance resource. /// The cancellation token to use. /// , , or is null. /// , , or is an empty string, and was expected to be non-empty. @@ -92,11 +92,11 @@ public async Task> GetAsync(string su } } - /// Gets the SAP Application Server Instance. + /// Gets the SAP Application Server Instance corresponding to the Virtual Instance for SAP solutions resource. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// The name of the Virtual Instances for SAP. - /// The name of SAP Application Server instance. + /// The name of the Virtual Instances for SAP solutions resource. + /// The name of SAP Application Server instance resource. /// The cancellation token to use. /// , , or is null. /// , , or is an empty string, and was expected to be non-empty. @@ -151,12 +151,12 @@ internal HttpMessage CreateCreateRequest(string subscriptionId, string resourceG return message; } - /// Puts the SAP Application Server Instance. <br><br>This will be used by service only. PUT by end user will return a Bad Request error. + /// Puts the SAP Application Server Instance resource. <br><br>This will be used by service only. PUT by end user will return a Bad Request error. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// The name of the Virtual Instances for SAP. - /// The name of SAP Application Server instance. - /// The SAP Application Server instance request body. + /// The name of the Virtual Instances for SAP solutions resource. + /// The name of SAP Application Server instance resource. + /// The SAP Application Server Instance resource request body. /// The cancellation token to use. /// , , , or is null. /// , , or is an empty string, and was expected to be non-empty. @@ -180,12 +180,12 @@ public async Task CreateAsync(string subscriptionId, string resourceGr } } - /// Puts the SAP Application Server Instance. <br><br>This will be used by service only. PUT by end user will return a Bad Request error. + /// Puts the SAP Application Server Instance resource. <br><br>This will be used by service only. PUT by end user will return a Bad Request error. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// The name of the Virtual Instances for SAP. - /// The name of SAP Application Server instance. - /// The SAP Application Server instance request body. + /// The name of the Virtual Instances for SAP solutions resource. + /// The name of SAP Application Server instance resource. + /// The SAP Application Server Instance resource request body. /// The cancellation token to use. /// , , , or is null. /// , , or is an empty string, and was expected to be non-empty. @@ -235,12 +235,12 @@ internal HttpMessage CreateUpdateRequest(string subscriptionId, string resourceG return message; } - /// Puts the SAP Application Server Instance. + /// Puts the SAP Application Server Instance resource. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// The name of the Virtual Instances for SAP. - /// The name of SAP Application Server instance. - /// The SAP Application Server instance request body. + /// The name of the Virtual Instances for SAP solutions resource. + /// The name of SAP Application Server instance resource. + /// The SAP Application Server Instance resource request body. /// The cancellation token to use. /// , , , or is null. /// , , or is an empty string, and was expected to be non-empty. @@ -264,12 +264,12 @@ public async Task UpdateAsync(string subscriptionId, string resourceGr } } - /// Puts the SAP Application Server Instance. + /// Puts the SAP Application Server Instance resource. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// The name of the Virtual Instances for SAP. - /// The name of SAP Application Server instance. - /// The SAP Application Server instance request body. + /// The name of the Virtual Instances for SAP solutions resource. + /// The name of SAP Application Server instance resource. + /// The SAP Application Server Instance resource request body. /// The cancellation token to use. /// , , , or is null. /// , , or is an empty string, and was expected to be non-empty. @@ -315,11 +315,11 @@ internal HttpMessage CreateDeleteRequest(string subscriptionId, string resourceG return message; } - /// Deletes the SAP Application Server Instance. <br><br>This operation will be used by service only. Delete by end user will return a Bad Request error. + /// Deletes the SAP Application Server Instance resource. <br><br>This operation will be used by service only. Delete by end user will return a Bad Request error. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// The name of the Virtual Instances for SAP. - /// The name of SAP Application Server instance. + /// The name of the Virtual Instances for SAP solutions resource. + /// The name of SAP Application Server instance resource. /// The cancellation token to use. /// , , or is null. /// , , or is an empty string, and was expected to be non-empty. @@ -343,11 +343,11 @@ public async Task DeleteAsync(string subscriptionId, string resourceGr } } - /// Deletes the SAP Application Server Instance. <br><br>This operation will be used by service only. Delete by end user will return a Bad Request error. + /// Deletes the SAP Application Server Instance resource. <br><br>This operation will be used by service only. Delete by end user will return a Bad Request error. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// The name of the Virtual Instances for SAP. - /// The name of SAP Application Server instance. + /// The name of the Virtual Instances for SAP solutions resource. + /// The name of SAP Application Server instance resource. /// The cancellation token to use. /// , , or is null. /// , , or is an empty string, and was expected to be non-empty. @@ -392,10 +392,10 @@ internal HttpMessage CreateListRequest(string subscriptionId, string resourceGro return message; } - /// Lists the SAP Application server Instances in an SVI. + /// Lists the SAP Application Server Instance resources for a given Virtual Instance for SAP solutions resource. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// The name of the Virtual Instances for SAP. + /// The name of the Virtual Instances for SAP solutions resource. /// The cancellation token to use. /// , or is null. /// , or is an empty string, and was expected to be non-empty. @@ -421,10 +421,10 @@ public async Task> ListAsync(string s } } - /// Lists the SAP Application server Instances in an SVI. + /// Lists the SAP Application Server Instance resources for a given Virtual Instance for SAP solutions resource. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// The name of the Virtual Instances for SAP. + /// The name of the Virtual Instances for SAP solutions resource. /// The cancellation token to use. /// , or is null. /// , or is an empty string, and was expected to be non-empty. @@ -464,11 +464,11 @@ internal HttpMessage CreateListNextPageRequest(string nextLink, string subscript return message; } - /// Lists the SAP Application server Instances in an SVI. + /// Lists the SAP Application Server Instance resources for a given Virtual Instance for SAP solutions resource. /// The URL to the next page of results. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// The name of the Virtual Instances for SAP. + /// The name of the Virtual Instances for SAP solutions resource. /// The cancellation token to use. /// , , or is null. /// , or is an empty string, and was expected to be non-empty. @@ -495,11 +495,11 @@ public async Task> ListNextPageAsync( } } - /// Lists the SAP Application server Instances in an SVI. + /// Lists the SAP Application Server Instance resources for a given Virtual Instance for SAP solutions resource. /// The URL to the next page of results. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// The name of the Virtual Instances for SAP. + /// The name of the Virtual Instances for SAP solutions resource. /// The cancellation token to use. /// , , or is null. /// , or is an empty string, and was expected to be non-empty. diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/RestOperations/SAPCentralInstancesRestOperations.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/RestOperations/SAPCentralInstancesRestOperations.cs index 6c2096ef18532..c63be54c13d89 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/RestOperations/SAPCentralInstancesRestOperations.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/RestOperations/SAPCentralInstancesRestOperations.cs @@ -59,11 +59,11 @@ internal HttpMessage CreateGetRequest(string subscriptionId, string resourceGrou return message; } - /// Gets the SAP Central Instance. + /// Gets the SAP Central Services Instance resource. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// The name of the Virtual Instances for SAP. - /// Central Instance name string modeled as parameter for auto generation to work correctly. + /// The name of the Virtual Instances for SAP solutions resource. + /// Central Services Instance resource name string modeled as parameter for auto generation to work correctly. /// The cancellation token to use. /// , , or is null. /// , , or is an empty string, and was expected to be non-empty. @@ -92,11 +92,11 @@ public async Task> GetAsync(string subscr } } - /// Gets the SAP Central Instance. + /// Gets the SAP Central Services Instance resource. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// The name of the Virtual Instances for SAP. - /// Central Instance name string modeled as parameter for auto generation to work correctly. + /// The name of the Virtual Instances for SAP solutions resource. + /// Central Services Instance resource name string modeled as parameter for auto generation to work correctly. /// The cancellation token to use. /// , , or is null. /// , , or is an empty string, and was expected to be non-empty. @@ -151,12 +151,12 @@ internal HttpMessage CreateCreateRequest(string subscriptionId, string resourceG return message; } - /// Puts the SAP Central Instance. <br><br>This will be used by service only. PUT by end user will return a Bad Request error. + /// Creates the SAP Central Services Instance resource. <br><br>This will be used by service only. PUT operation on this resource by end user will return a Bad Request error. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// The name of the Virtual Instances for SAP. - /// Central Instance name string modeled as parameter for auto generation to work correctly. - /// The SAP Central Server instance request body. + /// The name of the Virtual Instances for SAP solutions resource. + /// Central Services Instance resource name string modeled as parameter for auto generation to work correctly. + /// The SAP Central Services Instance request body. /// The cancellation token to use. /// , , , or is null. /// , , or is an empty string, and was expected to be non-empty. @@ -180,12 +180,12 @@ public async Task CreateAsync(string subscriptionId, string resourceGr } } - /// Puts the SAP Central Instance. <br><br>This will be used by service only. PUT by end user will return a Bad Request error. + /// Creates the SAP Central Services Instance resource. <br><br>This will be used by service only. PUT operation on this resource by end user will return a Bad Request error. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// The name of the Virtual Instances for SAP. - /// Central Instance name string modeled as parameter for auto generation to work correctly. - /// The SAP Central Server instance request body. + /// The name of the Virtual Instances for SAP solutions resource. + /// Central Services Instance resource name string modeled as parameter for auto generation to work correctly. + /// The SAP Central Services Instance request body. /// The cancellation token to use. /// , , , or is null. /// , , or is an empty string, and was expected to be non-empty. @@ -235,12 +235,12 @@ internal HttpMessage CreateUpdateRequest(string subscriptionId, string resourceG return message; } - /// Updates the SAP Central Instance. <br><br>This can be used to update tags. + /// Updates the SAP Central Services Instance resource. <br><br>This can be used to update tags on the resource. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// The name of the Virtual Instances for SAP. - /// Central Instance name string modeled as parameter for auto generation to work correctly. - /// The SAP Central Server instance request body. + /// The name of the Virtual Instances for SAP solutions resource. + /// Central Services Instance resource name string modeled as parameter for auto generation to work correctly. + /// The SAP Central Services Instance resource request body. /// The cancellation token to use. /// , , , or is null. /// , , or is an empty string, and was expected to be non-empty. @@ -264,12 +264,12 @@ public async Task UpdateAsync(string subscriptionId, string resourceGr } } - /// Updates the SAP Central Instance. <br><br>This can be used to update tags. + /// Updates the SAP Central Services Instance resource. <br><br>This can be used to update tags on the resource. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// The name of the Virtual Instances for SAP. - /// Central Instance name string modeled as parameter for auto generation to work correctly. - /// The SAP Central Server instance request body. + /// The name of the Virtual Instances for SAP solutions resource. + /// Central Services Instance resource name string modeled as parameter for auto generation to work correctly. + /// The SAP Central Services Instance resource request body. /// The cancellation token to use. /// , , , or is null. /// , , or is an empty string, and was expected to be non-empty. @@ -315,11 +315,11 @@ internal HttpMessage CreateDeleteRequest(string subscriptionId, string resourceG return message; } - /// Deletes the SAP Central Instance. <br><br>This will be used by service only. Delete by end user will return a Bad Request error. + /// Deletes the SAP Central Services Instance resource. <br><br>This will be used by service only. Delete operation on this resource by end user will return a Bad Request error. You can delete the parent resource, which is the Virtual Instance for SAP solutions resource, using the delete operation on it. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// The name of the Virtual Instances for SAP. - /// Central Instance name string modeled as parameter for auto generation to work correctly. + /// The name of the Virtual Instances for SAP solutions resource. + /// Central Services Instance resource name string modeled as parameter for auto generation to work correctly. /// The cancellation token to use. /// , , or is null. /// , , or is an empty string, and was expected to be non-empty. @@ -343,11 +343,11 @@ public async Task DeleteAsync(string subscriptionId, string resourceGr } } - /// Deletes the SAP Central Instance. <br><br>This will be used by service only. Delete by end user will return a Bad Request error. + /// Deletes the SAP Central Services Instance resource. <br><br>This will be used by service only. Delete operation on this resource by end user will return a Bad Request error. You can delete the parent resource, which is the Virtual Instance for SAP solutions resource, using the delete operation on it. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// The name of the Virtual Instances for SAP. - /// Central Instance name string modeled as parameter for auto generation to work correctly. + /// The name of the Virtual Instances for SAP solutions resource. + /// Central Services Instance resource name string modeled as parameter for auto generation to work correctly. /// The cancellation token to use. /// , , or is null. /// , , or is an empty string, and was expected to be non-empty. @@ -392,10 +392,10 @@ internal HttpMessage CreateListRequest(string subscriptionId, string resourceGro return message; } - /// Lists the SAP Central Instances in an SVI. + /// Lists the SAP Central Services Instance resource for the given Virtual Instance for SAP solutions resource. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// The name of the Virtual Instances for SAP. + /// The name of the Virtual Instances for SAP solutions resource. /// The cancellation token to use. /// , or is null. /// , or is an empty string, and was expected to be non-empty. @@ -421,10 +421,10 @@ public async Task> ListAsync(string subscriptio } } - /// Lists the SAP Central Instances in an SVI. + /// Lists the SAP Central Services Instance resource for the given Virtual Instance for SAP solutions resource. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// The name of the Virtual Instances for SAP. + /// The name of the Virtual Instances for SAP solutions resource. /// The cancellation token to use. /// , or is null. /// , or is an empty string, and was expected to be non-empty. @@ -464,11 +464,11 @@ internal HttpMessage CreateListNextPageRequest(string nextLink, string subscript return message; } - /// Lists the SAP Central Instances in an SVI. + /// Lists the SAP Central Services Instance resource for the given Virtual Instance for SAP solutions resource. /// The URL to the next page of results. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// The name of the Virtual Instances for SAP. + /// The name of the Virtual Instances for SAP solutions resource. /// The cancellation token to use. /// , , or is null. /// , or is an empty string, and was expected to be non-empty. @@ -495,11 +495,11 @@ public async Task> ListNextPageAsync(string nex } } - /// Lists the SAP Central Instances in an SVI. + /// Lists the SAP Central Services Instance resource for the given Virtual Instance for SAP solutions resource. /// The URL to the next page of results. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// The name of the Virtual Instances for SAP. + /// The name of the Virtual Instances for SAP solutions resource. /// The cancellation token to use. /// , , or is null. /// , or is an empty string, and was expected to be non-empty. diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/RestOperations/SAPDatabaseInstancesRestOperations.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/RestOperations/SAPDatabaseInstancesRestOperations.cs index d982f6b3795a9..5ef4e1e27e5e5 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/RestOperations/SAPDatabaseInstancesRestOperations.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/RestOperations/SAPDatabaseInstancesRestOperations.cs @@ -59,11 +59,11 @@ internal HttpMessage CreateGetRequest(string subscriptionId, string resourceGrou return message; } - /// Gets the SAP Database Instance. + /// Gets the SAP Database Instance resource. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// The name of the Virtual Instances for SAP. - /// Database Instance string modeled as parameter for auto generation to work correctly. + /// The name of the Virtual Instances for SAP solutions resource. + /// Database resource name string modeled as parameter for auto generation to work correctly. /// The cancellation token to use. /// , , or is null. /// , , or is an empty string, and was expected to be non-empty. @@ -92,11 +92,11 @@ public async Task> GetAsync(string subscriptio } } - /// Gets the SAP Database Instance. + /// Gets the SAP Database Instance resource. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// The name of the Virtual Instances for SAP. - /// Database Instance string modeled as parameter for auto generation to work correctly. + /// The name of the Virtual Instances for SAP solutions resource. + /// Database resource name string modeled as parameter for auto generation to work correctly. /// The cancellation token to use. /// , , or is null. /// , , or is an empty string, and was expected to be non-empty. @@ -151,12 +151,12 @@ internal HttpMessage CreateCreateRequest(string subscriptionId, string resourceG return message; } - /// Puts the SAP Database Instance. <br><br>This will be used by service only. PUT by end user will return a Bad Request error. + /// Creates the Database resource corresponding to the Virtual Instance for SAP solutions resource. <br><br>This will be used by service only. PUT by end user will return a Bad Request error. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// The name of the Virtual Instances for SAP. - /// Database Instance string modeled as parameter for auto generation to work correctly. - /// The SAP Database Server instance request body. + /// The name of the Virtual Instances for SAP solutions resource. + /// Database resource name string modeled as parameter for auto generation to work correctly. + /// Request body of Database resource of a SAP system. /// The cancellation token to use. /// , , , or is null. /// , , or is an empty string, and was expected to be non-empty. @@ -180,12 +180,12 @@ public async Task CreateAsync(string subscriptionId, string resourceGr } } - /// Puts the SAP Database Instance. <br><br>This will be used by service only. PUT by end user will return a Bad Request error. + /// Creates the Database resource corresponding to the Virtual Instance for SAP solutions resource. <br><br>This will be used by service only. PUT by end user will return a Bad Request error. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// The name of the Virtual Instances for SAP. - /// Database Instance string modeled as parameter for auto generation to work correctly. - /// The SAP Database Server instance request body. + /// The name of the Virtual Instances for SAP solutions resource. + /// Database resource name string modeled as parameter for auto generation to work correctly. + /// Request body of Database resource of a SAP system. /// The cancellation token to use. /// , , , or is null. /// , , or is an empty string, and was expected to be non-empty. @@ -235,12 +235,12 @@ internal HttpMessage CreateUpdateRequest(string subscriptionId, string resourceG return message; } - /// Puts the SAP Database Instance. + /// Updates the Database resource. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// The name of the Virtual Instances for SAP. - /// Database Instance string modeled as parameter for auto generation to work correctly. - /// The SAP Database Server instance request body. + /// The name of the Virtual Instances for SAP solutions resource. + /// Database resource name string modeled as parameter for auto generation to work correctly. + /// Database resource update request body. /// The cancellation token to use. /// , , , or is null. /// , , or is an empty string, and was expected to be non-empty. @@ -264,12 +264,12 @@ public async Task UpdateAsync(string subscriptionId, string resourceGr } } - /// Puts the SAP Database Instance. + /// Updates the Database resource. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// The name of the Virtual Instances for SAP. - /// Database Instance string modeled as parameter for auto generation to work correctly. - /// The SAP Database Server instance request body. + /// The name of the Virtual Instances for SAP solutions resource. + /// Database resource name string modeled as parameter for auto generation to work correctly. + /// Database resource update request body. /// The cancellation token to use. /// , , , or is null. /// , , or is an empty string, and was expected to be non-empty. @@ -315,11 +315,11 @@ internal HttpMessage CreateDeleteRequest(string subscriptionId, string resourceG return message; } - /// Deletes the SAP Database Instance. <br><br>This will be used by service only. Delete by end user will return a Bad Request error. + /// Deletes the Database resource corresponding to a Virtual Instance for SAP solutions resource. <br><br>This will be used by service only. Delete by end user will return a Bad Request error. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// The name of the Virtual Instances for SAP. - /// Database Instance string modeled as parameter for auto generation to work correctly. + /// The name of the Virtual Instances for SAP solutions resource. + /// Database resource name string modeled as parameter for auto generation to work correctly. /// The cancellation token to use. /// , , or is null. /// , , or is an empty string, and was expected to be non-empty. @@ -343,11 +343,11 @@ public async Task DeleteAsync(string subscriptionId, string resourceGr } } - /// Deletes the SAP Database Instance. <br><br>This will be used by service only. Delete by end user will return a Bad Request error. + /// Deletes the Database resource corresponding to a Virtual Instance for SAP solutions resource. <br><br>This will be used by service only. Delete by end user will return a Bad Request error. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// The name of the Virtual Instances for SAP. - /// Database Instance string modeled as parameter for auto generation to work correctly. + /// The name of the Virtual Instances for SAP solutions resource. + /// Database resource name string modeled as parameter for auto generation to work correctly. /// The cancellation token to use. /// , , or is null. /// , , or is an empty string, and was expected to be non-empty. @@ -392,10 +392,10 @@ internal HttpMessage CreateListRequest(string subscriptionId, string resourceGro return message; } - /// Lists the SAP Database Instances in an SVI. + /// Lists the Database resources associated with a Virtual Instance for SAP solutions resource. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// The name of the Virtual Instances for SAP. + /// The name of the Virtual Instances for SAP solutions resource. /// The cancellation token to use. /// , or is null. /// , or is an empty string, and was expected to be non-empty. @@ -421,10 +421,10 @@ public async Task> ListAsync(string subscripti } } - /// Lists the SAP Database Instances in an SVI. + /// Lists the Database resources associated with a Virtual Instance for SAP solutions resource. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// The name of the Virtual Instances for SAP. + /// The name of the Virtual Instances for SAP solutions resource. /// The cancellation token to use. /// , or is null. /// , or is an empty string, and was expected to be non-empty. @@ -464,11 +464,11 @@ internal HttpMessage CreateListNextPageRequest(string nextLink, string subscript return message; } - /// Lists the SAP Database Instances in an SVI. + /// Lists the Database resources associated with a Virtual Instance for SAP solutions resource. /// The URL to the next page of results. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// The name of the Virtual Instances for SAP. + /// The name of the Virtual Instances for SAP solutions resource. /// The cancellation token to use. /// , , or is null. /// , or is an empty string, and was expected to be non-empty. @@ -495,11 +495,11 @@ public async Task> ListNextPageAsync(string ne } } - /// Lists the SAP Database Instances in an SVI. + /// Lists the Database resources associated with a Virtual Instance for SAP solutions resource. /// The URL to the next page of results. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// The name of the Virtual Instances for SAP. + /// The name of the Virtual Instances for SAP solutions resource. /// The cancellation token to use. /// , , or is null. /// , or is an empty string, and was expected to be non-empty. diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/RestOperations/SAPVirtualInstancesRestOperations.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/RestOperations/SAPVirtualInstancesRestOperations.cs index f156869877646..e4657f72aa6ad 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/RestOperations/SAPVirtualInstancesRestOperations.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/RestOperations/SAPVirtualInstancesRestOperations.cs @@ -61,11 +61,11 @@ internal HttpMessage CreateCreateRequest(string subscriptionId, string resourceG return message; } - /// Creates an Virtual Instance for SAP. + /// Creates a Virtual Instance for SAP solutions (VIS) resource. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// The name of the Virtual Instances for SAP. - /// The Virtual Instance for SAP request body. + /// The name of the Virtual Instances for SAP solutions resource. + /// Virtual Instance for SAP solutions resource request body. /// The cancellation token to use. /// , , or is null. /// , or is an empty string, and was expected to be non-empty. @@ -88,11 +88,11 @@ public async Task CreateAsync(string subscriptionId, string resourceGr } } - /// Creates an Virtual Instance for SAP. + /// Creates a Virtual Instance for SAP solutions (VIS) resource. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// The name of the Virtual Instances for SAP. - /// The Virtual Instance for SAP request body. + /// The name of the Virtual Instances for SAP solutions resource. + /// Virtual Instance for SAP solutions resource request body. /// The cancellation token to use. /// , , or is null. /// , or is an empty string, and was expected to be non-empty. @@ -135,10 +135,10 @@ internal HttpMessage CreateGetRequest(string subscriptionId, string resourceGrou return message; } - /// Gets an Virtual Instance for SAP. + /// Gets a Virtual Instance for SAP solutions resource. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// The name of the Virtual Instances for SAP. + /// The name of the Virtual Instances for SAP solutions resource. /// The cancellation token to use. /// , or is null. /// , or is an empty string, and was expected to be non-empty. @@ -166,10 +166,10 @@ public async Task> GetAsync(string subscription } } - /// Gets an Virtual Instance for SAP. + /// Gets a Virtual Instance for SAP solutions resource. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// The name of the Virtual Instances for SAP. + /// The name of the Virtual Instances for SAP solutions resource. /// The cancellation token to use. /// , or is null. /// , or is an empty string, and was expected to be non-empty. @@ -221,11 +221,11 @@ internal HttpMessage CreateUpdateRequest(string subscriptionId, string resourceG return message; } - /// Updates an Virtual Instance for SAP. + /// Updates a Virtual Instance for SAP solutions resource. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// The name of the Virtual Instances for SAP. - /// The Update Virtual Instance for SAP request body. + /// The name of the Virtual Instances for SAP solutions resource. + /// Request body to update a Virtual Instance for SAP solutions resource. /// The cancellation token to use. /// , , or is null. /// , or is an empty string, and was expected to be non-empty. @@ -252,11 +252,11 @@ public async Task> UpdateAsync(string subscript } } - /// Updates an Virtual Instance for SAP. + /// Updates a Virtual Instance for SAP solutions resource. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// The name of the Virtual Instances for SAP. - /// The Update Virtual Instance for SAP request body. + /// The name of the Virtual Instances for SAP solutions resource. + /// Request body to update a Virtual Instance for SAP solutions resource. /// The cancellation token to use. /// , , or is null. /// , or is an empty string, and was expected to be non-empty. @@ -303,10 +303,10 @@ internal HttpMessage CreateDeleteRequest(string subscriptionId, string resourceG return message; } - /// Deletes an Virtual Instance for SAP. + /// Deletes a Virtual Instance for SAP solutions resource and its child resources, that is the associated Central Services Instance, Application Server Instances and Database Instance. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// The name of the Virtual Instances for SAP. + /// The name of the Virtual Instances for SAP solutions resource. /// The cancellation token to use. /// , or is null. /// , or is an empty string, and was expected to be non-empty. @@ -329,10 +329,10 @@ public async Task DeleteAsync(string subscriptionId, string resourceGr } } - /// Deletes an Virtual Instance for SAP. + /// Deletes a Virtual Instance for SAP solutions resource and its child resources, that is the associated Central Services Instance, Application Server Instances and Database Instance. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// The name of the Virtual Instances for SAP. + /// The name of the Virtual Instances for SAP solutions resource. /// The cancellation token to use. /// , or is null. /// , or is an empty string, and was expected to be non-empty. @@ -374,7 +374,7 @@ internal HttpMessage CreateListByResourceGroupRequest(string subscriptionId, str return message; } - /// Gets all Virtual Instances for SAP in a resource group. + /// Gets all Virtual Instances for SAP solutions resources in a Resource Group. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. /// The cancellation token to use. @@ -401,7 +401,7 @@ public async Task> ListByResourceGroupAsync(str } } - /// Gets all Virtual Instances for SAP in a resource group. + /// Gets all Virtual Instances for SAP solutions resources in a Resource Group. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. /// The cancellation token to use. @@ -445,7 +445,7 @@ internal HttpMessage CreateListBySubscriptionRequest(string subscriptionId) return message; } - /// Gets all Virtual Instances for SAP in the subscription. + /// Gets all Virtual Instances for SAP solutions resources in a Subscription. /// The ID of the target subscription. /// The cancellation token to use. /// is null. @@ -470,7 +470,7 @@ public async Task> ListBySubscriptionAsync(stri } } - /// Gets all Virtual Instances for SAP in the subscription. + /// Gets all Virtual Instances for SAP solutions resources in a Subscription. /// The ID of the target subscription. /// The cancellation token to use. /// is null. @@ -516,10 +516,10 @@ internal HttpMessage CreateStartRequest(string subscriptionId, string resourceGr return message; } - /// Starts the SAP System. + /// Starts the SAP application, that is the Central Services instance and Application server instances. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// The name of the Virtual Instances for SAP. + /// The name of the Virtual Instances for SAP solutions resource. /// The cancellation token to use. /// , or is null. /// , or is an empty string, and was expected to be non-empty. @@ -541,10 +541,10 @@ public async Task StartAsync(string subscriptionId, string resourceGro } } - /// Starts the SAP System. + /// Starts the SAP application, that is the Central Services instance and Application server instances. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// The name of the Virtual Instances for SAP. + /// The name of the Virtual Instances for SAP solutions resource. /// The cancellation token to use. /// , or is null. /// , or is an empty string, and was expected to be non-empty. @@ -594,11 +594,11 @@ internal HttpMessage CreateStopRequest(string subscriptionId, string resourceGro return message; } - /// Stops the SAP System. + /// Stops the SAP Application, that is the Application server instances and Central Services instance. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// The name of the Virtual Instances for SAP. - /// The Virtual Instances for SAP stop request body. + /// The name of the Virtual Instances for SAP solutions resource. + /// The Virtual Instance for SAP solutions resource stop request body. /// The cancellation token to use. /// , or is null. /// , or is an empty string, and was expected to be non-empty. @@ -620,11 +620,11 @@ public async Task StopAsync(string subscriptionId, string resourceGrou } } - /// Stops the SAP System. + /// Stops the SAP Application, that is the Application server instances and Central Services instance. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. - /// The name of the Virtual Instances for SAP. - /// The Virtual Instances for SAP stop request body. + /// The name of the Virtual Instances for SAP solutions resource. + /// The Virtual Instance for SAP solutions resource stop request body. /// The cancellation token to use. /// , or is null. /// , or is an empty string, and was expected to be non-empty. @@ -660,7 +660,7 @@ internal HttpMessage CreateListByResourceGroupNextPageRequest(string nextLink, s return message; } - /// Gets all Virtual Instances for SAP in a resource group. + /// Gets all Virtual Instances for SAP solutions resources in a Resource Group. /// The URL to the next page of results. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. @@ -689,7 +689,7 @@ public async Task> ListByResourceGroupNextPageA } } - /// Gets all Virtual Instances for SAP in a resource group. + /// Gets all Virtual Instances for SAP solutions resources in a Resource Group. /// The URL to the next page of results. /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. @@ -732,7 +732,7 @@ internal HttpMessage CreateListBySubscriptionNextPageRequest(string nextLink, st return message; } - /// Gets all Virtual Instances for SAP in the subscription. + /// Gets all Virtual Instances for SAP solutions resources in a Subscription. /// The URL to the next page of results. /// The ID of the target subscription. /// The cancellation token to use. @@ -759,7 +759,7 @@ public async Task> ListBySubscriptionNextPageAs } } - /// Gets all Virtual Instances for SAP in the subscription. + /// Gets all Virtual Instances for SAP solutions resources in a Subscription. /// The URL to the next page of results. /// The ID of the target subscription. /// The cancellation token to use. diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/RestOperations/WorkloadsRestOperations.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/RestOperations/WorkloadsRestOperations.cs index 69d8b3af7581a..f7856312ecbfd 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/RestOperations/WorkloadsRestOperations.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/RestOperations/WorkloadsRestOperations.cs @@ -63,7 +63,7 @@ internal HttpMessage CreateSapSizingRecommendationsRequest(string subscriptionId return message; } - /// Get SAP sizing recommendations. + /// Get SAP sizing recommendations by providing input SAPS for application tier and memory required for database tier. /// The ID of the target subscription. /// The name of Azure region. /// SAP Sizing Recommendation Request body. @@ -90,7 +90,7 @@ public async Task> SapSizingRecommendati } } - /// Get SAP sizing recommendations. + /// Get SAP sizing recommendations by providing input SAPS for application tier and memory required for database tier. /// The ID of the target subscription. /// The name of Azure region. /// SAP Sizing Recommendation Request body. @@ -143,7 +143,7 @@ internal HttpMessage CreateSapSupportedSkuRequest(string subscriptionId, AzureLo return message; } - /// Get SAP supported SKUs. + /// Get a list of SAP supported SKUs for ASCS, Application and Database tier. /// The ID of the target subscription. /// The name of Azure region. /// SAP Supported SKU Request body. @@ -170,7 +170,7 @@ public async Task> SapSupportedSkuAsync } } - /// Get SAP supported SKUs. + /// Get a list of SAP supported SKUs for ASCS, Application and Database tier. /// The ID of the target subscription. /// The name of Azure region. /// SAP Supported SKU Request body. @@ -223,7 +223,7 @@ internal HttpMessage CreateSapDiskConfigurationsRequest(string subscriptionId, A return message; } - /// Get SAP Disk Configurations. + /// Get the SAP Disk Configuration Layout prod/non-prod SAP System. /// The ID of the target subscription. /// The name of Azure region. /// SAP Disk Configurations Request body. @@ -250,7 +250,7 @@ public async Task> SapDiskConfigurationsAs } } - /// Get SAP Disk Configurations. + /// Get the SAP Disk Configuration Layout prod/non-prod SAP System. /// The ID of the target subscription. /// The name of Azure region. /// SAP Disk Configurations Request body. @@ -303,7 +303,7 @@ internal HttpMessage CreateSapAvailabilityZoneDetailsRequest(string subscription return message; } - /// Get SAP Availability Zone Details. + /// Get the recommended SAP Availability Zone Pair Details for your region. /// The ID of the target subscription. /// The name of Azure region. /// SAP Availability Zone Details Request body. @@ -330,7 +330,7 @@ public async Task> SapAvailabilityZon } } - /// Get SAP Availability Zone Details. + /// Get the recommended SAP Availability Zone Pair Details for your region. /// The ID of the target subscription. /// The name of Azure region. /// SAP Availability Zone Details Request body. diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/SapApplicationServerInstanceCollection.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/SapApplicationServerInstanceCollection.cs index 5c0f7d3d10eeb..7cd2c067d45f5 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/SapApplicationServerInstanceCollection.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/SapApplicationServerInstanceCollection.cs @@ -54,13 +54,13 @@ internal static void ValidateResourceId(ResourceIdentifier id) } /// - /// Puts the SAP Application Server Instance. <br><br>This will be used by service only. PUT by end user will return a Bad Request error. + /// Puts the SAP Application Server Instance resource. <br><br>This will be used by service only. PUT by end user will return a Bad Request error. /// Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/applicationInstances/{applicationInstanceName} /// Operation Id: SAPApplicationServerInstances_Create /// /// 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 name of SAP Application Server instance. - /// The SAP Application Server instance request body. + /// The name of SAP Application Server instance resource. + /// The SAP Application Server Instance resource request body. /// The cancellation token to use. /// is an empty string, and was expected to be non-empty. /// or is null. @@ -87,13 +87,13 @@ public virtual async Task> Cr } /// - /// Puts the SAP Application Server Instance. <br><br>This will be used by service only. PUT by end user will return a Bad Request error. + /// Puts the SAP Application Server Instance resource. <br><br>This will be used by service only. PUT by end user will return a Bad Request error. /// Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/applicationInstances/{applicationInstanceName} /// Operation Id: SAPApplicationServerInstances_Create /// /// 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 name of SAP Application Server instance. - /// The SAP Application Server instance request body. + /// The name of SAP Application Server instance resource. + /// The SAP Application Server Instance resource request body. /// The cancellation token to use. /// is an empty string, and was expected to be non-empty. /// or is null. @@ -120,11 +120,11 @@ public virtual ArmOperation CreateOrUpdate } /// - /// Gets the SAP Application Server Instance. + /// Gets the SAP Application Server Instance corresponding to the Virtual Instance for SAP solutions resource. /// Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/applicationInstances/{applicationInstanceName} /// Operation Id: SAPApplicationServerInstances_Get /// - /// The name of SAP Application Server instance. + /// The name of SAP Application Server instance resource. /// The cancellation token to use. /// is an empty string, and was expected to be non-empty. /// is null. @@ -149,11 +149,11 @@ public virtual async Task> GetAsy } /// - /// Gets the SAP Application Server Instance. + /// Gets the SAP Application Server Instance corresponding to the Virtual Instance for SAP solutions resource. /// Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/applicationInstances/{applicationInstanceName} /// Operation Id: SAPApplicationServerInstances_Get /// - /// The name of SAP Application Server instance. + /// The name of SAP Application Server instance resource. /// The cancellation token to use. /// is an empty string, and was expected to be non-empty. /// is null. @@ -178,7 +178,7 @@ public virtual Response Get(string applica } /// - /// Lists the SAP Application server Instances in an SVI. + /// Lists the SAP Application Server Instance resources for a given Virtual Instance for SAP solutions resource. /// Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/applicationInstances /// Operation Id: SAPApplicationServerInstances_List /// @@ -220,7 +220,7 @@ async Task> NextPageFunc(string nextL } /// - /// Lists the SAP Application server Instances in an SVI. + /// Lists the SAP Application Server Instance resources for a given Virtual Instance for SAP solutions resource. /// Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/applicationInstances /// Operation Id: SAPApplicationServerInstances_List /// @@ -266,7 +266,7 @@ Page NextPageFunc(string nextLink, int? pa /// Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/applicationInstances/{applicationInstanceName} /// Operation Id: SAPApplicationServerInstances_Get /// - /// The name of SAP Application Server instance. + /// The name of SAP Application Server instance resource. /// The cancellation token to use. /// is an empty string, and was expected to be non-empty. /// is null. @@ -293,7 +293,7 @@ public virtual async Task> ExistsAsync(string applicationInstance /// Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/applicationInstances/{applicationInstanceName} /// Operation Id: SAPApplicationServerInstances_Get /// - /// The name of SAP Application Server instance. + /// The name of SAP Application Server instance resource. /// The cancellation token to use. /// is an empty string, and was expected to be non-empty. /// is null. diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/SapApplicationServerInstanceData.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/SapApplicationServerInstanceData.cs index 937ce2fe3ab56..64ca92fb4121c 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/SapApplicationServerInstanceData.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/SapApplicationServerInstanceData.cs @@ -28,18 +28,18 @@ public SapApplicationServerInstanceData(AzureLocation location) : base(location) /// The systemData. /// The tags. /// The location. - /// The application server instance id. - /// The application server subnet. - /// The application server SAP host name. - /// The application server SAP kernel version. - /// The application server SAP kernel patch. - /// The application server SAP IP Address. - /// The application server gateway Port. - /// The application server ICM HTTP Port. - /// The application server ICM HTTPS Port. + /// Application server Instance Number. + /// Application server Subnet. + /// Application server instance SAP hostname. + /// Application server instance SAP Kernel Version. + /// Application server instance SAP Kernel Patch level. + /// Application server instance SAP IP Address. + /// Application server instance gateway Port. + /// Application server instance ICM HTTP Port. + /// Application server instance ICM HTTPS Port. /// The virtual machine. /// Defines the SAP Instance status. - /// Defines the SAP Instance health. + /// Defines the health of SAP Instances. /// Defines the provisioning states. /// Defines the Application Instance errors. internal SapApplicationServerInstanceData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, string instanceNo, ResourceIdentifier subnetId, string hostname, string kernelVersion, string kernelPatch, string ipAddress, long? gatewayPort, long? icmHttpPort, long? icmHttpsPort, ResourceIdentifier virtualMachineId, SapVirtualInstanceStatus? status, SapHealthState? health, SapVirtualInstanceProvisioningState? provisioningState, SapVirtualInstanceError errors) : base(id, name, resourceType, systemData, tags, location) @@ -60,29 +60,29 @@ internal SapApplicationServerInstanceData(ResourceIdentifier id, string name, Re Errors = errors; } - /// The application server instance id. + /// Application server Instance Number. public string InstanceNo { get; } - /// The application server subnet. + /// Application server Subnet. public ResourceIdentifier SubnetId { get; } - /// The application server SAP host name. + /// Application server instance SAP hostname. public string Hostname { get; } - /// The application server SAP kernel version. + /// Application server instance SAP Kernel Version. public string KernelVersion { get; } - /// The application server SAP kernel patch. + /// Application server instance SAP Kernel Patch level. public string KernelPatch { get; } - /// The application server SAP IP Address. + /// Application server instance SAP IP Address. public string IPAddress { get; } - /// The application server gateway Port. + /// Application server instance gateway Port. public long? GatewayPort { get; } - /// The application server ICM HTTP Port. + /// Application server instance ICM HTTP Port. public long? IcmHttpPort { get; } - /// The application server ICM HTTPS Port. + /// Application server instance ICM HTTPS Port. public long? IcmHttpsPort { get; } /// The virtual machine. public ResourceIdentifier VirtualMachineId { get; } /// Defines the SAP Instance status. public SapVirtualInstanceStatus? Status { get; } - /// Defines the SAP Instance health. + /// Defines the health of SAP Instances. public SapHealthState? Health { get; } /// Defines the provisioning states. public SapVirtualInstanceProvisioningState? ProvisioningState { get; } diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/SapApplicationServerInstanceResource.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/SapApplicationServerInstanceResource.cs index 1e1511cbedcd9..0190cd89f7213 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/SapApplicationServerInstanceResource.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/SapApplicationServerInstanceResource.cs @@ -90,7 +90,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) } /// - /// Gets the SAP Application Server Instance. + /// Gets the SAP Application Server Instance corresponding to the Virtual Instance for SAP solutions resource. /// Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/applicationInstances/{applicationInstanceName} /// Operation Id: SAPApplicationServerInstances_Get /// @@ -114,7 +114,7 @@ public virtual async Task> GetAsy } /// - /// Gets the SAP Application Server Instance. + /// Gets the SAP Application Server Instance corresponding to the Virtual Instance for SAP solutions resource. /// Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/applicationInstances/{applicationInstanceName} /// Operation Id: SAPApplicationServerInstances_Get /// @@ -138,7 +138,7 @@ public virtual Response Get(CancellationTo } /// - /// Deletes the SAP Application Server Instance. <br><br>This operation will be used by service only. Delete by end user will return a Bad Request error. + /// Deletes the SAP Application Server Instance resource. <br><br>This operation will be used by service only. Delete by end user will return a Bad Request error. /// Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/applicationInstances/{applicationInstanceName} /// Operation Id: SAPApplicationServerInstances_Delete /// @@ -164,7 +164,7 @@ public virtual async Task> DeleteAsync(WaitU } /// - /// Deletes the SAP Application Server Instance. <br><br>This operation will be used by service only. Delete by end user will return a Bad Request error. + /// Deletes the SAP Application Server Instance resource. <br><br>This operation will be used by service only. Delete by end user will return a Bad Request error. /// Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/applicationInstances/{applicationInstanceName} /// Operation Id: SAPApplicationServerInstances_Delete /// @@ -190,12 +190,12 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, C } /// - /// Puts the SAP Application Server Instance. + /// Puts the SAP Application Server Instance resource. /// Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/applicationInstances/{applicationInstanceName} /// Operation Id: SAPApplicationServerInstances_Update /// /// 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 SAP Application Server instance request body. + /// The SAP Application Server Instance resource request body. /// The cancellation token to use. /// is null. public virtual async Task> UpdateAsync(WaitUntil waitUntil, SapApplicationServerInstancePatch patch, CancellationToken cancellationToken = default) @@ -220,12 +220,12 @@ public virtual async Task> Up } /// - /// Puts the SAP Application Server Instance. + /// Puts the SAP Application Server Instance resource. /// Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/applicationInstances/{applicationInstanceName} /// Operation Id: SAPApplicationServerInstances_Update /// /// 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 SAP Application Server instance request body. + /// The SAP Application Server Instance resource request body. /// The cancellation token to use. /// is null. public virtual ArmOperation Update(WaitUntil waitUntil, SapApplicationServerInstancePatch patch, CancellationToken cancellationToken = default) diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/SapCentralServerInstanceCollection.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/SapCentralServerInstanceCollection.cs index 46013cecb2fc7..edada17db59d5 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/SapCentralServerInstanceCollection.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/SapCentralServerInstanceCollection.cs @@ -54,13 +54,13 @@ internal static void ValidateResourceId(ResourceIdentifier id) } /// - /// Puts the SAP Central Instance. <br><br>This will be used by service only. PUT by end user will return a Bad Request error. + /// Creates the SAP Central Services Instance resource. <br><br>This will be used by service only. PUT operation on this resource by end user will return a Bad Request error. /// Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/centralInstances/{centralInstanceName} /// Operation Id: SAPCentralInstances_Create /// /// 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. - /// Central Instance name string modeled as parameter for auto generation to work correctly. - /// The SAP Central Server instance request body. + /// Central Services Instance resource name string modeled as parameter for auto generation to work correctly. + /// The SAP Central Services Instance request body. /// The cancellation token to use. /// is an empty string, and was expected to be non-empty. /// or is null. @@ -87,13 +87,13 @@ public virtual async Task> Create } /// - /// Puts the SAP Central Instance. <br><br>This will be used by service only. PUT by end user will return a Bad Request error. + /// Creates the SAP Central Services Instance resource. <br><br>This will be used by service only. PUT operation on this resource by end user will return a Bad Request error. /// Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/centralInstances/{centralInstanceName} /// Operation Id: SAPCentralInstances_Create /// /// 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. - /// Central Instance name string modeled as parameter for auto generation to work correctly. - /// The SAP Central Server instance request body. + /// Central Services Instance resource name string modeled as parameter for auto generation to work correctly. + /// The SAP Central Services Instance request body. /// The cancellation token to use. /// is an empty string, and was expected to be non-empty. /// or is null. @@ -120,11 +120,11 @@ public virtual ArmOperation CreateOrUpdate(Wai } /// - /// Gets the SAP Central Instance. + /// Gets the SAP Central Services Instance resource. /// Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/centralInstances/{centralInstanceName} /// Operation Id: SAPCentralInstances_Get /// - /// Central Instance name string modeled as parameter for auto generation to work correctly. + /// Central Services Instance resource name string modeled as parameter for auto generation to work correctly. /// The cancellation token to use. /// is an empty string, and was expected to be non-empty. /// is null. @@ -149,11 +149,11 @@ public virtual async Task> GetAsync(s } /// - /// Gets the SAP Central Instance. + /// Gets the SAP Central Services Instance resource. /// Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/centralInstances/{centralInstanceName} /// Operation Id: SAPCentralInstances_Get /// - /// Central Instance name string modeled as parameter for auto generation to work correctly. + /// Central Services Instance resource name string modeled as parameter for auto generation to work correctly. /// The cancellation token to use. /// is an empty string, and was expected to be non-empty. /// is null. @@ -178,7 +178,7 @@ public virtual Response Get(string centralInst } /// - /// Lists the SAP Central Instances in an SVI. + /// Lists the SAP Central Services Instance resource for the given Virtual Instance for SAP solutions resource. /// Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/centralInstances /// Operation Id: SAPCentralInstances_List /// @@ -220,7 +220,7 @@ async Task> NextPageFunc(string nextLink, } /// - /// Lists the SAP Central Instances in an SVI. + /// Lists the SAP Central Services Instance resource for the given Virtual Instance for SAP solutions resource. /// Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/centralInstances /// Operation Id: SAPCentralInstances_List /// @@ -266,7 +266,7 @@ Page NextPageFunc(string nextLink, int? pageSi /// Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/centralInstances/{centralInstanceName} /// Operation Id: SAPCentralInstances_Get /// - /// Central Instance name string modeled as parameter for auto generation to work correctly. + /// Central Services Instance resource name string modeled as parameter for auto generation to work correctly. /// The cancellation token to use. /// is an empty string, and was expected to be non-empty. /// is null. @@ -293,7 +293,7 @@ public virtual async Task> ExistsAsync(string centralInstanceName /// Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/centralInstances/{centralInstanceName} /// Operation Id: SAPCentralInstances_Get /// - /// Central Instance name string modeled as parameter for auto generation to work correctly. + /// Central Services Instance resource name string modeled as parameter for auto generation to work correctly. /// The cancellation token to use. /// is an empty string, and was expected to be non-empty. /// is null. diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/SapCentralServerInstanceData.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/SapCentralServerInstanceData.cs index b72ff0ad50d66..14004dcfb0808 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/SapCentralServerInstanceData.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/SapCentralServerInstanceData.cs @@ -29,19 +29,19 @@ public SapCentralServerInstanceData(AzureLocation location) : base(location) /// The systemData. /// The tags. /// The location. - /// The central server instance id. - /// The central server subnet. - /// Defines the SAP message server properties. - /// Defines the SAP enqueue server properties. + /// The central services instance number. + /// The central services instance subnet. + /// Defines the SAP Message Server properties. + /// Defines the SAP Enqueue Server properties. /// Defines the SAP Gateway Server properties. - /// Defines the SAP ERS Server properties. - /// The central server kernel version. - /// The central server kernel patch. - /// The list of virtual machines. + /// Defines the SAP Enqueue Replication Server (ERS) properties. + /// The central services instance Kernel Version. + /// The central services instance Kernel Patch level. + /// The list of virtual machines corresponding to the Central Services instance. /// Defines the SAP Instance status. - /// Defines the SAP Instance health. + /// Defines the health of SAP Instances. /// Defines the provisioning states. - /// Defines the Central Instance errors. + /// Defines the errors related to SAP Central Services Instance resource. internal SapCentralServerInstanceData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, string instanceNo, ResourceIdentifier subnetId, MessageServerProperties messageServerProperties, EnqueueServerProperties enqueueServerProperties, GatewayServerProperties gatewayServerProperties, EnqueueReplicationServerProperties enqueueReplicationServerProperties, string kernelVersion, string kernelPatch, IReadOnlyList vmDetails, SapVirtualInstanceStatus? status, SapHealthState? health, SapVirtualInstanceProvisioningState? provisioningState, SapVirtualInstanceError errors) : base(id, name, resourceType, systemData, tags, location) { InstanceNo = instanceNo; @@ -59,31 +59,31 @@ internal SapCentralServerInstanceData(ResourceIdentifier id, string name, Resour Errors = errors; } - /// The central server instance id. + /// The central services instance number. public string InstanceNo { get; } - /// The central server subnet. + /// The central services instance subnet. public ResourceIdentifier SubnetId { get; } - /// Defines the SAP message server properties. + /// Defines the SAP Message Server properties. public MessageServerProperties MessageServerProperties { get; set; } - /// Defines the SAP enqueue server properties. + /// Defines the SAP Enqueue Server properties. public EnqueueServerProperties EnqueueServerProperties { get; set; } /// Defines the SAP Gateway Server properties. public GatewayServerProperties GatewayServerProperties { get; set; } - /// Defines the SAP ERS Server properties. + /// Defines the SAP Enqueue Replication Server (ERS) properties. public EnqueueReplicationServerProperties EnqueueReplicationServerProperties { get; set; } - /// The central server kernel version. + /// The central services instance Kernel Version. public string KernelVersion { get; } - /// The central server kernel patch. + /// The central services instance Kernel Patch level. public string KernelPatch { get; } - /// The list of virtual machines. + /// The list of virtual machines corresponding to the Central Services instance. public IReadOnlyList VmDetails { get; } /// Defines the SAP Instance status. public SapVirtualInstanceStatus? Status { get; } - /// Defines the SAP Instance health. + /// Defines the health of SAP Instances. public SapHealthState? Health { get; } /// Defines the provisioning states. public SapVirtualInstanceProvisioningState? ProvisioningState { get; } - /// Defines the Central Instance errors. + /// Defines the errors related to SAP Central Services Instance resource. internal SapVirtualInstanceError Errors { get; } /// The Virtual Instance for SAP error body. public SapVirtualInstanceErrorDetail ErrorsProperties diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/SapCentralServerInstanceResource.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/SapCentralServerInstanceResource.cs index f1a0846ae0026..54aac8404139b 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/SapCentralServerInstanceResource.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/SapCentralServerInstanceResource.cs @@ -90,7 +90,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) } /// - /// Gets the SAP Central Instance. + /// Gets the SAP Central Services Instance resource. /// Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/centralInstances/{centralInstanceName} /// Operation Id: SAPCentralInstances_Get /// @@ -114,7 +114,7 @@ public virtual async Task> GetAsync(C } /// - /// Gets the SAP Central Instance. + /// Gets the SAP Central Services Instance resource. /// Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/centralInstances/{centralInstanceName} /// Operation Id: SAPCentralInstances_Get /// @@ -138,7 +138,7 @@ public virtual Response Get(CancellationToken } /// - /// Deletes the SAP Central Instance. <br><br>This will be used by service only. Delete by end user will return a Bad Request error. + /// Deletes the SAP Central Services Instance resource. <br><br>This will be used by service only. Delete operation on this resource by end user will return a Bad Request error. You can delete the parent resource, which is the Virtual Instance for SAP solutions resource, using the delete operation on it. /// Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/centralInstances/{centralInstanceName} /// Operation Id: SAPCentralInstances_Delete /// @@ -164,7 +164,7 @@ public virtual async Task> DeleteAsync(WaitU } /// - /// Deletes the SAP Central Instance. <br><br>This will be used by service only. Delete by end user will return a Bad Request error. + /// Deletes the SAP Central Services Instance resource. <br><br>This will be used by service only. Delete operation on this resource by end user will return a Bad Request error. You can delete the parent resource, which is the Virtual Instance for SAP solutions resource, using the delete operation on it. /// Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/centralInstances/{centralInstanceName} /// Operation Id: SAPCentralInstances_Delete /// @@ -190,12 +190,12 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, C } /// - /// Updates the SAP Central Instance. <br><br>This can be used to update tags. + /// Updates the SAP Central Services Instance resource. <br><br>This can be used to update tags on the resource. /// Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/centralInstances/{centralInstanceName} /// Operation Id: SAPCentralInstances_Update /// /// 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 SAP Central Server instance request body. + /// The SAP Central Services Instance resource request body. /// The cancellation token to use. /// is null. public virtual async Task> UpdateAsync(WaitUntil waitUntil, SapCentralServerInstancePatch patch, CancellationToken cancellationToken = default) @@ -220,12 +220,12 @@ public virtual async Task> Update } /// - /// Updates the SAP Central Instance. <br><br>This can be used to update tags. + /// Updates the SAP Central Services Instance resource. <br><br>This can be used to update tags on the resource. /// Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/centralInstances/{centralInstanceName} /// Operation Id: SAPCentralInstances_Update /// /// 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 SAP Central Server instance request body. + /// The SAP Central Services Instance resource request body. /// The cancellation token to use. /// is null. public virtual ArmOperation Update(WaitUntil waitUntil, SapCentralServerInstancePatch patch, CancellationToken cancellationToken = default) diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/SapDatabaseInstanceCollection.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/SapDatabaseInstanceCollection.cs index 19ad8dc7faa5c..c375d497153e4 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/SapDatabaseInstanceCollection.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/SapDatabaseInstanceCollection.cs @@ -54,13 +54,13 @@ internal static void ValidateResourceId(ResourceIdentifier id) } /// - /// Puts the SAP Database Instance. <br><br>This will be used by service only. PUT by end user will return a Bad Request error. + /// Creates the Database resource corresponding to the Virtual Instance for SAP solutions resource. <br><br>This will be used by service only. PUT by end user will return a Bad Request error. /// Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/databaseInstances/{databaseInstanceName} /// Operation Id: SAPDatabaseInstances_Create /// /// 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. - /// Database Instance string modeled as parameter for auto generation to work correctly. - /// The SAP Database Server instance request body. + /// Database resource name string modeled as parameter for auto generation to work correctly. + /// Request body of Database resource of a SAP system. /// The cancellation token to use. /// is an empty string, and was expected to be non-empty. /// or is null. @@ -87,13 +87,13 @@ public virtual async Task> CreateOrUpd } /// - /// Puts the SAP Database Instance. <br><br>This will be used by service only. PUT by end user will return a Bad Request error. + /// Creates the Database resource corresponding to the Virtual Instance for SAP solutions resource. <br><br>This will be used by service only. PUT by end user will return a Bad Request error. /// Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/databaseInstances/{databaseInstanceName} /// Operation Id: SAPDatabaseInstances_Create /// /// 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. - /// Database Instance string modeled as parameter for auto generation to work correctly. - /// The SAP Database Server instance request body. + /// Database resource name string modeled as parameter for auto generation to work correctly. + /// Request body of Database resource of a SAP system. /// The cancellation token to use. /// is an empty string, and was expected to be non-empty. /// or is null. @@ -120,11 +120,11 @@ public virtual ArmOperation CreateOrUpdate(WaitUnti } /// - /// Gets the SAP Database Instance. + /// Gets the SAP Database Instance resource. /// Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/databaseInstances/{databaseInstanceName} /// Operation Id: SAPDatabaseInstances_Get /// - /// Database Instance string modeled as parameter for auto generation to work correctly. + /// Database resource name string modeled as parameter for auto generation to work correctly. /// The cancellation token to use. /// is an empty string, and was expected to be non-empty. /// is null. @@ -149,11 +149,11 @@ public virtual async Task> GetAsync(string } /// - /// Gets the SAP Database Instance. + /// Gets the SAP Database Instance resource. /// Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/databaseInstances/{databaseInstanceName} /// Operation Id: SAPDatabaseInstances_Get /// - /// Database Instance string modeled as parameter for auto generation to work correctly. + /// Database resource name string modeled as parameter for auto generation to work correctly. /// The cancellation token to use. /// is an empty string, and was expected to be non-empty. /// is null. @@ -178,7 +178,7 @@ public virtual Response Get(string databaseInstance } /// - /// Lists the SAP Database Instances in an SVI. + /// Lists the Database resources associated with a Virtual Instance for SAP solutions resource. /// Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/databaseInstances /// Operation Id: SAPDatabaseInstances_List /// @@ -220,7 +220,7 @@ async Task> NextPageFunc(string nextLink, int? } /// - /// Lists the SAP Database Instances in an SVI. + /// Lists the Database resources associated with a Virtual Instance for SAP solutions resource. /// Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/databaseInstances /// Operation Id: SAPDatabaseInstances_List /// @@ -266,7 +266,7 @@ Page NextPageFunc(string nextLink, int? pageSizeHin /// Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/databaseInstances/{databaseInstanceName} /// Operation Id: SAPDatabaseInstances_Get /// - /// Database Instance string modeled as parameter for auto generation to work correctly. + /// Database resource name string modeled as parameter for auto generation to work correctly. /// The cancellation token to use. /// is an empty string, and was expected to be non-empty. /// is null. @@ -293,7 +293,7 @@ public virtual async Task> ExistsAsync(string databaseInstanceNam /// Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/databaseInstances/{databaseInstanceName} /// Operation Id: SAPDatabaseInstances_Get /// - /// Database Instance string modeled as parameter for auto generation to work correctly. + /// Database resource name string modeled as parameter for auto generation to work correctly. /// The cancellation token to use. /// is an empty string, and was expected to be non-empty. /// is null. diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/SapDatabaseInstanceData.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/SapDatabaseInstanceData.cs index 6d837719d0457..d43ef3c0bb1e0 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/SapDatabaseInstanceData.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/SapDatabaseInstanceData.cs @@ -29,14 +29,14 @@ public SapDatabaseInstanceData(AzureLocation location) : base(location) /// The systemData. /// The tags. /// The location. - /// The database subnet. - /// The database SID. - /// The SAP database type. - /// The database IP Address. - /// The list of virtual machines. + /// Database subnet. + /// Database SID name. + /// Database type, that is if the DB is HANA, DB2, Oracle, SAP ASE, Max DB or MS SQL Server. + /// Database IP Address. + /// The list of virtual machines corresponding to the Database resource. /// Defines the SAP Instance status. /// Defines the provisioning states. - /// Defines the Database Instance errors. + /// Defines the errors related to Database resource. internal SapDatabaseInstanceData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, ResourceIdentifier subnetId, string databaseSid, string databaseType, string ipAddress, IReadOnlyList vmDetails, SapVirtualInstanceStatus? status, SapVirtualInstanceProvisioningState? provisioningState, SapVirtualInstanceError errors) : base(id, name, resourceType, systemData, tags, location) { SubnetId = subnetId; @@ -49,21 +49,21 @@ internal SapDatabaseInstanceData(ResourceIdentifier id, string name, ResourceTyp Errors = errors; } - /// The database subnet. + /// Database subnet. public ResourceIdentifier SubnetId { get; } - /// The database SID. + /// Database SID name. public string DatabaseSid { get; } - /// The SAP database type. + /// Database type, that is if the DB is HANA, DB2, Oracle, SAP ASE, Max DB or MS SQL Server. public string DatabaseType { get; } - /// The database IP Address. + /// Database IP Address. public string IPAddress { get; } - /// The list of virtual machines. + /// The list of virtual machines corresponding to the Database resource. public IReadOnlyList VmDetails { get; } /// Defines the SAP Instance status. public SapVirtualInstanceStatus? Status { get; } /// Defines the provisioning states. public SapVirtualInstanceProvisioningState? ProvisioningState { get; } - /// Defines the Database Instance errors. + /// Defines the errors related to Database resource. internal SapVirtualInstanceError Errors { get; } /// The Virtual Instance for SAP error body. public SapVirtualInstanceErrorDetail ErrorsProperties diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/SapDatabaseInstanceResource.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/SapDatabaseInstanceResource.cs index 606ded7bc6664..7da5ef29412b7 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/SapDatabaseInstanceResource.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/SapDatabaseInstanceResource.cs @@ -90,7 +90,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) } /// - /// Gets the SAP Database Instance. + /// Gets the SAP Database Instance resource. /// Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/databaseInstances/{databaseInstanceName} /// Operation Id: SAPDatabaseInstances_Get /// @@ -114,7 +114,7 @@ public virtual async Task> GetAsync(Cancel } /// - /// Gets the SAP Database Instance. + /// Gets the SAP Database Instance resource. /// Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/databaseInstances/{databaseInstanceName} /// Operation Id: SAPDatabaseInstances_Get /// @@ -138,7 +138,7 @@ public virtual Response Get(CancellationToken cance } /// - /// Deletes the SAP Database Instance. <br><br>This will be used by service only. Delete by end user will return a Bad Request error. + /// Deletes the Database resource corresponding to a Virtual Instance for SAP solutions resource. <br><br>This will be used by service only. Delete by end user will return a Bad Request error. /// Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/databaseInstances/{databaseInstanceName} /// Operation Id: SAPDatabaseInstances_Delete /// @@ -164,7 +164,7 @@ public virtual async Task> DeleteAsync(WaitU } /// - /// Deletes the SAP Database Instance. <br><br>This will be used by service only. Delete by end user will return a Bad Request error. + /// Deletes the Database resource corresponding to a Virtual Instance for SAP solutions resource. <br><br>This will be used by service only. Delete by end user will return a Bad Request error. /// Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/databaseInstances/{databaseInstanceName} /// Operation Id: SAPDatabaseInstances_Delete /// @@ -190,12 +190,12 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, C } /// - /// Puts the SAP Database Instance. + /// Updates the Database resource. /// Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/databaseInstances/{databaseInstanceName} /// Operation Id: SAPDatabaseInstances_Update /// /// 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 SAP Database Server instance request body. + /// Database resource update request body. /// The cancellation token to use. /// is null. public virtual async Task> UpdateAsync(WaitUntil waitUntil, SapDatabaseInstancePatch patch, CancellationToken cancellationToken = default) @@ -220,12 +220,12 @@ public virtual async Task> UpdateAsync } /// - /// Puts the SAP Database Instance. + /// Updates the Database resource. /// Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/databaseInstances/{databaseInstanceName} /// Operation Id: SAPDatabaseInstances_Update /// /// 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 SAP Database Server instance request body. + /// Database resource update request body. /// The cancellation token to use. /// is null. public virtual ArmOperation Update(WaitUntil waitUntil, SapDatabaseInstancePatch patch, CancellationToken cancellationToken = default) diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/SapMonitorData.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/SapMonitorData.cs index 88acb62646275..9e401c25fd61f 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/SapMonitorData.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/SapMonitorData.cs @@ -29,26 +29,34 @@ public SapMonitorData(AzureLocation location) : base(location) /// The systemData. /// The tags. /// The location. + /// Managed service identity (user assigned identities). /// State of provisioning of the SAP monitor. /// Defines the SAP monitor errors. /// The SAP monitor resources will be deployed in the SAP monitoring region. The subnet region should be same as the SAP monitoring region. /// Sets the routing preference of the SAP monitor. By default only RFC1918 traffic is routed to the customer VNET. + /// Sets the preference for zone redundancy on resources created for the SAP monitor. By default resources will be created which do not support zone redundancy. /// Managed resource group configuration. /// The ARM ID of the Log Analytics Workspace that is used for SAP monitoring. /// The subnet which the SAP monitor will be deployed in. /// The ARM ID of the MSI used for SAP monitoring. - internal SapMonitorData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, WorkloadMonitorProvisioningState? provisioningState, ResponseError errors, AzureLocation? appLocation, RoutingPreference? routingPreference, ManagedRGConfiguration managedResourceGroupConfiguration, ResourceIdentifier logAnalyticsWorkspaceArmId, ResourceIdentifier monitorSubnetId, ResourceIdentifier msiArmId) : base(id, name, resourceType, systemData, tags, location) + /// The ARM ID of the Storage account used for SAP monitoring. + internal SapMonitorData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, UserAssignedServiceIdentity identity, WorkloadMonitorProvisioningState? provisioningState, ResponseError errors, AzureLocation? appLocation, RoutingPreference? routingPreference, string zoneRedundancyPreference, ManagedRGConfiguration managedResourceGroupConfiguration, ResourceIdentifier logAnalyticsWorkspaceArmId, ResourceIdentifier monitorSubnetId, ResourceIdentifier msiArmId, string storageAccountArmId) : base(id, name, resourceType, systemData, tags, location) { + Identity = identity; ProvisioningState = provisioningState; Errors = errors; AppLocation = appLocation; RoutingPreference = routingPreference; + ZoneRedundancyPreference = zoneRedundancyPreference; ManagedResourceGroupConfiguration = managedResourceGroupConfiguration; LogAnalyticsWorkspaceArmId = logAnalyticsWorkspaceArmId; MonitorSubnetId = monitorSubnetId; MsiArmId = msiArmId; + StorageAccountArmId = storageAccountArmId; } + /// Managed service identity (user assigned identities). + public UserAssignedServiceIdentity Identity { get; set; } /// State of provisioning of the SAP monitor. public WorkloadMonitorProvisioningState? ProvisioningState { get; } /// Defines the SAP monitor errors. @@ -57,6 +65,8 @@ internal SapMonitorData(ResourceIdentifier id, string name, ResourceType resourc public AzureLocation? AppLocation { get; set; } /// Sets the routing preference of the SAP monitor. By default only RFC1918 traffic is routed to the customer VNET. public RoutingPreference? RoutingPreference { get; set; } + /// Sets the preference for zone redundancy on resources created for the SAP monitor. By default resources will be created which do not support zone redundancy. + public string ZoneRedundancyPreference { get; set; } /// Managed resource group configuration. internal ManagedRGConfiguration ManagedResourceGroupConfiguration { get; set; } /// Managed resource group name. @@ -77,5 +87,7 @@ public string ManagedResourceGroupName public ResourceIdentifier MonitorSubnetId { get; set; } /// The ARM ID of the MSI used for SAP monitoring. public ResourceIdentifier MsiArmId { get; } + /// The ARM ID of the Storage account used for SAP monitoring. + public string StorageAccountArmId { get; } } } diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/SapMonitorResource.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/SapMonitorResource.cs index daddac0aee652..4aeffb929950f 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/SapMonitorResource.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/SapMonitorResource.cs @@ -189,7 +189,7 @@ public virtual async Task> DeleteAsync(WaitU try { var response = await _sapMonitormonitorsRestClient.DeleteAsync(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, cancellationToken).ConfigureAwait(false); - var operation = new WorkloadsArmOperation(new OperationStatusResultOperationSource(), _sapMonitormonitorsClientDiagnostics, Pipeline, _sapMonitormonitorsRestClient.CreateDeleteRequest(Id.SubscriptionId, Id.ResourceGroupName, Id.Name).Request, response, OperationFinalStateVia.Location); + var operation = new WorkloadsArmOperation(new OperationStatusResultOperationSource(), _sapMonitormonitorsClientDiagnostics, Pipeline, _sapMonitormonitorsRestClient.CreateDeleteRequest(Id.SubscriptionId, Id.ResourceGroupName, Id.Name).Request, response, OperationFinalStateVia.AzureAsyncOperation); if (waitUntil == WaitUntil.Completed) await operation.WaitForCompletionAsync(cancellationToken).ConfigureAwait(false); return operation; @@ -215,7 +215,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, C try { var response = _sapMonitormonitorsRestClient.Delete(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, cancellationToken); - var operation = new WorkloadsArmOperation(new OperationStatusResultOperationSource(), _sapMonitormonitorsClientDiagnostics, Pipeline, _sapMonitormonitorsRestClient.CreateDeleteRequest(Id.SubscriptionId, Id.ResourceGroupName, Id.Name).Request, response, OperationFinalStateVia.Location); + var operation = new WorkloadsArmOperation(new OperationStatusResultOperationSource(), _sapMonitormonitorsClientDiagnostics, Pipeline, _sapMonitormonitorsRestClient.CreateDeleteRequest(Id.SubscriptionId, Id.ResourceGroupName, Id.Name).Request, response, OperationFinalStateVia.AzureAsyncOperation); if (waitUntil == WaitUntil.Completed) operation.WaitForCompletion(cancellationToken); return operation; @@ -232,7 +232,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, C /// Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/monitors/{monitorName} /// Operation Id: monitors_Update /// - /// Request body that only contains the new Tags field. + /// The Update SAP workload monitor request body. /// The cancellation token to use. /// is null. public virtual async Task> UpdateAsync(SapMonitorPatch patch, CancellationToken cancellationToken = default) @@ -258,7 +258,7 @@ public virtual async Task> UpdateAsync(SapMonitorPa /// Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/monitors/{monitorName} /// Operation Id: monitors_Update /// - /// Request body that only contains the new Tags field. + /// The Update SAP workload monitor request body. /// The cancellation token to use. /// is null. public virtual Response Update(SapMonitorPatch patch, CancellationToken cancellationToken = default) diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/SapProviderInstanceData.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/SapProviderInstanceData.cs index affd444f2a0e4..2e124d191c0c5 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/SapProviderInstanceData.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/SapProviderInstanceData.cs @@ -25,6 +25,7 @@ public SapProviderInstanceData() /// The name. /// The resourceType. /// The systemData. + /// Managed service identity (user assigned identities). /// State of provisioning of the provider instance. /// Defines the provider instance errors. /// @@ -32,13 +33,16 @@ public SapProviderInstanceData() /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. /// The available derived classes include , , , , and . /// - internal SapProviderInstanceData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, WorkloadMonitorProvisioningState? provisioningState, ResponseError errors, ProviderSpecificProperties providerSettings) : base(id, name, resourceType, systemData) + internal SapProviderInstanceData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, UserAssignedServiceIdentity identity, WorkloadMonitorProvisioningState? provisioningState, ResponseError errors, ProviderSpecificProperties providerSettings) : base(id, name, resourceType, systemData) { + Identity = identity; ProvisioningState = provisioningState; Errors = errors; ProviderSettings = providerSettings; } + /// Managed service identity (user assigned identities). + public UserAssignedServiceIdentity Identity { get; set; } /// State of provisioning of the provider instance. public WorkloadMonitorProvisioningState? ProvisioningState { get; } /// Defines the provider instance errors. diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/SapProviderInstanceResource.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/SapProviderInstanceResource.cs index d9c1d21154d0d..6b4bd04fb7afc 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/SapProviderInstanceResource.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/SapProviderInstanceResource.cs @@ -149,7 +149,7 @@ public virtual async Task> DeleteAsync(WaitU try { var response = await _sapProviderInstanceProviderInstancesRestClient.DeleteAsync(Id.SubscriptionId, Id.ResourceGroupName, Id.Parent.Name, Id.Name, cancellationToken).ConfigureAwait(false); - var operation = new WorkloadsArmOperation(new OperationStatusResultOperationSource(), _sapProviderInstanceProviderInstancesClientDiagnostics, Pipeline, _sapProviderInstanceProviderInstancesRestClient.CreateDeleteRequest(Id.SubscriptionId, Id.ResourceGroupName, Id.Parent.Name, Id.Name).Request, response, OperationFinalStateVia.Location); + var operation = new WorkloadsArmOperation(new OperationStatusResultOperationSource(), _sapProviderInstanceProviderInstancesClientDiagnostics, Pipeline, _sapProviderInstanceProviderInstancesRestClient.CreateDeleteRequest(Id.SubscriptionId, Id.ResourceGroupName, Id.Parent.Name, Id.Name).Request, response, OperationFinalStateVia.AzureAsyncOperation); if (waitUntil == WaitUntil.Completed) await operation.WaitForCompletionAsync(cancellationToken).ConfigureAwait(false); return operation; @@ -175,7 +175,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, C try { var response = _sapProviderInstanceProviderInstancesRestClient.Delete(Id.SubscriptionId, Id.ResourceGroupName, Id.Parent.Name, Id.Name, cancellationToken); - var operation = new WorkloadsArmOperation(new OperationStatusResultOperationSource(), _sapProviderInstanceProviderInstancesClientDiagnostics, Pipeline, _sapProviderInstanceProviderInstancesRestClient.CreateDeleteRequest(Id.SubscriptionId, Id.ResourceGroupName, Id.Parent.Name, Id.Name).Request, response, OperationFinalStateVia.Location); + var operation = new WorkloadsArmOperation(new OperationStatusResultOperationSource(), _sapProviderInstanceProviderInstancesClientDiagnostics, Pipeline, _sapProviderInstanceProviderInstancesRestClient.CreateDeleteRequest(Id.SubscriptionId, Id.ResourceGroupName, Id.Parent.Name, Id.Name).Request, response, OperationFinalStateVia.AzureAsyncOperation); if (waitUntil == WaitUntil.Completed) operation.WaitForCompletion(cancellationToken); return operation; diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/SapVirtualInstanceCollection.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/SapVirtualInstanceCollection.cs index 443c3dc844d25..8af578af82ee7 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/SapVirtualInstanceCollection.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/SapVirtualInstanceCollection.cs @@ -55,13 +55,13 @@ internal static void ValidateResourceId(ResourceIdentifier id) } /// - /// Creates an Virtual Instance for SAP. + /// Creates a Virtual Instance for SAP solutions (VIS) resource /// Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName} /// Operation Id: SAPVirtualInstances_Create /// /// 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 name of the Virtual Instances for SAP. - /// The Virtual Instance for SAP request body. + /// The name of the Virtual Instances for SAP solutions resource. + /// Virtual Instance for SAP solutions resource request body. /// The cancellation token to use. /// is an empty string, and was expected to be non-empty. /// or is null. @@ -88,13 +88,13 @@ public virtual async Task> CreateOrUpda } /// - /// Creates an Virtual Instance for SAP. + /// Creates a Virtual Instance for SAP solutions (VIS) resource /// Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName} /// Operation Id: SAPVirtualInstances_Create /// /// 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 name of the Virtual Instances for SAP. - /// The Virtual Instance for SAP request body. + /// The name of the Virtual Instances for SAP solutions resource. + /// Virtual Instance for SAP solutions resource request body. /// The cancellation token to use. /// is an empty string, and was expected to be non-empty. /// or is null. @@ -121,11 +121,11 @@ public virtual ArmOperation CreateOrUpdate(WaitUntil } /// - /// Gets an Virtual Instance for SAP. + /// Gets a Virtual Instance for SAP solutions resource /// Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName} /// Operation Id: SAPVirtualInstances_Get /// - /// The name of the Virtual Instances for SAP. + /// The name of the Virtual Instances for SAP solutions resource. /// The cancellation token to use. /// is an empty string, and was expected to be non-empty. /// is null. @@ -150,11 +150,11 @@ public virtual async Task> GetAsync(string } /// - /// Gets an Virtual Instance for SAP. + /// Gets a Virtual Instance for SAP solutions resource /// Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName} /// Operation Id: SAPVirtualInstances_Get /// - /// The name of the Virtual Instances for SAP. + /// The name of the Virtual Instances for SAP solutions resource. /// The cancellation token to use. /// is an empty string, and was expected to be non-empty. /// is null. @@ -179,7 +179,7 @@ public virtual Response Get(string sapVirtualInstanc } /// - /// Gets all Virtual Instances for SAP in a resource group. + /// Gets all Virtual Instances for SAP solutions resources in a Resource Group. /// Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances /// Operation Id: SAPVirtualInstances_ListByResourceGroup /// @@ -221,7 +221,7 @@ async Task> NextPageFunc(string nextLink, int? } /// - /// Gets all Virtual Instances for SAP in a resource group. + /// Gets all Virtual Instances for SAP solutions resources in a Resource Group. /// Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances /// Operation Id: SAPVirtualInstances_ListByResourceGroup /// @@ -267,7 +267,7 @@ Page NextPageFunc(string nextLink, int? pageSizeHint /// Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName} /// Operation Id: SAPVirtualInstances_Get /// - /// The name of the Virtual Instances for SAP. + /// The name of the Virtual Instances for SAP solutions resource. /// The cancellation token to use. /// is an empty string, and was expected to be non-empty. /// is null. @@ -294,7 +294,7 @@ public virtual async Task> ExistsAsync(string sapVirtualInstanceN /// Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName} /// Operation Id: SAPVirtualInstances_Get /// - /// The name of the Virtual Instances for SAP. + /// The name of the Virtual Instances for SAP solutions resource. /// The cancellation token to use. /// is an empty string, and was expected to be non-empty. /// is null. diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/SapVirtualInstanceData.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/SapVirtualInstanceData.cs index bb42b8a6545a2..1f9a34e0afab3 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/SapVirtualInstanceData.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/SapVirtualInstanceData.cs @@ -21,7 +21,7 @@ public partial class SapVirtualInstanceData : TrackedResourceData /// Defines the environment type - Production/Non Production. /// Defines the SAP Product type. /// - /// Defines if an existing SAP system is being registered or a new SAP system is being created + /// Defines if the SAP system is being created using Azure Center for SAP solutions (ACSS) or if an existing SAP system is being registered with ACSS /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. /// The available derived classes include , and . /// @@ -46,16 +46,16 @@ public SapVirtualInstanceData(AzureLocation location, SapEnvironmentType environ /// Defines the environment type - Production/Non Production. /// Defines the SAP Product type. /// - /// Defines if an existing SAP system is being registered or a new SAP system is being created + /// Defines if the SAP system is being created using Azure Center for SAP solutions (ACSS) or if an existing SAP system is being registered with ACSS /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. /// The available derived classes include , and . /// /// Managed resource group configuration. /// Defines the SAP Instance status. - /// Defines the SAP Instance health. + /// Defines the health of SAP Instances. /// Defines the Virtual Instance for SAP state. /// Defines the provisioning states. - /// Defines the Virtual Instance for SAP errors. + /// Indicates any errors on the Virtual Instance for SAP solutions resource. internal SapVirtualInstanceData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, UserAssignedServiceIdentity identity, SapEnvironmentType environment, SapProductType sapProduct, SapConfiguration configuration, ManagedRGConfiguration managedResourceGroupConfiguration, SapVirtualInstanceStatus? status, SapHealthState? health, SapVirtualInstanceState? state, SapVirtualInstanceProvisioningState? provisioningState, SapVirtualInstanceError errors) : base(id, name, resourceType, systemData, tags, location) { Identity = identity; @@ -77,7 +77,7 @@ internal SapVirtualInstanceData(ResourceIdentifier id, string name, ResourceType /// Defines the SAP Product type. public SapProductType SapProduct { get; set; } /// - /// Defines if an existing SAP system is being registered or a new SAP system is being created + /// Defines if the SAP system is being created using Azure Center for SAP solutions (ACSS) or if an existing SAP system is being registered with ACSS /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. /// The available derived classes include , and . /// @@ -98,13 +98,13 @@ public string ManagedResourceGroupName /// Defines the SAP Instance status. public SapVirtualInstanceStatus? Status { get; } - /// Defines the SAP Instance health. + /// Defines the health of SAP Instances. public SapHealthState? Health { get; } /// Defines the Virtual Instance for SAP state. public SapVirtualInstanceState? State { get; } /// Defines the provisioning states. public SapVirtualInstanceProvisioningState? ProvisioningState { get; } - /// Defines the Virtual Instance for SAP errors. + /// Indicates any errors on the Virtual Instance for SAP solutions resource. internal SapVirtualInstanceError Errors { get; } /// The Virtual Instance for SAP error body. public SapVirtualInstanceErrorDetail ErrorsProperties diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/SapVirtualInstanceResource.cs b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/SapVirtualInstanceResource.cs index fdaaad2d94af5..9a7fc52347d67 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/SapVirtualInstanceResource.cs +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/SapVirtualInstanceResource.cs @@ -98,11 +98,11 @@ public virtual SapCentralServerInstanceCollection GetSapCentralServerInstances() } /// - /// Gets the SAP Central Instance. + /// Gets the SAP Central Services Instance resource. /// Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/centralInstances/{centralInstanceName} /// Operation Id: SAPCentralInstances_Get /// - /// Central Instance name string modeled as parameter for auto generation to work correctly. + /// Central Services Instance resource name string modeled as parameter for auto generation to work correctly. /// The cancellation token to use. /// is an empty string, and was expected to be non-empty. /// is null. @@ -113,11 +113,11 @@ public virtual async Task> GetSapCent } /// - /// Gets the SAP Central Instance. + /// Gets the SAP Central Services Instance resource. /// Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/centralInstances/{centralInstanceName} /// Operation Id: SAPCentralInstances_Get /// - /// Central Instance name string modeled as parameter for auto generation to work correctly. + /// Central Services Instance resource name string modeled as parameter for auto generation to work correctly. /// The cancellation token to use. /// is an empty string, and was expected to be non-empty. /// is null. @@ -135,11 +135,11 @@ public virtual SapDatabaseInstanceCollection GetSapDatabaseInstances() } /// - /// Gets the SAP Database Instance. + /// Gets the SAP Database Instance resource. /// Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/databaseInstances/{databaseInstanceName} /// Operation Id: SAPDatabaseInstances_Get /// - /// Database Instance string modeled as parameter for auto generation to work correctly. + /// Database resource name string modeled as parameter for auto generation to work correctly. /// The cancellation token to use. /// is an empty string, and was expected to be non-empty. /// is null. @@ -150,11 +150,11 @@ public virtual async Task> GetSapDatabaseI } /// - /// Gets the SAP Database Instance. + /// Gets the SAP Database Instance resource. /// Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/databaseInstances/{databaseInstanceName} /// Operation Id: SAPDatabaseInstances_Get /// - /// Database Instance string modeled as parameter for auto generation to work correctly. + /// Database resource name string modeled as parameter for auto generation to work correctly. /// The cancellation token to use. /// is an empty string, and was expected to be non-empty. /// is null. @@ -172,11 +172,11 @@ public virtual SapApplicationServerInstanceCollection GetSapApplicationServerIns } /// - /// Gets the SAP Application Server Instance. + /// Gets the SAP Application Server Instance corresponding to the Virtual Instance for SAP solutions resource. /// Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/applicationInstances/{applicationInstanceName} /// Operation Id: SAPApplicationServerInstances_Get /// - /// The name of SAP Application Server instance. + /// The name of SAP Application Server instance resource. /// The cancellation token to use. /// is an empty string, and was expected to be non-empty. /// is null. @@ -187,11 +187,11 @@ public virtual async Task> GetSap } /// - /// Gets the SAP Application Server Instance. + /// Gets the SAP Application Server Instance corresponding to the Virtual Instance for SAP solutions resource. /// Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/applicationInstances/{applicationInstanceName} /// Operation Id: SAPApplicationServerInstances_Get /// - /// The name of SAP Application Server instance. + /// The name of SAP Application Server instance resource. /// The cancellation token to use. /// is an empty string, and was expected to be non-empty. /// is null. @@ -202,7 +202,7 @@ public virtual Response GetSapApplicationS } /// - /// Gets an Virtual Instance for SAP. + /// Gets a Virtual Instance for SAP solutions resource /// Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName} /// Operation Id: SAPVirtualInstances_Get /// @@ -226,7 +226,7 @@ public virtual async Task> GetAsync(Cancell } /// - /// Gets an Virtual Instance for SAP. + /// Gets a Virtual Instance for SAP solutions resource /// Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName} /// Operation Id: SAPVirtualInstances_Get /// @@ -250,7 +250,7 @@ public virtual Response Get(CancellationToken cancel } /// - /// Deletes an Virtual Instance for SAP. + /// Deletes a Virtual Instance for SAP solutions resource and its child resources, that is the associated Central Services Instance, Application Server Instances and Database Instance. /// Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName} /// Operation Id: SAPVirtualInstances_Delete /// @@ -276,7 +276,7 @@ public virtual async Task> DeleteAsync(WaitU } /// - /// Deletes an Virtual Instance for SAP. + /// Deletes a Virtual Instance for SAP solutions resource and its child resources, that is the associated Central Services Instance, Application Server Instances and Database Instance. /// Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName} /// Operation Id: SAPVirtualInstances_Delete /// @@ -302,11 +302,11 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, C } /// - /// Updates an Virtual Instance for SAP. + /// Updates a Virtual Instance for SAP solutions resource /// Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName} /// Operation Id: SAPVirtualInstances_Update /// - /// The Update Virtual Instance for SAP request body. + /// Request body to update a Virtual Instance for SAP solutions resource. /// The cancellation token to use. /// is null. public virtual async Task> UpdateAsync(SapVirtualInstancePatch patch, CancellationToken cancellationToken = default) @@ -328,11 +328,11 @@ public virtual async Task> UpdateAsync(SapV } /// - /// Updates an Virtual Instance for SAP. + /// Updates a Virtual Instance for SAP solutions resource /// Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName} /// Operation Id: SAPVirtualInstances_Update /// - /// The Update Virtual Instance for SAP request body. + /// Request body to update a Virtual Instance for SAP solutions resource. /// The cancellation token to use. /// is null. public virtual Response Update(SapVirtualInstancePatch patch, CancellationToken cancellationToken = default) @@ -354,7 +354,7 @@ public virtual Response Update(SapVirtualInstancePat } /// - /// Starts the SAP System. + /// Starts the SAP application, that is the Central Services instance and Application server instances. /// Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/start /// Operation Id: SAPVirtualInstances_Start /// @@ -380,7 +380,7 @@ public virtual async Task> StartAsync(WaitUn } /// - /// Starts the SAP System. + /// Starts the SAP application, that is the Central Services instance and Application server instances. /// Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/start /// Operation Id: SAPVirtualInstances_Start /// @@ -406,12 +406,12 @@ public virtual ArmOperation Start(WaitUntil waitUntil, Ca } /// - /// Stops the SAP System. + /// Stops the SAP Application, that is the Application server instances and Central Services instance. /// Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/stop /// Operation Id: SAPVirtualInstances_Stop /// /// 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 Virtual Instances for SAP stop request body. + /// The Virtual Instance for SAP solutions resource stop request body. /// The cancellation token to use. public virtual async Task> StopAsync(WaitUntil waitUntil, StopContent content = null, CancellationToken cancellationToken = default) { @@ -433,12 +433,12 @@ public virtual async Task> StopAsync(WaitUnt } /// - /// Stops the SAP System. + /// Stops the SAP Application, that is the Application server instances and Central Services instance. /// Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/stop /// Operation Id: SAPVirtualInstances_Stop /// /// 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 Virtual Instances for SAP stop request body. + /// The Virtual Instance for SAP solutions resource stop request body. /// The cancellation token to use. public virtual ArmOperation Stop(WaitUntil waitUntil, StopContent content = null, CancellationToken cancellationToken = default) { diff --git a/sdk/workloads/Azure.ResourceManager.Workloads/src/autorest.md b/sdk/workloads/Azure.ResourceManager.Workloads/src/autorest.md index dfdecd722724c..7f0bac05a0b80 100644 --- a/sdk/workloads/Azure.ResourceManager.Workloads/src/autorest.md +++ b/sdk/workloads/Azure.ResourceManager.Workloads/src/autorest.md @@ -9,7 +9,7 @@ csharp: true library-name: Workloads namespace: Azure.ResourceManager.Workloads # default tag is a preview version -require: https://github.com/Azure/azure-rest-api-specs/blob/30b6221c12cc4014ee5142660d09cd48049ee388/specification/workloads/resource-manager/readme.md +require: /mnt/vss/_work/1/s/azure-rest-api-specs/specification/workloads/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true skip-csproj: true