ArmSqlModelFactory.ServiceObjectiveCapability Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of ServiceObjectiveCapability.
public static Azure.ResourceManager.Sql.Models.ServiceObjectiveCapability ServiceObjectiveCapability (Guid? id = default, string name = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Sql.Models.MaxSizeRangeCapability> supportedMaxSizes = default, Azure.ResourceManager.Sql.Models.PerformanceLevelCapability performanceLevel = default, Azure.ResourceManager.Sql.Models.SqlSku sku = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Sql.Models.LicenseTypeCapability> supportedLicenseTypes = default, Azure.ResourceManager.Sql.Models.MaxSizeCapability includedMaxSize = default, bool? isZoneRedundant = default, Azure.ResourceManager.Sql.Models.AutoPauseDelayTimeRange supportedAutoPauseDelay = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Sql.Models.MinCapacityCapability> supportedMinCapacities = default, string computeModel = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Sql.Models.MaintenanceConfigurationCapability> supportedMaintenanceConfigurations = default, Azure.ResourceManager.Sql.Models.SqlCapabilityStatus? status = default, string reason = default);
static member ServiceObjectiveCapability : Nullable<Guid> * string * seq<Azure.ResourceManager.Sql.Models.MaxSizeRangeCapability> * Azure.ResourceManager.Sql.Models.PerformanceLevelCapability * Azure.ResourceManager.Sql.Models.SqlSku * seq<Azure.ResourceManager.Sql.Models.LicenseTypeCapability> * Azure.ResourceManager.Sql.Models.MaxSizeCapability * Nullable<bool> * Azure.ResourceManager.Sql.Models.AutoPauseDelayTimeRange * seq<Azure.ResourceManager.Sql.Models.MinCapacityCapability> * string * seq<Azure.ResourceManager.Sql.Models.MaintenanceConfigurationCapability> * Nullable<Azure.ResourceManager.Sql.Models.SqlCapabilityStatus> * string -> Azure.ResourceManager.Sql.Models.ServiceObjectiveCapability
Public Shared Function ServiceObjectiveCapability (Optional id As Nullable(Of Guid) = Nothing, Optional name As String = Nothing, Optional supportedMaxSizes As IEnumerable(Of MaxSizeRangeCapability) = Nothing, Optional performanceLevel As PerformanceLevelCapability = Nothing, Optional sku As SqlSku = Nothing, Optional supportedLicenseTypes As IEnumerable(Of LicenseTypeCapability) = Nothing, Optional includedMaxSize As MaxSizeCapability = Nothing, Optional isZoneRedundant As Nullable(Of Boolean) = Nothing, Optional supportedAutoPauseDelay As AutoPauseDelayTimeRange = Nothing, Optional supportedMinCapacities As IEnumerable(Of MinCapacityCapability) = Nothing, Optional computeModel As String = Nothing, Optional supportedMaintenanceConfigurations As IEnumerable(Of MaintenanceConfigurationCapability) = Nothing, Optional status As Nullable(Of SqlCapabilityStatus) = Nothing, Optional reason As String = Nothing) As ServiceObjectiveCapability
Parameters
- name
- String
The service objective name.
- supportedMaxSizes
- IEnumerable<MaxSizeRangeCapability>
The list of supported maximum database sizes.
- performanceLevel
- PerformanceLevelCapability
The performance level.
- sku
- SqlSku
The sku.
- supportedLicenseTypes
- IEnumerable<LicenseTypeCapability>
List of supported license types.
- includedMaxSize
- MaxSizeCapability
The included (free) max size.
Whether or not zone redundancy is supported for the service objective.
- supportedAutoPauseDelay
- AutoPauseDelayTimeRange
Supported time range for auto pause delay.
- supportedMinCapacities
- IEnumerable<MinCapacityCapability>
List of supported min capacities.
- computeModel
- String
The compute model.
- supportedMaintenanceConfigurations
- IEnumerable<MaintenanceConfigurationCapability>
List of supported maintenance configurations.
- status
- Nullable<SqlCapabilityStatus>
The status of the capability.
- reason
- String
The reason for the capability not being available.
Returns
A new ServiceObjectiveCapability instance for mocking.
Applies to
Azure SDK for .NET