Package org.azd.graph.storagekeys
Class StorageKeysRequestBuilder
java.lang.Object
org.azd.abstractions.BaseRequestBuilder
org.azd.graph.storagekeys.StorageKeysRequestBuilder
Provides functionality to work with Graph Service Principals Api.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.azd.abstractions.BaseRequestBuilder
BaseRequestBuilder.ProjectExcludeParameter
-
Field Summary
Fields inherited from class org.azd.abstractions.BaseRequestBuilder
accessTokenCredential, apiVersion, area, locationId, organizationUrl, serializer
-
Constructor Summary
ConstructorDescriptionStorageKeysRequestBuilder
(String organizationUrl, AccessTokenCredential accessTokenCredential) Instantiates a new RequestBuilder instance and sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionResolve a descriptor to a storage key.Resolve a descriptor to a storage key.Methods inherited from class org.azd.abstractions.BaseRequestBuilder
builder
-
Constructor Details
-
StorageKeysRequestBuilder
public StorageKeysRequestBuilder(String organizationUrl, AccessTokenCredential accessTokenCredential) Instantiates a new RequestBuilder instance and sets the default values.- Parameters:
organizationUrl
- Represents organization location request url.accessTokenCredential
- Access token credential object.
-
-
Method Details
-
getAsync
public CompletableFuture<GraphStorageKeyResult> getAsync(String subjectDescriptor) throws AzDException Resolve a descriptor to a storage key.- Parameters:
subjectDescriptor
- Group or users descriptor id.- Returns:
- GraphStorageKeyResult Object
GraphStorageKeyResult
- Throws:
AzDException
- Default Api Exception handler.
-
get
Resolve a descriptor to a storage key.- Parameters:
subjectDescriptor
- Group or users descriptor id.- Returns:
- GraphStorageKeyResult Object
GraphStorageKeyResult
- Throws:
AzDException
- Default Api Exception handler.
-