AzureWorkloadSQLDatabaseProtectedItem Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Azure sql database workload Item Class
public class AzureWorkloadSQLDatabaseProtectedItem : Microsoft.Azure.Commands.RecoveryServices.Backup.Cmdlets.Models.AzureItem
type AzureWorkloadSQLDatabaseProtectedItem = class
inherit AzureItem
Public Class AzureWorkloadSQLDatabaseProtectedItem
Inherits AzureItem
- Inheritance
-
AzureWorkloadSQLDatabaseProtectedItem
Constructors
AzureWorkloadSQLDatabaseProtectedItem(ProtectedItemResource, String, ContainerType, String) |
Constructor. Takes the service client object representing the protected item and converts it in to the PS protected item model |
AzureWorkloadSQLDatabaseProtectedItem(ProtectedItemResource, String, ContainerType, String) |
Constructor. Takes the service client object representing the protected item and converts it in to the PS protected item model |
Properties
BackupManagementType |
Type of the backup management agent. (Inherited from ManagementContext) |
ContainerName |
Unique name of the Container (Inherited from ItemContext) |
ContainerType |
Type of the container that maybe managed by the recovery services vault. (Inherited from ContainerContext) |
DateOfPurge |
Date of purge for the item (Inherited from AzureItem) |
DeleteState |
Indicates if the delete state of the item (Inherited from AzureItem) |
ExtendedInfo |
ExtendedInfo for the Item (Inherited from AzureItem) |
FriendlyName |
friendly name of the DB represented by this backup item. |
Id |
Id of the item (Inherited from ItemBase) |
LastBackupErrorDetail |
error details in last backup |
LastBackupStatus |
Last Backup Status for the item (Inherited from AzureItem) |
LastBackupTime |
Last Backup Time for the item (Inherited from AzureItem) |
LatestRecoveryPoint |
Latest Recovery Point for the item (Inherited from ItemBase) |
Name |
Name of the item (Inherited from ItemBase) |
ParentName |
parent name of the DB such as Instance or Availability Group. |
ParentType |
protected item, example: for a DB, standalone server or distributed. |
PolicyId |
Policy ID Associated with item (Inherited from AzureItem) |
ProtectedItemDataSourceId |
ID of the protected item. |
ProtectedItemHealthStatus |
health status of the backup item |
ProtectionPolicyName |
Protection Policy Name for the Item (Inherited from AzureItem) |
ProtectionState |
Protection State of the item (Inherited from AzureItem) |
ProtectionStatus |
Protection Status of the item (Inherited from AzureItem) |
ServerName |
host/Cluster Name for instance or AG. |
SourceResourceId |
ARM ID of the resource represented by the item (Inherited from ItemBase) |
WorkloadType |
Workload Type of Item (Inherited from ItemContext) |
Methods
Validate() |
Method to validate the object properties. (Inherited from ObjectBase) |