你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

DscConfiguration 构造函数

定义

重载

DscConfiguration()

初始化 DscConfiguration 类的新实例。

DscConfiguration(String, String, String, IDictionary<String,String>, String, Nullable<DscConfigurationProvisioningState>, Nullable<Int32>, IDictionary<String,DscConfigurationParameter>, ContentSource, String, Nullable<Boolean>, DateTimeOffset, DateTimeOffset, Int32, String, String)

初始化 DscConfiguration 类的新实例。

DscConfiguration()

初始化 DscConfiguration 类的新实例。

public DscConfiguration ();
Public Sub New ()

适用于

DscConfiguration(String, String, String, IDictionary<String,String>, String, Nullable<DscConfigurationProvisioningState>, Nullable<Int32>, IDictionary<String,DscConfigurationParameter>, ContentSource, String, Nullable<Boolean>, DateTimeOffset, DateTimeOffset, Int32, String, String)

初始化 DscConfiguration 类的新实例。

public DscConfiguration (string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, string location = default, Microsoft.Azure.Management.Automation.Models.DscConfigurationProvisioningState? provisioningState = default, int? jobCount = default, System.Collections.Generic.IDictionary<string,Microsoft.Azure.Management.Automation.Models.DscConfigurationParameter> parameters = default, Microsoft.Azure.Management.Automation.Models.ContentSource source = default, string state = default, bool? logVerbose = default, DateTimeOffset creationTime = default, DateTimeOffset lastModifiedTime = default, int nodeConfigurationCount = 0, string description = default, string etag = default);
new Microsoft.Azure.Management.Automation.Models.DscConfiguration : string * string * string * System.Collections.Generic.IDictionary<string, string> * string * Nullable<Microsoft.Azure.Management.Automation.Models.DscConfigurationProvisioningState> * Nullable<int> * System.Collections.Generic.IDictionary<string, Microsoft.Azure.Management.Automation.Models.DscConfigurationParameter> * Microsoft.Azure.Management.Automation.Models.ContentSource * string * Nullable<bool> * DateTimeOffset * DateTimeOffset * int * string * string -> Microsoft.Azure.Management.Automation.Models.DscConfiguration
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As String = Nothing, Optional provisioningState As Nullable(Of DscConfigurationProvisioningState) = Nothing, Optional jobCount As Nullable(Of Integer) = Nothing, Optional parameters As IDictionary(Of String, DscConfigurationParameter) = Nothing, Optional source As ContentSource = Nothing, Optional state As String = Nothing, Optional logVerbose As Nullable(Of Boolean) = Nothing, Optional creationTime As DateTimeOffset = Nothing, Optional lastModifiedTime As DateTimeOffset = Nothing, Optional nodeConfigurationCount As Integer = 0, Optional description As String = Nothing, Optional etag As String = Nothing)

参数

id
String

资源的完全限定资源 ID

name
String

资源的名称

type
String

资源类型。

tags
IDictionary<String,String>

资源标记。

location
String

资源所在的 Azure 区域

provisioningState
Nullable<DscConfigurationProvisioningState>

获取或设置配置的预配状态。 可能的值包括:“Succeeded”

jobCount
Nullable<Int32>

获取或设置配置的作业计数。

parameters
IDictionary<String,DscConfigurationParameter>

获取或设置配置参数。

source
ContentSource

获取或设置源。

state
String

获取或设置配置的状态。 可能的值包括:“New”、“Edit”、“Published”

logVerbose
Nullable<Boolean>

获取或设置详细日志选项。

creationTime
DateTimeOffset

获取或设置创建时间。

lastModifiedTime
DateTimeOffset

获取或设置上次修改时间。

nodeConfigurationCount
Int32

获取已编译的节点配置数。

description
String

获取或设置说明。

etag
String

获取或设置资源的 etag。

适用于