コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the InstancePoolVcoresCapability
 /// class.
 /// </summary>
 /// <param name="name">The virtual cores identifier.</param>
 /// <param name="value">The virtual cores value.</param>
 /// <param name="storageLimit">Storage limit.</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 InstancePoolVcoresCapability(string name = default(string), int?value = default(int?), MaxSizeCapability storageLimit = default(MaxSizeCapability), CapabilityStatus?status = default(CapabilityStatus?), string reason = default(string))
 {
     Name         = name;
     Value        = value;
     StorageLimit = storageLimit;
     Status       = status;
     Reason       = reason;
     CustomInit();
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the MaxSizeRangeCapability class.
 /// </summary>
 /// <param name="minValue">Minimum value.</param>
 /// <param name="maxValue">Maximum value.</param>
 /// <param name="scaleSize">Scale/step size for discrete values between
 /// the minimum value and the maximum value.</param>
 /// <param name="logSize">Size of transaction log.</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 MaxSizeRangeCapability(MaxSizeCapability minValue = default(MaxSizeCapability), MaxSizeCapability maxValue = default(MaxSizeCapability), MaxSizeCapability scaleSize = default(MaxSizeCapability), LogSizeCapability logSize = default(LogSizeCapability), CapabilityStatus?status = default(CapabilityStatus?), string reason = default(string))
 {
     MinValue  = minValue;
     MaxValue  = maxValue;
     ScaleSize = scaleSize;
     LogSize   = logSize;
     Status    = status;
     Reason    = reason;
     CustomInit();
 }
コード例 #3
0
 /// <summary>
 /// Initializes a new instance of the ManagedInstanceVcoresCapability
 /// class.
 /// </summary>
 /// <param name="name">The virtual cores identifier.</param>
 /// <param name="value">The virtual cores value.</param>
 /// <param name="includedMaxSize">Included size.</param>
 /// <param name="supportedStorageSizes">Storage size ranges.</param>
 /// <param name="instancePoolSupported">True if this service objective
 /// is supported for managed instances in an instance pool.</param>
 /// <param name="standaloneSupported">True if this service objective is
 /// supported for standalone managed instances.</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 ManagedInstanceVcoresCapability(string name = default(string), int?value = default(int?), MaxSizeCapability includedMaxSize = default(MaxSizeCapability), IList <MaxSizeRangeCapability> supportedStorageSizes = default(IList <MaxSizeRangeCapability>), bool?instancePoolSupported = default(bool?), bool?standaloneSupported = default(bool?), CapabilityStatus?status = default(CapabilityStatus?), string reason = default(string))
 {
     Name                  = name;
     Value                 = value;
     IncludedMaxSize       = includedMaxSize;
     SupportedStorageSizes = supportedStorageSizes;
     InstancePoolSupported = instancePoolSupported;
     StandaloneSupported   = standaloneSupported;
     Status                = status;
     Reason                = reason;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the ManagedInstanceFamilyCapability
 /// class.
 /// </summary>
 /// <param name="name">Family name.</param>
 /// <param name="sku">SKU name.</param>
 /// <param name="supportedLicenseTypes">List of supported license
 /// types.</param>
 /// <param name="supportedVcoresValues">List of supported virtual cores
 /// values.</param>
 /// <param name="includedMaxSize">Included size.</param>
 /// <param name="supportedStorageSizes">Storage size ranges.</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 ManagedInstanceFamilyCapability(string name = default(string), string sku = default(string), IList <LicenseTypeCapability> supportedLicenseTypes = default(IList <LicenseTypeCapability>), IList <ManagedInstanceVcoresCapability> supportedVcoresValues = default(IList <ManagedInstanceVcoresCapability>), MaxSizeCapability includedMaxSize = default(MaxSizeCapability), IList <MaxSizeRangeCapability> supportedStorageSizes = default(IList <MaxSizeRangeCapability>), CapabilityStatus?status = default(CapabilityStatus?), string reason = default(string))
 {
     Name = name;
     Sku  = sku;
     SupportedLicenseTypes = supportedLicenseTypes;
     SupportedVcoresValues = supportedVcoresValues;
     IncludedMaxSize       = includedMaxSize;
     SupportedStorageSizes = supportedStorageSizes;
     Status = status;
     Reason = reason;
     CustomInit();
 }
コード例 #5
0
 /// <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();
 }
コード例 #7
0
 /// <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();
 }