class Azure::ServiceFabric::V6_3_0_9::Models::PartitionBackupEntity

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

Attributes

EntityKind[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 PartitionBackupEntity class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/6.3.0.9/generated/azure_service_fabric/models/partition_backup_entity.rb, line 39
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
new() click to toggle source
# File lib/6.3.0.9/generated/azure_service_fabric/models/partition_backup_entity.rb, line 17
def initialize
  @EntityKind = "Partition"
end