Class: Azure::Automation::Mgmt::V2015_10_31::Models::RunbookCreateOrUpdateParameters

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

Overview

The parameters supplied to the create or update runbook operation.

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.



33
34
35
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_create_or_update_parameters.rb', line 33

def description
  @description
end

#draftRunbookDraft

Returns Gets or sets the draft runbook properties.

Returns:

  • (RunbookDraft)

    Gets or sets the draft runbook properties.



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

def draft
  @draft
end

#locationString

Returns Gets or sets the location of the resource.

Returns:

  • (String)

    Gets or sets the location of the resource.



43
44
45
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_create_or_update_parameters.rb', line 43

def location
  @location
end

#log_activity_traceInteger

the runbook.

Returns:

  • (Integer)

    Gets or sets the activity-level tracing options of



37
38
39
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_create_or_update_parameters.rb', line 37

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.



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

def log_progress
  @log_progress
end

#log_verboseBoolean

Returns Gets or sets verbose log option.

Returns:

  • (Boolean)

    Gets or sets verbose log option.



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

def log_verbose
  @log_verbose
end

#nameString

Returns Gets or sets the name of the resource.

Returns:

  • (String)

    Gets or sets the name of the resource.



40
41
42
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_create_or_update_parameters.rb', line 40

def name
  @name
end

Returns Gets or sets the published runbook content link.

Returns:

  • (ContentLink)

    Gets or sets the published runbook content link.



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

def publish_content_link
  @publish_content_link
end

#runbook_typeRunbookTypeEnum

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

Returns:



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

def runbook_type
  @runbook_type
end

#tagsHash{String => String}

resource.

Returns:

  • (Hash{String => String})

    Gets or sets the tags attached to the



47
48
49
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_create_or_update_parameters.rb', line 47

def tags
  @tags
end

Class Method Details

.mapperObject

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



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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
# File 'lib/2015-10-31/generated/azure_mgmt_automation/models/runbook_create_or_update_parameters.rb', line 54

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'RunbookCreateOrUpdateParameters',
    type: {
      name: 'Composite',
      class_name: 'RunbookCreateOrUpdateParameters',
      model_properties: {
        log_verbose: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.logVerbose',
          type: {
            name: 'Boolean'
          }
        },
        log_progress: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.logProgress',
          type: {
            name: 'Boolean'
          }
        },
        runbook_type: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.runbookType',
          type: {
            name: 'String'
          }
        },
        draft: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.draft',
          type: {
            name: 'Composite',
            class_name: 'RunbookDraft'
          }
        },
        publish_content_link: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.publishContentLink',
          type: {
            name: 'Composite',
            class_name: 'ContentLink'
          }
        },
        description: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.description',
          type: {
            name: 'String'
          }
        },
        log_activity_trace: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.logActivityTrace',
          type: {
            name: 'Number'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        location: {
          client_side_validation: true,
          required: false,
          serialized_name: 'location',
          type: {
            name: 'String'
          }
        },
        tags: {
          client_side_validation: true,
          required: false,
          serialized_name: 'tags',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end