예제 #1
0
 /// <summary>
 /// Initializes a new instance of the
 /// DscNodeConfigurationCreateOrUpdateParameters class.
 /// </summary>
 /// <param name="source">Gets or sets the source.</param>
 /// <param name="configuration">Gets or sets the configuration of the
 /// node.</param>
 /// <param name="incrementNodeConfigurationBuild">If a new build
 /// version of NodeConfiguration is required.</param>
 /// <param name="name">Name of the node configuration.</param>
 /// <param name="tags">Gets or sets the tags attached to the
 /// resource.</param>
 public DscNodeConfigurationCreateOrUpdateParameters(ContentSource source, DscConfigurationAssociationProperty configuration, bool?incrementNodeConfigurationBuild = default(bool?), string name = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>))
 {
     Source        = source;
     Configuration = configuration;
     IncrementNodeConfigurationBuild = incrementNodeConfigurationBuild;
     Name = name;
     Tags = tags;
     CustomInit();
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the DscCompilationJobCreateProperties
 /// class with required arguments.
 /// </summary>
 public DscCompilationJobCreateProperties(DscConfigurationAssociationProperty configuration)
     : this()
 {
     if (configuration == null)
     {
         throw new ArgumentNullException("configuration");
     }
     this.Configuration = configuration;
 }
 /// <summary>
 /// Initializes a new instance of the DscCompilationJobCreateProperties
 /// class with required arguments.
 /// </summary>
 public DscCompilationJobCreateProperties(DscConfigurationAssociationProperty configuration)
     : this()
 {
     if (configuration == null)
     {
         throw new ArgumentNullException("configuration");
     }
     this.Configuration = configuration;
 }
예제 #4
0
 /// <summary>
 /// Initializes a new instance of the DscCompilationJobCreateParameters
 /// class.
 /// </summary>
 /// <param name="configuration">Gets or sets the configuration.</param>
 /// <param name="parameters">Gets or sets the parameters of the
 /// job.</param>
 /// <param name="incrementNodeConfigurationBuild">If a new build
 /// version of NodeConfiguration is required.</param>
 /// <param name="name">Gets or sets name of the resource.</param>
 /// <param name="location">Gets or sets the location of the
 /// resource.</param>
 /// <param name="tags">Gets or sets the tags attached to the
 /// resource.</param>
 public DscCompilationJobCreateParameters(DscConfigurationAssociationProperty configuration, IDictionary <string, string> parameters = default(IDictionary <string, string>), bool?incrementNodeConfigurationBuild = default(bool?), string name = default(string), string location = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>))
 {
     Configuration = configuration;
     Parameters    = parameters;
     IncrementNodeConfigurationBuild = incrementNodeConfigurationBuild;
     Name     = name;
     Location = location;
     Tags     = tags;
     CustomInit();
 }
예제 #5
0
 /// <summary>
 /// Initializes a new instance of the DscNodeConfiguration class.
 /// </summary>
 /// <param name="id">Fully qualified resource Id for the
 /// resource</param>
 /// <param name="name">The name of the resource</param>
 /// <param name="type">The type of the resource.</param>
 /// <param name="lastModifiedTime">Gets or sets the last modified
 /// time.</param>
 /// <param name="creationTime">Gets or sets creation time.</param>
 /// <param name="configuration">Gets or sets the configuration of the
 /// node.</param>
 /// <param name="source">Source of node configuration.</param>
 /// <param name="nodeCount">Number of nodes with this node
 /// configuration assigned</param>
 /// <param name="incrementNodeConfigurationBuild">If a new build
 /// version of NodeConfiguration is required.</param>
 public DscNodeConfiguration(string id = default(string), string name = default(string), string type = default(string), System.DateTimeOffset lastModifiedTime = default(System.DateTimeOffset), System.DateTimeOffset creationTime = default(System.DateTimeOffset), DscConfigurationAssociationProperty configuration = default(DscConfigurationAssociationProperty), string source = default(string), long?nodeCount = default(long?), bool?incrementNodeConfigurationBuild = default(bool?))
     : base(id, name, type)
 {
     LastModifiedTime = lastModifiedTime;
     CreationTime     = creationTime;
     Configuration    = configuration;
     Source           = source;
     NodeCount        = nodeCount;
     IncrementNodeConfigurationBuild = incrementNodeConfigurationBuild;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the
 /// DscNodeConfigurationCreateOrUpdateParameters class with required
 /// arguments.
 /// </summary>
 public DscNodeConfigurationCreateOrUpdateParameters(ContentSource source, string name, DscConfigurationAssociationProperty configuration)
     : this()
 {
     if (source == null)
     {
         throw new ArgumentNullException("source");
     }
     if (name == null)
     {
         throw new ArgumentNullException("name");
     }
     if (configuration == null)
     {
         throw new ArgumentNullException("configuration");
     }
     this.Source = source;
     this.Name = name;
     this.Configuration = configuration;
 }
 /// <summary>
 /// Initializes a new instance of the DscCompilationJob class.
 /// </summary>
 /// <param name="id">Fully qualified resource Id for the
 /// resource</param>
 /// <param name="name">The name of the resource</param>
 /// <param name="type">The type of the resource.</param>
 /// <param name="configuration">Gets or sets the configuration.</param>
 /// <param name="startedBy">Gets the compilation job started
 /// by.</param>
 /// <param name="jobId">Gets the id of the job.</param>
 /// <param name="creationTime">Gets the creation time of the
 /// job.</param>
 /// <param name="provisioningState">The current provisioning state of
 /// the job. Possible values include: 'Failed', 'Succeeded',
 /// 'Suspended', 'Processing'</param>
 /// <param name="runOn">Gets or sets the runOn which specifies the
 /// group name where the job is to be executed.</param>
 /// <param name="status">Gets or sets the status of the job. Possible
 /// values include: 'New', 'Activating', 'Running', 'Completed',
 /// 'Failed', 'Stopped', 'Blocked', 'Suspended', 'Disconnected',
 /// 'Suspending', 'Stopping', 'Resuming', 'Removing'</param>
 /// <param name="statusDetails">Gets or sets the status details of the
 /// job.</param>
 /// <param name="startTime">Gets the start time of the job.</param>
 /// <param name="endTime">Gets the end time of the job.</param>
 /// <param name="exception">Gets the exception of the job.</param>
 /// <param name="lastModifiedTime">Gets the last modified time of the
 /// job.</param>
 /// <param name="lastStatusModifiedTime">Gets the last status modified
 /// time of the job.</param>
 /// <param name="parameters">Gets or sets the parameters of the
 /// job.</param>
 public DscCompilationJob(string id = default(string), string name = default(string), string type = default(string), DscConfigurationAssociationProperty configuration = default(DscConfigurationAssociationProperty), string startedBy = default(string), System.Guid jobId = default(System.Guid), System.DateTimeOffset creationTime = default(System.DateTimeOffset), string provisioningState = default(string), string runOn = default(string), string status = default(string), string statusDetails = default(string), System.DateTimeOffset?startTime = default(System.DateTimeOffset?), System.DateTimeOffset?endTime = default(System.DateTimeOffset?), string exception = default(string), System.DateTimeOffset lastModifiedTime = default(System.DateTimeOffset), System.DateTimeOffset?lastStatusModifiedTime = default(System.DateTimeOffset?), IDictionary <string, string> parameters = default(IDictionary <string, string>))
     : base(id, name, type)
 {
     Configuration          = configuration;
     StartedBy              = startedBy;
     JobId                  = jobId;
     CreationTime           = creationTime;
     ProvisioningState      = provisioningState;
     RunOn                  = runOn;
     Status                 = status;
     StatusDetails          = statusDetails;
     StartTime              = startTime;
     EndTime                = endTime;
     Exception              = exception;
     LastModifiedTime       = lastModifiedTime;
     LastStatusModifiedTime = lastStatusModifiedTime;
     Parameters             = parameters;
     CustomInit();
 }
예제 #8
0
 /// <summary>
 /// Initializes a new instance of the
 /// DscNodeConfigurationCreateOrUpdateParameters class with required
 /// arguments.
 /// </summary>
 public DscNodeConfigurationCreateOrUpdateParameters(ContentSource source, string name, DscConfigurationAssociationProperty configuration)
     : this()
 {
     if (source == null)
     {
         throw new ArgumentNullException("source");
     }
     if (name == null)
     {
         throw new ArgumentNullException("name");
     }
     if (configuration == null)
     {
         throw new ArgumentNullException("configuration");
     }
     this.Source        = source;
     this.Name          = name;
     this.Configuration = configuration;
 }