Interface WebPubSubHubsClient
public interface WebPubSubHubsClient
An instance of this class provides access to all the operations defined in WebPubSubHubsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WebPubSubHubInner>,
WebPubSubHubInner> beginCreateOrUpdate
(String hubName, String resourceGroupName, String resourceName, WebPubSubHubInner parameters) Create or update a hub setting.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WebPubSubHubInner>,
WebPubSubHubInner> beginCreateOrUpdate
(String hubName, String resourceGroupName, String resourceName, WebPubSubHubInner parameters, com.azure.core.util.Context context) Create or update a hub setting.beginDelete
(String hubName, String resourceGroupName, String resourceName) Delete a hub setting.beginDelete
(String hubName, String resourceGroupName, String resourceName, com.azure.core.util.Context context) Delete a hub setting.createOrUpdate
(String hubName, String resourceGroupName, String resourceName, WebPubSubHubInner parameters) Create or update a hub setting.createOrUpdate
(String hubName, String resourceGroupName, String resourceName, WebPubSubHubInner parameters, com.azure.core.util.Context context) Create or update a hub setting.void
Delete a hub setting.void
delete
(String hubName, String resourceGroupName, String resourceName, com.azure.core.util.Context context) Delete a hub setting.Get a hub setting.com.azure.core.http.rest.Response<WebPubSubHubInner>
getWithResponse
(String hubName, String resourceGroupName, String resourceName, com.azure.core.util.Context context) Get a hub setting.com.azure.core.http.rest.PagedIterable<WebPubSubHubInner>
List hub settings.com.azure.core.http.rest.PagedIterable<WebPubSubHubInner>
List hub settings.
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<WebPubSubHubInner> list(String resourceGroupName, String resourceName) List hub settings.- 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:
- hub setting list as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<WebPubSubHubInner> list(String resourceGroupName, String resourceName, com.azure.core.util.Context context) List hub settings.- 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:
- hub setting list as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponse
com.azure.core.http.rest.Response<WebPubSubHubInner> getWithResponse(String hubName, String resourceGroupName, String resourceName, com.azure.core.util.Context context) Get a hub setting.- Parameters:
hubName
- The hub name.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:
- a hub setting along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
get
Get a hub setting.- Parameters:
hubName
- The hub name.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:
- a hub setting.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WebPubSubHubInner>,WebPubSubHubInner> beginCreateOrUpdate(String hubName, String resourceGroupName, String resourceName, WebPubSubHubInner parameters) Create or update a hub setting.- Parameters:
hubName
- The hub name.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
- The resource of WebPubSubHub and its properties.- Returns:
- the
SyncPoller
for polling of a hub setting. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WebPubSubHubInner>,WebPubSubHubInner> beginCreateOrUpdate(String hubName, String resourceGroupName, String resourceName, WebPubSubHubInner parameters, com.azure.core.util.Context context) Create or update a hub setting.- Parameters:
hubName
- The hub name.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
- The resource of WebPubSubHub and its properties.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of a hub setting. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
WebPubSubHubInner createOrUpdate(String hubName, String resourceGroupName, String resourceName, WebPubSubHubInner parameters) Create or update a hub setting.- Parameters:
hubName
- The hub name.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
- The resource of WebPubSubHub and its properties.- Returns:
- a hub setting.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
WebPubSubHubInner createOrUpdate(String hubName, String resourceGroupName, String resourceName, WebPubSubHubInner parameters, com.azure.core.util.Context context) Create or update a hub setting.- Parameters:
hubName
- The hub name.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
- The resource of WebPubSubHub and its properties.context
- The context to associate with this operation.- Returns:
- a hub setting.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String hubName, String resourceGroupName, String resourceName) Delete a hub setting.- Parameters:
hubName
- The hub name.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
SyncPoller
for polling of long-running operation. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String hubName, String resourceGroupName, String resourceName, com.azure.core.util.Context context) Delete a hub setting.- Parameters:
hubName
- The hub name.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
SyncPoller
for polling of long-running operation. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
delete
Delete a hub setting.- Parameters:
hubName
- The hub name.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.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
delete
void delete(String hubName, String resourceGroupName, String resourceName, com.azure.core.util.Context context) Delete a hub setting.- Parameters:
hubName
- The hub name.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.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-