class Azure::Cosmosdb::Mgmt::V2019_12_12::Models::OperationDisplay

The object that represents the operation.

Attributes

description[RW]

@return [String] Description of operation

operation[RW]

@return [String] Operation type: Read, write, delete, etc.

provider[RW]

@return [String] Service provider: Microsoft.ResourceProvider

resource[RW]

@return [String] Resource on which the operation is performed: Profile, endpoint, etc.

Public Class Methods

mapper() click to toggle source

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

# File lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/operation_display.rb, line 33
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Operation_display',
    type: {
      name: 'Composite',
      class_name: 'OperationDisplay',
      model_properties: {
        provider: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Provider',
          type: {
            name: 'String'
          }
        },
        resource: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Resource',
          type: {
            name: 'String'
          }
        },
        operation: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Operation',
          type: {
            name: 'String'
          }
        },
        description: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Description',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end