Class: Azure::ARM::MediaServices::Models::ServiceKeys
- Inherits:
-
Object
- Object
- Azure::ARM::MediaServices::Models::ServiceKeys
- 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
-
#primary_auth_endpoint ⇒ String
The primary Authorization endpoint.
-
#primary_key ⇒ String
The primary resource.
-
#scope ⇒ String
The authorization scope.
-
#secondary_auth_endpoint ⇒ String
The secondary Authorization endpoint.
-
#secondary_key ⇒ String
The secondary resource.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ServiceKeys class as Ruby Hash.
Instance Attribute Details
#primary_auth_endpoint ⇒ String
Returns 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_key ⇒ String
Returns 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 |
#scope ⇒ String
Returns 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_endpoint ⇒ String
Returns 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_key ⇒ String
Returns 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
.mapper ⇒ Object
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 |