com.microsoft.azure.management.resources.Subscription Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-mgmt-resources Show documentation
Show all versions of azure-mgmt-resources Show documentation
This package contains Microsoft Azure Resource Management SDK.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/
package com.microsoft.azure.management.resources;
import com.microsoft.azure.PagedList;
import com.microsoft.azure.management.apigeneration.Fluent;
import com.microsoft.azure.management.resources.fluentcore.arm.Region;
import com.microsoft.azure.management.resources.fluentcore.model.Indexable;
import com.microsoft.azure.management.resources.fluentcore.model.HasInner;
import com.microsoft.azure.management.resources.implementation.SubscriptionInner;
import java.util.List;
/**
* An immutable client-side representation of an Azure subscription.
*/
@Fluent
public interface Subscription extends
Indexable,
HasInner {
/**
* @return the UUID of the subscription
*/
String subscriptionId();
/**
* @return the UUID of the subscription tenant
*/
String tenantId();
/**
* @return the name of the subscription for humans to read
*/
String displayName();
/**
* @return the state of the subscription.
*/
SubscriptionState state();
/**
* @return the policies defined in the subscription
*/
SubscriptionPolicies subscriptionPolicies();
/**
* @return the array containing the tenants managing the subscription
*/
List managedByTenants();
/**
* List the locations the subscription has access to.
*
* @return the lazy list of locations
*/
PagedList listLocations();
/**
* Gets the data center location for the specified region, if the selected subscription has access to it.
* @param region an Azure region
* @return an Azure data center location, or null if the location is not accessible to this subscription
*/
Location getLocationByRegion(Region region);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy