Class SecurityNamespacesRequestBuilder
java.lang.Object
org.azd.abstractions.BaseRequestBuilder
org.azd.security.securitynamespaces.SecurityNamespacesRequestBuilder
Provides functionality to work with Security 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
ConstructorDescriptionSecurityNamespacesRequestBuilder
(String organizationUrl, AccessTokenCredential accessTokenCredential) Instantiates a new RequestBuilder instance and sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionList all security namespaces or just the specified namespace.queryAsync
(String securityNamespaceId, boolean localOnly) List all security namespaces or just the specified namespace.Methods inherited from class org.azd.abstractions.BaseRequestBuilder
builder
-
Constructor Details
-
SecurityNamespacesRequestBuilder
public SecurityNamespacesRequestBuilder(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
-
queryAsync
public CompletableFuture<SecurityNamespaces> queryAsync(String securityNamespaceId, boolean localOnly) throws AzDException List all security namespaces or just the specified namespace.- Parameters:
securityNamespaceId
- Security namespace identifier.localOnly
- If true, retrieve only local security namespaces.- Returns:
- Collection of Security name spaces
SecurityNamespaces
- Throws:
AzDException
- Default Api exception handler.
-
query
List all security namespaces or just the specified namespace.- Parameters:
securityNamespaceId
- Security namespace identifier.localOnly
- If true, retrieve only local security namespaces.- Returns:
- Collection of Security name spaces
SecurityNamespaces
- Throws:
AzDException
- Default Api exception handler.
-