class Azure::HybridCompute::Mgmt::V2020_08_02::Models::OperationValue

Describes the properties of a Compute Operation value.

Attributes

description[RW]

@return [String] The description of the operation.

name[RW]

@return [String] The name of the compute operation.

operation[RW]

@return [String] The display name of the compute operation.

origin[RW]

@return [String] The origin of the compute operation.

provider[RW]

@return [String] The resource provider for the operation.

resource[RW]

@return [String] The display name of the resource the operation applies to.

Private Class Methods

mapper() click to toggle source

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

# File lib/2020-08-02/generated/azure_mgmt_hybrid_compute/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