class Azure::ServiceFabric::V7_0_0_42::Models::PartitionBackupEntity

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

Attributes

EntityKind[RW]
partition_id[RW]

@return The partition ID identifying the partition.

service_name[RW]

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

Private Class Methods

mapper() click to toggle source

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

# File lib/7.0.0.42/generated/azure_service_fabric/models/partition_backup_entity.rb, line 35
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/7.0.0.42/generated/azure_service_fabric/models/partition_backup_entity.rb, line 17
def initialize
  @EntityKind = "Partition"
end