Interface LedgersClient
-
public interface LedgersClient
An instance of this class provides access to all the operations defined in LedgersClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ConfidentialLedgerInner>,ConfidentialLedgerInner>
beginCreate(String resourceGroupName, String ledgerName, ConfidentialLedgerInner confidentialLedger)
Creates a Confidential Ledger with the specified ledger parameters.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ConfidentialLedgerInner>,ConfidentialLedgerInner>
beginCreate(String resourceGroupName, String ledgerName, ConfidentialLedgerInner confidentialLedger, com.azure.core.util.Context context)
Creates a Confidential Ledger with the specified ledger parameters.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void>
beginDelete(String resourceGroupName, String ledgerName)
Deletes an existing Confidential Ledger.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void>
beginDelete(String resourceGroupName, String ledgerName, com.azure.core.util.Context context)
Deletes an existing Confidential Ledger.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ConfidentialLedgerInner>,ConfidentialLedgerInner>
beginUpdate(String resourceGroupName, String ledgerName, ConfidentialLedgerInner confidentialLedger)
Updates properties of Confidential Ledger.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ConfidentialLedgerInner>,ConfidentialLedgerInner>
beginUpdate(String resourceGroupName, String ledgerName, ConfidentialLedgerInner confidentialLedger, com.azure.core.util.Context context)
Updates properties of Confidential Ledger.ConfidentialLedgerInner
create(String resourceGroupName, String ledgerName, ConfidentialLedgerInner confidentialLedger)
Creates a Confidential Ledger with the specified ledger parameters.ConfidentialLedgerInner
create(String resourceGroupName, String ledgerName, ConfidentialLedgerInner confidentialLedger, com.azure.core.util.Context context)
Creates a Confidential Ledger with the specified ledger parameters.void
delete(String resourceGroupName, String ledgerName)
Deletes an existing Confidential Ledger.void
delete(String resourceGroupName, String ledgerName, com.azure.core.util.Context context)
Deletes an existing Confidential Ledger.ConfidentialLedgerInner
getByResourceGroup(String resourceGroupName, String ledgerName)
Retrieves the properties of a Confidential Ledger.com.azure.core.http.rest.Response<ConfidentialLedgerInner>
getByResourceGroupWithResponse(String resourceGroupName, String ledgerName, com.azure.core.util.Context context)
Retrieves the properties of a Confidential Ledger.com.azure.core.http.rest.PagedIterable<ConfidentialLedgerInner>
list()
Retrieves the properties of all Confidential Ledgers.com.azure.core.http.rest.PagedIterable<ConfidentialLedgerInner>
list(String filter, com.azure.core.util.Context context)
Retrieves the properties of all Confidential Ledgers.com.azure.core.http.rest.PagedIterable<ConfidentialLedgerInner>
listByResourceGroup(String resourceGroupName)
Retrieves the properties of all Confidential Ledgers.com.azure.core.http.rest.PagedIterable<ConfidentialLedgerInner>
listByResourceGroup(String resourceGroupName, String filter, com.azure.core.util.Context context)
Retrieves the properties of all Confidential Ledgers.ConfidentialLedgerInner
update(String resourceGroupName, String ledgerName, ConfidentialLedgerInner confidentialLedger)
Updates properties of Confidential Ledger.ConfidentialLedgerInner
update(String resourceGroupName, String ledgerName, ConfidentialLedgerInner confidentialLedger, com.azure.core.util.Context context)
Updates properties of Confidential Ledger.
-
-
-
Method Detail
-
getByResourceGroup
ConfidentialLedgerInner getByResourceGroup(String resourceGroupName, String ledgerName)
Retrieves the properties of a Confidential Ledger.- Parameters:
resourceGroupName
- The name of the resource group.ledgerName
- Name of the Confidential Ledger.- Returns:
- confidential Ledger.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<ConfidentialLedgerInner> getByResourceGroupWithResponse(String resourceGroupName, String ledgerName, com.azure.core.util.Context context)
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
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String ledgerName)
Deletes an existing Confidential Ledger.- Parameters:
resourceGroupName
- The name of the resource group.ledgerName
- Name of the Confidential Ledger.- Returns:
- the
SyncPoller
for polling of long-running operation. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String ledgerName, com.azure.core.util.Context context)
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.- Returns:
- the
SyncPoller
for polling of long-running operation. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
delete
void delete(String resourceGroupName, String ledgerName)
Deletes an existing Confidential Ledger.- Parameters:
resourceGroupName
- The name of the resource group.ledgerName
- Name of the Confidential Ledger.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
delete
void delete(String resourceGroupName, String ledgerName, com.azure.core.util.Context context)
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.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ConfidentialLedgerInner>,ConfidentialLedgerInner> beginCreate(String resourceGroupName, String ledgerName, ConfidentialLedgerInner confidentialLedger)
Creates a Confidential Ledger with the specified ledger parameters.- Parameters:
resourceGroupName
- The name of the resource group.ledgerName
- Name of the Confidential Ledger.confidentialLedger
- Confidential Ledger Create Request Body.- Returns:
- the
SyncPoller
for polling of confidential Ledger. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ConfidentialLedgerInner>,ConfidentialLedgerInner> beginCreate(String resourceGroupName, String ledgerName, ConfidentialLedgerInner confidentialLedger, com.azure.core.util.Context context)
Creates a Confidential Ledger with the specified ledger parameters.- Parameters:
resourceGroupName
- The name of the resource group.ledgerName
- Name of the Confidential Ledger.confidentialLedger
- Confidential Ledger Create Request Body.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of confidential Ledger. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
create
ConfidentialLedgerInner create(String resourceGroupName, String ledgerName, ConfidentialLedgerInner confidentialLedger)
Creates a Confidential Ledger with the specified ledger parameters.- Parameters:
resourceGroupName
- The name of the resource group.ledgerName
- Name of the Confidential Ledger.confidentialLedger
- Confidential Ledger Create Request Body.- Returns:
- confidential Ledger.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
create
ConfidentialLedgerInner create(String resourceGroupName, String ledgerName, ConfidentialLedgerInner confidentialLedger, com.azure.core.util.Context context)
Creates a Confidential Ledger with the specified ledger parameters.- Parameters:
resourceGroupName
- The name of the resource group.ledgerName
- Name of the Confidential Ledger.confidentialLedger
- Confidential Ledger Create Request Body.context
- The context to associate with this operation.- Returns:
- confidential Ledger.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ConfidentialLedgerInner>,ConfidentialLedgerInner> beginUpdate(String resourceGroupName, String ledgerName, ConfidentialLedgerInner confidentialLedger)
Updates properties of Confidential Ledger.- Parameters:
resourceGroupName
- The name of the resource group.ledgerName
- Name of the Confidential Ledger.confidentialLedger
- Confidential Ledger request body for Updating Ledger.- Returns:
- the
SyncPoller
for polling of confidential Ledger. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ConfidentialLedgerInner>,ConfidentialLedgerInner> beginUpdate(String resourceGroupName, String ledgerName, ConfidentialLedgerInner confidentialLedger, com.azure.core.util.Context context)
Updates properties of Confidential Ledger.- Parameters:
resourceGroupName
- The name of the resource group.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
for polling of confidential Ledger. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
update
ConfidentialLedgerInner update(String resourceGroupName, String ledgerName, ConfidentialLedgerInner confidentialLedger)
Updates properties of Confidential Ledger.- Parameters:
resourceGroupName
- The name of the resource group.ledgerName
- Name of the Confidential Ledger.confidentialLedger
- Confidential Ledger request body for Updating Ledger.- Returns:
- confidential Ledger.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
update
ConfidentialLedgerInner update(String resourceGroupName, String ledgerName, ConfidentialLedgerInner confidentialLedger, com.azure.core.util.Context context)
Updates properties of Confidential Ledger.- Parameters:
resourceGroupName
- The name of the resource group.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.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<ConfidentialLedgerInner> listByResourceGroup(String resourceGroupName)
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
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<ConfidentialLedgerInner> listByResourceGroup(String resourceGroupName, String filter, com.azure.core.util.Context context)
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
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<ConfidentialLedgerInner> list()
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
. - Throws:
com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<ConfidentialLedgerInner> list(String filter, com.azure.core.util.Context context)
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
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
-