public interface NetworkSecurityGroupsClient extends InnerSupportsGet<NetworkSecurityGroupInner>, InnerSupportsListing<NetworkSecurityGroupInner>, InnerSupportsDelete<Void>
| Modifier and Type | Method and Description |
|---|---|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<NetworkSecurityGroupInner>,NetworkSecurityGroupInner> |
beginCreateOrUpdate(String resourceGroupName,
String networkSecurityGroupName,
NetworkSecurityGroupInner parameters)
Creates or updates a network security group in the specified resource group.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<NetworkSecurityGroupInner>,NetworkSecurityGroupInner> |
beginCreateOrUpdate(String resourceGroupName,
String networkSecurityGroupName,
NetworkSecurityGroupInner parameters,
com.azure.core.util.Context context)
Creates or updates a network security group in the specified resource group.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<NetworkSecurityGroupInner>,NetworkSecurityGroupInner> |
beginCreateOrUpdateAsync(String resourceGroupName,
String networkSecurityGroupName,
NetworkSecurityGroupInner parameters)
Creates or updates a network security group in the specified resource group.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String networkSecurityGroupName)
Deletes the specified network security group.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String networkSecurityGroupName,
com.azure.core.util.Context context)
Deletes the specified network security group.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDeleteAsync(String resourceGroupName,
String networkSecurityGroupName)
Deletes the specified network security group.
|
NetworkSecurityGroupInner |
createOrUpdate(String resourceGroupName,
String networkSecurityGroupName,
NetworkSecurityGroupInner parameters)
Creates or updates a network security group in the specified resource group.
|
NetworkSecurityGroupInner |
createOrUpdate(String resourceGroupName,
String networkSecurityGroupName,
NetworkSecurityGroupInner parameters,
com.azure.core.util.Context context)
Creates or updates a network security group in the specified resource group.
|
Mono<NetworkSecurityGroupInner> |
createOrUpdateAsync(String resourceGroupName,
String networkSecurityGroupName,
NetworkSecurityGroupInner parameters)
Creates or updates a network security group in the specified resource group.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
createOrUpdateWithResponseAsync(String resourceGroupName,
String networkSecurityGroupName,
NetworkSecurityGroupInner parameters)
Creates or updates a network security group in the specified resource group.
|
void |
delete(String resourceGroupName,
String networkSecurityGroupName)
Deletes the specified network security group.
|
void |
delete(String resourceGroupName,
String networkSecurityGroupName,
com.azure.core.util.Context context)
Deletes the specified network security group.
|
Mono<Void> |
deleteAsync(String resourceGroupName,
String networkSecurityGroupName)
Deletes the specified network security group.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
deleteWithResponseAsync(String resourceGroupName,
String networkSecurityGroupName)
Deletes the specified network security group.
|
NetworkSecurityGroupInner |
getByResourceGroup(String resourceGroupName,
String networkSecurityGroupName)
Gets the specified network security group.
|
Mono<NetworkSecurityGroupInner> |
getByResourceGroupAsync(String resourceGroupName,
String networkSecurityGroupName)
Gets the specified network security group.
|
Mono<NetworkSecurityGroupInner> |
getByResourceGroupAsync(String resourceGroupName,
String networkSecurityGroupName,
String expand)
Gets the specified network security group.
|
com.azure.core.http.rest.Response<NetworkSecurityGroupInner> |
getByResourceGroupWithResponse(String resourceGroupName,
String networkSecurityGroupName,
String expand,
com.azure.core.util.Context context)
Gets the specified network security group.
|
Mono<com.azure.core.http.rest.Response<NetworkSecurityGroupInner>> |
getByResourceGroupWithResponseAsync(String resourceGroupName,
String networkSecurityGroupName,
String expand)
Gets the specified network security group.
|
com.azure.core.http.rest.PagedIterable<NetworkSecurityGroupInner> |
list()
Gets all network security groups in a subscription.
|
com.azure.core.http.rest.PagedIterable<NetworkSecurityGroupInner> |
list(com.azure.core.util.Context context)
Gets all network security groups in a subscription.
|
com.azure.core.http.rest.PagedFlux<NetworkSecurityGroupInner> |
listAsync()
Gets all network security groups in a subscription.
|
com.azure.core.http.rest.PagedIterable<NetworkSecurityGroupInner> |
listByResourceGroup(String resourceGroupName)
Gets all network security groups in a resource group.
|
com.azure.core.http.rest.PagedIterable<NetworkSecurityGroupInner> |
listByResourceGroup(String resourceGroupName,
com.azure.core.util.Context context)
Gets all network security groups in a resource group.
|
com.azure.core.http.rest.PagedFlux<NetworkSecurityGroupInner> |
listByResourceGroupAsync(String resourceGroupName)
Gets all network security groups in a resource group.
|
NetworkSecurityGroupInner |
updateTags(String resourceGroupName,
String networkSecurityGroupName)
Updates a network security group tags.
|
Mono<NetworkSecurityGroupInner> |
updateTagsAsync(String resourceGroupName,
String networkSecurityGroupName)
Updates a network security group tags.
|
Mono<NetworkSecurityGroupInner> |
updateTagsAsync(String resourceGroupName,
String networkSecurityGroupName,
Map<String,String> tags)
Updates a network security group tags.
|
com.azure.core.http.rest.Response<NetworkSecurityGroupInner> |
updateTagsWithResponse(String resourceGroupName,
String networkSecurityGroupName,
Map<String,String> tags,
com.azure.core.util.Context context)
Updates a network security group tags.
|
Mono<com.azure.core.http.rest.Response<NetworkSecurityGroupInner>> |
updateTagsWithResponseAsync(String resourceGroupName,
String networkSecurityGroupName,
Map<String,String> tags)
Updates a network security group tags.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String networkSecurityGroupName)
resourceGroupName - The name of the resource group.networkSecurityGroupName - The name of the network security group.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.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String networkSecurityGroupName)
resourceGroupName - The name of the resource group.networkSecurityGroupName - The name of the network security group.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String networkSecurityGroupName)
resourceGroupName - The name of the resource group.networkSecurityGroupName - The name of the network security group.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String networkSecurityGroupName, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.networkSecurityGroupName - The name of the network security group.context - The context to associate with this operation.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.Mono<Void> deleteAsync(String resourceGroupName, String networkSecurityGroupName)
deleteAsync in interface InnerSupportsDelete<Void>resourceGroupName - The name of the resource group.networkSecurityGroupName - The name of the network security group.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.void delete(String resourceGroupName, String networkSecurityGroupName)
resourceGroupName - The name of the resource group.networkSecurityGroupName - The name of the network security group.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.void delete(String resourceGroupName, String networkSecurityGroupName, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.networkSecurityGroupName - The name of the network security group.context - The context to associate with this operation.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.Mono<com.azure.core.http.rest.Response<NetworkSecurityGroupInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String networkSecurityGroupName, String expand)
resourceGroupName - The name of the resource group.networkSecurityGroupName - The name of the network security group.expand - Expands referenced resources.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.Mono<NetworkSecurityGroupInner> getByResourceGroupAsync(String resourceGroupName, String networkSecurityGroupName, String expand)
resourceGroupName - The name of the resource group.networkSecurityGroupName - The name of the network security group.expand - Expands referenced resources.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.Mono<NetworkSecurityGroupInner> getByResourceGroupAsync(String resourceGroupName, String networkSecurityGroupName)
getByResourceGroupAsync in interface InnerSupportsGet<NetworkSecurityGroupInner>resourceGroupName - The name of the resource group.networkSecurityGroupName - The name of the network security group.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.NetworkSecurityGroupInner getByResourceGroup(String resourceGroupName, String networkSecurityGroupName)
getByResourceGroup in interface InnerSupportsGet<NetworkSecurityGroupInner>resourceGroupName - The name of the resource group.networkSecurityGroupName - The name of the network security group.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.com.azure.core.http.rest.Response<NetworkSecurityGroupInner> getByResourceGroupWithResponse(String resourceGroupName, String networkSecurityGroupName, String expand, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.networkSecurityGroupName - The name of the network security group.expand - Expands referenced resources.context - The context to associate with this operation.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.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String networkSecurityGroupName, NetworkSecurityGroupInner parameters)
resourceGroupName - The name of the resource group.networkSecurityGroupName - The name of the network security group.parameters - Parameters supplied to the create or update network security group operation.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.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<NetworkSecurityGroupInner>,NetworkSecurityGroupInner> beginCreateOrUpdateAsync(String resourceGroupName, String networkSecurityGroupName, NetworkSecurityGroupInner parameters)
resourceGroupName - The name of the resource group.networkSecurityGroupName - The name of the network security group.parameters - Parameters supplied to the create or update network security group operation.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<NetworkSecurityGroupInner>,NetworkSecurityGroupInner> beginCreateOrUpdate(String resourceGroupName, String networkSecurityGroupName, NetworkSecurityGroupInner parameters)
resourceGroupName - The name of the resource group.networkSecurityGroupName - The name of the network security group.parameters - Parameters supplied to the create or update network security group operation.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<NetworkSecurityGroupInner>,NetworkSecurityGroupInner> beginCreateOrUpdate(String resourceGroupName, String networkSecurityGroupName, NetworkSecurityGroupInner parameters, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.networkSecurityGroupName - The name of the network security group.parameters - Parameters supplied to the create or update network security group operation.context - The context to associate with this operation.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.Mono<NetworkSecurityGroupInner> createOrUpdateAsync(String resourceGroupName, String networkSecurityGroupName, NetworkSecurityGroupInner parameters)
resourceGroupName - The name of the resource group.networkSecurityGroupName - The name of the network security group.parameters - Parameters supplied to the create or update network security group operation.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.NetworkSecurityGroupInner createOrUpdate(String resourceGroupName, String networkSecurityGroupName, NetworkSecurityGroupInner parameters)
resourceGroupName - The name of the resource group.networkSecurityGroupName - The name of the network security group.parameters - Parameters supplied to the create or update network security group operation.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.NetworkSecurityGroupInner createOrUpdate(String resourceGroupName, String networkSecurityGroupName, NetworkSecurityGroupInner parameters, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.networkSecurityGroupName - The name of the network security group.parameters - Parameters supplied to the create or update network security group operation.context - The context to associate with this operation.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.Mono<com.azure.core.http.rest.Response<NetworkSecurityGroupInner>> updateTagsWithResponseAsync(String resourceGroupName, String networkSecurityGroupName, Map<String,String> tags)
resourceGroupName - The name of the resource group.networkSecurityGroupName - The name of the network security group.tags - Resource tags.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.Mono<NetworkSecurityGroupInner> updateTagsAsync(String resourceGroupName, String networkSecurityGroupName, Map<String,String> tags)
resourceGroupName - The name of the resource group.networkSecurityGroupName - The name of the network security group.tags - Resource tags.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.Mono<NetworkSecurityGroupInner> updateTagsAsync(String resourceGroupName, String networkSecurityGroupName)
resourceGroupName - The name of the resource group.networkSecurityGroupName - The name of the network security group.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.NetworkSecurityGroupInner updateTags(String resourceGroupName, String networkSecurityGroupName)
resourceGroupName - The name of the resource group.networkSecurityGroupName - The name of the network security group.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.com.azure.core.http.rest.Response<NetworkSecurityGroupInner> updateTagsWithResponse(String resourceGroupName, String networkSecurityGroupName, Map<String,String> tags, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.networkSecurityGroupName - The name of the network security group.tags - Resource tags.context - The context to associate with this operation.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.com.azure.core.http.rest.PagedFlux<NetworkSecurityGroupInner> listAsync()
listAsync in interface InnerSupportsListing<NetworkSecurityGroupInner>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.com.azure.core.http.rest.PagedIterable<NetworkSecurityGroupInner> list()
list in interface InnerSupportsListing<NetworkSecurityGroupInner>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.com.azure.core.http.rest.PagedIterable<NetworkSecurityGroupInner> list(com.azure.core.util.Context context)
context - The context to associate with this operation.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.com.azure.core.http.rest.PagedFlux<NetworkSecurityGroupInner> listByResourceGroupAsync(String resourceGroupName)
listByResourceGroupAsync in interface InnerSupportsListing<NetworkSecurityGroupInner>resourceGroupName - The name of the resource group.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.com.azure.core.http.rest.PagedIterable<NetworkSecurityGroupInner> listByResourceGroup(String resourceGroupName)
listByResourceGroup in interface InnerSupportsListing<NetworkSecurityGroupInner>resourceGroupName - The name of the resource group.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.com.azure.core.http.rest.PagedIterable<NetworkSecurityGroupInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.context - The context to associate with this operation.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.Copyright © 2021 Microsoft Corporation. All rights reserved.