// Code generated by azure-service-operator-codegen. DO NOT EDIT.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
package arm

type FlexibleServersBackup_STATUS struct {
	// Id: Fully qualified resource ID for the resource. E.g.
	// "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
	Id *string `json:"id,omitempty"`

	// Name: The name of the resource
	Name *string `json:"name,omitempty"`

	// Properties: Properties of a backup.
	Properties *ServerBackupProperties_STATUS `json:"properties,omitempty"`

	// SystemData: Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData_STATUS `json:"systemData,omitempty"`

	// Type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
}

// Properties of a backup.
type ServerBackupProperties_STATUS struct {
	// BackupType: Type of backup.
	BackupType *ServerBackupProperties_BackupType_STATUS `json:"backupType,omitempty"`

	// CompletedTime: Time(ISO8601 format) at which the backup was completed.
	CompletedTime *string `json:"completedTime,omitempty"`

	// Source: Source of the backup.
	Source *string `json:"source,omitempty"`
}

type ServerBackupProperties_BackupType_STATUS string

const (
	ServerBackupProperties_BackupType_STATUS_CustomerOnDemand = ServerBackupProperties_BackupType_STATUS("Customer On-Demand")
	ServerBackupProperties_BackupType_STATUS_Full             = ServerBackupProperties_BackupType_STATUS("Full")
)

// Mapping from string to ServerBackupProperties_BackupType_STATUS
var serverBackupProperties_BackupType_STATUS_Values = map[string]ServerBackupProperties_BackupType_STATUS{
	"customer on-demand": ServerBackupProperties_BackupType_STATUS_CustomerOnDemand,
	"full":               ServerBackupProperties_BackupType_STATUS_Full,
}
