Interface CommunicationsGatewaysClient
public interface CommunicationsGatewaysClient
An instance of this class provides access to all the operations defined in CommunicationsGatewaysClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<CommunicationsGatewayInner>,
CommunicationsGatewayInner> beginCreateOrUpdate
(String resourceGroupName, String communicationsGatewayName, CommunicationsGatewayInner resource) Create a CommunicationsGateway.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<CommunicationsGatewayInner>,
CommunicationsGatewayInner> beginCreateOrUpdate
(String resourceGroupName, String communicationsGatewayName, CommunicationsGatewayInner resource, com.azure.core.util.Context context) Create a CommunicationsGateway.beginDelete
(String resourceGroupName, String communicationsGatewayName) Delete a CommunicationsGateway.beginDelete
(String resourceGroupName, String communicationsGatewayName, com.azure.core.util.Context context) Delete a CommunicationsGateway.createOrUpdate
(String resourceGroupName, String communicationsGatewayName, CommunicationsGatewayInner resource) Create a CommunicationsGateway.createOrUpdate
(String resourceGroupName, String communicationsGatewayName, CommunicationsGatewayInner resource, com.azure.core.util.Context context) Create a CommunicationsGateway.void
Delete a CommunicationsGateway.void
delete
(String resourceGroupName, String communicationsGatewayName, com.azure.core.util.Context context) Delete a CommunicationsGateway.getByResourceGroup
(String resourceGroupName, String communicationsGatewayName) Get a CommunicationsGateway.com.azure.core.http.rest.Response<CommunicationsGatewayInner>
getByResourceGroupWithResponse
(String resourceGroupName, String communicationsGatewayName, com.azure.core.util.Context context) Get a CommunicationsGateway.com.azure.core.http.rest.PagedIterable<CommunicationsGatewayInner>
list()
List CommunicationsGateway resources by subscription ID.com.azure.core.http.rest.PagedIterable<CommunicationsGatewayInner>
list
(com.azure.core.util.Context context) List CommunicationsGateway resources by subscription ID.com.azure.core.http.rest.PagedIterable<CommunicationsGatewayInner>
listByResourceGroup
(String resourceGroupName) List CommunicationsGateway resources by resource group.com.azure.core.http.rest.PagedIterable<CommunicationsGatewayInner>
listByResourceGroup
(String resourceGroupName, com.azure.core.util.Context context) List CommunicationsGateway resources by resource group.update
(String resourceGroupName, String communicationsGatewayName, CommunicationsGatewayUpdate properties) Update a CommunicationsGateway.com.azure.core.http.rest.Response<CommunicationsGatewayInner>
updateWithResponse
(String resourceGroupName, String communicationsGatewayName, CommunicationsGatewayUpdate properties, com.azure.core.util.Context context) Update a CommunicationsGateway.
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<CommunicationsGatewayInner> list()List CommunicationsGateway resources by subscription ID.- Returns:
- the response of a CommunicationsGateway list operation as paginated response with
PagedIterable
. - Throws:
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<CommunicationsGatewayInner> list(com.azure.core.util.Context context) List CommunicationsGateway resources by subscription ID.- Parameters:
context
- The context to associate with this operation.- Returns:
- the response of a CommunicationsGateway list operation 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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<CommunicationsGatewayInner> listByResourceGroup(String resourceGroupName) List CommunicationsGateway resources by resource group.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.- Returns:
- the response of a CommunicationsGateway list operation 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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<CommunicationsGatewayInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) List CommunicationsGateway resources by resource group.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.context
- The context to associate with this operation.- Returns:
- the response of a CommunicationsGateway list operation 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.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<CommunicationsGatewayInner> getByResourceGroupWithResponse(String resourceGroupName, String communicationsGatewayName, com.azure.core.util.Context context) Get a CommunicationsGateway.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.communicationsGatewayName
- Unique identifier for this deployment.context
- The context to associate with this operation.- Returns:
- a CommunicationsGateway 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.
-
getByResourceGroup
CommunicationsGatewayInner getByResourceGroup(String resourceGroupName, String communicationsGatewayName) Get a CommunicationsGateway.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.communicationsGatewayName
- Unique identifier for this deployment.- Returns:
- a CommunicationsGateway.
- 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<CommunicationsGatewayInner>,CommunicationsGatewayInner> beginCreateOrUpdate(String resourceGroupName, String communicationsGatewayName, CommunicationsGatewayInner resource) Create a CommunicationsGateway.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.communicationsGatewayName
- Unique identifier for this deployment.resource
- Resource create parameters.- Returns:
- the
SyncPoller
for polling of a CommunicationsGateway 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<CommunicationsGatewayInner>,CommunicationsGatewayInner> beginCreateOrUpdate(String resourceGroupName, String communicationsGatewayName, CommunicationsGatewayInner resource, com.azure.core.util.Context context) Create a CommunicationsGateway.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.communicationsGatewayName
- Unique identifier for this deployment.resource
- Resource create parameters.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of a CommunicationsGateway 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.
-
createOrUpdate
CommunicationsGatewayInner createOrUpdate(String resourceGroupName, String communicationsGatewayName, CommunicationsGatewayInner resource) Create a CommunicationsGateway.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.communicationsGatewayName
- Unique identifier for this deployment.resource
- Resource create parameters.- Returns:
- a CommunicationsGateway 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.
-
createOrUpdate
CommunicationsGatewayInner createOrUpdate(String resourceGroupName, String communicationsGatewayName, CommunicationsGatewayInner resource, com.azure.core.util.Context context) Create a CommunicationsGateway.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.communicationsGatewayName
- Unique identifier for this deployment.resource
- Resource create parameters.context
- The context to associate with this operation.- Returns:
- a CommunicationsGateway 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String communicationsGatewayName) Delete a CommunicationsGateway.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.communicationsGatewayName
- Unique identifier for this deployment.- 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 resourceGroupName, String communicationsGatewayName, com.azure.core.util.Context context) Delete a CommunicationsGateway.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.communicationsGatewayName
- Unique identifier for this deployment.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 CommunicationsGateway.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.communicationsGatewayName
- Unique identifier for this deployment.- 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 resourceGroupName, String communicationsGatewayName, com.azure.core.util.Context context) Delete a CommunicationsGateway.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.communicationsGatewayName
- Unique identifier for this deployment.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.
-
updateWithResponse
com.azure.core.http.rest.Response<CommunicationsGatewayInner> updateWithResponse(String resourceGroupName, String communicationsGatewayName, CommunicationsGatewayUpdate properties, com.azure.core.util.Context context) Update a CommunicationsGateway.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.communicationsGatewayName
- Unique identifier for this deployment.properties
- The resource properties to be updated.context
- The context to associate with this operation.- Returns:
- a CommunicationsGateway resource 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.
-
update
CommunicationsGatewayInner update(String resourceGroupName, String communicationsGatewayName, CommunicationsGatewayUpdate properties) Update a CommunicationsGateway.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.communicationsGatewayName
- Unique identifier for this deployment.properties
- The resource properties to be updated.- Returns:
- a CommunicationsGateway 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.
-