Class: Azure::ServiceFabric::V6_3_0_9::Models::ServiceBackupConfigurationInfo

Inherits:
BackupConfigurationInfo show all
Includes:
MsRestAzure
Defined in:
lib/6.3.0.9/generated/azure_service_fabric/models/service_backup_configuration_info.rb

Overview

Backup configuration information for a specific Service Fabric service specifying what backup policy is being applied and suspend description, if any.

Instance Attribute Summary collapse

Attributes inherited from BackupConfigurationInfo

#policy_inherited_from, #policy_name, #suspension_info

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeServiceBackupConfigurationInfo

Returns a new instance of ServiceBackupConfigurationInfo.



18
19
20
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/service_backup_configuration_info.rb', line 18

def initialize
  @Kind = "Service"
end

Instance Attribute Details

#KindObject

Returns the value of attribute Kind.



22
23
24
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/service_backup_configuration_info.rb', line 22

def Kind
  @Kind
end

#service_nameString

scheme.

Returns:

  • (String)

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



26
27
28
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/service_backup_configuration_info.rb', line 26

def service_name
  @service_name
end

Class Method Details

.mapperObject

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



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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/service_backup_configuration_info.rb', line 33

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Service',
    type: {
      name: 'Composite',
      class_name: 'ServiceBackupConfigurationInfo',
      model_properties: {
        policy_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'PolicyName',
          type: {
            name: 'String'
          }
        },
        policy_inherited_from: {
          client_side_validation: true,
          required: false,
          serialized_name: 'PolicyInheritedFrom',
          type: {
            name: 'String'
          }
        },
        suspension_info: {
          client_side_validation: true,
          required: false,
          serialized_name: 'SuspensionInfo',
          type: {
            name: 'Composite',
            class_name: 'BackupSuspensionInfo'
          }
        },
        Kind: {
          client_side_validation: true,
          required: true,
          serialized_name: 'Kind',
          type: {
            name: 'String'
          }
        },
        service_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ServiceName',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end