ProviderInner Class
- java.
lang. Object - com.
azure. resourcemanager. resources. fluent. models. ProviderInner
- com.
Implements
public final class ProviderInner
implements JsonSerializable<ProviderInner>
Resource provider information.
Constructor Summary
Constructor | Description |
---|---|
ProviderInner() |
Creates an instance of Provider |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Provider |
fromJson(JsonReader jsonReader)
Reads an instance of Provider |
String |
id()
Get the id property: The provider ID. |
String |
namespace()
Get the namespace property: The namespace of the resource provider. |
Provider |
providerAuthorizationConsentState()
Get the provider |
String |
registrationPolicy()
Get the registration |
String |
registrationState()
Get the registration |
List<Provider |
resourceTypes()
Get the resource |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Provider |
withNamespace(String namespace)
Set the namespace property: The namespace of the resource provider. |
Provider |
withProviderAuthorizationConsentState(ProviderAuthorizationConsentState providerAuthorizationConsentState)
Set the provider |
Methods inherited from java.lang.Object
Constructor Details
ProviderInner
public ProviderInner()
Creates an instance of ProviderInner class.
Method Details
fromJson
public static ProviderInner fromJson(JsonReader jsonReader)
Reads an instance of ProviderInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: The provider ID.
Returns:
namespace
public String namespace()
Get the namespace property: The namespace of the resource provider.
Returns:
providerAuthorizationConsentState
public ProviderAuthorizationConsentState providerAuthorizationConsentState()
Get the providerAuthorizationConsentState property: The provider authorization consent state.
Returns:
registrationPolicy
public String registrationPolicy()
Get the registrationPolicy property: The registration policy of the resource provider.
Returns:
registrationState
public String registrationState()
Get the registrationState property: The registration state of the resource provider.
Returns:
resourceTypes
public List
Get the resourceTypes property: The collection of provider resource types.
Returns:
toJson
validate
public void validate()
Validates the instance.
withNamespace
public ProviderInner withNamespace(String namespace)
Set the namespace property: The namespace of the resource provider.
Parameters:
Returns:
withProviderAuthorizationConsentState
public ProviderInner withProviderAuthorizationConsentState(ProviderAuthorizationConsentState providerAuthorizationConsentState)
Set the providerAuthorizationConsentState property: The provider authorization consent state.
Parameters:
Returns:
Applies to
Azure SDK for Java