/// <summary> /// Initializes a new instance of the WorkflowTriggerHistoryInner /// class. /// </summary> /// <param name="startTime">Gets the start time.</param> /// <param name="endTime">Gets the end time.</param> /// <param name="status">Gets the status. Possible values include: /// 'NotSpecified', 'Paused', 'Running', 'Waiting', 'Succeeded', /// 'Skipped', 'Suspended', 'Cancelled', 'Failed', 'Faulted', /// 'TimedOut', 'Aborted', 'Ignored'</param> /// <param name="code">Gets the code.</param> /// <param name="error">Gets the error.</param> /// <param name="trackingId">Gets the tracking id.</param> /// <param name="correlation">The run correlation.</param> /// <param name="inputsLink">Gets the link to input parameters.</param> /// <param name="outputsLink">Gets the link to output /// parameters.</param> /// <param name="fired">Gets a value indicating whether trigger was /// fired.</param> /// <param name="run">Gets the reference to workflow run.</param> /// <param name="name">Gets the workflow trigger history name.</param> /// <param name="type">Gets the workflow trigger history type.</param> public WorkflowTriggerHistoryInner(string id = default(string), System.DateTime?startTime = default(System.DateTime?), System.DateTime?endTime = default(System.DateTime?), WorkflowStatus?status = default(WorkflowStatus?), string code = default(string), object error = default(object), string trackingId = default(string), Correlation correlation = default(Correlation), ContentLink inputsLink = default(ContentLink), ContentLink outputsLink = default(ContentLink), bool?fired = default(bool?), ResourceReference run = default(ResourceReference), string name = default(string), string type = default(string)) : base(id) { StartTime = startTime; EndTime = endTime; Status = status; Code = code; Error = error; TrackingId = trackingId; Correlation = correlation; InputsLink = inputsLink; OutputsLink = outputsLink; Fired = fired; Run = run; Name = name; Type = type; CustomInit(); }
/// <summary> /// Initializes a new instance of the Sku class. /// </summary> /// <param name="name">The name. Possible values include: /// 'NotSpecified', 'Free', 'Shared', 'Basic', 'Standard', /// 'Premium'</param> /// <param name="plan">The reference to plan.</param> public Sku(SkuName name, ResourceReference plan = default(ResourceReference)) { Name = name; Plan = plan; CustomInit(); }
/// <summary> /// Initializes a new instance of the WorkflowTriggerInner class. /// </summary> /// <param name="provisioningState">Gets the provisioning state. /// Possible values include: 'NotSpecified', 'Accepted', 'Running', /// 'Ready', 'Creating', 'Created', 'Deleting', 'Deleted', 'Canceled', /// 'Failed', 'Succeeded', 'Moving', 'Updating', 'Registering', /// 'Registered', 'Unregistering', 'Unregistered', 'Completed'</param> /// <param name="createdTime">Gets the created time.</param> /// <param name="changedTime">Gets the changed time.</param> /// <param name="state">Gets the state. Possible values include: /// 'NotSpecified', 'Completed', 'Enabled', 'Disabled', 'Deleted', /// 'Suspended'</param> /// <param name="status">Gets the status. Possible values include: /// 'NotSpecified', 'Paused', 'Running', 'Waiting', 'Succeeded', /// 'Skipped', 'Suspended', 'Cancelled', 'Failed', 'Faulted', /// 'TimedOut', 'Aborted', 'Ignored'</param> /// <param name="lastExecutionTime">Gets the last execution /// time.</param> /// <param name="nextExecutionTime">Gets the next execution /// time.</param> /// <param name="recurrence">Gets the workflow trigger /// recurrence.</param> /// <param name="workflow">Gets the reference to workflow.</param> /// <param name="name">Gets the workflow trigger name.</param> /// <param name="type">Gets the workflow trigger type.</param> public WorkflowTriggerInner(string id = default(string), WorkflowTriggerProvisioningState?provisioningState = default(WorkflowTriggerProvisioningState?), System.DateTime?createdTime = default(System.DateTime?), System.DateTime?changedTime = default(System.DateTime?), WorkflowState?state = default(WorkflowState?), WorkflowStatus?status = default(WorkflowStatus?), System.DateTime?lastExecutionTime = default(System.DateTime?), System.DateTime?nextExecutionTime = default(System.DateTime?), WorkflowTriggerRecurrence recurrence = default(WorkflowTriggerRecurrence), ResourceReference workflow = default(ResourceReference), string name = default(string), string type = default(string)) : base(id) { ProvisioningState = provisioningState; CreatedTime = createdTime; ChangedTime = changedTime; State = state; Status = status; LastExecutionTime = lastExecutionTime; NextExecutionTime = nextExecutionTime; Recurrence = recurrence; Workflow = workflow; Name = name; Type = type; CustomInit(); }
/// <summary> /// Initializes a new instance of the WorkflowVersionInner class. /// </summary> /// <param name="createdTime">Gets the created time.</param> /// <param name="changedTime">Gets the changed time.</param> /// <param name="state">The state. Possible values include: /// 'NotSpecified', 'Completed', 'Enabled', 'Disabled', 'Deleted', /// 'Suspended'</param> /// <param name="version">Gets the version.</param> /// <param name="accessEndpoint">Gets the access endpoint.</param> /// <param name="sku">The sku.</param> /// <param name="integrationAccount">The integration account.</param> /// <param name="definition">The definition.</param> /// <param name="parameters">The parameters.</param> public WorkflowVersionInner(string location = default(string), string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), System.DateTime?createdTime = default(System.DateTime?), System.DateTime?changedTime = default(System.DateTime?), WorkflowState?state = default(WorkflowState?), string version = default(string), string accessEndpoint = default(string), Sku sku = default(Sku), ResourceReference integrationAccount = default(ResourceReference), object definition = default(object), IDictionary <string, WorkflowParameter> parameters = default(IDictionary <string, WorkflowParameter>)) : base(location, id, name, type, tags) { CreatedTime = createdTime; ChangedTime = changedTime; State = state; Version = version; AccessEndpoint = accessEndpoint; Sku = sku; IntegrationAccount = integrationAccount; Definition = definition; Parameters = parameters; CustomInit(); }
/// <summary> /// Initializes a new instance of the WorkflowRunInner class. /// </summary> /// <param name="startTime">Gets the start time.</param> /// <param name="endTime">Gets the end time.</param> /// <param name="status">Gets the status. Possible values include: /// 'NotSpecified', 'Paused', 'Running', 'Waiting', 'Succeeded', /// 'Skipped', 'Suspended', 'Cancelled', 'Failed', 'Faulted', /// 'TimedOut', 'Aborted', 'Ignored'</param> /// <param name="code">Gets the code.</param> /// <param name="error">Gets the error.</param> /// <param name="correlationId">Gets the correlation id.</param> /// <param name="correlation">The run correlation.</param> /// <param name="workflow">Gets the reference to workflow /// version.</param> /// <param name="trigger">Gets the fired trigger.</param> /// <param name="outputs">Gets the outputs.</param> /// <param name="response">Gets the response of the flow run.</param> /// <param name="name">Gets the workflow run name.</param> /// <param name="type">Gets the workflow run type.</param> public WorkflowRunInner(string id = default(string), System.DateTime?startTime = default(System.DateTime?), System.DateTime?endTime = default(System.DateTime?), WorkflowStatus?status = default(WorkflowStatus?), string code = default(string), object error = default(object), string correlationId = default(string), Correlation correlation = default(Correlation), ResourceReference workflow = default(ResourceReference), WorkflowRunTrigger trigger = default(WorkflowRunTrigger), IDictionary <string, WorkflowOutputParameter> outputs = default(IDictionary <string, WorkflowOutputParameter>), WorkflowRunTrigger response = default(WorkflowRunTrigger), string name = default(string), string type = default(string)) : base(id) { StartTime = startTime; EndTime = endTime; Status = status; Code = code; Error = error; CorrelationId = correlationId; Correlation = correlation; Workflow = workflow; Trigger = trigger; Outputs = outputs; Response = response; Name = name; Type = type; CustomInit(); }