/// <summary> /// Initializes a new instance of the ServiceObjectiveCapability class. /// </summary> /// <param name="id">The unique ID of the service objective.</param> /// <param name="name">The service objective name.</param> /// <param name="supportedMaxSizes">The list of supported maximum /// database sizes.</param> /// <param name="performanceLevel">The performance level.</param> /// <param name="sku">The sku.</param> /// <param name="supportedLicenseTypes">List of supported license /// types.</param> /// <param name="includedMaxSize">The included (free) max size.</param> /// <param name="status">The status of the capability. Possible values /// include: 'Visible', 'Available', 'Default', 'Disabled'</param> /// <param name="reason">The reason for the capability not being /// available.</param> public ServiceObjectiveCapability(System.Guid?id = default(System.Guid?), string name = default(string), IList <MaxSizeRangeCapability> supportedMaxSizes = default(IList <MaxSizeRangeCapability>), PerformanceLevelCapability performanceLevel = default(PerformanceLevelCapability), Sku sku = default(Sku), IList <LicenseTypeCapability> supportedLicenseTypes = default(IList <LicenseTypeCapability>), MaxSizeCapability includedMaxSize = default(MaxSizeCapability), CapabilityStatus?status = default(CapabilityStatus?), string reason = default(string)) { Id = id; Name = name; SupportedMaxSizes = supportedMaxSizes; PerformanceLevel = performanceLevel; Sku = sku; SupportedLicenseTypes = supportedLicenseTypes; IncludedMaxSize = includedMaxSize; Status = status; Reason = reason; CustomInit(); }
/// <summary> /// Initializes a new instance of the /// ElasticPoolPerformanceLevelCapability class. /// </summary> /// <param name="performanceLevel">The performance level for the /// pool.</param> /// <param name="sku">The sku.</param> /// <param name="supportedLicenseTypes">List of supported license /// types.</param> /// <param name="maxDatabaseCount">The maximum number of databases /// supported.</param> /// <param name="includedMaxSize">The included (free) max size for this /// performance level.</param> /// <param name="supportedMaxSizes">The list of supported max /// sizes.</param> /// <param name="supportedPerDatabaseMaxSizes">The list of supported /// per database max sizes.</param> /// <param name="supportedPerDatabaseMaxPerformanceLevels">The list of /// supported per database max performance levels.</param> /// <param name="status">The status of the capability. Possible values /// include: 'Visible', 'Available', 'Default', 'Disabled'</param> /// <param name="reason">The reason for the capability not being /// available.</param> public ElasticPoolPerformanceLevelCapability(PerformanceLevelCapability performanceLevel = default(PerformanceLevelCapability), Sku sku = default(Sku), IList <LicenseTypeCapability> supportedLicenseTypes = default(IList <LicenseTypeCapability>), int?maxDatabaseCount = default(int?), MaxSizeCapability includedMaxSize = default(MaxSizeCapability), IList <MaxSizeRangeCapability> supportedMaxSizes = default(IList <MaxSizeRangeCapability>), IList <MaxSizeRangeCapability> supportedPerDatabaseMaxSizes = default(IList <MaxSizeRangeCapability>), IList <ElasticPoolPerDatabaseMaxPerformanceLevelCapability> supportedPerDatabaseMaxPerformanceLevels = default(IList <ElasticPoolPerDatabaseMaxPerformanceLevelCapability>), CapabilityStatus?status = default(CapabilityStatus?), string reason = default(string)) { PerformanceLevel = performanceLevel; Sku = sku; SupportedLicenseTypes = supportedLicenseTypes; MaxDatabaseCount = maxDatabaseCount; IncludedMaxSize = includedMaxSize; SupportedMaxSizes = supportedMaxSizes; SupportedPerDatabaseMaxSizes = supportedPerDatabaseMaxSizes; SupportedPerDatabaseMaxPerformanceLevels = supportedPerDatabaseMaxPerformanceLevels; Status = status; Reason = reason; CustomInit(); }
/// <summary> /// Initializes a new instance of the ServiceObjectiveCapability class. /// </summary> /// <param name="id">The unique ID of the service objective.</param> /// <param name="name">The service objective name.</param> /// <param name="supportedMaxSizes">The list of supported maximum /// database sizes.</param> /// <param name="performanceLevel">The performance level.</param> /// <param name="sku">The sku.</param> /// <param name="supportedLicenseTypes">List of supported license /// types.</param> /// <param name="includedMaxSize">The included (free) max size.</param> /// <param name="zoneRedundant">Whether or not zone redundancy is /// supported for the service objective.</param> /// <param name="supportedAutoPauseDelay">Supported time range for auto /// pause delay</param> /// <param name="supportedMinCapacities">List of supported min /// capacities</param> /// <param name="computeModel">The compute model</param> /// <param name="status">The status of the capability. Possible values /// include: 'Visible', 'Available', 'Default', 'Disabled'</param> /// <param name="reason">The reason for the capability not being /// available.</param> public ServiceObjectiveCapability(System.Guid?id = default(System.Guid?), string name = default(string), IList <MaxSizeRangeCapability> supportedMaxSizes = default(IList <MaxSizeRangeCapability>), PerformanceLevelCapability performanceLevel = default(PerformanceLevelCapability), Sku sku = default(Sku), IList <LicenseTypeCapability> supportedLicenseTypes = default(IList <LicenseTypeCapability>), MaxSizeCapability includedMaxSize = default(MaxSizeCapability), bool?zoneRedundant = default(bool?), AutoPauseDelayTimeRange supportedAutoPauseDelay = default(AutoPauseDelayTimeRange), IList <MinCapacityCapability> supportedMinCapacities = default(IList <MinCapacityCapability>), string computeModel = default(string), CapabilityStatus?status = default(CapabilityStatus?), string reason = default(string)) { Id = id; Name = name; SupportedMaxSizes = supportedMaxSizes; PerformanceLevel = performanceLevel; Sku = sku; SupportedLicenseTypes = supportedLicenseTypes; IncludedMaxSize = includedMaxSize; ZoneRedundant = zoneRedundant; SupportedAutoPauseDelay = supportedAutoPauseDelay; SupportedMinCapacities = supportedMinCapacities; ComputeModel = computeModel; Status = status; Reason = reason; CustomInit(); }