Class: Azure::ServiceFabric::V6_3_0_9::Models::ServiceBackupEntity

Inherits:
BackupEntity
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/6.3.0.9/generated/azure_service_fabric/models/service_backup_entity.rb

Overview

Identifies the Service Fabric stateful service which is being backed up.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeServiceBackupEntity

Returns a new instance of ServiceBackupEntity.



16
17
18
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/service_backup_entity.rb', line 16

def initialize
  @EntityKind = "Service"
end

Instance Attribute Details

#EntityKindObject

Returns the value of attribute EntityKind.



20
21
22
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/service_backup_entity.rb', line 20

def EntityKind
  @EntityKind
end

#service_nameString

scheme.

Returns:

  • (String)

    The full name of the service with ‘fabric:’ URI



24
25
26
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/service_backup_entity.rb', line 24

def service_name
  @service_name
end

Class Method Details

.mapperObject

Mapper for ServiceBackupEntity 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
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/service_backup_entity.rb', line 31

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Service',
    type: {
      name: 'Composite',
      class_name: 'ServiceBackupEntity',
      model_properties: {
        EntityKind: {
          client_side_validation: true,
          required: true,
          serialized_name: 'EntityKind',
          type: {
            name: 'String'
          }
        },
        service_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ServiceName',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end