Class: Azure::ContainerService::Mgmt::V2019_02_01::Models::OperationValue

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-02-01/generated/azure_mgmt_container_service/models/operation_value.rb

Overview

Describes the properties of a Compute Operation value.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#descriptionString

Returns The description of the operation.

Returns:

  • (String)

    The description of the operation.



29
30
31
# File 'lib/2019-02-01/generated/azure_mgmt_container_service/models/operation_value.rb', line 29

def description
  @description
end

#nameString

Returns The name of the compute operation.

Returns:

  • (String)

    The name of the compute operation.



19
20
21
# File 'lib/2019-02-01/generated/azure_mgmt_container_service/models/operation_value.rb', line 19

def name
  @name
end

#operationString

Returns The display name of the compute operation.

Returns:

  • (String)

    The display name of the compute operation.



22
23
24
# File 'lib/2019-02-01/generated/azure_mgmt_container_service/models/operation_value.rb', line 22

def operation
  @operation
end

#originString

Returns The origin of the compute operation.

Returns:

  • (String)

    The origin of the compute operation.



16
17
18
# File 'lib/2019-02-01/generated/azure_mgmt_container_service/models/operation_value.rb', line 16

def origin
  @origin
end

#providerString

Returns The resource provider for the operation.

Returns:

  • (String)

    The resource provider for the operation.



32
33
34
# File 'lib/2019-02-01/generated/azure_mgmt_container_service/models/operation_value.rb', line 32

def provider
  @provider
end

#resourceString

to.

Returns:

  • (String)

    The display name of the resource the operation applies



26
27
28
# File 'lib/2019-02-01/generated/azure_mgmt_container_service/models/operation_value.rb', line 26

def resource
  @resource
end

Class Method Details

.mapperObject

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



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
98
99
100
101
102
103
104
105
# File 'lib/2019-02-01/generated/azure_mgmt_container_service/models/operation_value.rb', line 39

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'OperationValue',
    type: {
      name: 'Composite',
      class_name: 'OperationValue',
      model_properties: {
        origin: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'origin',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        operation: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'display.operation',
          type: {
            name: 'String'
          }
        },
        resource: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'display.resource',
          type: {
            name: 'String'
          }
        },
        description: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'display.description',
          type: {
            name: 'String'
          }
        },
        provider: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'display.provider',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end