WebPubSubs Interface
public interface WebPubSubs
Resource collection API of WebPubSubs.
Method Summary
Method Details
checkNameAvailability
public abstract NameAvailability checkNameAvailability(String location, NameAvailabilityParameters parameters)
Checks that the resource name is valid and is not already in use.
Parameters:
Returns:
checkNameAvailabilityWithResponse
public abstract Response<NameAvailability> checkNameAvailabilityWithResponse(String location, NameAvailabilityParameters parameters, Context context)
Checks that the resource name is valid and is not already in use.
Parameters:
Returns:
define
public abstract WebPubSubResource.DefinitionStages.Blank define(String name)
Begins definition for a new WebPubSubResource resource.
Parameters:
Returns:
delete
public abstract void delete(String resourceGroupName, String resourceName, Context context)
Operation to delete a resource.
Parameters:
deleteById
public abstract void deleteById(String id)
Operation to delete a resource.
Parameters:
deleteByIdWithResponse
public abstract void deleteByIdWithResponse(String id, Context context)
Operation to delete a resource.
Parameters:
deleteByResourceGroup
public abstract void deleteByResourceGroup(String resourceGroupName, String resourceName)
Operation to delete a resource.
Parameters:
getById
public abstract WebPubSubResource getById(String id)
Get the resource and its properties.
Parameters:
Returns:
getByIdWithResponse
public abstract Response<WebPubSubResource> getByIdWithResponse(String id, Context context)
Get the resource and its properties.
Parameters:
Returns:
getByResourceGroup
public abstract WebPubSubResource getByResourceGroup(String resourceGroupName, String resourceName)
Get the resource and its properties.
Parameters:
Returns:
getByResourceGroupWithResponse
public abstract Response<WebPubSubResource> getByResourceGroupWithResponse(String resourceGroupName, String resourceName, Context context)
Get the resource and its properties.
Parameters:
Returns:
list
public abstract PagedIterable<WebPubSubResource> list()
Handles requests to list all resources in a subscription.
Returns:
list
public abstract PagedIterable<WebPubSubResource> list(Context context)
Handles requests to list all resources in a subscription.
Parameters:
Returns:
listByResourceGroup
public abstract PagedIterable<WebPubSubResource> listByResourceGroup(String resourceGroupName)
Handles requests to list all resources in a resource group.
Parameters:
Returns:
listByResourceGroup
public abstract PagedIterable<WebPubSubResource> listByResourceGroup(String resourceGroupName, Context context)
Handles requests to list all resources in a resource group.
Parameters:
Returns:
listKeys
public abstract WebPubSubKeys listKeys(String resourceGroupName, String resourceName)
Get the access keys of the resource.
Parameters:
Returns:
listKeysWithResponse
public abstract Response<WebPubSubKeys> listKeysWithResponse(String resourceGroupName, String resourceName, Context context)
Get the access keys of the resource.
Parameters:
Returns:
listReplicaSkus
public abstract SkuList listReplicaSkus(String resourceGroupName, String resourceName, String replicaName)
List all available skus of the replica resource.
Parameters:
Returns:
listReplicaSkusWithResponse
public abstract Response<SkuList> listReplicaSkusWithResponse(String resourceGroupName, String resourceName, String replicaName, Context context)
List all available skus of the replica resource.
Parameters:
Returns:
listSkus
public abstract SkuList listSkus(String resourceGroupName, String resourceName)
List all available skus of the resource.
Parameters:
Returns:
listSkusWithResponse
public abstract Response<SkuList> listSkusWithResponse(String resourceGroupName, String resourceName, Context context)
List all available skus of the resource.
Parameters:
Returns:
regenerateKey
public abstract WebPubSubKeys regenerateKey(String resourceGroupName, String resourceName, RegenerateKeyParameters parameters)
Regenerate the access key for the resource. PrimaryKey and SecondaryKey cannot be regenerated at the same time.
Parameters:
Returns:
regenerateKey
public abstract WebPubSubKeys regenerateKey(String resourceGroupName, String resourceName, RegenerateKeyParameters parameters, Context context)
Regenerate the access key for the resource. PrimaryKey and SecondaryKey cannot be regenerated at the same time.
Parameters:
Returns:
restart
public abstract void restart(String resourceGroupName, String resourceName)
Operation to restart a resource.
Parameters:
restart
public abstract void restart(String resourceGroupName, String resourceName, Context context)
Operation to restart a resource.
Parameters: