public final class KeyVaultRoleScope extends com.azure.core.util.ExpandableStringEnum<KeyVaultRoleScope>
Modifier and Type | Field and Description |
---|---|
static KeyVaultRoleScope |
GLOBAL |
static KeyVaultRoleScope |
KEYS |
Constructor and Description |
---|
KeyVaultRoleScope() |
Modifier and Type | Method and Description |
---|---|
static KeyVaultRoleScope |
fromString(String name)
Creates or finds a
KeyVaultRoleScope from its string representation. |
static KeyVaultRoleScope |
fromUrl(String url)
Creates or finds a
KeyVaultRoleScope from its string representation. |
static KeyVaultRoleScope |
fromUrl(URL url)
Creates or finds a
KeyVaultRoleScope from its string representation. |
public static final KeyVaultRoleScope GLOBAL
public static final KeyVaultRoleScope KEYS
public static KeyVaultRoleScope fromString(String name)
KeyVaultRoleScope
from its string representation.name
- A name to look for.KeyVaultRoleScope
.public static KeyVaultRoleScope fromUrl(String url) throws MalformedURLException
KeyVaultRoleScope
from its string representation.url
- A string representing a URL containing the name of the scope to look for.KeyVaultRoleScope
.MalformedURLException
- If the given URL String
is malformed.public static KeyVaultRoleScope fromUrl(URL url)
KeyVaultRoleScope
from its string representation.url
- A URL containing the name of the scope to look for.KeyVaultRoleScope
.Copyright © 2021 Microsoft Corporation. All rights reserved.