A2AProtectedManagedDiskDetails Class
- java.
lang. Object - com.
azure. resourcemanager. recoveryservicessiterecovery. models. A2AProtectedManagedDiskDetails
- com.
Implements
public final class A2AProtectedManagedDiskDetails
implements JsonSerializable<A2AProtectedManagedDiskDetails>
A2A protected managed disk details.
Constructor Summary
Constructor | Description |
---|---|
A2AProtectedManagedDiskDetails() |
Creates an instance of A2AProtected |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<String> |
allowedDiskLevelOperation()
Get the allowed |
Double |
dataPendingAtSourceAgentInMB()
Get the data |
Double |
dataPendingInStagingStorageAccountInMB()
Get the data |
String |
dekKeyVaultArmId()
Get the dek |
Long |
diskCapacityInBytes()
Get the disk |
String |
diskId()
Get the disk |
String |
diskName()
Get the disk |
String |
diskState()
Get the disk |
String |
diskType()
Get the disk |
String |
failoverDiskName()
Get the failover |
static
A2AProtected |
fromJson(JsonReader jsonReader)
Reads an instance of A2AProtected |
Boolean |
isDiskEncrypted()
Get the is |
Boolean |
isDiskKeyEncrypted()
Get the is |
String |
kekKeyVaultArmId()
Get the kek |
String |
keyIdentifier()
Get the key |
String |
monitoringJobType()
Get the monitoring |
Integer |
monitoringPercentageCompletion()
Get the monitoring |
String |
primaryDiskEncryptionSetId()
Get the primary |
String |
primaryStagingAzureStorageAccountId()
Get the primary |
String |
recoveryDiskEncryptionSetId()
Get the recovery |
String |
recoveryOrignalTargetDiskId()
Get the recovery |
String |
recoveryReplicaDiskAccountType()
Get the recovery |
String |
recoveryReplicaDiskId()
Get the recovery |
String |
recoveryResourceGroupId()
Get the recovery |
String |
recoveryTargetDiskAccountType()
Get the recovery |
String |
recoveryTargetDiskId()
Get the recovery |
Boolean |
resyncRequired()
Get the resync |
String |
secretIdentifier()
Get the secret |
String |
tfoDiskName()
Get the tfo |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
A2AProtected |
withAllowedDiskLevelOperation(List<String> allowedDiskLevelOperation)
Set the allowed |
A2AProtected |
withDataPendingAtSourceAgentInMB(Double dataPendingAtSourceAgentInMB)
Set the data |
A2AProtected |
withDataPendingInStagingStorageAccountInMB(Double dataPendingInStagingStorageAccountInMB)
Set the data |
A2AProtected |
withDekKeyVaultArmId(String dekKeyVaultArmId)
Set the dek |
A2AProtected |
withDiskCapacityInBytes(Long diskCapacityInBytes)
Set the disk |
A2AProtected |
withDiskId(String diskId)
Set the disk |
A2AProtected |
withDiskName(String diskName)
Set the disk |
A2AProtected |
withDiskState(String diskState)
Set the disk |
A2AProtected |
withDiskType(String diskType)
Set the disk |
A2AProtected |
withFailoverDiskName(String failoverDiskName)
Set the failover |
A2AProtected |
withIsDiskEncrypted(Boolean isDiskEncrypted)
Set the is |
A2AProtected |
withIsDiskKeyEncrypted(Boolean isDiskKeyEncrypted)
Set the is |
A2AProtected |
withKekKeyVaultArmId(String kekKeyVaultArmId)
Set the kek |
A2AProtected |
withKeyIdentifier(String keyIdentifier)
Set the key |
A2AProtected |
withMonitoringJobType(String monitoringJobType)
Set the monitoring |
A2AProtected |
withMonitoringPercentageCompletion(Integer monitoringPercentageCompletion)
Set the monitoring |
A2AProtected |
withPrimaryDiskEncryptionSetId(String primaryDiskEncryptionSetId)
Set the primary |
A2AProtected |
withPrimaryStagingAzureStorageAccountId(String primaryStagingAzureStorageAccountId)
Set the primary |
A2AProtected |
withRecoveryDiskEncryptionSetId(String recoveryDiskEncryptionSetId)
Set the recovery |
A2AProtected |
withRecoveryOrignalTargetDiskId(String recoveryOrignalTargetDiskId)
Set the recovery |
A2AProtected |
withRecoveryReplicaDiskAccountType(String recoveryReplicaDiskAccountType)
Set the recovery |
A2AProtected |
withRecoveryReplicaDiskId(String recoveryReplicaDiskId)
Set the recovery |
A2AProtected |
withRecoveryResourceGroupId(String recoveryResourceGroupId)
Set the recovery |
A2AProtected |
withRecoveryTargetDiskAccountType(String recoveryTargetDiskAccountType)
Set the recovery |
A2AProtected |
withRecoveryTargetDiskId(String recoveryTargetDiskId)
Set the recovery |
A2AProtected |
withResyncRequired(Boolean resyncRequired)
Set the resync |
A2AProtected |
withSecretIdentifier(String secretIdentifier)
Set the secret |
A2AProtected |
withTfoDiskName(String tfoDiskName)
Set the tfo |
Methods inherited from java.lang.Object
Constructor Details
A2AProtectedManagedDiskDetails
public A2AProtectedManagedDiskDetails()
Creates an instance of A2AProtectedManagedDiskDetails class.
Method Details
allowedDiskLevelOperation
public List<String> allowedDiskLevelOperation()
Get the allowedDiskLevelOperation property: The disk level operations list.
Returns:
dataPendingAtSourceAgentInMB
public Double dataPendingAtSourceAgentInMB()
Get the dataPendingAtSourceAgentInMB property: The data pending at source virtual machine in MB.
Returns:
dataPendingInStagingStorageAccountInMB
public Double dataPendingInStagingStorageAccountInMB()
Get the dataPendingInStagingStorageAccountInMB property: The data pending for replication in MB at staging account.
Returns:
dekKeyVaultArmId
public String dekKeyVaultArmId()
Get the dekKeyVaultArmId property: The KeyVault resource id for secret (BEK).
Returns:
diskCapacityInBytes
public Long diskCapacityInBytes()
Get the diskCapacityInBytes property: The disk capacity in bytes.
Returns:
diskId
public String diskId()
Get the diskId property: The managed disk Arm id.
Returns:
diskName
public String diskName()
Get the diskName property: The disk name.
Returns:
diskState
public String diskState()
Get the diskState property: The disk state.
Returns:
diskType
public String diskType()
Get the diskType property: The type of disk.
Returns:
failoverDiskName
public String failoverDiskName()
Get the failoverDiskName property: The failover name for the managed disk.
Returns:
fromJson
public static A2AProtectedManagedDiskDetails fromJson(JsonReader jsonReader)
Reads an instance of A2AProtectedManagedDiskDetails from the JsonReader.
Parameters:
Returns:
Throws:
isDiskEncrypted
public Boolean isDiskEncrypted()
Get the isDiskEncrypted property: A value indicating whether vm has encrypted os disk or not.
Returns:
isDiskKeyEncrypted
public Boolean isDiskKeyEncrypted()
Get the isDiskKeyEncrypted property: A value indicating whether disk key got encrypted or not.
Returns:
kekKeyVaultArmId
public String kekKeyVaultArmId()
Get the kekKeyVaultArmId property: The KeyVault resource id for key (KEK).
Returns:
keyIdentifier
public String keyIdentifier()
Get the keyIdentifier property: The key URL / identifier (KEK).
Returns:
monitoringJobType
public String monitoringJobType()
Get the monitoringJobType property: The type of the monitoring job. The progress is contained in MonitoringPercentageCompletion property.
Returns:
monitoringPercentageCompletion
public Integer monitoringPercentageCompletion()
Get the monitoringPercentageCompletion property: The percentage of the monitoring job. The type of the monitoring job is defined by MonitoringJobType property.
Returns:
primaryDiskEncryptionSetId
public String primaryDiskEncryptionSetId()
Get the primaryDiskEncryptionSetId property: The primary disk encryption set Id.
Returns:
primaryStagingAzureStorageAccountId
public String primaryStagingAzureStorageAccountId()
Get the primaryStagingAzureStorageAccountId property: The primary staging storage account.
Returns:
recoveryDiskEncryptionSetId
public String recoveryDiskEncryptionSetId()
Get the recoveryDiskEncryptionSetId property: The recovery disk encryption set Id.
Returns:
recoveryOrignalTargetDiskId
public String recoveryOrignalTargetDiskId()
Get the recoveryOrignalTargetDiskId property: Recovery original target disk Arm Id.
Returns:
recoveryReplicaDiskAccountType
public String recoveryReplicaDiskAccountType()
Get the recoveryReplicaDiskAccountType property: The replica disk type. Its an optional value and will be same as source disk type if not user provided.
Returns:
recoveryReplicaDiskId
public String recoveryReplicaDiskId()
Get the recoveryReplicaDiskId property: Recovery replica disk Arm Id.
Returns:
recoveryResourceGroupId
public String recoveryResourceGroupId()
Get the recoveryResourceGroupId property: The recovery disk resource group Arm Id.
Returns:
recoveryTargetDiskAccountType
public String recoveryTargetDiskAccountType()
Get the recoveryTargetDiskAccountType property: The target disk type after failover. Its an optional value and will be same as source disk type if not user provided.
Returns:
recoveryTargetDiskId
public String recoveryTargetDiskId()
Get the recoveryTargetDiskId property: Recovery target disk Arm Id.
Returns:
resyncRequired
public Boolean resyncRequired()
Get the resyncRequired property: A value indicating whether resync is required for this disk.
Returns:
secretIdentifier
public String secretIdentifier()
Get the secretIdentifier property: The secret URL / identifier (BEK).
Returns:
tfoDiskName
public String tfoDiskName()
Get the tfoDiskName property: The test failover name for the managed disk.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAllowedDiskLevelOperation
public A2AProtectedManagedDiskDetails withAllowedDiskLevelOperation(List<String> allowedDiskLevelOperation)
Set the allowedDiskLevelOperation property: The disk level operations list.
Parameters:
Returns:
withDataPendingAtSourceAgentInMB
public A2AProtectedManagedDiskDetails withDataPendingAtSourceAgentInMB(Double dataPendingAtSourceAgentInMB)
Set the dataPendingAtSourceAgentInMB property: The data pending at source virtual machine in MB.
Parameters:
Returns:
withDataPendingInStagingStorageAccountInMB
public A2AProtectedManagedDiskDetails withDataPendingInStagingStorageAccountInMB(Double dataPendingInStagingStorageAccountInMB)
Set the dataPendingInStagingStorageAccountInMB property: The data pending for replication in MB at staging account.
Parameters:
Returns:
withDekKeyVaultArmId
public A2AProtectedManagedDiskDetails withDekKeyVaultArmId(String dekKeyVaultArmId)
Set the dekKeyVaultArmId property: The KeyVault resource id for secret (BEK).
Parameters:
Returns:
withDiskCapacityInBytes
public A2AProtectedManagedDiskDetails withDiskCapacityInBytes(Long diskCapacityInBytes)
Set the diskCapacityInBytes property: The disk capacity in bytes.
Parameters:
Returns:
withDiskId
public A2AProtectedManagedDiskDetails withDiskId(String diskId)
Set the diskId property: The managed disk Arm id.
Parameters:
Returns:
withDiskName
public A2AProtectedManagedDiskDetails withDiskName(String diskName)
Set the diskName property: The disk name.
Parameters:
Returns:
withDiskState
public A2AProtectedManagedDiskDetails withDiskState(String diskState)
Set the diskState property: The disk state.
Parameters:
Returns:
withDiskType
public A2AProtectedManagedDiskDetails withDiskType(String diskType)
Set the diskType property: The type of disk.
Parameters:
Returns:
withFailoverDiskName
public A2AProtectedManagedDiskDetails withFailoverDiskName(String failoverDiskName)
Set the failoverDiskName property: The failover name for the managed disk.
Parameters:
Returns:
withIsDiskEncrypted
public A2AProtectedManagedDiskDetails withIsDiskEncrypted(Boolean isDiskEncrypted)
Set the isDiskEncrypted property: A value indicating whether vm has encrypted os disk or not.
Parameters:
Returns:
withIsDiskKeyEncrypted
public A2AProtectedManagedDiskDetails withIsDiskKeyEncrypted(Boolean isDiskKeyEncrypted)
Set the isDiskKeyEncrypted property: A value indicating whether disk key got encrypted or not.
Parameters:
Returns:
withKekKeyVaultArmId
public A2AProtectedManagedDiskDetails withKekKeyVaultArmId(String kekKeyVaultArmId)
Set the kekKeyVaultArmId property: The KeyVault resource id for key (KEK).
Parameters:
Returns:
withKeyIdentifier
public A2AProtectedManagedDiskDetails withKeyIdentifier(String keyIdentifier)
Set the keyIdentifier property: The key URL / identifier (KEK).
Parameters:
Returns:
withMonitoringJobType
public A2AProtectedManagedDiskDetails withMonitoringJobType(String monitoringJobType)
Set the monitoringJobType property: The type of the monitoring job. The progress is contained in MonitoringPercentageCompletion property.
Parameters:
Returns:
withMonitoringPercentageCompletion
public A2AProtectedManagedDiskDetails withMonitoringPercentageCompletion(Integer monitoringPercentageCompletion)
Set the monitoringPercentageCompletion property: The percentage of the monitoring job. The type of the monitoring job is defined by MonitoringJobType property.
Parameters:
Returns:
withPrimaryDiskEncryptionSetId
public A2AProtectedManagedDiskDetails withPrimaryDiskEncryptionSetId(String primaryDiskEncryptionSetId)
Set the primaryDiskEncryptionSetId property: The primary disk encryption set Id.
Parameters:
Returns:
withPrimaryStagingAzureStorageAccountId
public A2AProtectedManagedDiskDetails withPrimaryStagingAzureStorageAccountId(String primaryStagingAzureStorageAccountId)
Set the primaryStagingAzureStorageAccountId property: The primary staging storage account.
Parameters:
Returns:
withRecoveryDiskEncryptionSetId
public A2AProtectedManagedDiskDetails withRecoveryDiskEncryptionSetId(String recoveryDiskEncryptionSetId)
Set the recoveryDiskEncryptionSetId property: The recovery disk encryption set Id.
Parameters:
Returns:
withRecoveryOrignalTargetDiskId
public A2AProtectedManagedDiskDetails withRecoveryOrignalTargetDiskId(String recoveryOrignalTargetDiskId)
Set the recoveryOrignalTargetDiskId property: Recovery original target disk Arm Id.
Parameters:
Returns:
withRecoveryReplicaDiskAccountType
public A2AProtectedManagedDiskDetails withRecoveryReplicaDiskAccountType(String recoveryReplicaDiskAccountType)
Set the recoveryReplicaDiskAccountType property: The replica disk type. Its an optional value and will be same as source disk type if not user provided.
Parameters:
Returns:
withRecoveryReplicaDiskId
public A2AProtectedManagedDiskDetails withRecoveryReplicaDiskId(String recoveryReplicaDiskId)
Set the recoveryReplicaDiskId property: Recovery replica disk Arm Id.
Parameters:
Returns:
withRecoveryResourceGroupId
public A2AProtectedManagedDiskDetails withRecoveryResourceGroupId(String recoveryResourceGroupId)
Set the recoveryResourceGroupId property: The recovery disk resource group Arm Id.
Parameters:
Returns:
withRecoveryTargetDiskAccountType
public A2AProtectedManagedDiskDetails withRecoveryTargetDiskAccountType(String recoveryTargetDiskAccountType)
Set the recoveryTargetDiskAccountType property: The target disk type after failover. Its an optional value and will be same as source disk type if not user provided.
Parameters:
Returns:
withRecoveryTargetDiskId
public A2AProtectedManagedDiskDetails withRecoveryTargetDiskId(String recoveryTargetDiskId)
Set the recoveryTargetDiskId property: Recovery target disk Arm Id.
Parameters:
Returns:
withResyncRequired
public A2AProtectedManagedDiskDetails withResyncRequired(Boolean resyncRequired)
Set the resyncRequired property: A value indicating whether resync is required for this disk.
Parameters:
Returns:
withSecretIdentifier
public A2AProtectedManagedDiskDetails withSecretIdentifier(String secretIdentifier)
Set the secretIdentifier property: The secret URL / identifier (BEK).
Parameters:
Returns:
withTfoDiskName
public A2AProtectedManagedDiskDetails withTfoDiskName(String tfoDiskName)
Set the tfoDiskName property: The test failover name for the managed disk.
Parameters:
Returns: