Class: Azure::MediaServices::Mgmt::V2020_05_01::Models::EdgeUsageDataEventHub

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

Overview

Model object.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#nameString

Returns Name of the Event Hub where usage will be reported.

Returns:

  • (String)

    Name of the Event Hub where usage will be reported.



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

def name
  @name
end

#namespaceString

reported.

Returns:

  • (String)

    Namespace of the Event Hub where usage will be



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

def namespace
  @namespace
end

#tokenString

Returns SAS token needed to interact with Event Hub.

Returns:

  • (String)

    SAS token needed to interact with Event Hub.



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

def token
  @token
end

Class Method Details

.mapperObject

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



31
32
33
34
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
# File 'lib/2020-05-01/generated/azure_mgmt_media_services/models/edge_usage_data_event_hub.rb', line 31

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'EdgeUsageDataEventHub',
    type: {
      name: 'Composite',
      class_name: 'EdgeUsageDataEventHub',
      model_properties: {
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        namespace: {
          client_side_validation: true,
          required: false,
          serialized_name: 'namespace',
          type: {
            name: 'String'
          }
        },
        token: {
          client_side_validation: true,
          required: false,
          serialized_name: 'token',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end