Class RequiredResourceAccess

java.lang.Object
com.microsoft.azure.management.graphrbac.RequiredResourceAccess

public class RequiredResourceAccess extends Object
Specifies the set of OAuth 2.0 permission scopes and app roles under the specified resource that an application requires access to. The specified OAuth 2.0 permission scopes may be requested by client applications (through the requiredResourceAccess collection) when calling a resource application. The requiredResourceAccess property of the Application entity is a collection of ReqiredResourceAccess.
  • Constructor Details

    • RequiredResourceAccess

      public RequiredResourceAccess()
  • Method Details

    • additionalProperties

      public Map<String,Object> additionalProperties()
      Get the additionalProperties value.
      Returns:
      the additionalProperties value
    • withAdditionalProperties

      public RequiredResourceAccess withAdditionalProperties(Map<String,Object> additionalProperties)
      Set the additionalProperties value.
      Parameters:
      additionalProperties - the additionalProperties value to set
      Returns:
      the RequiredResourceAccess object itself.
    • resourceAccess

      public List<ResourceAccess> resourceAccess()
      Get the resourceAccess value.
      Returns:
      the resourceAccess value
    • withResourceAccess

      public RequiredResourceAccess withResourceAccess(List<ResourceAccess> resourceAccess)
      Set the resourceAccess value.
      Parameters:
      resourceAccess - the resourceAccess value to set
      Returns:
      the RequiredResourceAccess object itself.
    • resourceAppId

      public String resourceAppId()
      Get the resourceAppId value.
      Returns:
      the resourceAppId value
    • withResourceAppId

      public RequiredResourceAccess withResourceAppId(String resourceAppId)
      Set the resourceAppId value.
      Parameters:
      resourceAppId - the resourceAppId value to set
      Returns:
      the RequiredResourceAccess object itself.