All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.azure.resourcemanager.compute.implementation.DiskEncryptionSetMsiHandler Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure Compute Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt

There is a newer version: 2.44.0
Show newest version
// 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());
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy