Compartilhar via


SubscriptionFeatureRegistrationProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.resources.models.SubscriptionFeatureRegistrationProperties

Implements

public final class SubscriptionFeatureRegistrationProperties
implements JsonSerializable<SubscriptionFeatureRegistrationProperties>

The SubscriptionFeatureRegistrationProperties model.

Constructor Summary

Constructor Description
SubscriptionFeatureRegistrationProperties()

Creates an instance of SubscriptionFeatureRegistrationProperties class.

Method Summary

Modifier and Type Method and Description
SubscriptionFeatureRegistrationApprovalType approvalType()

Get the approvalType property: The feature approval type.

AuthorizationProfile authorizationProfile()

Get the authorizationProfile property: Authorization Profile.

String description()

Get the description property: The feature description.

String displayName()

Get the displayName property: The featureDisplayName.

String documentationLink()

Get the documentationLink property: The feature documentation link.

String featureName()

Get the featureName property: The featureName.

static SubscriptionFeatureRegistrationProperties fromJson(JsonReader jsonReader)

Reads an instance of SubscriptionFeatureRegistrationProperties from the JsonReader.

Map<String,String> metadata()

Get the metadata property: Key-value pairs for meta data.

String providerNamespace()

Get the providerNamespace property: The providerNamespace.

OffsetDateTime registrationDate()

Get the registrationDate property: The feature registration date.

OffsetDateTime releaseDate()

Get the releaseDate property: The feature release date.

Boolean shouldFeatureDisplayInPortal()

Get the shouldFeatureDisplayInPortal property: Indicates whether feature should be displayed in Portal.

SubscriptionFeatureRegistrationState state()

Get the state property: The state.

String subscriptionId()

Get the subscriptionId property: The subscriptionId.

String tenantId()

Get the tenantId property: The tenantId.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

SubscriptionFeatureRegistrationProperties withAuthorizationProfile(AuthorizationProfile authorizationProfile)

Set the authorizationProfile property: Authorization Profile.

SubscriptionFeatureRegistrationProperties withDescription(String description)

Set the description property: The feature description.

SubscriptionFeatureRegistrationProperties withMetadata(Map<String,String> metadata)

Set the metadata property: Key-value pairs for meta data.

SubscriptionFeatureRegistrationProperties withShouldFeatureDisplayInPortal(Boolean shouldFeatureDisplayInPortal)

Set the shouldFeatureDisplayInPortal property: Indicates whether feature should be displayed in Portal.

SubscriptionFeatureRegistrationProperties withState(SubscriptionFeatureRegistrationState state)

Set the state property: The state.

Methods inherited from java.lang.Object

Constructor Details

SubscriptionFeatureRegistrationProperties

public SubscriptionFeatureRegistrationProperties()

Creates an instance of SubscriptionFeatureRegistrationProperties class.

Method Details

approvalType

public SubscriptionFeatureRegistrationApprovalType approvalType()

Get the approvalType property: The feature approval type.

Returns:

the approvalType value.

authorizationProfile

public AuthorizationProfile authorizationProfile()

Get the authorizationProfile property: Authorization Profile.

Returns:

the authorizationProfile value.

description

public String description()

Get the description property: The feature description.

Returns:

the description value.

displayName

public String displayName()

Get the displayName property: The featureDisplayName.

Returns:

the displayName value.

documentationLink

public String documentationLink()

Get the documentationLink property: The feature documentation link.

Returns:

the documentationLink value.

featureName

public String featureName()

Get the featureName property: The featureName.

Returns:

the featureName value.

fromJson

public static SubscriptionFeatureRegistrationProperties fromJson(JsonReader jsonReader)

Reads an instance of SubscriptionFeatureRegistrationProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

metadata

public Map metadata()

Get the metadata property: Key-value pairs for meta data.

Returns:

the metadata value.

providerNamespace

public String providerNamespace()

Get the providerNamespace property: The providerNamespace.

Returns:

the providerNamespace value.

registrationDate

public OffsetDateTime registrationDate()

Get the registrationDate property: The feature registration date.

Returns:

the registrationDate value.

releaseDate

public OffsetDateTime releaseDate()

Get the releaseDate property: The feature release date.

Returns:

the releaseDate value.

shouldFeatureDisplayInPortal

public Boolean shouldFeatureDisplayInPortal()

Get the shouldFeatureDisplayInPortal property: Indicates whether feature should be displayed in Portal.

Returns:

the shouldFeatureDisplayInPortal value.

state

public SubscriptionFeatureRegistrationState state()

Get the state property: The state.

Returns:

the state value.

subscriptionId

public String subscriptionId()

Get the subscriptionId property: The subscriptionId.

Returns:

the subscriptionId value.

tenantId

public String tenantId()

Get the tenantId property: The tenantId.

Returns:

the tenantId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAuthorizationProfile

public SubscriptionFeatureRegistrationProperties withAuthorizationProfile(AuthorizationProfile authorizationProfile)

Set the authorizationProfile property: Authorization Profile.

Parameters:

authorizationProfile - the authorizationProfile value to set.

Returns:

the SubscriptionFeatureRegistrationProperties object itself.

withDescription

public SubscriptionFeatureRegistrationProperties withDescription(String description)

Set the description property: The feature description.

Parameters:

description - the description value to set.

Returns:

the SubscriptionFeatureRegistrationProperties object itself.

withMetadata

public SubscriptionFeatureRegistrationProperties withMetadata(Map metadata)

Set the metadata property: Key-value pairs for meta data.

Parameters:

metadata - the metadata value to set.

Returns:

the SubscriptionFeatureRegistrationProperties object itself.

withShouldFeatureDisplayInPortal

public SubscriptionFeatureRegistrationProperties withShouldFeatureDisplayInPortal(Boolean shouldFeatureDisplayInPortal)

Set the shouldFeatureDisplayInPortal property: Indicates whether feature should be displayed in Portal.

Parameters:

shouldFeatureDisplayInPortal - the shouldFeatureDisplayInPortal value to set.

Returns:

the SubscriptionFeatureRegistrationProperties object itself.

withState

public SubscriptionFeatureRegistrationProperties withState(SubscriptionFeatureRegistrationState state)

Set the state property: The state.

Parameters:

state - the state value to set.

Returns:

the SubscriptionFeatureRegistrationProperties object itself.

Applies to