ProviderInner Class

  • java.lang.Object
    • com.azure.resourcemanager.resources.fluent.models.ProviderInner

Implements

public final class ProviderInner
implements JsonSerializable<ProviderInner>

Resource provider information.

Method Summary

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

Reads an instance of ProviderInner 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)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

fromJson

public static ProviderInner fromJson(JsonReader jsonReader)

Reads an instance of ProviderInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

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:

validate

public void validate()

Validates the instance.

Applies to