次の方法で共有


KeyVaultRoleDefinition Class

  • java.lang.Object
    • com.azure.security.keyvault.administration.models.KeyVaultRoleDefinition

public final class KeyVaultRoleDefinition

A class that defines a role.

Constructor Summary

Constructor Description
KeyVaultRoleDefinition(String id, String name, KeyVaultRoleDefinitionType type, String roleName, String description, KeyVaultRoleType roleType, List<KeyVaultPermission> permissions, List<KeyVaultRoleScope> assignableScopes)

Creates a new KeyVaultRoleDefinition with the specified details.

Method Summary

Modifier and Type Method and Description
List<KeyVaultRoleScope> getAssignableScopes()

Get the KeyVaultRoleDefinition's assignable scopes.

String getDescription()

Get the role description.

String getId()

Get the KeyVaultRoleDefinition ID.

String getName()

Get the KeyVaultRoleDefinition name.

List<KeyVaultPermission> getPermissions()

Get the KeyVaultRoleDefinition's KeyVaultPermission.

String getRoleName()

Get the role name.

KeyVaultRoleType getRoleType()

Get the role type.

KeyVaultRoleDefinitionType getType()

Get the KeyVaultRoleDefinitionType.

Methods inherited from java.lang.Object

Constructor Details

KeyVaultRoleDefinition

public KeyVaultRoleDefinition(String id, String name, KeyVaultRoleDefinitionType type, String roleName, String description, KeyVaultRoleType roleType, List<KeyVaultPermission> permissions, List<KeyVaultRoleScope> assignableScopes)

Creates a new KeyVaultRoleDefinition with the specified details.

Parameters:

id - The ID for this KeyVaultRoleDefinition.
name - The name for this KeyVaultRoleDefinition.
type - The type of this KeyVaultRoleDefinition.
roleName - The name of the role.
description - The description of this KeyVaultRoleDefinition.
roleType - The type of the role.
permissions - The KeyVaultPermission the KeyVaultRoleDefinition has.
assignableScopes - The assignable scopes of the KeyVaultRoleDefinition.

Method Details

getAssignableScopes

public List<KeyVaultRoleScope> getAssignableScopes()

Get the KeyVaultRoleDefinition's assignable scopes.

Returns:

The KeyVaultRoleDefinition's assignable scopes.

getDescription

public String getDescription()

Get the role description.

Returns:

The role description.

getId

public String getId()

Get the KeyVaultRoleDefinition ID.

Returns:

getName

public String getName()

Get the KeyVaultRoleDefinition name.

Returns:

getPermissions

public List<KeyVaultPermission> getPermissions()

Get the KeyVaultRoleDefinition's KeyVaultPermission.

Returns:

getRoleName

public String getRoleName()

Get the role name.

Returns:

The role name.

getRoleType

public KeyVaultRoleType getRoleType()

Get the role type.

Returns:

The role type.

getType

public KeyVaultRoleDefinitionType getType()

Get the KeyVaultRoleDefinitionType.

Returns:

Applies to