# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::ServiceFabric::V6_3_0_9 module Models # # Identifies the Service Fabric stateful partition which is being backed # up. # class PartitionBackupEntity < BackupEntity include MsRestAzure def initialize @EntityKind = "Partition" end attr_accessor :EntityKind # @return [String] The full name of the service with 'fabric:' URI # scheme. attr_accessor :service_name # @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. attr_accessor :partition_id # # Mapper for PartitionBackupEntity class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Partition', type: { name: 'Composite', class_name: 'PartitionBackupEntity', 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' } }, partition_id: { client_side_validation: true, required: false, serialized_name: 'PartitionId', type: { name: 'String' } } } } } end end end end