/// <summary> /// Initializes a new instance of the Workload class. /// </summary> /// <param name="state">Possible values include: 'Disabled', 'Enabled', /// 'Unsupported'</param> /// <param name="name">The workload name</param> /// <param name="maxMemoryPercentageSetByUser">The memory percentage /// maximum Limit set by the user</param> public Workload(WorkloadState state, string name = default(string), int?maxMemoryPercentageSetByUser = default(int?)) { Name = name; State = state; MaxMemoryPercentageSetByUser = maxMemoryPercentageSetByUser; CustomInit(); }
/// <summary> /// Initializes a new instance of the PatchWorkloadRequest class. /// </summary> /// <param name="state">Possible values include: 'Disabled', 'Enabled', /// 'Unsupported'</param> /// <param name="maxMemoryPercentageSetByUser">The memory percentage /// maximum Limit set by the user</param> public PatchWorkloadRequest(WorkloadState state, int?maxMemoryPercentageSetByUser = default(int?)) { State = state; MaxMemoryPercentageSetByUser = maxMemoryPercentageSetByUser; CustomInit(); }