RoleAssignmentHelper.IdProvider Interface

public static interface RoleAssignmentHelper.IdProvider

A type that provide the service principal id (object id) and ARM resource id of the resource for which role assignments needs to be done.

Method Summary

Modifier and Type Method and Description
abstract String principalId()

Gets the service principal id (object id).

abstract String resourceId()

Gets ARM resource id of the resource.

Method Details

principalId

public abstract String principalId()

Gets the service principal id (object id).

Returns:

the service principal id (object id)

resourceId

public abstract String resourceId()

Gets ARM resource id of the resource.

Returns:

ARM resource id of the resource

Applies to

Azure SDK for Java

Latest