Runbook 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
Runbook()
初始化 Runbook 類別的新實例。
public Runbook ();
Public Sub New ()
適用於
Runbook(String, String, String, IDictionary<String,String>, String, String, ContentLink, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, IDictionary<String,RunbookParameter>, IList<String>, RunbookDraft, Nullable<RunbookProvisioningState>, String, DateTimeOffset, DateTimeOffset, String, String)
初始化 Runbook 類別的新實例。
public Runbook (string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, string location = default, string runbookType = default, Microsoft.Azure.Management.Automation.Models.ContentLink publishContentLink = default, string state = default, bool? logVerbose = default, bool? logProgress = default, int? logActivityTrace = default, int? jobCount = default, System.Collections.Generic.IDictionary<string,Microsoft.Azure.Management.Automation.Models.RunbookParameter> parameters = default, System.Collections.Generic.IList<string> outputTypes = default, Microsoft.Azure.Management.Automation.Models.RunbookDraft draft = default, Microsoft.Azure.Management.Automation.Models.RunbookProvisioningState? provisioningState = default, string lastModifiedBy = default, DateTimeOffset creationTime = default, DateTimeOffset lastModifiedTime = default, string description = default, string etag = default);
new Microsoft.Azure.Management.Automation.Models.Runbook : string * string * string * System.Collections.Generic.IDictionary<string, string> * string * string * Microsoft.Azure.Management.Automation.Models.ContentLink * string * Nullable<bool> * Nullable<bool> * Nullable<int> * Nullable<int> * System.Collections.Generic.IDictionary<string, Microsoft.Azure.Management.Automation.Models.RunbookParameter> * System.Collections.Generic.IList<string> * Microsoft.Azure.Management.Automation.Models.RunbookDraft * Nullable<Microsoft.Azure.Management.Automation.Models.RunbookProvisioningState> * string * DateTimeOffset * DateTimeOffset * string * string -> Microsoft.Azure.Management.Automation.Models.Runbook
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 runbookType As String = Nothing, Optional publishContentLink As ContentLink = Nothing, Optional state As String = Nothing, Optional logVerbose As Nullable(Of Boolean) = Nothing, Optional logProgress As Nullable(Of Boolean) = Nothing, Optional logActivityTrace As Nullable(Of Integer) = Nothing, Optional jobCount As Nullable(Of Integer) = Nothing, Optional parameters As IDictionary(Of String, RunbookParameter) = Nothing, Optional outputTypes As IList(Of String) = Nothing, Optional draft As RunbookDraft = Nothing, Optional provisioningState As Nullable(Of RunbookProvisioningState) = Nothing, Optional lastModifiedBy As String = Nothing, Optional creationTime As DateTimeOffset = Nothing, Optional lastModifiedTime As DateTimeOffset = Nothing, Optional description As String = Nothing, Optional etag As String = Nothing)
參數
- id
- String
資源的完整資源識別碼
- name
- String
資源的名稱
- type
- String
資源類型。
- tags
- IDictionary<String,String>
資源標籤。
- location
- String
資源所在的 Azure 區域
- runbookType
- String
取得或設定 Runbook 的類型。 可能的值包括:'Script'、'Graph'、'PowerShellWorkflow'、'PowerShell'、'GraphPowerShellWorkflow'、'GraphPowerShell'
- publishContentLink
- ContentLink
取得或設定已發佈的 Runbook 內容連結。
- state
- String
取得或設定 Runbook 的狀態。 可能的值包括:'New'、'Edit'、'Published'
- parameters
- IDictionary<String,RunbookParameter>
取得或設定 Runbook 參數。
- draft
- RunbookDraft
取得或設定草稿 Runbook 屬性。
- provisioningState
- Nullable<RunbookProvisioningState>
取得或設定 Runbook 的布建狀態。 可能的值包括:'Succeeded'
- lastModifiedBy
- String
取得或設定上次修改者。
- creationTime
- DateTimeOffset
取得或設定建立時間。
- lastModifiedTime
- DateTimeOffset
取得或設定上次修改的時間。
- description
- String
取得或設定描述。
- etag
- String
取得或設定資源的 etag。