Bmc Key Sets - List By Cluster
List baseboard management controller key sets of the cluster.
Get a list of baseboard management controller key sets for the provided cluster.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/clusters/{clusterName}/bmcKeySets?api-version=2025-02-01
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
cluster
|
path | True |
string pattern: ^([a-zA-Z0-9][a-zA-Z0-9-_]{0,28}[a-zA-Z0-9])$ |
The name of the cluster. |
resource
|
path | True |
string minLength: 1maxLength: 90 |
The name of the resource group. The name is case insensitive. |
subscription
|
path | True |
string (uuid) |
The ID of the target subscription. The value must be an UUID. |
api-version
|
query | True |
string minLength: 1 |
The API version to use for this operation. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
The resource list has been successfully retrieved. |
|
Other Status Codes |
Error response describing why the operation failed. |
Security
azure_auth
Azure Active Directory OAuth2 Flow.
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Description |
---|---|
user_impersonation | impersonate your user account |
Examples
List baseboard management controller key sets of the cluster
Sample request
Sample response
{
"value": [
{
"id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/clusters/clusterName/bmcKeySets/bmcKeySetName",
"name": "bmcKeySetName",
"systemData": {
"createdAt": "2021-01-22T13:27:03.008Z",
"createdBy": "identityA",
"createdByType": "Application",
"lastModifiedAt": "2021-01-22T13:29:03.001Z",
"lastModifiedBy": "identityB",
"lastModifiedByType": "User"
},
"type": "Microsoft.NetworkCloud/clusters/bmcKeySets",
"location": "location",
"tags": {
"key1": "myvalue1",
"key2": "myvalue2"
},
"extendedLocation": {
"type": "CustomLocation",
"name": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"
},
"properties": {
"privilegeLevel": "Administrator",
"expiration": "2022-12-31T23:59:59.008Z",
"azureGroupId": "f110271b-XXXX-4163-9b99-214d91660f0e",
"userList": [
{
"azureUserName": "userABC",
"sshPublicKey": {
"keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
},
"userPrincipalName": "userABC@contoso.com",
"description": "Needs access for troubleshooting as a part of the support team"
},
{
"azureUserName": "userXYZ",
"sshPublicKey": {
"keyData": "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"
},
"userPrincipalName": "userXYZ@contoso.com",
"description": "Needs access for troubleshooting as a part of the support team"
}
],
"provisioningState": "Succeeded",
"userListStatus": [
{
"azureUserName": "userABC",
"status": "Active",
"statusMessage": "User has been provisioned"
},
{
"azureUserName": "userXYZ",
"status": "Invalid",
"statusMessage": "User is not a valid Azure user"
}
],
"lastValidation": "2022-12-12T12:00:00.008Z",
"detailedStatus": "SomeInvalid",
"detailedStatusMessage": "Invalid Azure user(s) were provided: userXYZ"
}
}
],
"nextLink": "https://fully.qualified.hyperlink"
}
Definitions
Name | Description |
---|---|
Bare |
The indicator of whether the user is currently deployed for access. |
Bmc |
BmcKeySet represents the baseboard management controller key set. |
Bmc |
The more detailed status of the key set. |
Bmc |
BmcKeySetList represents a list of baseboard management controller key sets. |
Bmc |
The access level allowed for the users in this key set. |
Bmc |
The provisioning state of the baseboard management controller key set. |
created |
The type of identity that created the resource. |
Error |
The resource management error additional info. |
Error |
The error detail. |
Error |
Error response |
Extended |
ExtendedLocation represents the Azure custom location where the resource will be created. |
Key |
KeySetUser represents the properties of the user in the key set. |
Key |
KeySetUserStatus represents the status of the key set user. |
Ssh |
SshPublicKey represents the public key used to authenticate with a resource through SSH. |
system |
Metadata pertaining to creation and last modification of the resource. |
BareMetalMachineKeySetUserSetupStatus
The indicator of whether the user is currently deployed for access.
Value | Description |
---|---|
Active | |
Invalid |
BmcKeySet
BmcKeySet represents the baseboard management controller key set.
Name | Type | Description |
---|---|---|
etag |
string |
Resource ETag. |
extendedLocation |
ExtendedLocation represents the Azure custom location where the resource will be created. |
|
id |
string (arm-id) |
Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" |
location |
string |
The geo-location where the resource lives |
name |
string |
The name of the resource |
properties.azureGroupId |
string |
The object ID of Azure Active Directory group that all users in the list must be in for access to be granted. Users that are not in the group will not have access. |
properties.detailedStatus |
The more detailed status of the key set. |
|
properties.detailedStatusMessage |
string |
The descriptive message about the current detailed status. |
properties.expiration |
string (date-time) |
The date and time after which the users in this key set will be removed from the baseboard management controllers. |
properties.lastValidation |
string (date-time) |
The last time this key set was validated. |
properties.privilegeLevel |
The access level allowed for the users in this key set. |
|
properties.provisioningState |
The provisioning state of the baseboard management controller key set. |
|
properties.userList |
The unique list of permitted users. |
|
properties.userListStatus |
The status evaluation of each user. |
|
systemData |
Azure Resource Manager metadata containing createdBy and modifiedBy information. |
|
tags |
object |
Resource tags. |
type |
string |
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
BmcKeySetDetailedStatus
The more detailed status of the key set.
Value | Description |
---|---|
AllActive | |
SomeInvalid | |
AllInvalid | |
Validating |
BmcKeySetList
BmcKeySetList represents a list of baseboard management controller key sets.
Name | Type | Description |
---|---|---|
nextLink |
string |
The link used to get the next page of operations. |
value |
The list of baseboard management controller key sets. |
BmcKeySetPrivilegeLevel
The access level allowed for the users in this key set.
Value | Description |
---|---|
ReadOnly | |
Administrator |
BmcKeySetProvisioningState
The provisioning state of the baseboard management controller key set.
Value | Description |
---|---|
Succeeded | |
Failed | |
Canceled | |
Accepted | |
Provisioning |
createdByType
The type of identity that created the resource.
Value | Description |
---|---|
User | |
Application | |
ManagedIdentity | |
Key |
ErrorAdditionalInfo
The resource management error additional info.
Name | Type | Description |
---|---|---|
info |
object |
The additional info. |
type |
string |
The additional info type. |
ErrorDetail
The error detail.
Name | Type | Description |
---|---|---|
additionalInfo |
The error additional info. |
|
code |
string |
The error code. |
details |
The error details. |
|
message |
string |
The error message. |
target |
string |
The error target. |
ErrorResponse
Error response
Name | Type | Description |
---|---|---|
error |
The error object. |
ExtendedLocation
ExtendedLocation represents the Azure custom location where the resource will be created.
Name | Type | Description |
---|---|---|
name |
string |
The resource ID of the extended location on which the resource will be created. |
type |
string |
The extended location type, for example, CustomLocation. |
KeySetUser
KeySetUser represents the properties of the user in the key set.
Name | Type | Description |
---|---|---|
azureUserName |
string |
The user name that will be used for access. |
description |
string maxLength: 256 |
The free-form description for this user. |
sshPublicKey |
SshPublicKey represents the public key used to authenticate with a resource through SSH. |
|
userPrincipalName |
string |
The user principal name (email format) used to validate this user's group membership. |
KeySetUserStatus
KeySetUserStatus represents the status of the key set user.
Name | Type | Description |
---|---|---|
azureUserName |
string |
The user name that will be used for access. |
status |
The indicator of whether the user is currently deployed for access. |
|
statusMessage |
string maxLength: 256 |
The additional information describing the current status of this user, if any available. |
SshPublicKey
SshPublicKey represents the public key used to authenticate with a resource through SSH.
Name | Type | Description |
---|---|---|
keyData |
string minLength: 1 |
The SSH public key data. |
systemData
Metadata pertaining to creation and last modification of the resource.
Name | Type | Description |
---|---|---|
createdAt |
string (date-time) |
The timestamp of resource creation (UTC). |
createdBy |
string |
The identity that created the resource. |
createdByType |
The type of identity that created the resource. |
|
lastModifiedAt |
string (date-time) |
The timestamp of resource last modification (UTC) |
lastModifiedBy |
string |
The identity that last modified the resource. |
lastModifiedByType |
The type of identity that last modified the resource. |