/// <summary> /// Initializes a new instance of the TaskRunUpdateParameters class. /// </summary> /// <param name="identity">Identity for the resource.</param> /// <param name="runRequest">The request (parameters) for the new /// run</param> /// <param name="forceUpdateTag">How the run should be forced to rerun /// even if the run request configuration has not changed</param> /// <param name="tags">The ARM resource tags.</param> public TaskRunUpdateParameters(IdentityProperties identity = default(IdentityProperties), RunRequest runRequest = default(RunRequest), string forceUpdateTag = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>)) { Identity = identity; RunRequest = runRequest; ForceUpdateTag = forceUpdateTag; Tags = tags; CustomInit(); }
/// <summary> /// Initializes a new instance of the TaskRun class. /// </summary> /// <param name="location">The location of the resource. This cannot be /// changed after the resource is created.</param> /// <param name="id">The resource ID.</param> /// <param name="name">The name of the resource.</param> /// <param name="type">The type of the resource.</param> /// <param name="tags">The tags of the resource.</param> /// <param name="identity">Identity for the resource.</param> /// <param name="provisioningState">The provisioning state of this task /// run. Possible values include: 'Creating', 'Updating', 'Deleting', /// 'Succeeded', 'Failed', 'Canceled'</param> /// <param name="runRequest">The request (parameters) for the /// run</param> /// <param name="runResult">The result of this task run</param> /// <param name="forceUpdateTag">How the run should be forced to rerun /// even if the run request configuration has not changed</param> public TaskRun(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), IdentityProperties identity = default(IdentityProperties), string provisioningState = default(string), RunRequest runRequest = default(RunRequest), Run runResult = default(Run), string forceUpdateTag = default(string)) : base(location, id, name, type, tags) { Identity = identity; ProvisioningState = provisioningState; RunRequest = runRequest; RunResult = runResult; ForceUpdateTag = forceUpdateTag; CustomInit(); }
/// <summary> /// Initializes a new instance of the TaskRun class. /// </summary> /// <param name="id">The resource ID.</param> /// <param name="name">The name of the resource.</param> /// <param name="type">The type of the resource.</param> /// <param name="systemData">Metadata pertaining to creation and last /// modification of the resource.</param> /// <param name="identity">Identity for the resource.</param> /// <param name="provisioningState">The provisioning state of this task /// run. Possible values include: 'Creating', 'Updating', 'Deleting', /// 'Succeeded', 'Failed', 'Canceled'</param> /// <param name="runRequest">The request (parameters) for the /// run</param> /// <param name="runResult">The result of this task run</param> /// <param name="forceUpdateTag">How the run should be forced to rerun /// even if the run request configuration has not changed</param> /// <param name="location">The location of the resource</param> public TaskRun(string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), IdentityProperties identity = default(IdentityProperties), string provisioningState = default(string), RunRequest runRequest = default(RunRequest), Run runResult = default(Run), string forceUpdateTag = default(string), string location = default(string)) : base(id, name, type, systemData) { Identity = identity; ProvisioningState = provisioningState; RunRequest = runRequest; RunResult = runResult; ForceUpdateTag = forceUpdateTag; Location = location; CustomInit(); }