Kongsi melalui


ResourceProviderAuthorizationManagedByAuthorization Class

  • java.lang.Object
    • com.azure.resourcemanager.providerhub.models.ResourceProviderAuthorizationManagedByAuthorization

Implements

public final class ResourceProviderAuthorizationManagedByAuthorization
implements JsonSerializable<ResourceProviderAuthorizationManagedByAuthorization>

Managed by authorization.

Constructor Summary

Constructor Description
ResourceProviderAuthorizationManagedByAuthorization()

Creates an instance of ResourceProviderAuthorizationManagedByAuthorization class.

Method Summary

Modifier and Type Method and Description
List<AdditionalAuthorization> additionalAuthorizations()

Get the additionalAuthorizations property: The additionalAuthorizations property.

Boolean allowManagedByInheritance()

Get the allowManagedByInheritance property: Indicates whether the managed by resource role definition ID should be inherited.

static ResourceProviderAuthorizationManagedByAuthorization fromJson(JsonReader jsonReader)

Reads an instance of ResourceProviderAuthorizationManagedByAuthorization from the JsonReader.

String managedByResourceRoleDefinitionId()

Get the managedByResourceRoleDefinitionId property: The managed by resource role definition ID for the application.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ResourceProviderAuthorizationManagedByAuthorization withAdditionalAuthorizations(List<AdditionalAuthorization> additionalAuthorizations)

Set the additionalAuthorizations property: The additionalAuthorizations property.

ResourceProviderAuthorizationManagedByAuthorization withAllowManagedByInheritance(Boolean allowManagedByInheritance)

Set the allowManagedByInheritance property: Indicates whether the managed by resource role definition ID should be inherited.

ResourceProviderAuthorizationManagedByAuthorization withManagedByResourceRoleDefinitionId(String managedByResourceRoleDefinitionId)

Set the managedByResourceRoleDefinitionId property: The managed by resource role definition ID for the application.

Methods inherited from java.lang.Object

Constructor Details

ResourceProviderAuthorizationManagedByAuthorization

public ResourceProviderAuthorizationManagedByAuthorization()

Creates an instance of ResourceProviderAuthorizationManagedByAuthorization class.

Method Details

additionalAuthorizations

public List<AdditionalAuthorization> additionalAuthorizations()

Get the additionalAuthorizations property: The additionalAuthorizations property.

Returns:

the additionalAuthorizations value.

allowManagedByInheritance

public Boolean allowManagedByInheritance()

Get the allowManagedByInheritance property: Indicates whether the managed by resource role definition ID should be inherited.

Returns:

the allowManagedByInheritance value.

fromJson

public static ResourceProviderAuthorizationManagedByAuthorization fromJson(JsonReader jsonReader)

Reads an instance of ResourceProviderAuthorizationManagedByAuthorization from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ResourceProviderAuthorizationManagedByAuthorization if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the ResourceProviderAuthorizationManagedByAuthorization.

managedByResourceRoleDefinitionId

public String managedByResourceRoleDefinitionId()

Get the managedByResourceRoleDefinitionId property: The managed by resource role definition ID for the application.

Returns:

the managedByResourceRoleDefinitionId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAdditionalAuthorizations

public ResourceProviderAuthorizationManagedByAuthorization withAdditionalAuthorizations(List<AdditionalAuthorization> additionalAuthorizations)

Set the additionalAuthorizations property: The additionalAuthorizations property.

Parameters:

additionalAuthorizations - the additionalAuthorizations value to set.

Returns:

the ResourceProviderAuthorizationManagedByAuthorization object itself.

withAllowManagedByInheritance

public ResourceProviderAuthorizationManagedByAuthorization withAllowManagedByInheritance(Boolean allowManagedByInheritance)

Set the allowManagedByInheritance property: Indicates whether the managed by resource role definition ID should be inherited.

Parameters:

allowManagedByInheritance - the allowManagedByInheritance value to set.

Returns:

the ResourceProviderAuthorizationManagedByAuthorization object itself.

withManagedByResourceRoleDefinitionId

public ResourceProviderAuthorizationManagedByAuthorization withManagedByResourceRoleDefinitionId(String managedByResourceRoleDefinitionId)

Set the managedByResourceRoleDefinitionId property: The managed by resource role definition ID for the application.

Parameters:

managedByResourceRoleDefinitionId - the managedByResourceRoleDefinitionId value to set.

Returns:

the ResourceProviderAuthorizationManagedByAuthorization object itself.

Applies to