Class: Azure::ARM::MediaServices::Models::ServiceKeys

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/generated/azure_mgmt_media_services/models/service_keys.rb

Overview

The response body for a ListKeys API.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#primary_auth_endpointString

Returns The primary Authorization endpoint.

Returns:

  • (String)

    The primary Authorization endpoint.



16
17
18
# File 'lib/generated/azure_mgmt_media_services/models/service_keys.rb', line 16

def primary_auth_endpoint
  @primary_auth_endpoint
end

#primary_keyString

Returns The primary resource.

Returns:

  • (String)

    The primary resource.



22
23
24
# File 'lib/generated/azure_mgmt_media_services/models/service_keys.rb', line 22

def primary_key
  @primary_key
end

#scopeString

Returns The authorization scope.

Returns:

  • (String)

    The authorization scope.



28
29
30
# File 'lib/generated/azure_mgmt_media_services/models/service_keys.rb', line 28

def scope
  @scope
end

#secondary_auth_endpointString

Returns The secondary Authorization endpoint.

Returns:

  • (String)

    The secondary Authorization endpoint.



19
20
21
# File 'lib/generated/azure_mgmt_media_services/models/service_keys.rb', line 19

def secondary_auth_endpoint
  @secondary_auth_endpoint
end

#secondary_keyString

Returns The secondary resource.

Returns:

  • (String)

    The secondary resource.



25
26
27
# File 'lib/generated/azure_mgmt_media_services/models/service_keys.rb', line 25

def secondary_key
  @secondary_key
end

Class Method Details

.mapperObject

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



35
36
37
38
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
# File 'lib/generated/azure_mgmt_media_services/models/service_keys.rb', line 35

def self.mapper()
  {
    required: false,
    serialized_name: 'ServiceKeys',
    type: {
      name: 'Composite',
      class_name: 'ServiceKeys',
      model_properties: {
        primary_auth_endpoint: {
          required: false,
          serialized_name: 'primaryAuthEndpoint',
          type: {
            name: 'String'
          }
        },
        secondary_auth_endpoint: {
          required: false,
          serialized_name: 'secondaryAuthEndpoint',
          type: {
            name: 'String'
          }
        },
        primary_key: {
          required: false,
          serialized_name: 'primaryKey',
          type: {
            name: 'String'
          }
        },
        secondary_key: {
          required: false,
          serialized_name: 'secondaryKey',
          type: {
            name: 'String'
          }
        },
        scope: {
          required: false,
          serialized_name: 'scope',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end