Share via


Runbook Constructors

Definition

Overloads

Runbook()

Initializes a new instance of the Runbook class.

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)

Initializes a new instance of the Runbook class.

Runbook()

Initializes a new instance of the Runbook class.

public Runbook ();
Public Sub New ()

Applies to

Initializes a new instance of the Runbook class.

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)

Parameters

id
String

Fully qualified resource Id for the resource

name
String

The name of the resource

type
String

The type of the resource.

tags
IDictionary<String,String>

Resource tags.

location
String

The Azure Region where the resource lives

runbookType
String

Gets or sets the type of the runbook. Possible values include: 'Script', 'Graph', 'PowerShellWorkflow', 'PowerShell', 'GraphPowerShellWorkflow', 'GraphPowerShell'

publishContentLink
ContentLink

Gets or sets the published runbook content link.

state
String

Gets or sets the state of the runbook. Possible values include: 'New', 'Edit', 'Published'

logVerbose
Nullable<Boolean>

Gets or sets verbose log option.

logProgress
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,RunbookParameter>

Gets or sets the runbook parameters.

outputTypes
IList<String>

Gets or sets the runbook output types.

draft
RunbookDraft

Gets or sets the draft runbook properties.

provisioningState
Nullable<RunbookProvisioningState>

Gets or sets the provisioning state of the runbook. Possible values include: 'Succeeded'

lastModifiedBy
String

Gets or sets the last modified by.

creationTime
DateTimeOffset

Gets or sets the creation time.

lastModifiedTime
DateTimeOffset

Gets or sets the last modified time.

description
String

Gets or sets the description.

etag
String

Gets or sets the etag of the resource.

Applies to