Interface ScopeConnectionsClient
public interface ScopeConnectionsClient
An instance of this class provides access to all the operations defined in ScopeConnectionsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncreateOrUpdate(String resourceGroupName, String networkManagerName, String scopeConnectionName, ScopeConnectionInner parameters) Creates or updates scope connection from Network Manager.createOrUpdateAsync(String resourceGroupName, String networkManagerName, String scopeConnectionName, ScopeConnectionInner parameters) Creates or updates scope connection from Network Manager.com.azure.core.http.rest.Response<ScopeConnectionInner> createOrUpdateWithResponse(String resourceGroupName, String networkManagerName, String scopeConnectionName, ScopeConnectionInner parameters, com.azure.core.util.Context context) Creates or updates scope connection from Network Manager.Mono<com.azure.core.http.rest.Response<ScopeConnectionInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String networkManagerName, String scopeConnectionName, ScopeConnectionInner parameters) Creates or updates scope connection from Network Manager.voidDelete the pending scope connection created by this network manager.deleteAsync(String resourceGroupName, String networkManagerName, String scopeConnectionName) Delete the pending scope connection created by this network manager.com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String networkManagerName, String scopeConnectionName, com.azure.core.util.Context context) Delete the pending scope connection created by this network manager.deleteWithResponseAsync(String resourceGroupName, String networkManagerName, String scopeConnectionName) Delete the pending scope connection created by this network manager.Get specified scope connection created by this Network Manager.Get specified scope connection created by this Network Manager.com.azure.core.http.rest.Response<ScopeConnectionInner> getWithResponse(String resourceGroupName, String networkManagerName, String scopeConnectionName, com.azure.core.util.Context context) Get specified scope connection created by this Network Manager.Mono<com.azure.core.http.rest.Response<ScopeConnectionInner>> getWithResponseAsync(String resourceGroupName, String networkManagerName, String scopeConnectionName) Get specified scope connection created by this Network Manager.com.azure.core.http.rest.PagedIterable<ScopeConnectionInner> List all scope connections created by this network manager.com.azure.core.http.rest.PagedIterable<ScopeConnectionInner> list(String resourceGroupName, String networkManagerName, Integer top, String skipToken, com.azure.core.util.Context context) List all scope connections created by this network manager.com.azure.core.http.rest.PagedFlux<ScopeConnectionInner> List all scope connections created by this network manager.com.azure.core.http.rest.PagedFlux<ScopeConnectionInner> List all scope connections created by this network manager.
-
Method Details
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<ScopeConnectionInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String networkManagerName, String scopeConnectionName, ScopeConnectionInner parameters) Creates or updates scope connection from Network Manager.- Parameters:
resourceGroupName- The name of the resource group.networkManagerName- The name of the network manager.scopeConnectionName- Name for the cross-tenant connection.parameters- Scope connection to be created/updated.- Returns:
- the Scope Connections 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<ScopeConnectionInner> createOrUpdateAsync(String resourceGroupName, String networkManagerName, String scopeConnectionName, ScopeConnectionInner parameters) Creates or updates scope connection from Network Manager.- Parameters:
resourceGroupName- The name of the resource group.networkManagerName- The name of the network manager.scopeConnectionName- Name for the cross-tenant connection.parameters- Scope connection to be created/updated.- Returns:
- the Scope Connections 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<ScopeConnectionInner> createOrUpdateWithResponse(String resourceGroupName, String networkManagerName, String scopeConnectionName, ScopeConnectionInner parameters, com.azure.core.util.Context context) Creates or updates scope connection from Network Manager.- Parameters:
resourceGroupName- The name of the resource group.networkManagerName- The name of the network manager.scopeConnectionName- Name for the cross-tenant connection.parameters- Scope connection to be created/updated.context- The context to associate with this operation.- Returns:
- the Scope Connections 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
ScopeConnectionInner createOrUpdate(String resourceGroupName, String networkManagerName, String scopeConnectionName, ScopeConnectionInner parameters) Creates or updates scope connection from Network Manager.- Parameters:
resourceGroupName- The name of the resource group.networkManagerName- The name of the network manager.scopeConnectionName- Name for the cross-tenant connection.parameters- Scope connection to be created/updated.- Returns:
- the Scope Connections 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<ScopeConnectionInner>> getWithResponseAsync(String resourceGroupName, String networkManagerName, String scopeConnectionName) Get specified scope connection created by this Network Manager.- Parameters:
resourceGroupName- The name of the resource group.networkManagerName- The name of the network manager.scopeConnectionName- Name for the cross-tenant connection.- Returns:
- specified scope connection created by this 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.
-
getAsync
Mono<ScopeConnectionInner> getAsync(String resourceGroupName, String networkManagerName, String scopeConnectionName) Get specified scope connection created by this Network Manager.- Parameters:
resourceGroupName- The name of the resource group.networkManagerName- The name of the network manager.scopeConnectionName- Name for the cross-tenant connection.- Returns:
- specified scope connection created by this 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.
-
getWithResponse
com.azure.core.http.rest.Response<ScopeConnectionInner> getWithResponse(String resourceGroupName, String networkManagerName, String scopeConnectionName, com.azure.core.util.Context context) Get specified scope connection created by this Network Manager.- Parameters:
resourceGroupName- The name of the resource group.networkManagerName- The name of the network manager.scopeConnectionName- Name for the cross-tenant connection.context- The context to associate with this operation.- Returns:
- specified scope connection created by this 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.
-
get
ScopeConnectionInner get(String resourceGroupName, String networkManagerName, String scopeConnectionName) Get specified scope connection created by this Network Manager.- Parameters:
resourceGroupName- The name of the resource group.networkManagerName- The name of the network manager.scopeConnectionName- Name for the cross-tenant connection.- Returns:
- specified scope connection created by this 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.
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> deleteWithResponseAsync(String resourceGroupName, String networkManagerName, String scopeConnectionName) Delete the pending scope connection created by this network manager.- Parameters:
resourceGroupName- The name of the resource group.networkManagerName- The name of the network manager.scopeConnectionName- Name for the cross-tenant 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
Mono<Void> deleteAsync(String resourceGroupName, String networkManagerName, String scopeConnectionName) Delete the pending scope connection created by this network manager.- Parameters:
resourceGroupName- The name of the resource group.networkManagerName- The name of the network manager.scopeConnectionName- Name for the cross-tenant 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 resourceGroupName, String networkManagerName, String scopeConnectionName, com.azure.core.util.Context context) Delete the pending scope connection created by this network manager.- Parameters:
resourceGroupName- The name of the resource group.networkManagerName- The name of the network manager.scopeConnectionName- Name for the cross-tenant 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 the pending scope connection created by this network manager.- Parameters:
resourceGroupName- The name of the resource group.networkManagerName- The name of the network manager.scopeConnectionName- Name for the cross-tenant 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<ScopeConnectionInner> listAsync(String resourceGroupName, String networkManagerName, Integer top, String skipToken) List all scope connections created by this network manager.- Parameters:
resourceGroupName- The name of the resource group.networkManagerName- The name of the network manager.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 scope 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<ScopeConnectionInner> listAsync(String resourceGroupName, String networkManagerName) List all scope connections created by this network manager.- Parameters:
resourceGroupName- The name of the resource group.networkManagerName- The name of the network manager.- Returns:
- list of scope 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<ScopeConnectionInner> list(String resourceGroupName, String networkManagerName) List all scope connections created by this network manager.- Parameters:
resourceGroupName- The name of the resource group.networkManagerName- The name of the network manager.- Returns:
- list of scope 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<ScopeConnectionInner> list(String resourceGroupName, String networkManagerName, Integer top, String skipToken, com.azure.core.util.Context context) List all scope connections created by this network manager.- Parameters:
resourceGroupName- The name of the resource group.networkManagerName- The name of the network manager.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 scope 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.
-