Interface Subscription
public interface Subscription
An immutable client-side representation of Subscription.
-
Method Summary
Modifier and TypeMethodDescriptionGets the authorizationSource property: The authorization source of the request.Gets the displayName property: The subscription display name.id()
Gets the id property: The fully qualified ID for the subscription.Gets the inner com.azure.resourcemanager.subscription.fluent.models.SubscriptionInner object.state()
Gets the state property: The subscription state.Gets the subscriptionId property: The subscription ID.Gets the subscriptionPolicies property: The subscription policies.tags()
Gets the tags property: Tags for the subscription.tenantId()
Gets the tenantId property: The tenant ID.
-
Method Details
-
id
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.
-
subscriptionId
String subscriptionId()Gets the subscriptionId property: The subscription ID.- Returns:
- the subscriptionId value.
-
displayName
String displayName()Gets the displayName property: The subscription display name.- Returns:
- the displayName value.
-
state
SubscriptionState state()Gets the state property: The subscription state. Possible values are Enabled, Warned, PastDue, Disabled, and Deleted.- Returns:
- the state value.
-
tenantId
String tenantId()Gets the tenantId property: The tenant ID. For example, 00000000-0000-0000-0000-000000000000.- Returns:
- the tenantId value.
-
tags
Gets the tags property: Tags for the subscription.- Returns:
- the tags value.
-
subscriptionPolicies
SubscriptionPolicies subscriptionPolicies()Gets the subscriptionPolicies property: The subscription policies.- Returns:
- the subscriptionPolicies value.
-
authorizationSource
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.
-
innerModel
SubscriptionInner innerModel()Gets the inner com.azure.resourcemanager.subscription.fluent.models.SubscriptionInner object.- Returns:
- the inner object.
-