Class ApplicationProviderAuthorization

java.lang.Object
com.azure.resourcemanager.managedapplications.models.ApplicationProviderAuthorization

public final class ApplicationProviderAuthorization extends Object
The managed application provider authorization.
  • Constructor Details

    • ApplicationProviderAuthorization

      public ApplicationProviderAuthorization()
      Creates an instance of ApplicationProviderAuthorization class.
  • Method Details

    • principalId

      public String principalId()
      Get the principalId property: The provider's principal identifier. This is the identity that the provider will use to call ARM to manage the managed application resources.
      Returns:
      the principalId value.
    • withPrincipalId

      public ApplicationProviderAuthorization withPrincipalId(String principalId)
      Set the principalId property: The provider's principal identifier. This is the identity that the provider will use to call ARM to manage the managed application resources.
      Parameters:
      principalId - the principalId value to set.
      Returns:
      the ApplicationProviderAuthorization object itself.
    • roleDefinitionId

      public String roleDefinitionId()
      Get the roleDefinitionId property: The provider's role definition identifier. This role will define all the permissions that the provider must have on the managed application's container resource group. This role definition cannot have permission to delete the resource group.
      Returns:
      the roleDefinitionId value.
    • withRoleDefinitionId

      public ApplicationProviderAuthorization withRoleDefinitionId(String roleDefinitionId)
      Set the roleDefinitionId property: The provider's role definition identifier. This role will define all the permissions that the provider must have on the managed application's container resource group. This role definition cannot have permission to delete the resource group.
      Parameters:
      roleDefinitionId - the roleDefinitionId value to set.
      Returns:
      the ApplicationProviderAuthorization object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.