Class: Azure::ServiceBus::Mgmt::V2017_04_01::Models::CaptureDescription

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-04-01/generated/azure_mgmt_service_bus/models/capture_description.rb

Overview

Properties to configure capture description for eventhub

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#destinationDestination

stored. (Storage Account, Blob Names)

Returns:

  • (Destination)

    Properties of Destination where capture will be



36
37
38
# File 'lib/2017-04-01/generated/azure_mgmt_service_bus/models/capture_description.rb', line 36

def destination
  @destination
end

#enabledBoolean

enabled.

Returns:

  • (Boolean)

    A value that indicates whether capture description is



17
18
19
# File 'lib/2017-04-01/generated/azure_mgmt_service_bus/models/capture_description.rb', line 17

def enabled
  @enabled
end

#encodingEncodingCaptureDescription

the encoding format of capture description. Possible values include: ‘Avro’, ‘AvroDeflate’

Returns:



22
23
24
# File 'lib/2017-04-01/generated/azure_mgmt_service_bus/models/capture_description.rb', line 22

def encoding
  @encoding
end

#interval_in_secondsInteger

which the capture to Azure Blobs will happen, value should between 60 to 900 seconds

Returns:

  • (Integer)

    The time window allows you to set the frequency with



27
28
29
# File 'lib/2017-04-01/generated/azure_mgmt_service_bus/models/capture_description.rb', line 27

def interval_in_seconds
  @interval_in_seconds
end

#size_limit_in_bytesInteger

in your Event Hub before an capture operation, value should be between 10485760 and 524288000 bytes

Returns:

  • (Integer)

    The size window defines the amount of data built up



32
33
34
# File 'lib/2017-04-01/generated/azure_mgmt_service_bus/models/capture_description.rb', line 32

def size_limit_in_bytes
  @size_limit_in_bytes
end

Class Method Details

.mapperObject

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



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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
# File 'lib/2017-04-01/generated/azure_mgmt_service_bus/models/capture_description.rb', line 43

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'CaptureDescription',
    type: {
      name: 'Composite',
      class_name: 'CaptureDescription',
      model_properties: {
        enabled: {
          client_side_validation: true,
          required: false,
          serialized_name: 'enabled',
          type: {
            name: 'Boolean'
          }
        },
        encoding: {
          client_side_validation: true,
          required: false,
          serialized_name: 'encoding',
          type: {
            name: 'Enum',
            module: 'EncodingCaptureDescription'
          }
        },
        interval_in_seconds: {
          client_side_validation: true,
          required: false,
          serialized_name: 'intervalInSeconds',
          constraints: {
            InclusiveMaximum: 900,
            InclusiveMinimum: 60
          },
          type: {
            name: 'Number'
          }
        },
        size_limit_in_bytes: {
          client_side_validation: true,
          required: false,
          serialized_name: 'sizeLimitInBytes',
          constraints: {
            InclusiveMaximum: 524288000,
            InclusiveMinimum: 10485760
          },
          type: {
            name: 'Number'
          }
        },
        destination: {
          client_side_validation: true,
          required: false,
          serialized_name: 'destination',
          type: {
            name: 'Composite',
            class_name: 'Destination'
          }
        }
      }
    }
  }
end