class Azure::ServiceFabric::V6_2_0_9::Models::PartitionBackupConfigurationInfo

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

Attributes

Kind[RW]
partition_id[RW]

@return An internal ID used by Service Fabric to uniquely identify a partition. This is a randomly generated GUID when the service was created. The partition ID is unique and does not change for the lifetime of the service. If the same service was deleted and recreated the IDs of its partitions would be different.

service_name[RW]

@return [String] The full name of the service with 'fabric:' URI scheme.

Public Class Methods

mapper() click to toggle source

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

# File lib/6.2.0.9/generated/azure_service_fabric/models/partition_backup_configuration_info.rb, line 39
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Partition',
    type: {
      name: 'Composite',
      class_name: 'PartitionBackupConfigurationInfo',
      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'
          }
        },
        partition_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'PartitionId',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end
new() click to toggle source
# File lib/6.2.0.9/generated/azure_service_fabric/models/partition_backup_configuration_info.rb, line 17
def initialize
  @Kind = "Partition"
end