你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
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
资源的完全限定资源 ID
- name
- String
资源的名称
- type
- String
资源类型。
- tags
- IDictionary<String,String>
资源标记。
- location
- String
资源所在的 Azure 区域
- runbookType
- String
获取或设置 Runbook 的类型。 可能的值包括:“Script”、“Graph”、“PowerShellWorkflow”、“PowerShell”、“GraphPowerShellWorkflow”、“GraphPowerShellShell”
- 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。