Skip to main content

bmc_key_sets

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

Overview

Namebmc_key_sets
TypeResource
Idazure.nexus.bmc_key_sets

Fields

NameDatatypeDescription
azure_group_idtextfield from the properties object
bmcKeySetNametextfield from the properties object
clusterNametextfield from the properties object
detailed_statustextfield from the properties object
detailed_status_messagetextfield from the properties object
expirationtextfield from the properties object
extended_locationtextfield from the properties object
last_validationtextfield from the properties object
locationtextThe geo-location where the resource lives
privilege_leveltextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextResource tags.
user_listtextfield from the properties object
user_list_statustextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTbmcKeySetName, clusterName, resourceGroupName, subscriptionIdGet baseboard management controller key set of the provided cluster.
list_by_clusterSELECTclusterName, resourceGroupName, subscriptionIdGet a list of baseboard management controller key sets for the provided cluster.
create_or_updateINSERTbmcKeySetName, clusterName, resourceGroupName, subscriptionId, data__extendedLocation, data__propertiesCreate a new baseboard management controller key set or update the existing one for the provided cluster.
deleteDELETEbmcKeySetName, clusterName, resourceGroupName, subscriptionIdDelete the baseboard management controller key set of the provided cluster.
updateUPDATEbmcKeySetName, clusterName, resourceGroupName, subscriptionIdPatch properties of baseboard management controller key set for the provided cluster, or update the tags associated with it. Properties and tag updates can be done independently.

SELECT examples

Get a list of baseboard management controller key sets for the provided cluster.

SELECT
azure_group_id,
bmcKeySetName,
clusterName,
detailed_status,
detailed_status_message,
expiration,
extended_location,
last_validation,
location,
privilege_level,
provisioning_state,
resourceGroupName,
subscriptionId,
tags,
user_list,
user_list_status
FROM azure.nexus.vw_bmc_key_sets
WHERE clusterName = '{{ clusterName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.nexus.bmc_key_sets (
bmcKeySetName,
clusterName,
resourceGroupName,
subscriptionId,
data__extendedLocation,
data__properties,
extendedLocation,
properties,
tags,
location
)
SELECT
'{{ bmcKeySetName }}',
'{{ clusterName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ data__extendedLocation }}',
'{{ data__properties }}',
'{{ extendedLocation }}',
'{{ properties }}',
'{{ tags }}',
'{{ location }}'
;

UPDATE example

Updates a bmc_key_sets resource.

/*+ update */
UPDATE azure.nexus.bmc_key_sets
SET
properties = '{{ properties }}',
tags = '{{ tags }}'
WHERE
bmcKeySetName = '{{ bmcKeySetName }}'
AND clusterName = '{{ clusterName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified bmc_key_sets resource.

/*+ delete */
DELETE FROM azure.nexus.bmc_key_sets
WHERE bmcKeySetName = '{{ bmcKeySetName }}'
AND clusterName = '{{ clusterName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';