Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the ExportPipeline class.
 /// </summary>
 /// <param name="target">The target properties of the export
 /// pipeline.</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="identity">The identity of the export pipeline.</param>
 /// <param name="options">The list of all options configured for the
 /// pipeline.</param>
 /// <param name="provisioningState">The provisioning state of the
 /// pipeline at the time the operation was called. Possible values
 /// include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed',
 /// 'Canceled'</param>
 public ExportPipeline(ExportPipelineTargetProperties target, string id = default(string), string name = default(string), string type = default(string), IdentityProperties identity = default(IdentityProperties), IList <string> options = default(IList <string>), string provisioningState = default(string))
     : base(id, name, type)
 {
     Identity          = identity;
     Target            = target;
     Options           = options;
     ProvisioningState = provisioningState;
     CustomInit();
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the PipelineRunResponse class.
 /// </summary>
 /// <param name="status">The current status of the pipeline
 /// run.</param>
 /// <param name="importedArtifacts">The artifacts imported in the
 /// pipeline run.</param>
 /// <param name="progress">The current progress of the copy
 /// operation.</param>
 /// <param name="startTime">The time the pipeline run started.</param>
 /// <param name="finishTime">The time the pipeline run
 /// finished.</param>
 /// <param name="source">The source of the pipeline run.</param>
 /// <param name="target">The target of the pipeline run.</param>
 /// <param name="catalogDigest">The digest of the tar used to transfer
 /// the artifacts.</param>
 /// <param name="trigger">The trigger that caused the pipeline
 /// run.</param>
 /// <param name="pipelineRunErrorMessage">The detailed error message
 /// for the pipeline run in the case of failure.</param>
 public PipelineRunResponse(string status = default(string), IList <string> importedArtifacts = default(IList <string>), ProgressProperties progress = default(ProgressProperties), System.DateTime?startTime = default(System.DateTime?), System.DateTime?finishTime = default(System.DateTime?), ImportPipelineSourceProperties source = default(ImportPipelineSourceProperties), ExportPipelineTargetProperties target = default(ExportPipelineTargetProperties), string catalogDigest = default(string), PipelineTriggerDescriptor trigger = default(PipelineTriggerDescriptor), string pipelineRunErrorMessage = default(string))
 {
     Status                  = status;
     ImportedArtifacts       = importedArtifacts;
     Progress                = progress;
     StartTime               = startTime;
     FinishTime              = finishTime;
     Source                  = source;
     Target                  = target;
     CatalogDigest           = catalogDigest;
     Trigger                 = trigger;
     PipelineRunErrorMessage = pipelineRunErrorMessage;
     CustomInit();
 }