LedgersClient Interface

public interface LedgersClient

An instance of this class provides access to all the operations defined in LedgersClient.

Method Summary

Modifier and Type Method and Description
abstract ConfidentialLedgerBackupResponseInner backup(String resourceGroupName, String ledgerName, ConfidentialLedgerBackup confidentialLedger)

Performs the backup operation on a Confidential Ledger Resource.

abstract ConfidentialLedgerBackupResponseInner backup(String resourceGroupName, String ledgerName, ConfidentialLedgerBackup confidentialLedger, Context context)

Performs the backup operation on a Confidential Ledger Resource.

abstract SyncPoller<PollResult<ConfidentialLedgerBackupResponseInner>,ConfidentialLedgerBackupResponseInner> beginBackup(String resourceGroupName, String ledgerName, ConfidentialLedgerBackup confidentialLedger)

Performs the backup operation on a Confidential Ledger Resource.

abstract SyncPoller<PollResult<ConfidentialLedgerBackupResponseInner>,ConfidentialLedgerBackupResponseInner> beginBackup(String resourceGroupName, String ledgerName, ConfidentialLedgerBackup confidentialLedger, Context context)

Performs the backup operation on a Confidential Ledger Resource.

abstract SyncPoller<PollResult<ConfidentialLedgerInner>,ConfidentialLedgerInner> beginCreate(String resourceGroupName, String ledgerName, ConfidentialLedgerInner confidentialLedger)

Creates a Confidential Ledger.

abstract SyncPoller<PollResult<ConfidentialLedgerInner>,ConfidentialLedgerInner> beginCreate(String resourceGroupName, String ledgerName, ConfidentialLedgerInner confidentialLedger, Context context)

Creates a Confidential Ledger.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String ledgerName)

Deletes a Confidential Ledger resource.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String ledgerName, Context context)

Deletes a Confidential Ledger resource.

abstract SyncPoller<PollResult<ConfidentialLedgerRestoreResponseInner>,ConfidentialLedgerRestoreResponseInner> beginRestore(String resourceGroupName, String ledgerName, ConfidentialLedgerRestore confidentialLedger)

Performs the restore operation to spin up a newly restored Confidential Ledger Resource.

abstract SyncPoller<PollResult<ConfidentialLedgerRestoreResponseInner>,ConfidentialLedgerRestoreResponseInner> beginRestore(String resourceGroupName, String ledgerName, ConfidentialLedgerRestore confidentialLedger, Context context)

Performs the restore operation to spin up a newly restored Confidential Ledger Resource.

abstract SyncPoller<PollResult<ConfidentialLedgerInner>,ConfidentialLedgerInner> beginUpdate(String resourceGroupName, String ledgerName, ConfidentialLedgerInner confidentialLedger)

Update Confidential Ledger properties Updates properties of Confidential Ledger.

abstract SyncPoller<PollResult<ConfidentialLedgerInner>,ConfidentialLedgerInner> beginUpdate(String resourceGroupName, String ledgerName, ConfidentialLedgerInner confidentialLedger, Context context)

Update Confidential Ledger properties Updates properties of Confidential Ledger.

abstract ConfidentialLedgerInner create(String resourceGroupName, String ledgerName, ConfidentialLedgerInner confidentialLedger)

Creates a Confidential Ledger.

abstract ConfidentialLedgerInner create(String resourceGroupName, String ledgerName, ConfidentialLedgerInner confidentialLedger, Context context)

Creates a Confidential Ledger.

abstract void delete(String resourceGroupName, String ledgerName)

Deletes a Confidential Ledger resource.

abstract void delete(String resourceGroupName, String ledgerName, Context context)

Deletes a Confidential Ledger resource.

abstract ConfidentialLedgerInner getByResourceGroup(String resourceGroupName, String ledgerName)

Retrieves information about a Confidential Ledger resource.

abstract Response<ConfidentialLedgerInner> getByResourceGroupWithResponse(String resourceGroupName, String ledgerName, Context context)

Retrieves information about a Confidential Ledger resource.

abstract PagedIterable<ConfidentialLedgerInner> list()

Retrieves information about all Confidential Ledger resources under the given subscription Retrieves the properties of all Confidential Ledgers.

abstract PagedIterable<ConfidentialLedgerInner> list(String filter, Context context)

Retrieves information about all Confidential Ledger resources under the given subscription Retrieves the properties of all Confidential Ledgers.

abstract PagedIterable<ConfidentialLedgerInner> listByResourceGroup(String resourceGroupName)

Retrieves information about all Confidential Ledger resources under the given subscription and resource group Retrieves the properties of all Confidential Ledgers.

abstract PagedIterable<ConfidentialLedgerInner> listByResourceGroup(String resourceGroupName, String filter, Context context)

Retrieves information about all Confidential Ledger resources under the given subscription and resource group Retrieves the properties of all Confidential Ledgers.

abstract ConfidentialLedgerRestoreResponseInner restore(String resourceGroupName, String ledgerName, ConfidentialLedgerRestore confidentialLedger)

Performs the restore operation to spin up a newly restored Confidential Ledger Resource.

abstract ConfidentialLedgerRestoreResponseInner restore(String resourceGroupName, String ledgerName, ConfidentialLedgerRestore confidentialLedger, Context context)

Performs the restore operation to spin up a newly restored Confidential Ledger Resource.

abstract ConfidentialLedgerInner update(String resourceGroupName, String ledgerName, ConfidentialLedgerInner confidentialLedger)

Update Confidential Ledger properties Updates properties of Confidential Ledger.

abstract ConfidentialLedgerInner update(String resourceGroupName, String ledgerName, ConfidentialLedgerInner confidentialLedger, Context context)

Update Confidential Ledger properties Updates properties of Confidential Ledger.

Method Details

backup

public abstract ConfidentialLedgerBackupResponseInner backup(String resourceGroupName, String ledgerName, ConfidentialLedgerBackup confidentialLedger)

Performs the backup operation on a Confidential Ledger Resource. Backs up a Confidential Ledger Resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
ledgerName - Name of the Confidential Ledger.
confidentialLedger - Confidential Ledger Backup Request Body.

Returns:

object representing the backup response of a Confidential Ledger Resource.

backup

public abstract ConfidentialLedgerBackupResponseInner backup(String resourceGroupName, String ledgerName, ConfidentialLedgerBackup confidentialLedger, Context context)

Performs the backup operation on a Confidential Ledger Resource. Backs up a Confidential Ledger Resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
ledgerName - Name of the Confidential Ledger.
confidentialLedger - Confidential Ledger Backup Request Body.
context - The context to associate with this operation.

Returns:

object representing the backup response of a Confidential Ledger Resource.

beginBackup

public abstract SyncPoller<>,ConfidentialLedgerBackupResponseInner> beginBackup(String resourceGroupName, String ledgerName, ConfidentialLedgerBackup confidentialLedger)

Performs the backup operation on a Confidential Ledger Resource. Backs up a Confidential Ledger Resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
ledgerName - Name of the Confidential Ledger.
confidentialLedger - Confidential Ledger Backup Request Body.

Returns:

the SyncPoller<T,U> for polling of object representing the backup response of a Confidential Ledger Resource.

beginBackup

public abstract SyncPoller<>,ConfidentialLedgerBackupResponseInner> beginBackup(String resourceGroupName, String ledgerName, ConfidentialLedgerBackup confidentialLedger, Context context)

Performs the backup operation on a Confidential Ledger Resource. Backs up a Confidential Ledger Resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
ledgerName - Name of the Confidential Ledger.
confidentialLedger - Confidential Ledger Backup Request Body.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of object representing the backup response of a Confidential Ledger Resource.

beginCreate

public abstract SyncPoller<>,ConfidentialLedgerInner> beginCreate(String resourceGroupName, String ledgerName, ConfidentialLedgerInner confidentialLedger)

Creates a Confidential Ledger. Creates a Confidential Ledger with the specified ledger parameters.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
ledgerName - Name of the Confidential Ledger.
confidentialLedger - Confidential Ledger Create Request Body.

Returns:

the SyncPoller<T,U> for polling of confidential Ledger.

beginCreate

public abstract SyncPoller<>,ConfidentialLedgerInner> beginCreate(String resourceGroupName, String ledgerName, ConfidentialLedgerInner confidentialLedger, Context context)

Creates a Confidential Ledger. Creates a Confidential Ledger with the specified ledger parameters.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
ledgerName - Name of the Confidential Ledger.
confidentialLedger - Confidential Ledger Create Request Body.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of confidential Ledger.

beginDelete

public abstract SyncPoller<>,Void> beginDelete(String resourceGroupName, String ledgerName)

Deletes a Confidential Ledger resource. Deletes an existing Confidential Ledger.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
ledgerName - Name of the Confidential Ledger.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller<>,Void> beginDelete(String resourceGroupName, String ledgerName, Context context)

Deletes a Confidential Ledger resource. Deletes an existing Confidential Ledger.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
ledgerName - Name of the Confidential Ledger.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginRestore

public abstract SyncPoller<>,ConfidentialLedgerRestoreResponseInner> beginRestore(String resourceGroupName, String ledgerName, ConfidentialLedgerRestore confidentialLedger)

Performs the restore operation to spin up a newly restored Confidential Ledger Resource. Restores a Confidential Ledger Resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
ledgerName - Name of the Confidential Ledger.
confidentialLedger - Confidential Ledger Restore Request Body.

Returns:

the SyncPoller<T,U> for polling of object representing the restore response of a Confidential Ledger Resource.

beginRestore

public abstract SyncPoller<>,ConfidentialLedgerRestoreResponseInner> beginRestore(String resourceGroupName, String ledgerName, ConfidentialLedgerRestore confidentialLedger, Context context)

Performs the restore operation to spin up a newly restored Confidential Ledger Resource. Restores a Confidential Ledger Resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
ledgerName - Name of the Confidential Ledger.
confidentialLedger - Confidential Ledger Restore Request Body.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of object representing the restore response of a Confidential Ledger Resource.

beginUpdate

public abstract SyncPoller<>,ConfidentialLedgerInner> beginUpdate(String resourceGroupName, String ledgerName, ConfidentialLedgerInner confidentialLedger)

Update Confidential Ledger properties Updates properties of Confidential Ledger.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
ledgerName - Name of the Confidential Ledger.
confidentialLedger - Confidential Ledger request body for Updating Ledger.

Returns:

the SyncPoller<T,U> for polling of confidential Ledger.

beginUpdate

public abstract SyncPoller<>,ConfidentialLedgerInner> beginUpdate(String resourceGroupName, String ledgerName, ConfidentialLedgerInner confidentialLedger, Context context)

Update Confidential Ledger properties Updates properties of Confidential Ledger.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
ledgerName - Name of the Confidential Ledger.
confidentialLedger - Confidential Ledger request body for Updating Ledger.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of confidential Ledger.

create

public abstract ConfidentialLedgerInner create(String resourceGroupName, String ledgerName, ConfidentialLedgerInner confidentialLedger)

Creates a Confidential Ledger. Creates a Confidential Ledger with the specified ledger parameters.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
ledgerName - Name of the Confidential Ledger.
confidentialLedger - Confidential Ledger Create Request Body.

Returns:

confidential Ledger.

create

public abstract ConfidentialLedgerInner create(String resourceGroupName, String ledgerName, ConfidentialLedgerInner confidentialLedger, Context context)

Creates a Confidential Ledger. Creates a Confidential Ledger with the specified ledger parameters.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
ledgerName - Name of the Confidential Ledger.
confidentialLedger - Confidential Ledger Create Request Body.
context - The context to associate with this operation.

Returns:

confidential Ledger.

delete

public abstract void delete(String resourceGroupName, String ledgerName)

Deletes a Confidential Ledger resource. Deletes an existing Confidential Ledger.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
ledgerName - Name of the Confidential Ledger.

delete

public abstract void delete(String resourceGroupName, String ledgerName, Context context)

Deletes a Confidential Ledger resource. Deletes an existing Confidential Ledger.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
ledgerName - Name of the Confidential Ledger.
context - The context to associate with this operation.

getByResourceGroup

public abstract ConfidentialLedgerInner getByResourceGroup(String resourceGroupName, String ledgerName)

Retrieves information about a Confidential Ledger resource. Retrieves the properties of a Confidential Ledger.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
ledgerName - Name of the Confidential Ledger.

Returns:

confidential Ledger.

getByResourceGroupWithResponse

public abstract Response getByResourceGroupWithResponse(String resourceGroupName, String ledgerName, Context context)

Retrieves information about a Confidential Ledger resource. Retrieves the properties of a Confidential Ledger.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
ledgerName - Name of the Confidential Ledger.
context - The context to associate with this operation.

Returns:

confidential Ledger along with Response<T>.

list

public abstract PagedIterable list()

Retrieves information about all Confidential Ledger resources under the given subscription Retrieves the properties of all Confidential Ledgers.

Returns:

object that includes an array of Confidential Ledgers and a possible link for next set as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(String filter, Context context)

Retrieves information about all Confidential Ledger resources under the given subscription Retrieves the properties of all Confidential Ledgers.

Parameters:

filter - The filter to apply on the list operation. eg. $filter=ledgerType eq 'Public'.
context - The context to associate with this operation.

Returns:

object that includes an array of Confidential Ledgers and a possible link for next set as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName)

Retrieves information about all Confidential Ledger resources under the given subscription and resource group Retrieves the properties of all Confidential Ledgers.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.

Returns:

object that includes an array of Confidential Ledgers and a possible link for next set as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName, String filter, Context context)

Retrieves information about all Confidential Ledger resources under the given subscription and resource group Retrieves the properties of all Confidential Ledgers.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
filter - The filter to apply on the list operation. eg. $filter=ledgerType eq 'Public'.
context - The context to associate with this operation.

Returns:

object that includes an array of Confidential Ledgers and a possible link for next set as paginated response with PagedIterable<T>.

restore

public abstract ConfidentialLedgerRestoreResponseInner restore(String resourceGroupName, String ledgerName, ConfidentialLedgerRestore confidentialLedger)

Performs the restore operation to spin up a newly restored Confidential Ledger Resource. Restores a Confidential Ledger Resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
ledgerName - Name of the Confidential Ledger.
confidentialLedger - Confidential Ledger Restore Request Body.

Returns:

object representing the restore response of a Confidential Ledger Resource.

restore

public abstract ConfidentialLedgerRestoreResponseInner restore(String resourceGroupName, String ledgerName, ConfidentialLedgerRestore confidentialLedger, Context context)

Performs the restore operation to spin up a newly restored Confidential Ledger Resource. Restores a Confidential Ledger Resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
ledgerName - Name of the Confidential Ledger.
confidentialLedger - Confidential Ledger Restore Request Body.
context - The context to associate with this operation.

Returns:

object representing the restore response of a Confidential Ledger Resource.

update

public abstract ConfidentialLedgerInner update(String resourceGroupName, String ledgerName, ConfidentialLedgerInner confidentialLedger)

Update Confidential Ledger properties Updates properties of Confidential Ledger.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
ledgerName - Name of the Confidential Ledger.
confidentialLedger - Confidential Ledger request body for Updating Ledger.

Returns:

confidential Ledger.

update

public abstract ConfidentialLedgerInner update(String resourceGroupName, String ledgerName, ConfidentialLedgerInner confidentialLedger, Context context)

Update Confidential Ledger properties Updates properties of Confidential Ledger.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
ledgerName - Name of the Confidential Ledger.
confidentialLedger - Confidential Ledger request body for Updating Ledger.
context - The context to associate with this operation.

Returns:

confidential Ledger.

Applies to