Skip to main content

managed_ccfs

Creates, updates, deletes, gets or lists a managed_ccfs resource.

Overview

Namemanaged_ccfs
TypeResource
Idazure.confidential_ledger.managed_ccfs

Fields

NameDatatypeDescription
appNametextfield from the properties object
app_nametextfield from the properties object
app_uritextfield from the properties object
deployment_typetextfield from the properties object
identity_service_uritextfield from the properties object
locationtextThe geo-location where the resource lives
member_identity_certificatestextfield from the properties object
node_counttextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
running_statetextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextResource tags.

Methods

NameAccessible byRequired ParamsDescription
getSELECTappName, resourceGroupName, subscriptionIdRetrieves the properties of a Managed CCF app.
list_by_resource_groupSELECTresourceGroupName, subscriptionIdRetrieves the properties of all Managed CCF apps.
list_by_subscriptionSELECTsubscriptionIdRetrieves the properties of all Managed CCF.
createINSERTappName, resourceGroupName, subscriptionIdCreates a Managed CCF with the specified Managed CCF parameters.
deleteDELETEappName, resourceGroupName, subscriptionIdDeletes an existing Managed CCF.
updateUPDATEappName, resourceGroupName, subscriptionIdUpdates properties of Managed CCF
backupEXECappName, resourceGroupName, subscriptionId, data__uriBacks up a Managed CCF Resource.
restoreEXECappName, resourceGroupName, subscriptionId, data__fileShareName, data__restoreRegion, data__uriRestores a Managed CCF Resource.

SELECT examples

Retrieves the properties of all Managed CCF.

SELECT
appName,
app_name,
app_uri,
deployment_type,
identity_service_uri,
location,
member_identity_certificates,
node_count,
provisioning_state,
resourceGroupName,
running_state,
subscriptionId,
tags
FROM azure.confidential_ledger.vw_managed_ccfs
WHERE subscriptionId = '{{ subscriptionId }}';

INSERT example

Use the following StackQL query and manifest file to create a new managed_ccfs resource.

/*+ create */
INSERT INTO azure.confidential_ledger.managed_ccfs (
appName,
resourceGroupName,
subscriptionId,
tags,
location,
properties
)
SELECT
'{{ appName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ tags }}',
'{{ location }}',
'{{ properties }}'
;

UPDATE example

Updates a managed_ccfs resource.

/*+ update */
UPDATE azure.confidential_ledger.managed_ccfs
SET
tags = '{{ tags }}',
location = '{{ location }}',
properties = '{{ properties }}'
WHERE
appName = '{{ appName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified managed_ccfs resource.

/*+ delete */
DELETE FROM azure.confidential_ledger.managed_ccfs
WHERE appName = '{{ appName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';