bmc_key_sets
Creates, updates, deletes, gets or lists a bmc_key_sets
resource.
Overview
Name | bmc_key_sets |
Type | Resource |
Id | azure.nexus.bmc_key_sets |
Fields
- vw_bmc_key_sets
- bmc_key_sets
Name | Datatype | Description |
---|---|---|
azure_group_id | text | field from the properties object |
bmcKeySetName | text | field from the properties object |
clusterName | text | field from the properties object |
detailed_status | text | field from the properties object |
detailed_status_message | text | field from the properties object |
expiration | text | field from the properties object |
extended_location | text | field from the properties object |
last_validation | text | field from the properties object |
location | text | The geo-location where the resource lives |
privilege_level | text | field from the properties object |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
subscriptionId | text | field from the properties object |
tags | text | Resource tags. |
user_list | text | field from the properties object |
user_list_status | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
extendedLocation | object | |
location | string | The geo-location where the resource lives |
properties | object | |
tags | object | Resource tags. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | bmcKeySetName, clusterName, resourceGroupName, subscriptionId | Get baseboard management controller key set of the provided cluster. |
list_by_cluster | SELECT | clusterName, resourceGroupName, subscriptionId | Get a list of baseboard management controller key sets for the provided cluster. |
create_or_update | INSERT | bmcKeySetName, clusterName, resourceGroupName, subscriptionId, data__extendedLocation, data__properties | Create a new baseboard management controller key set or update the existing one for the provided cluster. |
delete | DELETE | bmcKeySetName, clusterName, resourceGroupName, subscriptionId | Delete the baseboard management controller key set of the provided cluster. |
update | UPDATE | bmcKeySetName, clusterName, resourceGroupName, subscriptionId | 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. |
SELECT
examples
Get a list of baseboard management controller key sets for the provided cluster.
- vw_bmc_key_sets
- bmc_key_sets
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 }}';
SELECT
extendedLocation,
location,
properties,
tags
FROM azure.nexus.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.
- All Properties
- Manifest
/*+ 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 }}'
;
- name: your_resource_model_name
props:
- name: extendedLocation
value:
- name: name
value: string
- name: type
value: string
- name: properties
value:
- name: azureGroupId
value: string
- name: detailedStatus
value: string
- name: detailedStatusMessage
value: string
- name: expiration
value: string
- name: lastValidation
value: string
- name: privilegeLevel
value: string
- name: provisioningState
value: string
- name: userList
value:
- - name: azureUserName
value: string
- name: description
value: string
- name: sshPublicKey
value:
- name: keyData
value: string
- name: userPrincipalName
value: string
- name: userListStatus
value:
- - name: azureUserName
value: string
- name: status
value: string
- name: statusMessage
value: string
- name: tags
value: object
- name: location
value: string
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 }}';