managed_ccfs
Creates, updates, deletes, gets or lists a managed_ccfs
resource.
Overview
Name | managed_ccfs |
Type | Resource |
Id | azure.confidential_ledger.managed_ccfs |
Fields
- vw_managed_ccfs
- managed_ccfs
Name | Datatype | Description |
---|---|---|
appName | text | field from the properties object |
app_name | text | field from the properties object |
app_uri | text | field from the properties object |
deployment_type | text | field from the properties object |
identity_service_uri | text | field from the properties object |
location | text | The geo-location where the resource lives |
member_identity_certificates | text | field from the properties object |
node_count | text | field from the properties object |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
running_state | text | field from the properties object |
subscriptionId | text | field from the properties object |
tags | text | Resource tags. |
Name | Datatype | Description |
---|---|---|
location | string | The geo-location where the resource lives |
properties | object | Additional Managed CCF properties. |
tags | object | Resource tags. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | appName, resourceGroupName, subscriptionId | Retrieves the properties of a Managed CCF app. |
list_by_resource_group | SELECT | resourceGroupName, subscriptionId | Retrieves the properties of all Managed CCF apps. |
list_by_subscription | SELECT | subscriptionId | Retrieves the properties of all Managed CCF. |
create | INSERT | appName, resourceGroupName, subscriptionId | Creates a Managed CCF with the specified Managed CCF parameters. |
delete | DELETE | appName, resourceGroupName, subscriptionId | Deletes an existing Managed CCF. |
update | UPDATE | appName, resourceGroupName, subscriptionId | Updates properties of Managed CCF |
backup | EXEC | appName, resourceGroupName, subscriptionId, data__uri | Backs up a Managed CCF Resource. |
restore | EXEC | appName, resourceGroupName, subscriptionId, data__fileShareName, data__restoreRegion, data__uri | Restores a Managed CCF Resource. |
SELECT
examples
Retrieves the properties of all Managed CCF.
- vw_managed_ccfs
- managed_ccfs
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 }}';
SELECT
location,
properties,
tags
FROM azure.confidential_ledger.managed_ccfs
WHERE subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new managed_ccfs
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.confidential_ledger.managed_ccfs (
appName,
resourceGroupName,
subscriptionId,
tags,
location,
properties
)
SELECT
'{{ appName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ tags }}',
'{{ location }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: tags
value: object
- name: location
value: string
- name: properties
value:
- name: appName
value: string
- name: appUri
value: string
- name: identityServiceUri
value: string
- name: memberIdentityCertificates
value:
- - name: certificate
value: string
- name: encryptionkey
value: string
- name: tags
value: string
- name: deploymentType
value:
- name: languageRuntime
value: []
- name: appSourceUri
value: string
- name: runningState
value: []
- name: provisioningState
value: []
- name: nodeCount
value: []
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 }}';