Class ResourceUsageRecordCollectionOperations
java.lang.Object
com.microsoft.store.partnercenter.BasePartnerComponent<Tuple<String,String>>
com.microsoft.store.partnercenter.usage.ResourceUsageRecordCollectionOperations
- All Implemented Interfaces:
IEntireEntityCollectionRetrievalOperations<AzureResourceMonthlyUsageRecord,ResourceCollection<AzureResourceMonthlyUsageRecord>>,IPartnerComponent<Tuple<String,String>>,IResourceUsageRecordCollection
public class ResourceUsageRecordCollectionOperations extends BasePartnerComponent<Tuple<String,String>> implements IResourceUsageRecordCollection
Implements operations related to a single subscription resource usage records.
-
Constructor Summary
Constructors Constructor Description ResourceUsageRecordCollectionOperations(IPartner rootPartnerOperations, String customerId, String subscriptionId)Initializes a new instance of the ResourceUsageRecordCollectionOperations class. -
Method Summary
Modifier and Type Method Description ResourceCollection<AzureResourceMonthlyUsageRecord>get()Retrieves the subscription usage records.Methods inherited from class com.microsoft.store.partnercenter.BasePartnerComponent
getContext, getPartnerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.microsoft.store.partnercenter.IPartnerComponent
getContext, getPartner
-
Constructor Details
-
ResourceUsageRecordCollectionOperations
public ResourceUsageRecordCollectionOperations(IPartner rootPartnerOperations, String customerId, String subscriptionId)Initializes a new instance of the ResourceUsageRecordCollectionOperations class.- Parameters:
rootPartnerOperations- The root partner operations instance.customerId- The customer identifier.subscriptionId- The subscription identifier
-
-
Method Details
-
get
Retrieves the subscription usage records.- Specified by:
getin interfaceIEntireEntityCollectionRetrievalOperations<AzureResourceMonthlyUsageRecord,ResourceCollection<AzureResourceMonthlyUsageRecord>>- Specified by:
getin interfaceIResourceUsageRecordCollection- Returns:
- Collection of subscription usage records.
-