Package org.azd.accounts.organization
Class OrganizationRequestBuilder
java.lang.Object
org.azd.abstractions.BaseRequestBuilder
org.azd.accounts.organization.OrganizationRequestBuilder
Provides functionality to manage Organizations 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
ConstructorDescriptionOrganizationRequestBuilder
(String organizationUrl, AccessTokenCredential accessTokenCredential) Instantiates a new RequestBuilder instance and sets the default values. -
Method Summary
Methods inherited from class org.azd.abstractions.BaseRequestBuilder
builder
-
Constructor Details
-
OrganizationRequestBuilder
public OrganizationRequestBuilder(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
Get the list of future object of organization.- Returns:
- A list of organizations
Organizations
. - Throws:
AzDException
- Default Api Exception handler.
-
get
Get the list of future object of organization.- Returns:
- A list of organizations
Organizations
. - Throws:
AzDException
- Default Api Exception handler.
-