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

ArmAutomationModelFactory.AutomationRunbookData 方法

定义

初始化 AutomationRunbookData 的新实例。

public static Azure.ResourceManager.Automation.AutomationRunbookData AutomationRunbookData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ETag? etag = default, Azure.ResourceManager.Automation.Models.AutomationRunbookType? runbookType = default, Azure.ResourceManager.Automation.Models.AutomationContentLink publishContentLink = default, Azure.ResourceManager.Automation.Models.RunbookState? state = default, bool? isLogVerboseEnabled = default, bool? isLogProgressEnabled = default, int? logActivityTrace = default, int? jobCount = default, System.Collections.Generic.IDictionary<string,Azure.ResourceManager.Automation.Models.RunbookParameterDefinition> parameters = default, System.Collections.Generic.IEnumerable<string> outputTypes = default, Azure.ResourceManager.Automation.Models.AutomationRunbookDraft draft = default, Azure.ResourceManager.Automation.Models.RunbookProvisioningState? provisioningState = default, string lastModifiedBy = default, DateTimeOffset? createdOn = default, DateTimeOffset? lastModifiedOn = default, string description = default);
static member AutomationRunbookData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Nullable<Azure.ETag> * Nullable<Azure.ResourceManager.Automation.Models.AutomationRunbookType> * Azure.ResourceManager.Automation.Models.AutomationContentLink * Nullable<Azure.ResourceManager.Automation.Models.RunbookState> * Nullable<bool> * Nullable<bool> * Nullable<int> * Nullable<int> * System.Collections.Generic.IDictionary<string, Azure.ResourceManager.Automation.Models.RunbookParameterDefinition> * seq<string> * Azure.ResourceManager.Automation.Models.AutomationRunbookDraft * Nullable<Azure.ResourceManager.Automation.Models.RunbookProvisioningState> * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string -> Azure.ResourceManager.Automation.AutomationRunbookData
Public Shared Function AutomationRunbookData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional runbookType As Nullable(Of AutomationRunbookType) = Nothing, Optional publishContentLink As AutomationContentLink = Nothing, Optional state As Nullable(Of RunbookState) = Nothing, Optional isLogVerboseEnabled As Nullable(Of Boolean) = Nothing, Optional isLogProgressEnabled 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, RunbookParameterDefinition) = Nothing, Optional outputTypes As IEnumerable(Of String) = Nothing, Optional draft As AutomationRunbookDraft = Nothing, Optional provisioningState As Nullable(Of RunbookProvisioningState) = Nothing, Optional lastModifiedBy As String = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastModifiedOn As Nullable(Of DateTimeOffset) = Nothing, Optional description As String = Nothing) As AutomationRunbookData

参数

name
String

名称。

resourceType
ResourceType

resourceType。

systemData
SystemData

systemData。

tags
IDictionary<String,String>

标记。

location
AzureLocation

位置。

etag
Nullable<ETag>

获取或设置资源的 etag。

runbookType
Nullable<AutomationRunbookType>

获取或设置 Runbook 的类型。

publishContentLink
AutomationContentLink

获取或设置已发布的 Runbook 内容链接。

state
Nullable<RunbookState>

获取或设置 Runbook 的状态。

isLogVerboseEnabled
Nullable<Boolean>

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

isLogProgressEnabled
Nullable<Boolean>

获取或设置进度日志选项。

logActivityTrace
Nullable<Int32>

获取或设置用于记录 Runbook 的活动跟踪的选项。

jobCount
Nullable<Int32>

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

parameters
IDictionary<String,RunbookParameterDefinition>

获取或设置 Runbook 参数。

outputTypes
IEnumerable<String>

获取或设置 Runbook 输出类型。

draft
AutomationRunbookDraft

获取或设置草稿 Runbook 属性。

provisioningState
Nullable<RunbookProvisioningState>

获取或设置 Runbook 的预配状态。

lastModifiedBy
String

获取或设置上次修改者。

createdOn
Nullable<DateTimeOffset>

获取或设置创建时间。

lastModifiedOn
Nullable<DateTimeOffset>

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

description
String

获取或设置说明。

返回

用于模拟的新 AutomationRunbookData 实例。

适用于