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 authorization |
abstract String |
displayName()
Gets the display |
abstract String |
id()
Gets the id property: The fully qualified ID for the subscription. |
abstract
Subscription |
innerModel()
Gets the inner com. |
abstract
Subscription |
state()
Gets the state property: The subscription state. |
abstract String |
subscriptionId()
Gets the subscription |
abstract
Subscription |
subscriptionPolicies()
Gets the subscription |
abstract Map<String,String> |
tags()
Gets the tags property: Tags for the subscription. |
abstract String |
tenantId()
Gets the tenant |
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:
displayName
public abstract String displayName()
Gets the displayName property: The subscription display name.
Returns:
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:
innerModel
public abstract SubscriptionInner innerModel()
Gets the inner com.azure.resourcemanager.subscription.fluent.models.SubscriptionInner object.
Returns:
state
public abstract SubscriptionState state()
Gets the state property: The subscription state. Possible values are Enabled, Warned, PastDue, Disabled, and Deleted.
Returns:
subscriptionId
public abstract String subscriptionId()
Gets the subscriptionId property: The subscription ID.
Returns:
subscriptionPolicies
public abstract SubscriptionPolicies subscriptionPolicies()
Gets the subscriptionPolicies property: The subscription policies.
Returns:
tags
public abstract Map
Gets the tags property: Tags for the subscription.
Returns:
tenantId
public abstract String tenantId()
Gets the tenantId property: The tenant ID. For example, 00000000-0000-0000-0000-000000000000.
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for