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

The following fields are returned by SELECT queries:

The resource has been successfully retrieved.

NameDatatypeDescription
extendedLocationobjectThe extended location of the cluster associated with the resource. (title: ExtendedLocation represents the Azure custom location where the resource will be created.)
locationstringThe geo-location where the resource lives
propertiesobjectThe list of the resource properties. (title: BmcKeySetProperties represents the properties of baseboard management controller key set.)
tagsobjectResource tags.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, clusterName, bmcKeySetNameGet baseboard management controller key set of the provided cluster.
list_by_clusterselectsubscriptionId, resourceGroupName, clusterNameGet a list of baseboard management controller key sets for the provided cluster.
create_or_updateinsertsubscriptionId, resourceGroupName, clusterName, bmcKeySetName, data__extendedLocation, data__propertiesCreate a new baseboard management controller key set or update the existing one for the provided cluster.
updateupdatesubscriptionId, resourceGroupName, clusterName, bmcKeySetNamePatch 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.
deletedeletesubscriptionId, resourceGroupName, clusterName, bmcKeySetNameDelete the baseboard management controller key set of the provided cluster.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
bmcKeySetNamestringThe name of the baseboard management controller key set.
clusterNamestringThe name of the cluster.
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.

SELECT examples

Get baseboard management controller key set of the provided cluster.

SELECT
extendedLocation,
location,
properties,
tags
FROM azure.nexus.bmc_key_sets
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND clusterName = '{{ clusterName }}' -- required
AND bmcKeySetName = '{{ bmcKeySetName }}' -- required
;

INSERT examples

Create a new baseboard management controller key set or update the existing one for the provided cluster.

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

UPDATE examples

Patch 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.

UPDATE azure.nexus.bmc_key_sets
SET
data__properties = '{{ properties }}',
data__tags = '{{ tags }}'
WHERE
subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND clusterName = '{{ clusterName }}' --required
AND bmcKeySetName = '{{ bmcKeySetName }}' --required
RETURNING
extendedLocation,
location,
properties,
tags;

DELETE examples

Delete the baseboard management controller key set of the provided cluster.

DELETE FROM azure.nexus.bmc_key_sets
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND clusterName = '{{ clusterName }}' --required
AND bmcKeySetName = '{{ bmcKeySetName }}' --required
;