Interface NetworkManagersClient
- All Superinterfaces:
InnerSupportsDelete<Void>,InnerSupportsGet<NetworkManagerInner>,InnerSupportsListing<NetworkManagerInner>
public interface NetworkManagersClient
extends InnerSupportsGet<NetworkManagerInner>, InnerSupportsListing<NetworkManagerInner>, InnerSupportsDelete<Void>
An instance of this class provides access to all the operations defined in NetworkManagersClient.
-
Method Summary
Modifier and TypeMethodDescriptionbeginDelete(String resourceGroupName, String networkManagerName) Deletes a network manager.beginDelete(String resourceGroupName, String networkManagerName, Boolean force, com.azure.core.util.Context context) Deletes a network manager.beginDeleteAsync(String resourceGroupName, String networkManagerName) Deletes a network manager.beginDeleteAsync(String resourceGroupName, String networkManagerName, Boolean force) Deletes a network manager.createOrUpdate(String resourceGroupName, String networkManagerName, NetworkManagerInner parameters) Creates or updates a Network Manager.createOrUpdateAsync(String resourceGroupName, String networkManagerName, NetworkManagerInner parameters) Creates or updates a Network Manager.com.azure.core.http.rest.Response<NetworkManagerInner> createOrUpdateWithResponse(String resourceGroupName, String networkManagerName, NetworkManagerInner parameters, com.azure.core.util.Context context) Creates or updates a Network Manager.Mono<com.azure.core.http.rest.Response<NetworkManagerInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String networkManagerName, NetworkManagerInner parameters) Creates or updates a Network Manager.voidDeletes a network manager.voiddelete(String resourceGroupName, String networkManagerName, Boolean force, com.azure.core.util.Context context) Deletes a network manager.deleteAsync(String resourceGroupName, String networkManagerName) Deletes a network manager.deleteAsync(String resourceGroupName, String networkManagerName, Boolean force) Deletes a network manager.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String networkManagerName, Boolean force) Deletes a network manager.getByResourceGroup(String resourceGroupName, String networkManagerName) Gets the specified Network Manager.getByResourceGroupAsync(String resourceGroupName, String networkManagerName) Gets the specified Network Manager.com.azure.core.http.rest.Response<NetworkManagerInner> getByResourceGroupWithResponse(String resourceGroupName, String networkManagerName, com.azure.core.util.Context context) Gets the specified Network Manager.Mono<com.azure.core.http.rest.Response<NetworkManagerInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String networkManagerName) Gets the specified Network Manager.com.azure.core.http.rest.PagedIterable<NetworkManagerInner> list()List all network managers in a subscription.com.azure.core.http.rest.PagedIterable<NetworkManagerInner> List all network managers in a subscription.com.azure.core.http.rest.PagedFlux<NetworkManagerInner> List all network managers in a subscription.com.azure.core.http.rest.PagedFlux<NetworkManagerInner> List all network managers in a subscription.com.azure.core.http.rest.PagedIterable<NetworkManagerInner> listByResourceGroup(String resourceGroupName) List network managers in a resource group.com.azure.core.http.rest.PagedIterable<NetworkManagerInner> listByResourceGroup(String resourceGroupName, Integer top, String skipToken, com.azure.core.util.Context context) List network managers in a resource group.com.azure.core.http.rest.PagedFlux<NetworkManagerInner> listByResourceGroupAsync(String resourceGroupName) List network managers in a resource group.com.azure.core.http.rest.PagedFlux<NetworkManagerInner> listByResourceGroupAsync(String resourceGroupName, Integer top, String skipToken) List network managers in a resource group.patch(String resourceGroupName, String networkManagerName, PatchObject parameters) Patch NetworkManager.patchAsync(String resourceGroupName, String networkManagerName, PatchObject parameters) Patch NetworkManager.com.azure.core.http.rest.Response<NetworkManagerInner> patchWithResponse(String resourceGroupName, String networkManagerName, PatchObject parameters, com.azure.core.util.Context context) Patch NetworkManager.Mono<com.azure.core.http.rest.Response<NetworkManagerInner>> patchWithResponseAsync(String resourceGroupName, String networkManagerName, PatchObject parameters) Patch NetworkManager.
-
Method Details
-
getByResourceGroupWithResponseAsync
Mono<com.azure.core.http.rest.Response<NetworkManagerInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String networkManagerName) Gets the specified Network Manager.- Parameters:
resourceGroupName- The name of the resource group.networkManagerName- The name of the network manager.- Returns:
- the specified Network Manager along with
Responseon successful completion ofMono. - 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.
-
getByResourceGroupAsync
Mono<NetworkManagerInner> getByResourceGroupAsync(String resourceGroupName, String networkManagerName) Gets the specified Network Manager.- Specified by:
getByResourceGroupAsyncin interfaceInnerSupportsGet<NetworkManagerInner>- Parameters:
resourceGroupName- The name of the resource group.networkManagerName- The name of the network manager.- Returns:
- the specified Network Manager on successful completion of
Mono. - 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<NetworkManagerInner> getByResourceGroupWithResponse(String resourceGroupName, String networkManagerName, com.azure.core.util.Context context) Gets the specified Network Manager.- Parameters:
resourceGroupName- The name of the resource group.networkManagerName- The name of the network manager.context- The context to associate with this operation.- Returns:
- the specified Network Manager 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 specified Network Manager.- Specified by:
getByResourceGroupin interfaceInnerSupportsGet<NetworkManagerInner>- Parameters:
resourceGroupName- The name of the resource group.networkManagerName- The name of the network manager.- Returns:
- the specified Network Manager.
- 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.
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<NetworkManagerInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String networkManagerName, NetworkManagerInner parameters) Creates or updates a Network Manager.- Parameters:
resourceGroupName- The name of the resource group.networkManagerName- The name of the network manager.parameters- Parameters supplied to specify which network manager is.- Returns:
- the Managed Network resource along with
Responseon successful completion ofMono. - 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.
-
createOrUpdateAsync
Mono<NetworkManagerInner> createOrUpdateAsync(String resourceGroupName, String networkManagerName, NetworkManagerInner parameters) Creates or updates a Network Manager.- Parameters:
resourceGroupName- The name of the resource group.networkManagerName- The name of the network manager.parameters- Parameters supplied to specify which network manager is.- Returns:
- the Managed Network resource on successful completion of
Mono. - 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.
-
createOrUpdateWithResponse
com.azure.core.http.rest.Response<NetworkManagerInner> createOrUpdateWithResponse(String resourceGroupName, String networkManagerName, NetworkManagerInner parameters, com.azure.core.util.Context context) Creates or updates a Network Manager.- Parameters:
resourceGroupName- The name of the resource group.networkManagerName- The name of the network manager.parameters- Parameters supplied to specify which network manager is.context- The context to associate with this operation.- Returns:
- the Managed Network 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.
-
createOrUpdate
NetworkManagerInner createOrUpdate(String resourceGroupName, String networkManagerName, NetworkManagerInner parameters) Creates or updates a Network Manager.- Parameters:
resourceGroupName- The name of the resource group.networkManagerName- The name of the network manager.parameters- Parameters supplied to specify which network manager is.- Returns:
- the Managed Network 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.
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String networkManagerName, Boolean force) Deletes a network manager.- Parameters:
resourceGroupName- The name of the resource group.networkManagerName- The name of the network manager.force- Deletes the resource even if it is part of a deployed configuration. If the configuration has been deployed, the service will do a cleanup deployment in the background, prior to the delete.- Returns:
- the
Responseon successful completion ofMono. - 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.
-
beginDeleteAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String networkManagerName, Boolean force) Deletes a network manager.- Parameters:
resourceGroupName- The name of the resource group.networkManagerName- The name of the network manager.force- Deletes the resource even if it is part of a deployed configuration. If the configuration has been deployed, the service will do a cleanup deployment in the background, prior to the delete.- Returns:
- the
PollerFluxfor 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.
-
beginDeleteAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String networkManagerName) Deletes a network manager.- Parameters:
resourceGroupName- The name of the resource group.networkManagerName- The name of the network manager.- Returns:
- the
PollerFluxfor 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 networkManagerName) Deletes a network manager.- Parameters:
resourceGroupName- The name of the resource group.networkManagerName- The name of the network manager.- Returns:
- the
SyncPollerfor 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 networkManagerName, Boolean force, com.azure.core.util.Context context) Deletes a network manager.- Parameters:
resourceGroupName- The name of the resource group.networkManagerName- The name of the network manager.force- Deletes the resource even if it is part of a deployed configuration. If the configuration has been deployed, the service will do a cleanup deployment in the background, prior to the delete.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor 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.
-
deleteAsync
Deletes a network manager.- Parameters:
resourceGroupName- The name of the resource group.networkManagerName- The name of the network manager.force- Deletes the resource even if it is part of a deployed configuration. If the configuration has been deployed, the service will do a cleanup deployment in the background, prior to the delete.- Returns:
- A
Monothat completes when a successful response is received. - 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.
-
deleteAsync
Deletes a network manager.- Specified by:
deleteAsyncin interfaceInnerSupportsDelete<Void>- Parameters:
resourceGroupName- The name of the resource group.networkManagerName- The name of the network manager.- Returns:
- A
Monothat completes when a successful response is received. - 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 a network manager.- Parameters:
resourceGroupName- The name of the resource group.networkManagerName- The name of the network manager.- 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 networkManagerName, Boolean force, com.azure.core.util.Context context) Deletes a network manager.- Parameters:
resourceGroupName- The name of the resource group.networkManagerName- The name of the network manager.force- Deletes the resource even if it is part of a deployed configuration. If the configuration has been deployed, the service will do a cleanup deployment in the background, prior to the delete.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.
-
patchWithResponseAsync
Mono<com.azure.core.http.rest.Response<NetworkManagerInner>> patchWithResponseAsync(String resourceGroupName, String networkManagerName, PatchObject parameters) Patch NetworkManager.- Parameters:
resourceGroupName- The name of the resource group.networkManagerName- The name of the network manager.parameters- Parameters supplied to specify which network manager is.- Returns:
- the Managed Network resource along with
Responseon successful completion ofMono. - 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.
-
patchAsync
Mono<NetworkManagerInner> patchAsync(String resourceGroupName, String networkManagerName, PatchObject parameters) Patch NetworkManager.- Parameters:
resourceGroupName- The name of the resource group.networkManagerName- The name of the network manager.parameters- Parameters supplied to specify which network manager is.- Returns:
- the Managed Network resource on successful completion of
Mono. - 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.
-
patchWithResponse
com.azure.core.http.rest.Response<NetworkManagerInner> patchWithResponse(String resourceGroupName, String networkManagerName, PatchObject parameters, com.azure.core.util.Context context) Patch NetworkManager.- Parameters:
resourceGroupName- The name of the resource group.networkManagerName- The name of the network manager.parameters- Parameters supplied to specify which network manager is.context- The context to associate with this operation.- Returns:
- the Managed Network 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.
-
patch
NetworkManagerInner patch(String resourceGroupName, String networkManagerName, PatchObject parameters) Patch NetworkManager.- Parameters:
resourceGroupName- The name of the resource group.networkManagerName- The name of the network manager.parameters- Parameters supplied to specify which network manager is.- Returns:
- the Managed Network 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.
-
listAsync
List all network managers in a subscription.- Parameters:
top- An optional query parameter which specifies the maximum number of records to be returned by the server.skipToken- SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls.- Returns:
- result of the request to list NetworkManager as paginated response with
PagedFlux. - 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.
-
listAsync
com.azure.core.http.rest.PagedFlux<NetworkManagerInner> listAsync()List all network managers in a subscription.- Specified by:
listAsyncin interfaceInnerSupportsListing<NetworkManagerInner>- Returns:
- result of the request to list NetworkManager as paginated response with
PagedFlux. - 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<NetworkManagerInner> list()List all network managers in a subscription.- Specified by:
listin interfaceInnerSupportsListing<NetworkManagerInner>- Returns:
- result of the request to list NetworkManager 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<NetworkManagerInner> list(Integer top, String skipToken, com.azure.core.util.Context context) List all network managers in a subscription.- Parameters:
top- An optional query parameter which specifies the maximum number of records to be returned by the server.skipToken- SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls.context- The context to associate with this operation.- Returns:
- result of the request to list NetworkManager 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.
-
listByResourceGroupAsync
com.azure.core.http.rest.PagedFlux<NetworkManagerInner> listByResourceGroupAsync(String resourceGroupName, Integer top, String skipToken) List network managers in a resource group.- Parameters:
resourceGroupName- The name of the resource group.top- An optional query parameter which specifies the maximum number of records to be returned by the server.skipToken- SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls.- Returns:
- result of the request to list NetworkManager as paginated response with
PagedFlux. - 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.
-
listByResourceGroupAsync
com.azure.core.http.rest.PagedFlux<NetworkManagerInner> listByResourceGroupAsync(String resourceGroupName) List network managers in a resource group.- Specified by:
listByResourceGroupAsyncin interfaceInnerSupportsListing<NetworkManagerInner>- Parameters:
resourceGroupName- The name of the resource group.- Returns:
- result of the request to list NetworkManager as paginated response with
PagedFlux. - 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<NetworkManagerInner> listByResourceGroup(String resourceGroupName) List network managers in a resource group.- Specified by:
listByResourceGroupin interfaceInnerSupportsListing<NetworkManagerInner>- Parameters:
resourceGroupName- The name of the resource group.- Returns:
- result of the request to list NetworkManager 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<NetworkManagerInner> listByResourceGroup(String resourceGroupName, Integer top, String skipToken, com.azure.core.util.Context context) List network managers in a resource group.- Parameters:
resourceGroupName- The name of the resource group.top- An optional query parameter which specifies the maximum number of records to be returned by the server.skipToken- SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls.context- The context to associate with this operation.- Returns:
- result of the request to list NetworkManager 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.
-