你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
MicrosoftGraphRequiredResourceAccess Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphRequiredResourceAccess
- com.
Implements
public final class MicrosoftGraphRequiredResourceAccess
implements JsonSerializable<MicrosoftGraphRequiredResourceAccess>
requiredResourceAccess.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphRequiredResourceAccess() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
List<Microsoft |
resourceAccess()
Get the resource |
String |
resourceAppId()
Get the resource |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withResourceAccess(List<MicrosoftGraphResourceAccess> resourceAccess)
Set the resource |
Microsoft |
withResourceAppId(String resourceAppId)
Set the resource |
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphRequiredResourceAccess
public MicrosoftGraphRequiredResourceAccess()
Creates an instance of MicrosoftGraphRequiredResourceAccess class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: requiredResourceAccess.
Returns:
fromJson
public static MicrosoftGraphRequiredResourceAccess fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphRequiredResourceAccess from the JsonReader.
Parameters:
Returns:
Throws:
resourceAccess
public List
Get the resourceAccess property: The list of OAuth2.0 permission scopes and app roles that the application requires from the specified resource.
Returns:
resourceAppId
public String resourceAppId()
Get the resourceAppId property: The unique identifier for the resource that the application requires access to. This should be equal to the appId declared on the target resource application.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAdditionalProperties
public MicrosoftGraphRequiredResourceAccess withAdditionalProperties(Map
Set the additionalProperties property: requiredResourceAccess.
Parameters:
Returns:
withResourceAccess
public MicrosoftGraphRequiredResourceAccess withResourceAccess(List
Set the resourceAccess property: The list of OAuth2.0 permission scopes and app roles that the application requires from the specified resource.
Parameters:
Returns:
withResourceAppId
public MicrosoftGraphRequiredResourceAccess withResourceAppId(String resourceAppId)
Set the resourceAppId property: The unique identifier for the resource that the application requires access to. This should be equal to the appId declared on the target resource application.
Parameters:
Returns: