Skip to main content

organizations

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

Overview

Nameorganizations
TypeResource
Idazure_isv.confluent.organizations

Fields

NameDatatypeDescription
idtextThe ARM id of the resource.
nametextThe name of the resource.
created_timetextfield from the properties object
link_organizationtextfield from the properties object
locationtextLocation of Organization resource
offer_detailtextfield from the properties object
organizationNametextfield from the properties object
organization_idtextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
sso_urltextfield from the properties object
subscriptionIdtextfield from the properties object
system_datatextfield from the properties object
tagstextOrganization resource tags
typetextThe type of the resource.
user_detailtextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTorganizationName, resourceGroupName, subscriptionId
list_by_resource_groupSELECTresourceGroupName, subscriptionId
list_by_subscriptionSELECTsubscriptionId
createINSERTorganizationName, resourceGroupName, subscriptionId, data__properties
deleteDELETEorganizationName, resourceGroupName, subscriptionId
updateUPDATEorganizationName, resourceGroupName, subscriptionId

SELECT examples

SELECT
id,
name,
created_time,
link_organization,
location,
offer_detail,
organizationName,
organization_id,
provisioning_state,
resourceGroupName,
sso_url,
subscriptionId,
system_data,
tags,
type,
user_detail
FROM azure_isv.confluent.vw_organizations
WHERE subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure_isv.confluent.organizations (
organizationName,
resourceGroupName,
subscriptionId,
data__properties,
properties,
tags,
location
)
SELECT
'{{ organizationName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ data__properties }}',
'{{ properties }}',
'{{ tags }}',
'{{ location }}'
;

UPDATE example

Updates a organizations resource.

/*+ update */
UPDATE azure_isv.confluent.organizations
SET
tags = '{{ tags }}'
WHERE
organizationName = '{{ organizationName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified organizations resource.

/*+ delete */
DELETE FROM azure_isv.confluent.organizations
WHERE organizationName = '{{ organizationName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';