Class: Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::RuntimeScriptAction

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/runtime_script_action.rb

Overview

Describes a script action on a running cluster.

Direct Known Subclasses

RuntimeScriptActionDetail

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#application_nameString

Returns The application name of the script action, if any.

Returns:

  • (String)

    The application name of the script action, if any.



29
30
31
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/runtime_script_action.rb', line 29

def application_name
  @application_name
end

#nameString

Returns The name of the script action.

Returns:

  • (String)

    The name of the script action.



16
17
18
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/runtime_script_action.rb', line 16

def name
  @name
end

#parametersString

Returns The parameters for the script.

Returns:

  • (String)

    The parameters for the script



22
23
24
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/runtime_script_action.rb', line 22

def parameters
  @parameters
end

#rolesArray<String>

executed.

Returns:

  • (Array<String>)

    The list of roles where script will be



26
27
28
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/runtime_script_action.rb', line 26

def roles
  @roles
end

#uriString

Returns The URI to the script.

Returns:

  • (String)

    The URI to the script.



19
20
21
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/runtime_script_action.rb', line 19

def uri
  @uri
end

Class Method Details

.mapperObject

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



36
37
38
39
40
41
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
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/runtime_script_action.rb', line 36

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'RuntimeScriptAction',
    type: {
      name: 'Composite',
      class_name: 'RuntimeScriptAction',
      model_properties: {
        name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        uri: {
          client_side_validation: true,
          required: true,
          serialized_name: 'uri',
          type: {
            name: 'String'
          }
        },
        parameters: {
          client_side_validation: true,
          required: false,
          serialized_name: 'parameters',
          type: {
            name: 'String'
          }
        },
        roles: {
          client_side_validation: true,
          required: true,
          serialized_name: 'roles',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        application_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'applicationName',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end