Interface ServiceTopologiesClient
public interface ServiceTopologiesClient
An instance of this class provides access to all the operations defined in ServiceTopologiesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncreateOrUpdate(String resourceGroupName, String serviceTopologyName, ServiceTopologyResourceInner serviceTopologyInfo) Creates or updates a service topology.com.azure.core.http.rest.Response<ServiceTopologyResourceInner>createOrUpdateWithResponse(String resourceGroupName, String serviceTopologyName, ServiceTopologyResourceInner serviceTopologyInfo, com.azure.core.util.Context context) Creates or updates a service topology.voidDeletes the service topology.com.azure.core.http.rest.Response<Void>deleteWithResponse(String resourceGroupName, String serviceTopologyName, com.azure.core.util.Context context) Deletes the service topology.getByResourceGroup(String resourceGroupName, String serviceTopologyName) Gets the service topology.com.azure.core.http.rest.Response<ServiceTopologyResourceInner>getByResourceGroupWithResponse(String resourceGroupName, String serviceTopologyName, com.azure.core.util.Context context) Gets the service topology.Lists the service topologies in the resource group.com.azure.core.http.rest.Response<List<ServiceTopologyResourceInner>>listWithResponse(String resourceGroupName, com.azure.core.util.Context context) Lists the service topologies in the resource group.
-
Method Details
-
createOrUpdateWithResponse
com.azure.core.http.rest.Response<ServiceTopologyResourceInner> createOrUpdateWithResponse(String resourceGroupName, String serviceTopologyName, ServiceTopologyResourceInner serviceTopologyInfo, com.azure.core.util.Context context) Creates or updates a service topology.Synchronously creates a new service topology or updates an existing service topology.
- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serviceTopologyName- The name of the service topology .serviceTopologyInfo- Source topology object defines the resource.context- The context to associate with this operation.- Returns:
- the resource representation of a service topology 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.
-
createOrUpdate
ServiceTopologyResourceInner createOrUpdate(String resourceGroupName, String serviceTopologyName, ServiceTopologyResourceInner serviceTopologyInfo) Creates or updates a service topology.Synchronously creates a new service topology or updates an existing service topology.
- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serviceTopologyName- The name of the service topology .serviceTopologyInfo- Source topology object defines the resource.- Returns:
- the resource representation of a service topology.
- 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<ServiceTopologyResourceInner> getByResourceGroupWithResponse(String resourceGroupName, String serviceTopologyName, com.azure.core.util.Context context) Gets the service topology.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serviceTopologyName- The name of the service topology .context- The context to associate with this operation.- Returns:
- the service topology 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
ServiceTopologyResourceInner getByResourceGroup(String resourceGroupName, String serviceTopologyName) Gets the service topology.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serviceTopologyName- The name of the service topology .- Returns:
- the service topology.
- 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.
-
deleteWithResponse
com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String serviceTopologyName, com.azure.core.util.Context context) Deletes the service topology.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serviceTopologyName- The name of the service topology .context- The context to associate with this operation.- Returns:
- the
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.
-
delete
Deletes the service topology.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serviceTopologyName- The name of the service topology .- 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.
-
listWithResponse
com.azure.core.http.rest.Response<List<ServiceTopologyResourceInner>> listWithResponse(String resourceGroupName, com.azure.core.util.Context context) Lists the service topologies in the 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 list of service topologies 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.
-
list
Lists the service topologies in the resource group.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.- Returns:
- the list of service topologies.
- 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.
-