Interface NetworkSecurityPerimeterAssociationsClient
public interface NetworkSecurityPerimeterAssociationsClient
An instance of this class provides access to all the operations defined in
NetworkSecurityPerimeterAssociationsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<NspAssociationInner>, NspAssociationInner> beginCreateOrUpdate(String resourceGroupName, String networkSecurityPerimeterName, String associationName, NspAssociationInner parameters) Creates or updates a NSP resource association.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<NspAssociationInner>, NspAssociationInner> beginCreateOrUpdate(String resourceGroupName, String networkSecurityPerimeterName, String associationName, NspAssociationInner parameters, com.azure.core.util.Context context) Creates or updates a NSP resource association.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<NspAssociationInner>, NspAssociationInner> beginCreateOrUpdateAsync(String resourceGroupName, String networkSecurityPerimeterName, String associationName, NspAssociationInner parameters) Creates or updates a NSP resource association.beginDelete(String resourceGroupName, String networkSecurityPerimeterName, String associationName) Deletes an NSP association resource.beginDelete(String resourceGroupName, String networkSecurityPerimeterName, String associationName, com.azure.core.util.Context context) Deletes an NSP association resource.beginDeleteAsync(String resourceGroupName, String networkSecurityPerimeterName, String associationName) Deletes an NSP association resource.createOrUpdate(String resourceGroupName, String networkSecurityPerimeterName, String associationName, NspAssociationInner parameters) Creates or updates a NSP resource association.createOrUpdate(String resourceGroupName, String networkSecurityPerimeterName, String associationName, NspAssociationInner parameters, com.azure.core.util.Context context) Creates or updates a NSP resource association.createOrUpdateAsync(String resourceGroupName, String networkSecurityPerimeterName, String associationName, NspAssociationInner parameters) Creates or updates a NSP resource association.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String networkSecurityPerimeterName, String associationName, NspAssociationInner parameters) Creates or updates a NSP resource association.voidDeletes an NSP association resource.voiddelete(String resourceGroupName, String networkSecurityPerimeterName, String associationName, com.azure.core.util.Context context) Deletes an NSP association resource.deleteAsync(String resourceGroupName, String networkSecurityPerimeterName, String associationName) Deletes an NSP association resource.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String networkSecurityPerimeterName, String associationName) Deletes an NSP association resource.Gets the specified NSP association by name.Gets the specified NSP association by name.com.azure.core.http.rest.Response<NspAssociationInner> getWithResponse(String resourceGroupName, String networkSecurityPerimeterName, String associationName, com.azure.core.util.Context context) Gets the specified NSP association by name.Mono<com.azure.core.http.rest.Response<NspAssociationInner>> getWithResponseAsync(String resourceGroupName, String networkSecurityPerimeterName, String associationName) Gets the specified NSP association by name.com.azure.core.http.rest.PagedIterable<NspAssociationInner> Lists the NSP resource associations.com.azure.core.http.rest.PagedIterable<NspAssociationInner> list(String resourceGroupName, String networkSecurityPerimeterName, Integer top, String skipToken, com.azure.core.util.Context context) Lists the NSP resource associations.com.azure.core.http.rest.PagedFlux<NspAssociationInner> Lists the NSP resource associations.com.azure.core.http.rest.PagedFlux<NspAssociationInner> listAsync(String resourceGroupName, String networkSecurityPerimeterName, Integer top, String skipToken) Lists the NSP resource associations.reconcile(String resourceGroupName, String networkSecurityPerimeterName, String associationName, Object parameters) Reconcile NSP association.reconcileAsync(String resourceGroupName, String networkSecurityPerimeterName, String associationName, Object parameters) Reconcile NSP association.com.azure.core.http.rest.Response<Object> reconcileWithResponse(String resourceGroupName, String networkSecurityPerimeterName, String associationName, Object parameters, com.azure.core.util.Context context) Reconcile NSP association.reconcileWithResponseAsync(String resourceGroupName, String networkSecurityPerimeterName, String associationName, Object parameters) Reconcile NSP association.
-
Method Details
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<NspAssociationInner>> getWithResponseAsync(String resourceGroupName, String networkSecurityPerimeterName, String associationName) Gets the specified NSP association by name.- Parameters:
resourceGroupName- The name of the resource group.networkSecurityPerimeterName- The name of the network security perimeter.associationName- The name of the NSP association.- Returns:
- the specified NSP association by name 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<NspAssociationInner> getAsync(String resourceGroupName, String networkSecurityPerimeterName, String associationName) Gets the specified NSP association by name.- Parameters:
resourceGroupName- The name of the resource group.networkSecurityPerimeterName- The name of the network security perimeter.associationName- The name of the NSP association.- Returns:
- the specified NSP association by name 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<NspAssociationInner> getWithResponse(String resourceGroupName, String networkSecurityPerimeterName, String associationName, com.azure.core.util.Context context) Gets the specified NSP association by name.- Parameters:
resourceGroupName- The name of the resource group.networkSecurityPerimeterName- The name of the network security perimeter.associationName- The name of the NSP association.context- The context to associate with this operation.- Returns:
- the specified NSP association by name 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
NspAssociationInner get(String resourceGroupName, String networkSecurityPerimeterName, String associationName) Gets the specified NSP association by name.- Parameters:
resourceGroupName- The name of the resource group.networkSecurityPerimeterName- The name of the network security perimeter.associationName- The name of the NSP association.- Returns:
- the specified NSP association by name.
- 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<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String networkSecurityPerimeterName, String associationName, NspAssociationInner parameters) Creates or updates a NSP resource association.- Parameters:
resourceGroupName- The name of the resource group.networkSecurityPerimeterName- The name of the network security perimeter.associationName- The name of the NSP association.parameters- Parameters that hold the NspAssociation resource to be created/updated.- Returns:
- the NSP resource association 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.
-
beginCreateOrUpdateAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<NspAssociationInner>, NspAssociationInner> beginCreateOrUpdateAsync(String resourceGroupName, String networkSecurityPerimeterName, String associationName, NspAssociationInner parameters) Creates or updates a NSP resource association.- Parameters:
resourceGroupName- The name of the resource group.networkSecurityPerimeterName- The name of the network security perimeter.associationName- The name of the NSP association.parameters- Parameters that hold the NspAssociation resource to be created/updated.- Returns:
- the
PollerFluxfor polling of the NSP resource association 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<NspAssociationInner>, NspAssociationInner> beginCreateOrUpdate(String resourceGroupName, String networkSecurityPerimeterName, String associationName, NspAssociationInner parameters) Creates or updates a NSP resource association.- Parameters:
resourceGroupName- The name of the resource group.networkSecurityPerimeterName- The name of the network security perimeter.associationName- The name of the NSP association.parameters- Parameters that hold the NspAssociation resource to be created/updated.- Returns:
- the
SyncPollerfor polling of the NSP resource association 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<NspAssociationInner>, NspAssociationInner> beginCreateOrUpdate(String resourceGroupName, String networkSecurityPerimeterName, String associationName, NspAssociationInner parameters, com.azure.core.util.Context context) Creates or updates a NSP resource association.- Parameters:
resourceGroupName- The name of the resource group.networkSecurityPerimeterName- The name of the network security perimeter.associationName- The name of the NSP association.parameters- Parameters that hold the NspAssociation resource to be created/updated.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of the NSP resource association 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.
-
createOrUpdateAsync
Mono<NspAssociationInner> createOrUpdateAsync(String resourceGroupName, String networkSecurityPerimeterName, String associationName, NspAssociationInner parameters) Creates or updates a NSP resource association.- Parameters:
resourceGroupName- The name of the resource group.networkSecurityPerimeterName- The name of the network security perimeter.associationName- The name of the NSP association.parameters- Parameters that hold the NspAssociation resource to be created/updated.- Returns:
- the NSP resource association 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.
-
createOrUpdate
NspAssociationInner createOrUpdate(String resourceGroupName, String networkSecurityPerimeterName, String associationName, NspAssociationInner parameters) Creates or updates a NSP resource association.- Parameters:
resourceGroupName- The name of the resource group.networkSecurityPerimeterName- The name of the network security perimeter.associationName- The name of the NSP association.parameters- Parameters that hold the NspAssociation resource to be created/updated.- Returns:
- the NSP resource association 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.
-
createOrUpdate
NspAssociationInner createOrUpdate(String resourceGroupName, String networkSecurityPerimeterName, String associationName, NspAssociationInner parameters, com.azure.core.util.Context context) Creates or updates a NSP resource association.- Parameters:
resourceGroupName- The name of the resource group.networkSecurityPerimeterName- The name of the network security perimeter.associationName- The name of the NSP association.parameters- Parameters that hold the NspAssociation resource to be created/updated.context- The context to associate with this operation.- Returns:
- the NSP resource association 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 networkSecurityPerimeterName, String associationName) Deletes an NSP association resource.- Parameters:
resourceGroupName- The name of the resource group.networkSecurityPerimeterName- The name of the network security perimeter.associationName- The name of the NSP association.- 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 networkSecurityPerimeterName, String associationName) Deletes an NSP association resource.- Parameters:
resourceGroupName- The name of the resource group.networkSecurityPerimeterName- The name of the network security perimeter.associationName- The name of the NSP association.- 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 networkSecurityPerimeterName, String associationName) Deletes an NSP association resource.- Parameters:
resourceGroupName- The name of the resource group.networkSecurityPerimeterName- The name of the network security perimeter.associationName- The name of the NSP association.- 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 networkSecurityPerimeterName, String associationName, com.azure.core.util.Context context) Deletes an NSP association resource.- Parameters:
resourceGroupName- The name of the resource group.networkSecurityPerimeterName- The name of the network security perimeter.associationName- The name of the NSP association.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
Mono<Void> deleteAsync(String resourceGroupName, String networkSecurityPerimeterName, String associationName) Deletes an NSP association resource.- Parameters:
resourceGroupName- The name of the resource group.networkSecurityPerimeterName- The name of the network security perimeter.associationName- The name of the NSP association.- 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 an NSP association resource.- Parameters:
resourceGroupName- The name of the resource group.networkSecurityPerimeterName- The name of the network security perimeter.associationName- The name of the NSP association.- 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 networkSecurityPerimeterName, String associationName, com.azure.core.util.Context context) Deletes an NSP association resource.- Parameters:
resourceGroupName- The name of the resource group.networkSecurityPerimeterName- The name of the network security perimeter.associationName- The name of the NSP association.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.
-
listAsync
com.azure.core.http.rest.PagedFlux<NspAssociationInner> listAsync(String resourceGroupName, String networkSecurityPerimeterName, Integer top, String skipToken) Lists the NSP resource associations.- Parameters:
resourceGroupName- The name of the resource group.networkSecurityPerimeterName- The name of the network security perimeter.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 NSP resource associations 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<NspAssociationInner> listAsync(String resourceGroupName, String networkSecurityPerimeterName) Lists the NSP resource associations.- Parameters:
resourceGroupName- The name of the resource group.networkSecurityPerimeterName- The name of the network security perimeter.- Returns:
- result of the request to list NSP resource associations 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<NspAssociationInner> list(String resourceGroupName, String networkSecurityPerimeterName) Lists the NSP resource associations.- Parameters:
resourceGroupName- The name of the resource group.networkSecurityPerimeterName- The name of the network security perimeter.- Returns:
- result of the request to list NSP resource associations 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<NspAssociationInner> list(String resourceGroupName, String networkSecurityPerimeterName, Integer top, String skipToken, com.azure.core.util.Context context) Lists the NSP resource associations.- Parameters:
resourceGroupName- The name of the resource group.networkSecurityPerimeterName- The name of the network security perimeter.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 NSP resource associations 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.
-
reconcileWithResponseAsync
Mono<com.azure.core.http.rest.Response<Object>> reconcileWithResponseAsync(String resourceGroupName, String networkSecurityPerimeterName, String associationName, Object parameters) Reconcile NSP association.- Parameters:
resourceGroupName- The name of the resource group.networkSecurityPerimeterName- The name of the network security perimeter.associationName- The name of the NSP association.parameters- Parameters for NSP association reconcile.- Returns:
- any object 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.
-
reconcileAsync
Mono<Object> reconcileAsync(String resourceGroupName, String networkSecurityPerimeterName, String associationName, Object parameters) Reconcile NSP association.- Parameters:
resourceGroupName- The name of the resource group.networkSecurityPerimeterName- The name of the network security perimeter.associationName- The name of the NSP association.parameters- Parameters for NSP association reconcile.- Returns:
- any object 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.
-
reconcileWithResponse
com.azure.core.http.rest.Response<Object> reconcileWithResponse(String resourceGroupName, String networkSecurityPerimeterName, String associationName, Object parameters, com.azure.core.util.Context context) Reconcile NSP association.- Parameters:
resourceGroupName- The name of the resource group.networkSecurityPerimeterName- The name of the network security perimeter.associationName- The name of the NSP association.parameters- Parameters for NSP association reconcile.context- The context to associate with this operation.- Returns:
- any object 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.
-
reconcile
Object reconcile(String resourceGroupName, String networkSecurityPerimeterName, String associationName, Object parameters) Reconcile NSP association.- Parameters:
resourceGroupName- The name of the resource group.networkSecurityPerimeterName- The name of the network security perimeter.associationName- The name of the NSP association.parameters- Parameters for NSP association reconcile.- Returns:
- any object.
- 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.
-