共用方式為


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

資源的完整資源識別碼

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。

適用於