Interface Subscription


public interface Subscription
An immutable client-side representation of Subscription.
  • 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

      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

      Map<String,String> 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.