Subscriptions Interface
Implements
public interface Subscriptions
extends com.microsoft.azure.arm.collection.SupportsCreating<Blank>, com.microsoft.azure.arm.model.HasInner<com.microsoft.azure.management.apimanagement.v2019_01_01.implementation.SubscriptionsInner>
Type representing Subscriptions.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| abstract rx.Completable |
deleteAsync(String resourceGroupName, String serviceName, String sid, String ifMatch)
Deletes the specified subscription. |
|
abstract
rx.Observable<Product |
getAsync(String resourceGroupName, String serviceName, String sid)
Gets the specified Subscription entity. |
| abstract rx.Completable |
getEntityTagAsync(String resourceGroupName, String serviceName, String sid)
Gets the entity state (Etag) version of the apimanagement subscription specified by its identifier. |
|
abstract
rx.Observable<Product |
listAsync(String resourceGroupName, String serviceName)
Lists all subscriptions of the API Management service instance. |
| abstract rx.Completable |
regeneratePrimaryKeyAsync(String resourceGroupName, String serviceName, String sid)
Regenerates primary key of existing subscription of the API Management service instance. |
| abstract rx.Completable |
regenerateSecondaryKeyAsync(String resourceGroupName, String serviceName, String sid)
Regenerates secondary key of existing subscription of the API Management service instance. |
Method Details
deleteAsync
public abstract Completable deleteAsync(String resourceGroupName, String serviceName, String sid, String ifMatch)
Deletes the specified subscription.
Parameters:
Returns:
getAsync
public abstract Observable<ProductSubscriptionContract> getAsync(String resourceGroupName, String serviceName, String sid)
Gets the specified Subscription entity.
Parameters:
Returns:
getEntityTagAsync
public abstract Completable getEntityTagAsync(String resourceGroupName, String serviceName, String sid)
Gets the entity state (Etag) version of the apimanagement subscription specified by its identifier.
Parameters:
Returns:
listAsync
public abstract Observable<ProductSubscriptionContract> listAsync(String resourceGroupName, String serviceName)
Lists all subscriptions of the API Management service instance.
Parameters:
Returns:
regeneratePrimaryKeyAsync
public abstract Completable regeneratePrimaryKeyAsync(String resourceGroupName, String serviceName, String sid)
Regenerates primary key of existing subscription of the API Management service instance.
Parameters:
Returns:
regenerateSecondaryKeyAsync
public abstract Completable regenerateSecondaryKeyAsync(String resourceGroupName, String serviceName, String sid)
Regenerates secondary key of existing subscription of the API Management service instance.
Parameters:
Returns: