Provider Class

  • java.lang.Object
    • com.azure.resourcemanager.resources.deployments.models.Provider

Implements

public final class Provider
implements JsonSerializable<Provider>

Resource provider information.

Method Summary

Modifier and Type Method and Description
static Provider fromJson(JsonReader jsonReader)

Reads an instance of Provider from the JsonReader.

String id()

Get the id property: The provider ID.

String namespace()

Get the namespace property: The namespace of the resource provider.

ProviderAuthorizationConsentState providerAuthorizationConsentState()

Get the providerAuthorizationConsentState property: The provider authorization consent state.

String registrationPolicy()

Get the registrationPolicy property: The registration policy of the resource provider.

String registrationState()

Get the registrationState property: The registration state of the resource provider.

List<ProviderResourceType> resourceTypes()

Get the resourceTypes property: The collection of provider resource types.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

fromJson

public static Provider fromJson(JsonReader jsonReader)

Reads an instance of Provider from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of Provider 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 Provider.

id

public String id()

Get the id property: The provider ID.

Returns:

the id value.

namespace

public String namespace()

Get the namespace property: The namespace of the resource provider.

Returns:

the namespace value.

providerAuthorizationConsentState

public ProviderAuthorizationConsentState providerAuthorizationConsentState()

Get the providerAuthorizationConsentState property: The provider authorization consent state.

Returns:

the providerAuthorizationConsentState value.

registrationPolicy

public String registrationPolicy()

Get the registrationPolicy property: The registration policy of the resource provider.

Returns:

the registrationPolicy value.

registrationState

public String registrationState()

Get the registrationState property: The registration state of the resource provider.

Returns:

the registrationState value.

resourceTypes

public List<ProviderResourceType> resourceTypes()

Get the resourceTypes property: The collection of provider resource types.

Returns:

the resourceTypes value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to