WebPubSubCustomDomains Interface

public interface WebPubSubCustomDomains

Resource collection API of WebPubSubCustomDomains.

Method Summary

Modifier and Type Method and Description
abstract Blank define(String name)

Begins definition for a new CustomDomain resource.

abstract void delete(String resourceGroupName, String resourceName, String name)

Delete a custom domain.

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

Delete a custom domain.

abstract void deleteById(String id)

Delete a custom domain.

abstract void deleteByIdWithResponse(String id, Context context)

Delete a custom domain.

abstract CustomDomain get(String resourceGroupName, String resourceName, String name)

Get a custom domain.

abstract CustomDomain getById(String id)

Get a custom domain.

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

Get a custom domain.

abstract Response<CustomDomain> getWithResponse(String resourceGroupName, String resourceName, String name, Context context)

Get a custom domain.

abstract PagedIterable<CustomDomain> list(String resourceGroupName, String resourceName)

List all custom domains.

abstract PagedIterable<CustomDomain> list(String resourceGroupName, String resourceName, Context context)

List all custom domains.

Method Details

define

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

Begins definition for a new CustomDomain resource.

Parameters:

name - resource name.

Returns:

the first stage of the new CustomDomain definition.

delete

public abstract void delete(String resourceGroupName, String resourceName, String name)

Delete a custom domain.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the resource.
name - Custom domain name.

delete

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

Delete a custom domain.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the resource.
name - Custom domain name.
context - The context to associate with this operation.

deleteById

public abstract void deleteById(String id)

Delete a custom domain.

Parameters:

id - the resource ID.

deleteByIdWithResponse

public abstract void deleteByIdWithResponse(String id, Context context)

Delete a custom domain.

Parameters:

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

get

public abstract CustomDomain get(String resourceGroupName, String resourceName, String name)

Get a custom domain.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the resource.
name - Custom domain name.

Returns:

a custom domain.

getById

public abstract CustomDomain getById(String id)

Get a custom domain.

Parameters:

id - the resource ID.

Returns:

a custom domain along with Response<T>.

getByIdWithResponse

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

Get a custom domain.

Parameters:

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

Returns:

a custom domain along with Response<T>.

getWithResponse

public abstract Response<CustomDomain> getWithResponse(String resourceGroupName, String resourceName, String name, Context context)

Get a custom domain.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the resource.
name - Custom domain name.
context - The context to associate with this operation.

Returns:

a custom domain along with Response<T>.

list

public abstract PagedIterable<CustomDomain> list(String resourceGroupName, String resourceName)

List all custom domains.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the resource.

Returns:

custom domains list as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<CustomDomain> list(String resourceGroupName, String resourceName, Context context)

List all custom domains.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
resourceName - The name of the resource.
context - The context to associate with this operation.

Returns:

custom domains list as paginated response with PagedIterable<T>.

Applies to