Exemplo n.º 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();
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the
 /// DscConfigurationCreateOrUpdateProperties class with required
 /// arguments.
 /// </summary>
 public DscConfigurationCreateOrUpdateProperties(ContentSource source)
     : this()
 {
     if (source == null)
     {
         throw new ArgumentNullException("source");
     }
     this.Source = source;
 }
Exemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the DscConfigurationUpdateParameters
 /// class.
 /// </summary>
 /// <param name="source">Gets or sets the source.</param>
 /// <param name="logVerbose">Gets or sets verbose log option.</param>
 /// <param name="logProgress">Gets or sets progress log option.</param>
 /// <param name="parameters">Gets or sets the configuration
 /// parameters.</param>
 /// <param name="description">Gets or sets the description of the
 /// configuration.</param>
 /// <param name="name">Gets or sets name of the resource.</param>
 /// <param name="tags">Gets or sets the tags attached to the
 /// resource.</param>
 public DscConfigurationUpdateParameters(ContentSource source, bool?logVerbose = default(bool?), bool?logProgress = default(bool?), IDictionary <string, DscConfigurationParameter> parameters = default(IDictionary <string, DscConfigurationParameter>), string description = default(string), string name = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>))
 {
     LogVerbose  = logVerbose;
     LogProgress = logProgress;
     Source      = source;
     Parameters  = parameters;
     Description = description;
     Name        = name;
     Tags        = tags;
     CustomInit();
 }
Exemplo n.º 4
0
 /// <summary>
 /// Initializes a new instance of the DscConfiguration 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="tags">Resource tags.</param>
 /// <param name="location">The Azure Region where the resource
 /// lives</param>
 /// <param name="provisioningState">Gets or sets the provisioning state
 /// of the configuration. Possible values include: 'Succeeded'</param>
 /// <param name="jobCount">Gets or sets the job count of the
 /// configuration.</param>
 /// <param name="parameters">Gets or sets the configuration
 /// parameters.</param>
 /// <param name="source">Gets or sets the source.</param>
 /// <param name="state">Gets or sets the state of the configuration.
 /// Possible values include: 'New', 'Edit', 'Published'</param>
 /// <param name="logVerbose">Gets or sets verbose log option.</param>
 /// <param name="creationTime">Gets or sets the creation time.</param>
 /// <param name="lastModifiedTime">Gets or sets the last modified
 /// time.</param>
 /// <param name="nodeConfigurationCount">Gets the number of compiled
 /// node configurations.</param>
 /// <param name="description">Gets or sets the description.</param>
 /// <param name="etag">Gets or sets the etag of the resource.</param>
 public DscConfiguration(string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), string location = default(string), DscConfigurationProvisioningState?provisioningState = default(DscConfigurationProvisioningState?), int?jobCount = default(int?), IDictionary <string, DscConfigurationParameter> parameters = default(IDictionary <string, DscConfigurationParameter>), ContentSource source = default(ContentSource), string state = default(string), bool?logVerbose = default(bool?), System.DateTimeOffset creationTime = default(System.DateTimeOffset), System.DateTimeOffset lastModifiedTime = default(System.DateTimeOffset), int nodeConfigurationCount = default(int), string description = default(string), string etag = default(string))
     : base(id, name, type, tags, location)
 {
     ProvisioningState      = provisioningState;
     JobCount               = jobCount;
     Parameters             = parameters;
     Source                 = source;
     State                  = state;
     LogVerbose             = logVerbose;
     CreationTime           = creationTime;
     LastModifiedTime       = lastModifiedTime;
     NodeConfigurationCount = nodeConfigurationCount;
     Description            = description;
     Etag = etag;
     CustomInit();
 }
Exemplo n.º 5
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;
 }
 /// <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
 /// DscConfigurationCreateOrUpdateProperties class with required
 /// arguments.
 /// </summary>
 public DscConfigurationCreateOrUpdateProperties(ContentSource source)
     : this()
 {
     if (source == null)
     {
         throw new ArgumentNullException("source");
     }
     this.Source = source;
 }