Interface ServiceTopologies
public interface ServiceTopologies
Resource collection API of ServiceTopologies.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new ServiceTopologyResource resource.void
deleteById
(String id) Deletes the service topology.com.azure.core.http.rest.Response<Void>
deleteByIdWithResponse
(String id, com.azure.core.util.Context context) Deletes the service topology.void
deleteByResourceGroup
(String resourceGroupName, String serviceTopologyName) Deletes the service topology.com.azure.core.http.rest.Response<Void>
deleteByResourceGroupWithResponse
(String resourceGroupName, String serviceTopologyName, com.azure.core.util.Context context) Deletes the service topology.Gets the service topology.com.azure.core.http.rest.Response<ServiceTopologyResource>
getByIdWithResponse
(String id, com.azure.core.util.Context context) Gets the service topology.getByResourceGroup
(String resourceGroupName, String serviceTopologyName) Gets the service topology.com.azure.core.http.rest.Response<ServiceTopologyResource>
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<ServiceTopologyResource>>
listWithResponse
(String resourceGroupName, com.azure.core.util.Context context) Lists the service topologies in the resource group.
-
Method Details
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<ServiceTopologyResource> 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
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.
-
deleteByResourceGroupWithResponse
com.azure.core.http.rest.Response<Void> deleteByResourceGroupWithResponse(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.
-
deleteByResourceGroup
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<ServiceTopologyResource>> 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.
-
getById
Gets the service topology.- Parameters:
id
- the resource ID.- 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.
-
getByIdWithResponse
com.azure.core.http.rest.Response<ServiceTopologyResource> getByIdWithResponse(String id, com.azure.core.util.Context context) Gets the service topology.- Parameters:
id
- the resource ID.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.
-
deleteById
Deletes the service topology.- Parameters:
id
- the resource ID.- 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.
-
deleteByIdWithResponse
com.azure.core.http.rest.Response<Void> deleteByIdWithResponse(String id, com.azure.core.util.Context context) Deletes the service topology.- Parameters:
id
- the resource ID.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.
-
define
Begins definition for a new ServiceTopologyResource resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new ServiceTopologyResource definition.
-