Subscription Interface

public interface Subscription

An immutable client-side representation of Subscription.

Method Summary

Modifier and Type Method and Description
abstract String authorizationSource()

Gets the authorizationSource property: The authorization source of the request.

abstract String displayName()

Gets the displayName property: The subscription display name.

abstract String id()

Gets the id property: The fully qualified ID for the subscription.

abstract SubscriptionInner innerModel()

Gets the inner com.azure.resourcemanager.subscription.fluent.models.SubscriptionInner object.

abstract SubscriptionState state()

Gets the state property: The subscription state.

abstract String subscriptionId()

Gets the subscriptionId property: The subscription ID.

abstract SubscriptionPolicies subscriptionPolicies()

Gets the subscriptionPolicies property: The subscription policies.

abstract Map<String,String> tags()

Gets the tags property: Tags for the subscription.

abstract String tenantId()

Gets the tenantId property: The tenant ID.

Method Details

authorizationSource

public abstract String authorizationSource()

Gets the authorizationSource property: The authorization source of the request. Valid values are one or more combinations of Legacy, RoleBased, Bypassed, Direct and Management. For example, 'Legacy, RoleBased'.

Returns:

the authorizationSource value.

displayName

public abstract String displayName()

Gets the displayName property: The subscription display name.

Returns:

the displayName value.

id

public abstract String id()

Gets the id property: The fully qualified ID for the subscription. For example, /subscriptions/00000000-0000-0000-0000-000000000000.

Returns:

the id value.

innerModel

public abstract SubscriptionInner innerModel()

Gets the inner com.azure.resourcemanager.subscription.fluent.models.SubscriptionInner object.

Returns:

the inner object.

state

public abstract SubscriptionState state()

Gets the state property: The subscription state. Possible values are Enabled, Warned, PastDue, Disabled, and Deleted.

Returns:

the state value.

subscriptionId

public abstract String subscriptionId()

Gets the subscriptionId property: The subscription ID.

Returns:

the subscriptionId value.

subscriptionPolicies

public abstract SubscriptionPolicies subscriptionPolicies()

Gets the subscriptionPolicies property: The subscription policies.

Returns:

the subscriptionPolicies value.

tags

public abstract Map tags()

Gets the tags property: Tags for the subscription.

Returns:

the tags value.

tenantId

public abstract String tenantId()

Gets the tenantId property: The tenant ID. For example, 00000000-0000-0000-0000-000000000000.

Returns:

the tenantId value.

Applies to