Class: Azure::Signalr::Mgmt::V2020_05_01::Models::Operation

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2020-05-01/generated/azure_mgmt_signalr/models/operation.rb

Overview

REST API operation supported by SignalR resource provider.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#displayOperationDisplay

Returns The object that describes the operation.

Returns:



24
25
26
# File 'lib/2020-05-01/generated/azure_mgmt_signalr/models/operation.rb', line 24

def display
  @display
end

#is_data_actionBoolean

rbac)

Returns:

  • (Boolean)

    If the operation is a data action. (for data plane



21
22
23
# File 'lib/2020-05-01/generated/azure_mgmt_signalr/models/operation.rb', line 21

def is_data_action
  @is_data_action
end

#nameString

provider/resource/operation

Returns:

  • (String)

    Name of the operation with format:



17
18
19
# File 'lib/2020-05-01/generated/azure_mgmt_signalr/models/operation.rb', line 17

def name
  @name
end

#originString

governs the display of the operation in the RBAC UX and the audit logs UX.

Returns:

  • (String)

    Optional. The intended executor of the operation;



29
30
31
# File 'lib/2020-05-01/generated/azure_mgmt_signalr/models/operation.rb', line 29

def origin
  @origin
end

#propertiesOperationProperties

Returns Extra properties for the operation.

Returns:



32
33
34
# File 'lib/2020-05-01/generated/azure_mgmt_signalr/models/operation.rb', line 32

def properties
  @properties
end

Class Method Details

.mapperObject

Mapper for Operation 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
# File 'lib/2020-05-01/generated/azure_mgmt_signalr/models/operation.rb', line 39

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Operation',
    type: {
      name: 'Composite',
      class_name: 'Operation',
      model_properties: {
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        is_data_action: {
          client_side_validation: true,
          required: false,
          serialized_name: 'isDataAction',
          type: {
            name: 'Boolean'
          }
        },
        display: {
          client_side_validation: true,
          required: false,
          serialized_name: 'display',
          type: {
            name: 'Composite',
            class_name: 'OperationDisplay'
          }
        },
        origin: {
          client_side_validation: true,
          required: false,
          serialized_name: 'origin',
          type: {
            name: 'String'
          }
        },
        properties: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties',
          type: {
            name: 'Composite',
            class_name: 'OperationProperties'
          }
        }
      }
    }
  }
end