Interface ManagementGroupNetworkManagerConnectionsClient
- All Superinterfaces:
InnerSupportsDelete<Void>
An instance of this class provides access to all the operations defined in
ManagementGroupNetworkManagerConnectionsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncreateOrUpdate(String managementGroupId, String networkManagerConnectionName, NetworkManagerConnectionInner parameters) Create a network manager connection on this management group.createOrUpdateAsync(String managementGroupId, String networkManagerConnectionName, NetworkManagerConnectionInner parameters) Create a network manager connection on this management group.com.azure.core.http.rest.Response<NetworkManagerConnectionInner> createOrUpdateWithResponse(String managementGroupId, String networkManagerConnectionName, NetworkManagerConnectionInner parameters, com.azure.core.util.Context context) Create a network manager connection on this management group.Mono<com.azure.core.http.rest.Response<NetworkManagerConnectionInner>> createOrUpdateWithResponseAsync(String managementGroupId, String networkManagerConnectionName, NetworkManagerConnectionInner parameters) Create a network manager connection on this management group.voidDelete specified pending connection created by this management group.deleteAsync(String managementGroupId, String networkManagerConnectionName) Delete specified pending connection created by this management group.com.azure.core.http.rest.Response<Void> deleteWithResponse(String managementGroupId, String networkManagerConnectionName, com.azure.core.util.Context context) Delete specified pending connection created by this management group.deleteWithResponseAsync(String managementGroupId, String networkManagerConnectionName) Delete specified pending connection created by this management group.Get a specified connection created by this management group.Get a specified connection created by this management group.com.azure.core.http.rest.Response<NetworkManagerConnectionInner> getWithResponse(String managementGroupId, String networkManagerConnectionName, com.azure.core.util.Context context) Get a specified connection created by this management group.Mono<com.azure.core.http.rest.Response<NetworkManagerConnectionInner>> getWithResponseAsync(String managementGroupId, String networkManagerConnectionName) Get a specified connection created by this management group.com.azure.core.http.rest.PagedIterable<NetworkManagerConnectionInner> List all network manager connections created by this management group.com.azure.core.http.rest.PagedIterable<NetworkManagerConnectionInner> List all network manager connections created by this management group.com.azure.core.http.rest.PagedFlux<NetworkManagerConnectionInner> List all network manager connections created by this management group.com.azure.core.http.rest.PagedFlux<NetworkManagerConnectionInner> List all network manager connections created by this management group.
-
Method Details
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<NetworkManagerConnectionInner>> createOrUpdateWithResponseAsync(String managementGroupId, String networkManagerConnectionName, NetworkManagerConnectionInner parameters) Create a network manager connection on this management group.- Parameters:
managementGroupId- The management group Id which uniquely identify the Microsoft Azure management group.networkManagerConnectionName- Name for the network manager connection.parameters- Network manager connection to be created/updated.- Returns:
- the Network Manager Connection 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<NetworkManagerConnectionInner> createOrUpdateAsync(String managementGroupId, String networkManagerConnectionName, NetworkManagerConnectionInner parameters) Create a network manager connection on this management group.- Parameters:
managementGroupId- The management group Id which uniquely identify the Microsoft Azure management group.networkManagerConnectionName- Name for the network manager connection.parameters- Network manager connection to be created/updated.- Returns:
- the Network Manager Connection 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<NetworkManagerConnectionInner> createOrUpdateWithResponse(String managementGroupId, String networkManagerConnectionName, NetworkManagerConnectionInner parameters, com.azure.core.util.Context context) Create a network manager connection on this management group.- Parameters:
managementGroupId- The management group Id which uniquely identify the Microsoft Azure management group.networkManagerConnectionName- Name for the network manager connection.parameters- Network manager connection to be created/updated.context- The context to associate with this operation.- Returns:
- the Network Manager Connection 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
NetworkManagerConnectionInner createOrUpdate(String managementGroupId, String networkManagerConnectionName, NetworkManagerConnectionInner parameters) Create a network manager connection on this management group.- Parameters:
managementGroupId- The management group Id which uniquely identify the Microsoft Azure management group.networkManagerConnectionName- Name for the network manager connection.parameters- Network manager connection to be created/updated.- Returns:
- the Network Manager Connection 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.
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<NetworkManagerConnectionInner>> getWithResponseAsync(String managementGroupId, String networkManagerConnectionName) Get a specified connection created by this management group.- Parameters:
managementGroupId- The management group Id which uniquely identify the Microsoft Azure management group.networkManagerConnectionName- Name for the network manager connection.- Returns:
- a specified connection created by this management group 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.
-
getAsync
Mono<NetworkManagerConnectionInner> getAsync(String managementGroupId, String networkManagerConnectionName) Get a specified connection created by this management group.- Parameters:
managementGroupId- The management group Id which uniquely identify the Microsoft Azure management group.networkManagerConnectionName- Name for the network manager connection.- Returns:
- a specified connection created by this management group 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.
-
getWithResponse
com.azure.core.http.rest.Response<NetworkManagerConnectionInner> getWithResponse(String managementGroupId, String networkManagerConnectionName, com.azure.core.util.Context context) Get a specified connection created by this management group.- Parameters:
managementGroupId- The management group Id which uniquely identify the Microsoft Azure management group.networkManagerConnectionName- Name for the network manager connection.context- The context to associate with this operation.- Returns:
- a specified connection created by this management group 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 specified connection created by this management group.- Parameters:
managementGroupId- The management group Id which uniquely identify the Microsoft Azure management group.networkManagerConnectionName- Name for the network manager connection.- Returns:
- a specified connection created by this management group.
- 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<Void>> deleteWithResponseAsync(String managementGroupId, String networkManagerConnectionName) Delete specified pending connection created by this management group.- Parameters:
managementGroupId- The management group Id which uniquely identify the Microsoft Azure management group.networkManagerConnectionName- Name for the network manager connection.- 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.
-
deleteAsync
Delete specified pending connection created by this management group.- Specified by:
deleteAsyncin interfaceInnerSupportsDelete<Void>- Parameters:
managementGroupId- The management group Id which uniquely identify the Microsoft Azure management group.networkManagerConnectionName- Name for the network manager connection.- 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.
-
deleteWithResponse
com.azure.core.http.rest.Response<Void> deleteWithResponse(String managementGroupId, String networkManagerConnectionName, com.azure.core.util.Context context) Delete specified pending connection created by this management group.- Parameters:
managementGroupId- The management group Id which uniquely identify the Microsoft Azure management group.networkManagerConnectionName- Name for the network manager connection.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
Delete specified pending connection created by this management group.- Parameters:
managementGroupId- The management group Id which uniquely identify the Microsoft Azure management group.networkManagerConnectionName- Name for the network manager connection.- 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<NetworkManagerConnectionInner> listAsync(String managementGroupId, Integer top, String skipToken) List all network manager connections created by this management group.- Parameters:
managementGroupId- The management group Id which uniquely identify the Microsoft Azure management 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:
- list of network manager connections 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<NetworkManagerConnectionInner> listAsync(String managementGroupId) List all network manager connections created by this management group.- Parameters:
managementGroupId- The management group Id which uniquely identify the Microsoft Azure management group.- Returns:
- list of network manager connections 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.
-
list
com.azure.core.http.rest.PagedIterable<NetworkManagerConnectionInner> list(String managementGroupId) List all network manager connections created by this management group.- Parameters:
managementGroupId- The management group Id which uniquely identify the Microsoft Azure management group.- Returns:
- list of network manager connections 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<NetworkManagerConnectionInner> list(String managementGroupId, Integer top, String skipToken, com.azure.core.util.Context context) List all network manager connections created by this management group.- Parameters:
managementGroupId- The management group Id which uniquely identify the Microsoft Azure management 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:
- list of network manager connections 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.
-