JavaScript is disabled on your browser.
Provides functionality to work with Members Api.
Constructor Summary
Constructors
Instantiates a new RequestBuilder instance and sets the default values.
Method Summary
All Methods Instance Methods Concrete Methods
Add a service principal, assign license and extensions and make them a member of a project group in an account.
Add a service principal, assign license and extensions and make them a member of a project group in an account.
Delete a service principal from the account.
Delete a service principal from the account.
Get Service principal Entitlement for a service principal.
Get Service principal Entitlement for a service principal.
Edit the entitlements (License, Extensions, Projects, Teams etc) for a service principal.
Edit the entitlements (License, Extensions, Projects, Teams etc) for one or more service principals.
Edit the entitlements (License, Extensions, Projects, Teams etc) for a service principal.
Edit the entitlements (License, Extensions, Projects, Teams etc) for one or more service principals.
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
Constructor Details
ServicePrincipalEntitlementsRequestBuilder
Instantiates a new RequestBuilder instance and sets the default values.
Parameters:
organizationUrl
- Represents organization location request url.
accessTokenCredential
- Access token credential object.
Method Details
addAsync
Add a service principal, assign license and extensions and make them a member of a project group in an account.
NOTE: If you are working with AAD app registration, you can find service principal of your app in enterprise
applications, and make sure to use service principal's object id as originId parameter in the request body
Parameters:
servicePrincipalEntitlement
- Request body of service principal object ServicePrincipalEntitlement
Returns:
Post response of service principal entitlement ServicePrincipalEntitlementsPostResponse
Throws:
AzDException
- Default Api exception handler.
deleteAsync
Delete a service principal from the account.
The delete operation includes un-assigning Extensions and Licenses and removing the service principal from
all project memberships. The service principal would continue to have access to the account if it is member
of an AAD group, that is added directly to the account.
Parameters:
servicePrincipalId
- ID of the service principal.
Throws:
AzDException
- Default Api exception handler.
getAsync
Get Service principal Entitlement for a service principal.
Parameters:
servicePrincipalId
- ID of the service principal.
Returns:
ServicePrincipalEntitlement object ServicePrincipalEntitlement
Throws:
AzDException
- Default Api exception handler.
updateAsync
Edit the entitlements (License, Extensions, Projects, Teams etc) for a service principal.
Parameters:
servicePrincipalId
- ID of the service principal.
jsonPatchDocument
- Parameters for update operation.
Returns:
ServicePrincipalEntitlement object ServicePrincipalEntitlement
Throws:
AzDException
- Default Api exception handler.
updateAsync
Edit the entitlements (License, Extensions, Projects, Teams etc) for one or more service principals.
Parameters:
jsonPatchDocument
- Parameters for update operation.
Returns:
ServicePrincipalEntitlementOperationReference object ServicePrincipalEntitlementOperationReference
Throws:
AzDException
- Default Api exception handler.
add
Add a service principal, assign license and extensions and make them a member of a project group in an account.
NOTE: If you are working with AAD app registration, you can find service principal of your app in enterprise
applications, and make sure to use service principal's object id as originId parameter in the request body
Parameters:
servicePrincipalEntitlement
- Request body of service principal object ServicePrincipalEntitlement
Returns:
Post response of service principal entitlement ServicePrincipalEntitlementsPostResponse
Throws:
AzDException
- Default Api exception handler.
delete
Delete a service principal from the account.
The delete operation includes un-assigning Extensions and Licenses and removing the service principal from
all project memberships. The service principal would continue to have access to the account if it is member
of an AAD group, that is added directly to the account.
Parameters:
servicePrincipalId
- ID of the service principal.
Throws:
AzDException
- Default Api exception handler.
get
Get Service principal Entitlement for a service principal.
Parameters:
servicePrincipalId
- ID of the service principal.
Returns:
ServicePrincipalEntitlement object ServicePrincipalEntitlement
Throws:
AzDException
- Default Api exception handler.
update
Edit the entitlements (License, Extensions, Projects, Teams etc) for a service principal.
Parameters:
servicePrincipalId
- ID of the service principal.
jsonPatchDocument
- Parameters for update operation.
Returns:
ServicePrincipalEntitlement object ServicePrincipalEntitlement
Throws:
AzDException
- Default Api exception handler.
update
Edit the entitlements (License, Extensions, Projects, Teams etc) for one or more service principals.
Parameters:
jsonPatchDocument
- Parameters for update operation.
Returns:
ServicePrincipalEntitlementOperationReference object ServicePrincipalEntitlementOperationReference
Throws:
AzDException
- Default Api exception handler.