Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the TaskUpdateParameters class.
 /// </summary>
 /// <param name="status">The current status of task. Possible values
 /// include: 'Disabled', 'Enabled'</param>
 /// <param name="platform">The platform properties against which the
 /// run has to happen.</param>
 /// <param name="agentConfiguration">The machine configuration of the
 /// run agent.</param>
 /// <param name="timeout">Run timeout in seconds.</param>
 /// <param name="step">The properties for updating a task step.</param>
 /// <param name="trigger">The properties for updating trigger
 /// properties.</param>
 /// <param name="tags">The ARM resource tags.</param>
 public TaskUpdateParameters(string status = default(string), PlatformUpdateParameters platform = default(PlatformUpdateParameters), AgentProperties agentConfiguration = default(AgentProperties), int?timeout = default(int?), TaskStepUpdateParameters step = default(TaskStepUpdateParameters), TriggerUpdateParameters trigger = default(TriggerUpdateParameters), IDictionary <string, string> tags = default(IDictionary <string, string>))
 {
     Status             = status;
     Platform           = platform;
     AgentConfiguration = agentConfiguration;
     Timeout            = timeout;
     Step    = step;
     Trigger = trigger;
     Tags    = tags;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the TaskUpdateParameters class.
 /// </summary>
 /// <param name="identity">Identity for the resource.</param>
 /// <param name="status">The current status of task. Possible values
 /// include: 'Disabled', 'Enabled'</param>
 /// <param name="platform">The platform properties against which the
 /// run has to happen.</param>
 /// <param name="agentConfiguration">The machine configuration of the
 /// run agent.</param>
 /// <param name="agentPoolName">The dedicated agent pool for the
 /// task.</param>
 /// <param name="timeout">Run timeout in seconds.</param>
 /// <param name="step">The properties for updating a task step.</param>
 /// <param name="trigger">The properties for updating trigger
 /// properties.</param>
 /// <param name="credentials">The parameters that describes a set of
 /// credentials that will be used when this run is invoked.</param>
 /// <param name="tags">The ARM resource tags.</param>
 public TaskUpdateParameters(IdentityProperties identity = default(IdentityProperties), string status = default(string), PlatformUpdateParameters platform = default(PlatformUpdateParameters), AgentProperties agentConfiguration = default(AgentProperties), string agentPoolName = default(string), int?timeout = default(int?), TaskStepUpdateParameters step = default(TaskStepUpdateParameters), TriggerUpdateParameters trigger = default(TriggerUpdateParameters), Credentials credentials = default(Credentials), IDictionary <string, string> tags = default(IDictionary <string, string>))
 {
     Identity           = identity;
     Status             = status;
     Platform           = platform;
     AgentConfiguration = agentConfiguration;
     AgentPoolName      = agentPoolName;
     Timeout            = timeout;
     Step        = step;
     Trigger     = trigger;
     Credentials = credentials;
     Tags        = tags;
     CustomInit();
 }