com.azure.resourcemanager.compute.implementation.DiskEncryptionSetMsiHandler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-compute Show documentation
Show all versions of azure-resourcemanager-compute Show documentation
This package contains Microsoft Azure Compute Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.resourcemanager.compute.implementation;
import com.azure.resourcemanager.authorization.AuthorizationManager;
import com.azure.resourcemanager.authorization.utils.RoleAssignmentHelper;
/**
* Utility class to set Managed Service Identity (MSI) property on a disk encryption set,
* create role assignments for the service principal associated with the disk encryption set.
*/
class DiskEncryptionSetMsiHandler extends RoleAssignmentHelper {
/**
* Creates DiskEncryptionSetMsiHandler.
*
* @param authorizationManager the graph rbac manager
* @param diskEncryptionSet disk encryption set
*/
DiskEncryptionSetMsiHandler(AuthorizationManager authorizationManager, DiskEncryptionSetImpl diskEncryptionSet) {
super(authorizationManager, diskEncryptionSet.taskGroup(), diskEncryptionSet.idProvider());
}
}