Class: Azure::MediaServices::Mgmt::V2015_10_01::Models::ServiceKeys
- Inherits:
-
Object
- Object
- Azure::MediaServices::Mgmt::V2015_10_01::Models::ServiceKeys
- Includes:
- MsRestAzure
- Defined in:
- lib/2015-10-01/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 key for the Media Service resource.
-
#scope ⇒ String
The authorization scope.
-
#secondary_auth_endpoint ⇒ String
The secondary authorization endpoint.
-
#secondary_key ⇒ String
The secondary key for the Media Service 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/2015-10-01/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 key for the Media Service resource.
22 23 24 |
# File 'lib/2015-10-01/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/2015-10-01/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/2015-10-01/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 key for the Media Service resource.
25 26 27 |
# File 'lib/2015-10-01/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 82 83 84 85 86 87 |
# File 'lib/2015-10-01/generated/azure_mgmt_media_services/models/service_keys.rb', line 35 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ServiceKeys', type: { name: 'Composite', class_name: 'ServiceKeys', model_properties: { primary_auth_endpoint: { client_side_validation: true, required: false, serialized_name: 'primaryAuthEndpoint', type: { name: 'String' } }, secondary_auth_endpoint: { client_side_validation: true, required: false, serialized_name: 'secondaryAuthEndpoint', type: { name: 'String' } }, primary_key: { client_side_validation: true, required: false, serialized_name: 'primaryKey', type: { name: 'String' } }, secondary_key: { client_side_validation: true, required: false, serialized_name: 'secondaryKey', type: { name: 'String' } }, scope: { client_side_validation: true, required: false, serialized_name: 'scope', type: { name: 'String' } } } } } end |