SignalRs Interface

public interface SignalRs

Resource collection API of SignalRs.

Method Summary

Modifier and Type Method and Description
abstract NameAvailability checkNameAvailability(String location, NameAvailabilityParameters parameters)

Checks that the resource name is valid and is not already in use.

abstract Response<NameAvailability> checkNameAvailabilityWithResponse(String location, NameAvailabilityParameters parameters, Context context)

Checks that the resource name is valid and is not already in use.

abstract Blank define(String name)

Begins definition for a new SignalRResource resource.

abstract void delete(String resourceGroupName, String resourceName, Context context)

Operation to delete a resource.

abstract void deleteById(String id)

Operation to delete a resource.

abstract void deleteByIdWithResponse(String id, Context context)

Operation to delete a resource.

abstract void deleteByResourceGroup(String resourceGroupName, String resourceName)

Operation to delete a resource.

abstract SignalRResource getById(String id)

Get the resource and its properties.

abstract Response<SignalRResource> getByIdWithResponse(String id, Context context)

Get the resource and its properties.

abstract SignalRResource getByResourceGroup(String resourceGroupName, String resourceName)

Get the resource and its properties.

abstract Response<SignalRResource> getByResourceGroupWithResponse(String resourceGroupName, String resourceName, Context context)

Get the resource and its properties.

abstract PagedIterable<SignalRResource> list()

Handles requests to list all resources in a subscription.

abstract PagedIterable<SignalRResource> list(Context context)

Handles requests to list all resources in a subscription.

abstract PagedIterable<SignalRResource> listByResourceGroup(String resourceGroupName)

Handles requests to list all resources in a resource group.

abstract PagedIterable<SignalRResource> listByResourceGroup(String resourceGroupName, Context context)

Handles requests to list all resources in a resource group.

abstract SignalRKeys listKeys(String resourceGroupName, String resourceName)

Get the access keys of the resource.

abstract Response<SignalRKeys> listKeysWithResponse(String resourceGroupName, String resourceName, Context context)

Get the access keys of the resource.

abstract SkuList listSkus(String resourceGroupName, String resourceName)

List all available skus of the resource.

abstract Response<SkuList> listSkusWithResponse(String resourceGroupName, String resourceName, Context context)

List all available skus of the resource.

abstract SignalRKeys regenerateKey(String resourceGroupName, String resourceName, RegenerateKeyParameters parameters)

Regenerate the access key for the resource.

abstract SignalRKeys regenerateKey(String resourceGroupName, String resourceName, RegenerateKeyParameters parameters, Context context)

Regenerate the access key for the resource.

abstract void restart(String resourceGroupName, String resourceName)

Operation to restart a resource.

abstract void restart(String resourceGroupName, String resourceName, Context context)

Operation to restart a resource.

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:

location - the region.
parameters - Parameters supplied to the operation.

Returns:

result of the request to check name availability.

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:

location - the region.
parameters - Parameters supplied to the operation.
context - The context to associate with this operation.

Returns:

result of the request to check name availability along with Response<T>.

define

public abstract SignalRResource.DefinitionStages.Blank define(String name)

Begins definition for a new SignalRResource resource.

Parameters:

name - resource name.

Returns:

the first stage of the new SignalRResource definition.

delete

public abstract void delete(String resourceGroupName, String resourceName, Context context)

Operation to delete a resource.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
resourceName - The name of the resource.
context - The context to associate with this operation.

deleteById

public abstract void deleteById(String id)

Operation to delete a resource.

Parameters:

id - the resource ID.

deleteByIdWithResponse

public abstract void deleteByIdWithResponse(String id, Context context)

Operation to delete a resource.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

deleteByResourceGroup

public abstract void deleteByResourceGroup(String resourceGroupName, String resourceName)

Operation to delete a resource.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
resourceName - The name of the resource.

getById

public abstract SignalRResource getById(String id)

Get the resource and its properties.

Parameters:

id - the resource ID.

Returns:

the resource and its properties along with Response<T>.

getByIdWithResponse

public abstract Response<SignalRResource> getByIdWithResponse(String id, Context context)

Get the resource and its properties.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

Returns:

the resource and its properties along with Response<T>.

getByResourceGroup

public abstract SignalRResource getByResourceGroup(String resourceGroupName, String resourceName)

Get the resource and its properties.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
resourceName - The name of the resource.

Returns:

the resource and its properties.

getByResourceGroupWithResponse

public abstract Response<SignalRResource> getByResourceGroupWithResponse(String resourceGroupName, String resourceName, Context context)

Get the resource and its properties.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
resourceName - The name of the resource.
context - The context to associate with this operation.

Returns:

the resource and its properties along with Response<T>.

list

public abstract PagedIterable<SignalRResource> list()

Handles requests to list all resources in a subscription.

Returns:

object that includes an array of resources and a possible link for next set as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<SignalRResource> list(Context context)

Handles requests to list all resources in a subscription.

Parameters:

context - The context to associate with this operation.

Returns:

object that includes an array of resources and a possible link for next set as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable<SignalRResource> listByResourceGroup(String resourceGroupName)

Handles requests to list all resources in a resource group.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

Returns:

object that includes an array of resources and a possible link for next set as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable<SignalRResource> listByResourceGroup(String resourceGroupName, Context context)

Handles requests to list all resources in a resource group.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
context - The context to associate with this operation.

Returns:

object that includes an array of resources and a possible link for next set as paginated response with PagedIterable<T>.

listKeys

public abstract SignalRKeys listKeys(String resourceGroupName, String resourceName)

Get the access keys of the resource.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
resourceName - The name of the resource.

Returns:

the access keys of the resource.

listKeysWithResponse

public abstract Response<SignalRKeys> listKeysWithResponse(String resourceGroupName, String resourceName, Context context)

Get the access keys of the resource.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
resourceName - The name of the resource.
context - The context to associate with this operation.

Returns:

the access keys of the resource along with Response<T>.

listSkus

public abstract SkuList listSkus(String resourceGroupName, String resourceName)

List all available skus of the resource.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
resourceName - The name of the resource.

Returns:

the list skus operation response.

listSkusWithResponse

public abstract Response<SkuList> listSkusWithResponse(String resourceGroupName, String resourceName, Context context)

List all available skus of the resource.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
resourceName - The name of the resource.
context - The context to associate with this operation.

Returns:

the list skus operation response along with Response<T>.

regenerateKey

public abstract SignalRKeys 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:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
resourceName - The name of the resource.
parameters - Parameter that describes the Regenerate Key Operation.

Returns:

a class represents the access keys of the resource.

regenerateKey

public abstract SignalRKeys 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:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
resourceName - The name of the resource.
parameters - Parameter that describes the Regenerate Key Operation.
context - The context to associate with this operation.

Returns:

a class represents the access keys of the resource.

restart

public abstract void restart(String resourceGroupName, String resourceName)

Operation to restart a resource.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
resourceName - The name of the resource.

restart

public abstract void restart(String resourceGroupName, String resourceName, Context context)

Operation to restart a resource.

Parameters:

resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
resourceName - The name of the resource.
context - The context to associate with this operation.

Applies to