NetworkSecurityGroupsClient Interface
Implements
public interface NetworkSecurityGroupsClient
extends InnerSupportsGet<NetworkSecurityGroupInner>, InnerSupportsListing<NetworkSecurityGroupInner>, InnerSupportsDelete<Void>
An instance of this class provides access to all the operations defined in NetworkSecurityGroupsClient.
Method Summary
Modifier and Type |
Method and Description |
abstract
SyncPoller<PollResult<NetworkSecurityGroupInner>,NetworkSecurityGroupInner>
|
beginCreateOrUpdate(String resourceGroupName, String networkSecurityGroupName, NetworkSecurityGroupInner parameters)
Creates or updates a network security group in the specified resource group.
|
abstract
SyncPoller<PollResult<NetworkSecurityGroupInner>,NetworkSecurityGroupInner>
|
beginCreateOrUpdate(String resourceGroupName, String networkSecurityGroupName, NetworkSecurityGroupInner parameters, Context context)
Creates or updates a network security group in the specified resource group.
|
abstract
PollerFlux<PollResult<NetworkSecurityGroupInner>,NetworkSecurityGroupInner>
|
beginCreateOrUpdateAsync(String resourceGroupName, String networkSecurityGroupName, NetworkSecurityGroupInner parameters)
Creates or updates a network security group in the specified resource group.
|
abstract
SyncPoller<PollResult<Void>,Void>
|
beginDelete(String resourceGroupName, String networkSecurityGroupName)
Deletes the specified network security group.
|
abstract
SyncPoller<PollResult<Void>,Void>
|
beginDelete(String resourceGroupName, String networkSecurityGroupName, Context context)
Deletes the specified network security group.
|
abstract
PollerFlux<PollResult<Void>,Void>
|
beginDeleteAsync(String resourceGroupName, String networkSecurityGroupName)
Deletes the specified network security group.
|
abstract
NetworkSecurityGroupInner
|
createOrUpdate(String resourceGroupName, String networkSecurityGroupName, NetworkSecurityGroupInner parameters)
Creates or updates a network security group in the specified resource group.
|
abstract
NetworkSecurityGroupInner
|
createOrUpdate(String resourceGroupName, String networkSecurityGroupName, NetworkSecurityGroupInner parameters, Context context)
Creates or updates a network security group in the specified resource group.
|
abstract
Mono<NetworkSecurityGroupInner>
|
createOrUpdateAsync(String resourceGroupName, String networkSecurityGroupName, NetworkSecurityGroupInner parameters)
Creates or updates a network security group in the specified resource group.
|
abstract
Mono<Response<Flux<ByteBuffer>>>
|
createOrUpdateWithResponseAsync(String resourceGroupName, String networkSecurityGroupName, NetworkSecurityGroupInner parameters)
Creates or updates a network security group in the specified resource group.
|
abstract
void
|
delete(String resourceGroupName, String networkSecurityGroupName)
Deletes the specified network security group.
|
abstract
void
|
delete(String resourceGroupName, String networkSecurityGroupName, Context context)
Deletes the specified network security group.
|
abstract
Mono<Void>
|
deleteAsync(String resourceGroupName, String networkSecurityGroupName)
Deletes the specified network security group.
|
abstract
Mono<Response<Flux<ByteBuffer>>>
|
deleteWithResponseAsync(String resourceGroupName, String networkSecurityGroupName)
Deletes the specified network security group.
|
abstract
NetworkSecurityGroupInner
|
getByResourceGroup(String resourceGroupName, String networkSecurityGroupName)
Gets the specified network security group.
|
abstract
Mono<NetworkSecurityGroupInner>
|
getByResourceGroupAsync(String resourceGroupName, String networkSecurityGroupName)
Gets the specified network security group.
|
abstract
Response<NetworkSecurityGroupInner>
|
getByResourceGroupWithResponse(String resourceGroupName, String networkSecurityGroupName, String expand, Context context)
Gets the specified network security group.
|
abstract
Mono<Response<NetworkSecurityGroupInner>>
|
getByResourceGroupWithResponseAsync(String resourceGroupName, String networkSecurityGroupName, String expand)
Gets the specified network security group.
|
abstract
PagedIterable<NetworkSecurityGroupInner>
|
list()
Gets all network security groups in a subscription.
|
abstract
PagedIterable<NetworkSecurityGroupInner>
|
list(Context context)
Gets all network security groups in a subscription.
|
abstract
PagedFlux<NetworkSecurityGroupInner>
|
listAsync()
Gets all network security groups in a subscription.
|
abstract
PagedIterable<NetworkSecurityGroupInner>
|
listByResourceGroup(String resourceGroupName)
Gets all network security groups in a resource group.
|
abstract
PagedIterable<NetworkSecurityGroupInner>
|
listByResourceGroup(String resourceGroupName, Context context)
Gets all network security groups in a resource group.
|
abstract
PagedFlux<NetworkSecurityGroupInner>
|
listByResourceGroupAsync(String resourceGroupName)
Gets all network security groups in a resource group.
|
abstract
NetworkSecurityGroupInner
|
updateTags(String resourceGroupName, String networkSecurityGroupName, TagsObject parameters)
Updates a network security group tags.
|
abstract
Mono<NetworkSecurityGroupInner>
|
updateTagsAsync(String resourceGroupName, String networkSecurityGroupName, TagsObject parameters)
Updates a network security group tags.
|
abstract
Response<NetworkSecurityGroupInner>
|
updateTagsWithResponse(String resourceGroupName, String networkSecurityGroupName, TagsObject parameters, Context context)
Updates a network security group tags.
|
abstract
Mono<Response<NetworkSecurityGroupInner>>
|
updateTagsWithResponseAsync(String resourceGroupName, String networkSecurityGroupName, TagsObject parameters)
Updates a network security group tags.
|
Method Details
beginCreateOrUpdate
public abstract SyncPoller,NetworkSecurityGroupInner> beginCreateOrUpdate(String resourceGroupName, String networkSecurityGroupName, NetworkSecurityGroupInner parameters)
Creates or updates a network security group in the specified resource group.
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.
Returns:
beginCreateOrUpdate
public abstract SyncPoller,NetworkSecurityGroupInner> beginCreateOrUpdate(String resourceGroupName, String networkSecurityGroupName, NetworkSecurityGroupInner parameters, Context context)
Creates or updates a network security group in the specified resource group.
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.
context
- The context to associate with this operation.
Returns:
beginCreateOrUpdateAsync
public abstract PollerFlux,NetworkSecurityGroupInner> beginCreateOrUpdateAsync(String resourceGroupName, String networkSecurityGroupName, NetworkSecurityGroupInner parameters)
Creates or updates a network security group in the specified resource group.
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.
Returns:
beginDelete
public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String networkSecurityGroupName)
Deletes the specified network security group.
Parameters:
resourceGroupName
- The name of the resource group.
networkSecurityGroupName
- The name of the network security group.
Returns:
beginDelete
public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String networkSecurityGroupName, Context context)
Deletes the specified network security group.
Parameters:
resourceGroupName
- The name of the resource group.
networkSecurityGroupName
- The name of the network security group.
context
- The context to associate with this operation.
Returns:
beginDeleteAsync
public abstract PollerFlux,Void> beginDeleteAsync(String resourceGroupName, String networkSecurityGroupName)
Deletes the specified network security group.
Parameters:
resourceGroupName
- The name of the resource group.
networkSecurityGroupName
- The name of the network security group.
Returns:
createOrUpdate
public abstract NetworkSecurityGroupInner createOrUpdate(String resourceGroupName, String networkSecurityGroupName, NetworkSecurityGroupInner parameters)
Creates or updates a network security group in the specified resource group.
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.
Returns:
networkSecurityGroup resource.
createOrUpdate
public abstract NetworkSecurityGroupInner createOrUpdate(String resourceGroupName, String networkSecurityGroupName, NetworkSecurityGroupInner parameters, Context context)
Creates or updates a network security group in the specified resource group.
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.
context
- The context to associate with this operation.
Returns:
networkSecurityGroup resource.
createOrUpdateAsync
public abstract Mono createOrUpdateAsync(String resourceGroupName, String networkSecurityGroupName, NetworkSecurityGroupInner parameters)
Creates or updates a network security group in the specified resource group.
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.
Returns:
networkSecurityGroup resource on successful completion of Mono.
createOrUpdateWithResponseAsync
public abstract Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, String networkSecurityGroupName, NetworkSecurityGroupInner parameters)
Creates or updates a network security group in the specified resource group.
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.
Returns:
networkSecurityGroup resource along with
Response<T> on successful completion of
Mono.
delete
public abstract void delete(String resourceGroupName, String networkSecurityGroupName)
Deletes the specified network security group.
Parameters:
resourceGroupName
- The name of the resource group.
networkSecurityGroupName
- The name of the network security group.
delete
public abstract void delete(String resourceGroupName, String networkSecurityGroupName, Context context)
Deletes the specified network security group.
Parameters:
resourceGroupName
- The name of the resource group.
networkSecurityGroupName
- The name of the network security group.
context
- The context to associate with this operation.
deleteAsync
public abstract Mono deleteAsync(String resourceGroupName, String networkSecurityGroupName)
Deletes the specified network security group.
Parameters:
resourceGroupName
- The name of the resource group.
networkSecurityGroupName
- The name of the network security group.
Returns:
A Mono that completes when a successful response is received.
deleteWithResponseAsync
public abstract Mono>> deleteWithResponseAsync(String resourceGroupName, String networkSecurityGroupName)
Deletes the specified network security group.
Parameters:
resourceGroupName
- The name of the resource group.
networkSecurityGroupName
- The name of the network security group.
Returns:
getByResourceGroup
public abstract NetworkSecurityGroupInner getByResourceGroup(String resourceGroupName, String networkSecurityGroupName)
Gets the specified network security group.
Parameters:
resourceGroupName
- The name of the resource group.
networkSecurityGroupName
- The name of the network security group.
Returns:
the specified network security group.
getByResourceGroupAsync
public abstract Mono getByResourceGroupAsync(String resourceGroupName, String networkSecurityGroupName)
Gets the specified network security group.
Parameters:
resourceGroupName
- The name of the resource group.
networkSecurityGroupName
- The name of the network security group.
Returns:
the specified network security group on successful completion of Mono.
getByResourceGroupWithResponse
public abstract Response getByResourceGroupWithResponse(String resourceGroupName, String networkSecurityGroupName, String expand, Context context)
Gets the specified network security group.
Parameters:
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.
Returns:
the specified network security group along with
Response<T>.
getByResourceGroupWithResponseAsync
public abstract Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, String networkSecurityGroupName, String expand)
Gets the specified network security group.
Parameters:
resourceGroupName
- The name of the resource group.
networkSecurityGroupName
- The name of the network security group.
expand
- Expands referenced resources.
Returns:
the specified network security group along with
Response<T> on successful completion of
Mono.
list
public abstract PagedIterable list()
Gets all network security groups in a subscription.
Returns:
all network security groups in a subscription as paginated response with
PagedIterable<T>.
list
public abstract PagedIterable list(Context context)
Gets all network security groups in a subscription.
Parameters:
context
- The context to associate with this operation.
Returns:
all network security groups in a subscription as paginated response with
PagedIterable<T>.
listAsync
public abstract PagedFlux listAsync()
Gets all network security groups in a subscription.
Returns:
all network security groups in a subscription as paginated response with
PagedFlux<T>.
listByResourceGroup
public abstract PagedIterable listByResourceGroup(String resourceGroupName)
Gets all network security groups in a resource group.
Parameters:
resourceGroupName
- The name of the resource group.
Returns:
all network security groups in a resource group as paginated response with
PagedIterable<T>.
listByResourceGroup
public abstract PagedIterable listByResourceGroup(String resourceGroupName, Context context)
Gets all network security groups in a resource group.
Parameters:
resourceGroupName
- The name of the resource group.
context
- The context to associate with this operation.
Returns:
all network security groups in a resource group as paginated response with
PagedIterable<T>.
listByResourceGroupAsync
public abstract PagedFlux listByResourceGroupAsync(String resourceGroupName)
Gets all network security groups in a resource group.
Parameters:
resourceGroupName
- The name of the resource group.
Returns:
all network security groups in a resource group as paginated response with
PagedFlux<T>.
updateTags
public abstract NetworkSecurityGroupInner updateTags(String resourceGroupName, String networkSecurityGroupName, TagsObject parameters)
Updates a network security group tags.
Parameters:
resourceGroupName
- The name of the resource group.
networkSecurityGroupName
- The name of the network security group.
parameters
- Parameters supplied to update network security group tags.
Returns:
networkSecurityGroup resource.
updateTagsAsync
public abstract Mono updateTagsAsync(String resourceGroupName, String networkSecurityGroupName, TagsObject parameters)
Updates a network security group tags.
Parameters:
resourceGroupName
- The name of the resource group.
networkSecurityGroupName
- The name of the network security group.
parameters
- Parameters supplied to update network security group tags.
Returns:
networkSecurityGroup resource on successful completion of Mono.
updateTagsWithResponse
public abstract Response updateTagsWithResponse(String resourceGroupName, String networkSecurityGroupName, TagsObject parameters, Context context)
Updates a network security group tags.
Parameters:
resourceGroupName
- The name of the resource group.
networkSecurityGroupName
- The name of the network security group.
parameters
- Parameters supplied to update network security group tags.
context
- The context to associate with this operation.
Returns:
updateTagsWithResponseAsync
public abstract Mono> updateTagsWithResponseAsync(String resourceGroupName, String networkSecurityGroupName, TagsObject parameters)
Updates a network security group tags.
Parameters:
resourceGroupName
- The name of the resource group.
networkSecurityGroupName
- The name of the network security group.
parameters
- Parameters supplied to update network security group tags.
Returns:
networkSecurityGroup resource along with
Response<T> on successful completion of
Mono.
Applies to