public final class SubscriptionInner extends Object
| Constructor and Description |
|---|
SubscriptionInner() |
| Modifier and Type | Method and Description |
|---|---|
String |
authorizationSource()
Get the authorizationSource property: The authorization source of the request.
|
String |
displayName()
Get the displayName property: The subscription display name.
|
String |
id()
Get the id property: The fully qualified ID for the subscription.
|
List<ManagedByTenant> |
managedByTenants()
Get the managedByTenants property: An array containing the tenants managing the subscription.
|
SubscriptionState |
state()
Get the state property: The subscription state.
|
String |
subscriptionId()
Get the subscriptionId property: The subscription ID.
|
SubscriptionPolicies |
subscriptionPolicies()
Get the subscriptionPolicies property: The subscription policies.
|
Map<String,String> |
tags()
Get the tags property: The tags attached to the subscription.
|
String |
tenantId()
Get the tenantId property: The subscription tenant ID.
|
void |
validate()
Validates the instance.
|
SubscriptionInner |
withAuthorizationSource(String authorizationSource)
Set the authorizationSource property: The authorization source of the request.
|
SubscriptionInner |
withManagedByTenants(List<ManagedByTenant> managedByTenants)
Set the managedByTenants property: An array containing the tenants managing the subscription.
|
SubscriptionInner |
withSubscriptionPolicies(SubscriptionPolicies subscriptionPolicies)
Set the subscriptionPolicies property: The subscription policies.
|
SubscriptionInner |
withTags(Map<String,String> tags)
Set the tags property: The tags attached to the subscription.
|
public String id()
public String subscriptionId()
public String displayName()
public String tenantId()
public SubscriptionState state()
public SubscriptionPolicies subscriptionPolicies()
public SubscriptionInner withSubscriptionPolicies(SubscriptionPolicies subscriptionPolicies)
subscriptionPolicies - the subscriptionPolicies value to set.public String authorizationSource()
public SubscriptionInner withAuthorizationSource(String authorizationSource)
authorizationSource - the authorizationSource value to set.public List<ManagedByTenant> managedByTenants()
public SubscriptionInner withManagedByTenants(List<ManagedByTenant> managedByTenants)
managedByTenants - the managedByTenants value to set.public Map<String,String> tags()
public SubscriptionInner withTags(Map<String,String> tags)
tags - the tags value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.