Class BmcKeySet
- java.lang.Object
-
- com.pulumi.resources.Resource
-
- com.pulumi.resources.CustomResource
-
- com.pulumi.azurenative.networkcloud.BmcKeySet
-
public class BmcKeySet extends com.pulumi.resources.CustomResource
Azure REST API version: 2023-05-01-preview. Prior API version in Azure Native 1.x: 2022-12-12-preview. Other available API versions: 2023-07-01, 2023-10-01-preview. ## Example Usage ### Create or update baseboard management controller key set of cluster ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.azurenative.networkcloud.BmcKeySet; import com.pulumi.azurenative.networkcloud.BmcKeySetArgs; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { var bmcKeySet = new BmcKeySet("bmcKeySet", BmcKeySetArgs.builder() .azureGroupId("f110271b-XXXX-4163-9b99-214d91660f0e") .bmcKeySetName("bmcKeySetName") .clusterName("clusterName") .expiration("2022-12-31T23:59:59.008Z") .extendedLocation(Map.ofEntries( Map.entry("name", "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"), Map.entry("type", "CustomLocation") )) .location("location") .privilegeLevel("Administrator") .resourceGroupName("resourceGroupName") .tags(Map.ofEntries( Map.entry("key1", "myvalue1"), Map.entry("key2", "myvalue2") )) .userList( Map.ofEntries( Map.entry("azureUserName", "userABC"), Map.entry("description", "Needs access for troubleshooting as a part of the support team"), Map.entry("sshPublicKey", Map.of("keyData", "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm")) ), Map.ofEntries( Map.entry("azureUserName", "userXYZ"), Map.entry("description", "Needs access for troubleshooting as a part of the support team"), Map.entry("sshPublicKey", Map.of("keyData", "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm")) )) .build()); } } ``` ## Import An existing resource can be imported using its type token, name, and identifier, e.g. ```sh $ pulumi import azure-native:networkcloud:BmcKeySet bmcKeySetName /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/clusters/{clusterName}/bmcKeySets/{bmcKeySetName} ```
-
-
Constructor Summary
Constructors Constructor Description BmcKeySet(java.lang.String name)
BmcKeySet(java.lang.String name, BmcKeySetArgs args)
BmcKeySet(java.lang.String name, BmcKeySetArgs args, com.pulumi.resources.CustomResourceOptions options)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.pulumi.core.Output<java.lang.String>
azureGroupId()
com.pulumi.core.Output<java.lang.String>
detailedStatus()
com.pulumi.core.Output<java.lang.String>
detailedStatusMessage()
com.pulumi.core.Output<java.lang.String>
expiration()
com.pulumi.core.Output<ExtendedLocationResponse>
extendedLocation()
static BmcKeySet
get(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, com.pulumi.resources.CustomResourceOptions options)
Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.com.pulumi.core.Output<java.lang.String>
lastValidation()
com.pulumi.core.Output<java.lang.String>
location()
com.pulumi.core.Output<java.lang.String>
name()
com.pulumi.core.Output<java.lang.String>
privilegeLevel()
com.pulumi.core.Output<java.lang.String>
provisioningState()
com.pulumi.core.Output<SystemDataResponse>
systemData()
com.pulumi.core.Output<java.util.Optional<java.util.Map<java.lang.String,java.lang.String>>>
tags()
com.pulumi.core.Output<java.lang.String>
type()
com.pulumi.core.Output<java.util.List<KeySetUserResponse>>
userList()
com.pulumi.core.Output<java.util.List<KeySetUserStatusResponse>>
userListStatus()
-
-
-
Constructor Detail
-
BmcKeySet
public BmcKeySet(java.lang.String name)
- Parameters:
name
- The _unique_ name of the resulting resource.
-
BmcKeySet
public BmcKeySet(java.lang.String name, BmcKeySetArgs args)
- Parameters:
name
- The _unique_ name of the resulting resource.args
- The arguments to use to populate this resource's properties.
-
BmcKeySet
public BmcKeySet(java.lang.String name, BmcKeySetArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options)
- Parameters:
name
- The _unique_ name of the resulting resource.args
- The arguments to use to populate this resource's properties.options
- A bag of options that control this resource's behavior.
-
-
Method Detail
-
azureGroupId
public com.pulumi.core.Output<java.lang.String> azureGroupId()
- Returns:
- 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.
-
detailedStatus
public com.pulumi.core.Output<java.lang.String> detailedStatus()
- Returns:
- The more detailed status of the key set.
-
detailedStatusMessage
public com.pulumi.core.Output<java.lang.String> detailedStatusMessage()
- Returns:
- The descriptive message about the current detailed status.
-
expiration
public com.pulumi.core.Output<java.lang.String> expiration()
- Returns:
- The date and time after which the users in this key set will be removed from the baseboard management controllers.
-
extendedLocation
public com.pulumi.core.Output<ExtendedLocationResponse> extendedLocation()
- Returns:
- The extended location of the cluster associated with the resource.
-
lastValidation
public com.pulumi.core.Output<java.lang.String> lastValidation()
- Returns:
- The last time this key set was validated.
-
location
public com.pulumi.core.Output<java.lang.String> location()
- Returns:
- The geo-location where the resource lives
-
name
public com.pulumi.core.Output<java.lang.String> name()
- Returns:
- The name of the resource
-
privilegeLevel
public com.pulumi.core.Output<java.lang.String> privilegeLevel()
- Returns:
- The access level allowed for the users in this key set.
-
provisioningState
public com.pulumi.core.Output<java.lang.String> provisioningState()
- Returns:
- The provisioning state of the baseboard management controller key set.
-
systemData
public com.pulumi.core.Output<SystemDataResponse> systemData()
- Returns:
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
-
tags
public com.pulumi.core.Output<java.util.Optional<java.util.Map<java.lang.String,java.lang.String>>> tags()
- Returns:
- Resource tags.
-
type
public com.pulumi.core.Output<java.lang.String> type()
- Returns:
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
-
userList
public com.pulumi.core.Output<java.util.List<KeySetUserResponse>> userList()
- Returns:
- The unique list of permitted users.
-
userListStatus
public com.pulumi.core.Output<java.util.List<KeySetUserStatusResponse>> userListStatus()
- Returns:
- The status evaluation of each user.
-
get
public static BmcKeySet get(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, @Nullable com.pulumi.resources.CustomResourceOptions options)
Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.- Parameters:
name
- The _unique_ name of the resulting resource.id
- The _unique_ provider ID of the resource to lookup.options
- Optional settings to control the behavior of the CustomResource.
-
-