/// <summary> /// Initializes a new instance of the SqlPoolUpdate class. /// </summary> /// <param name="sku">The name and tier of the SKU.</param> /// <param name="status">The status of the sql pool. Possible values /// include: 'Invisible', 'Online', 'Offline', 'Creating', /// 'Inaccessible', 'Pausing', 'Paused', 'Resuming', 'Scaling', /// 'Dropping', 'Error', 'Unknown'</param> /// <param name="sqlPoolGuid">The Guid of the sql pool.</param> /// <param name="currentServiceObjectiveName">The current service level /// objective name of the sql pool.</param> /// <param name="requestedServiceObjectiveName">The requested service /// level objective name of the sql pool.</param> /// <param name="maxServiceObjectiveName">The max service level /// objective name of the sql pool.</param> /// <param name="autoPauseTimer">The period of inactivity in minutes /// before automatically pausing the sql pool.</param> /// <param name="autoResume">Indicates whether the sql pool can /// automatically resume when connection attempts are made.</param> /// <param name="tags">Resource tags.</param> public SqlPoolUpdate(SkuV3 sku = default(SkuV3), string status = default(string), System.Guid?sqlPoolGuid = default(System.Guid?), string currentServiceObjectiveName = default(string), string requestedServiceObjectiveName = default(string), string maxServiceObjectiveName = default(string), int?autoPauseTimer = default(int?), bool?autoResume = default(bool?), IDictionary <string, string> tags = default(IDictionary <string, string>)) { Sku = sku; Status = status; SqlPoolGuid = sqlPoolGuid; CurrentServiceObjectiveName = currentServiceObjectiveName; RequestedServiceObjectiveName = requestedServiceObjectiveName; MaxServiceObjectiveName = maxServiceObjectiveName; AutoPauseTimer = autoPauseTimer; AutoResume = autoResume; Tags = tags; CustomInit(); }
/// <summary> /// Initializes a new instance of the SqlPoolV3 class. /// </summary> /// <param name="location">The geo-location where the resource /// lives</param> /// <param name="id">Fully qualified resource ID for the resource. Ex - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}</param> /// <param name="name">The name of the resource</param> /// <param name="type">The type of the resource. E.g. /// "Microsoft.Compute/virtualMachines" or /// "Microsoft.Storage/storageAccounts"</param> /// <param name="tags">Resource tags.</param> /// <param name="sku">The sql pool SKU. The list of SKUs may vary by /// region and support offer.</param> /// <param name="kind">Kind of SqlPool.</param> /// <param name="systemData">SystemData of SqlPool.</param> /// <param name="status">The status of the sql pool. Possible values /// include: 'Invisible', 'Online', 'Offline', 'Creating', /// 'Inaccessible', 'Pausing', 'Paused', 'Resuming', 'Scaling', /// 'Dropping', 'Error', 'Unknown'</param> /// <param name="sqlPoolGuid">The Guid of the sql pool.</param> /// <param name="currentServiceObjectiveName">The current service level /// objective name of the sql pool.</param> /// <param name="requestedServiceObjectiveName">The requested service /// level objective name of the sql pool.</param> /// <param name="maxServiceObjectiveName">The max service level /// objective name of the sql pool.</param> /// <param name="autoPauseTimer">The period of inactivity in minutes /// before automatically pausing the sql pool.</param> /// <param name="autoResume">Indicates whether the sql pool can /// automatically resume when connection attempts are made.</param> public SqlPoolV3(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), SkuV3 sku = default(SkuV3), string kind = default(string), SystemData systemData = default(SystemData), string status = default(string), System.Guid?sqlPoolGuid = default(System.Guid?), string currentServiceObjectiveName = default(string), string requestedServiceObjectiveName = default(string), string maxServiceObjectiveName = default(string), int?autoPauseTimer = default(int?), bool?autoResume = default(bool?)) : base(location, id, name, type, tags) { Sku = sku; Kind = kind; SystemData = systemData; Status = status; SqlPoolGuid = sqlPoolGuid; CurrentServiceObjectiveName = currentServiceObjectiveName; RequestedServiceObjectiveName = requestedServiceObjectiveName; MaxServiceObjectiveName = maxServiceObjectiveName; AutoPauseTimer = autoPauseTimer; AutoResume = autoResume; CustomInit(); }