Class: Azure::OperationalInsights::Mgmt::V2020_08_01::Models::SharedKeys

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2020-08-01/generated/azure_mgmt_operational_insights/models/shared_keys.rb

Overview

The shared keys for a workspace.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#primary_shared_keyString

Returns The primary shared key of a workspace.

Returns:

  • (String)

    The primary shared key of a workspace.



16
17
18
# File 'lib/2020-08-01/generated/azure_mgmt_operational_insights/models/shared_keys.rb', line 16

def primary_shared_key
  @primary_shared_key
end

#secondary_shared_keyString

Returns The secondary shared key of a workspace.

Returns:

  • (String)

    The secondary shared key of a workspace.



19
20
21
# File 'lib/2020-08-01/generated/azure_mgmt_operational_insights/models/shared_keys.rb', line 19

def secondary_shared_key
  @secondary_shared_key
end

Class Method Details

.mapperObject

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



26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# File 'lib/2020-08-01/generated/azure_mgmt_operational_insights/models/shared_keys.rb', line 26

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'SharedKeys',
    type: {
      name: 'Composite',
      class_name: 'SharedKeys',
      model_properties: {
        primary_shared_key: {
          client_side_validation: true,
          required: false,
          serialized_name: 'primarySharedKey',
          type: {
            name: 'String'
          }
        },
        secondary_shared_key: {
          client_side_validation: true,
          required: false,
          serialized_name: 'secondarySharedKey',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end