Class: Azure::SQL::Mgmt::V2017_03_01_preview::Models::JobStep

Inherits:
ProxyResource show all
Includes:
MsRestAzure
Defined in:
lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_step.rb

Overview

A job step.

Instance Attribute Summary collapse

Attributes inherited from Resource

#id, #name, #type

Class Method Summary collapse

Methods inherited from Resource

#resource_group

Instance Attribute Details

#actionJobStepAction

Returns The action payload of the job step.

Returns:



29
30
31
# File 'lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_step.rb', line 29

def action
  @action
end

#credentialString

used to connect to the targets.

Returns:

  • (String)

    The resource ID of the job credential that will be



26
27
28
# File 'lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_step.rb', line 26

def credential
  @credential
end

#execution_optionsJobStepExecutionOptions

Returns Execution options for the job step.

Returns:



35
36
37
# File 'lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_step.rb', line 35

def execution_options
  @execution_options
end

#outputJobStepOutput

Returns Output destination properties of the job step.

Returns:

  • (JobStepOutput)

    Output destination properties of the job step.



32
33
34
# File 'lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_step.rb', line 32

def output
  @output
end

#step_idInteger

when creating the job step, it will be created as the last step. If not specified when updating the job step, the step id is not modified.

Returns:

  • (Integer)

    The job step’s index within the job. If not specified



18
19
20
# File 'lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_step.rb', line 18

def step_id
  @step_id
end

#target_groupString

will be executed on.

Returns:

  • (String)

    The resource ID of the target group that the job step



22
23
24
# File 'lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_step.rb', line 22

def target_group
  @target_group
end

Class Method Details

.mapperObject

Mapper for JobStep 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
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
# File 'lib/2017-03-01-preview/generated/azure_mgmt_sql/models/job_step.rb', line 42

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'JobStep',
    type: {
      name: 'Composite',
      class_name: 'JobStep',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        step_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.stepId',
          type: {
            name: 'Number'
          }
        },
        target_group: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.targetGroup',
          type: {
            name: 'String'
          }
        },
        credential: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.credential',
          type: {
            name: 'String'
          }
        },
        action: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.action',
          type: {
            name: 'Composite',
            class_name: 'JobStepAction'
          }
        },
        output: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.output',
          type: {
            name: 'Composite',
            class_name: 'JobStepOutput'
          }
        },
        execution_options: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.executionOptions',
          type: {
            name: 'Composite',
            class_name: 'JobStepExecutionOptions'
          }
        }
      }
    }
  }
end