Class: Azure::Automation::Mgmt::V2015_10_31::Models::RunbookCreateOrUpdateDraftProperties

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_create_or_update_draft_properties.rb

Overview

The parameters supplied to the create or update dratft runbook properties.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#descriptionString

Returns Gets or sets the description of the runbook.

Returns:

  • (String)

    Gets or sets the description of the runbook.



31
32
33
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_create_or_update_draft_properties.rb', line 31

def description
  @description
end

#draftRunbookDraft

Returns Gets or sets the draft runbook properties.

Returns:

  • (RunbookDraft)

    Gets or sets the draft runbook properties.



28
29
30
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_create_or_update_draft_properties.rb', line 28

def draft
  @draft
end

#log_activity_traceInteger

the runbook.

Returns:

  • (Integer)

    Gets or sets the activity-level tracing options of



35
36
37
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_create_or_update_draft_properties.rb', line 35

def log_activity_trace
  @log_activity_trace
end

#log_progressBoolean

Returns Gets or sets progress log option.

Returns:

  • (Boolean)

    Gets or sets progress log option.



20
21
22
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_create_or_update_draft_properties.rb', line 20

def log_progress
  @log_progress
end

#log_verboseBoolean

Returns Gets or sets verbose log option.

Returns:

  • (Boolean)

    Gets or sets verbose log option.



17
18
19
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_create_or_update_draft_properties.rb', line 17

def log_verbose
  @log_verbose
end

#runbook_typeRunbookTypeEnum

Possible values include: ‘Script’, ‘Graph’, ‘PowerShellWorkflow’, ‘PowerShell’, ‘GraphPowerShellWorkflow’, ‘GraphPowerShell’

Returns:



25
26
27
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_create_or_update_draft_properties.rb', line 25

def runbook_type
  @runbook_type
end

Class Method Details

.mapperObject

Mapper for RunbookCreateOrUpdateDraftProperties class as Ruby Hash. This will be used for serialization/deserialization.



42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_create_or_update_draft_properties.rb', line 42

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'RunbookCreateOrUpdateDraftProperties',
    type: {
      name: 'Composite',
      class_name: 'RunbookCreateOrUpdateDraftProperties',
      model_properties: {
        log_verbose: {
          client_side_validation: true,
          required: false,
          serialized_name: 'logVerbose',
          type: {
            name: 'Boolean'
          }
        },
        log_progress: {
          client_side_validation: true,
          required: false,
          serialized_name: 'logProgress',
          type: {
            name: 'Boolean'
          }
        },
        runbook_type: {
          client_side_validation: true,
          required: true,
          serialized_name: 'runbookType',
          type: {
            name: 'String'
          }
        },
        draft: {
          client_side_validation: true,
          required: true,
          serialized_name: 'draft',
          type: {
            name: 'Composite',
            class_name: 'RunbookDraft'
          }
        },
        description: {
          client_side_validation: true,
          required: false,
          serialized_name: 'description',
          type: {
            name: 'String'
          }
        },
        log_activity_trace: {
          client_side_validation: true,
          required: false,
          serialized_name: 'logActivityTrace',
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end