コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the ImportPipeline class.
 /// </summary>
 /// <param name="source">The source properties of the import
 /// 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 import pipeline.</param>
 /// <param name="trigger">The properties that describe the trigger of
 /// the import 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 ImportPipeline(ImportPipelineSourceProperties source, string id = default(string), string name = default(string), string type = default(string), IdentityProperties identity = default(IdentityProperties), PipelineTriggerProperties trigger = default(PipelineTriggerProperties), IList <string> options = default(IList <string>), string provisioningState = default(string))
     : base(id, name, type)
 {
     Identity          = identity;
     Source            = source;
     Trigger           = trigger;
     Options           = options;
     ProvisioningState = provisioningState;
     CustomInit();
 }
コード例 #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();
 }