Class UsageRecordByResourceCollectionOperations
java.lang.Object
com.microsoft.store.partnercenter.BasePartnerComponent<Tuple<String,String>>
com.microsoft.store.partnercenter.usage.UsageRecordByResourceCollectionOperations
- All Implemented Interfaces:
IEntireEntityCollectionRetrievalOperations<ResourceUsageRecord,ResourceCollection<ResourceUsageRecord>>,IPartnerComponent<Tuple<String,String>>,IUsageRecordByResourceCollection
public class UsageRecordByResourceCollectionOperations extends BasePartnerComponent<Tuple<String,String>> implements IUsageRecordByResourceCollection
Implements operations related to a single subscription's meter usage records.
-
Constructor Summary
Constructors Constructor Description UsageRecordByResourceCollectionOperations(IPartner rootPartnerOperations, String customerId, String subscriptionId)Initializes a new instance of the UsageRecordByResourceCollectionOperations class. -
Method Summary
Modifier and Type Method Description ResourceCollection<ResourceUsageRecord>get()Gets the subscription's resource 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
-
UsageRecordByResourceCollectionOperations
public UsageRecordByResourceCollectionOperations(IPartner rootPartnerOperations, String customerId, String subscriptionId)Initializes a new instance of the UsageRecordByResourceCollectionOperations class.- Parameters:
rootPartnerOperations- The root partner operations instance.customerId- The customer identifier.subscriptionId- The subscription identifier.
-
-
Method Details
-
get
Gets the subscription's resource usage records.- Specified by:
getin interfaceIEntireEntityCollectionRetrievalOperations<ResourceUsageRecord,ResourceCollection<ResourceUsageRecord>>- Returns:
- The subscription's resource usage records.
-