共用方式為


ArmAutomationModelFactory.AutomationRunbookData Method

Definition

Initializes a new instance of 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

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

etag
Nullable<ETag>

Gets or sets the etag of the resource.

runbookType
Nullable<AutomationRunbookType>

Gets or sets the type of the runbook.

publishContentLink
AutomationContentLink

Gets or sets the published runbook content link.

state
Nullable<RunbookState>

Gets or sets the state of the runbook.

isLogVerboseEnabled
Nullable<Boolean>

Gets or sets verbose log option.

isLogProgressEnabled
Nullable<Boolean>

Gets or sets progress log option.

logActivityTrace
Nullable<Int32>

Gets or sets the option to log activity trace of the runbook.

jobCount
Nullable<Int32>

Gets or sets the job count of the runbook.

parameters
IDictionary<String,RunbookParameterDefinition>

Gets or sets the runbook parameters.

outputTypes
IEnumerable<String>

Gets or sets the runbook output types.

draft
AutomationRunbookDraft

Gets or sets the draft runbook properties.

provisioningState
Nullable<RunbookProvisioningState>

Gets or sets the provisioning state of the runbook.

lastModifiedBy
String

Gets or sets the last modified by.

createdOn
Nullable<DateTimeOffset>

Gets or sets the creation time.

lastModifiedOn
Nullable<DateTimeOffset>

Gets or sets the last modified time.

description
String

Gets or sets the description.

Returns

A new AutomationRunbookData instance for mocking.

Applies to