Compartilhar via


Ledgers Interface

public interface Ledgers

Resource collection API of Ledgers.

Method Summary

Modifier and Type Method and Description
abstract Blank define(String name)

Begins definition for a new ConfidentialLedger resource.

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

Deletes a Confidential Ledger resource.

abstract void deleteById(String id)

Deletes a Confidential Ledger resource.

abstract void deleteByIdWithResponse(String id, Context context)

Deletes a Confidential Ledger resource.

abstract void deleteByResourceGroup(String resourceGroupName, String ledgerName)

Deletes a Confidential Ledger resource.

abstract ConfidentialLedger getById(String id)

Retrieves information about a Confidential Ledger resource.

abstract Response<ConfidentialLedger> getByIdWithResponse(String id, Context context)

Retrieves information about a Confidential Ledger resource.

abstract ConfidentialLedger getByResourceGroup(String resourceGroupName, String ledgerName)

Retrieves information about a Confidential Ledger resource.

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

Retrieves information about a Confidential Ledger resource.

abstract PagedIterable<ConfidentialLedger> list()

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

abstract PagedIterable<ConfidentialLedger> 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<ConfidentialLedger> 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<ConfidentialLedger> 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.

Method Details

define

public abstract ConfidentialLedger.DefinitionStages.Blank define(String name)

Begins definition for a new ConfidentialLedger resource.

Parameters:

name - resource name.

Returns:

the first stage of the new ConfidentialLedger definition.

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.
ledgerName - Name of the Confidential Ledger.
context - The context to associate with this operation.

deleteById

public abstract void deleteById(String id)

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

Parameters:

id - the resource ID.

deleteByIdWithResponse

public abstract void deleteByIdWithResponse(String id, Context context)

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

Parameters:

id - the resource ID.
context - The context to associate with this operation.

deleteByResourceGroup

public abstract void deleteByResourceGroup(String resourceGroupName, String ledgerName)

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

Parameters:

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

getById

public abstract ConfidentialLedger getById(String id)

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

Parameters:

id - the resource ID.

Returns:

confidential Ledger along with Response<T>.

getByIdWithResponse

public abstract Response getByIdWithResponse(String id, Context context)

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

Parameters:

id - the resource ID.
context - The context to associate with this operation.

Returns:

confidential Ledger along with Response<T>.

getByResourceGroup

public abstract ConfidentialLedger 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.
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.
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.

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.
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>.

Applies to