Partager via


NetworkGroupsClient Interface

public interface NetworkGroupsClient

An instance of this class provides access to all the operations defined in NetworkGroupsClient.

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String networkManagerName, String networkGroupName)

Deletes a network group.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String networkManagerName, String networkGroupName, Boolean force, Context context)

Deletes a network group.

abstract PollerFlux<PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String networkManagerName, String networkGroupName)

Deletes a network group.

abstract PollerFlux<PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String networkManagerName, String networkGroupName, Boolean force)

Deletes a network group.

abstract NetworkGroupInner createOrUpdate(String resourceGroupName, String networkManagerName, String networkGroupName, NetworkGroupInner parameters)

Creates or updates a network group.

abstract Mono<NetworkGroupInner> createOrUpdateAsync(String resourceGroupName, String networkManagerName, String networkGroupName, NetworkGroupInner parameters)

Creates or updates a network group.

abstract NetworkGroupsCreateOrUpdateResponse createOrUpdateWithResponse(String resourceGroupName, String networkManagerName, String networkGroupName, NetworkGroupInner parameters, String ifMatch, Context context)

Creates or updates a network group.

abstract Mono<NetworkGroupsCreateOrUpdateResponse> createOrUpdateWithResponseAsync(String resourceGroupName, String networkManagerName, String networkGroupName, NetworkGroupInner parameters, String ifMatch)

Creates or updates a network group.

abstract void delete(String resourceGroupName, String networkManagerName, String networkGroupName)

Deletes a network group.

abstract void delete(String resourceGroupName, String networkManagerName, String networkGroupName, Boolean force, Context context)

Deletes a network group.

abstract Mono<Void> deleteAsync(String resourceGroupName, String networkManagerName, String networkGroupName)

Deletes a network group.

abstract Mono<Void> deleteAsync(String resourceGroupName, String networkManagerName, String networkGroupName, Boolean force)

Deletes a network group.

abstract Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String networkManagerName, String networkGroupName, Boolean force)

Deletes a network group.

abstract NetworkGroupInner get(String resourceGroupName, String networkManagerName, String networkGroupName)

Gets the specified network group.

abstract Mono<NetworkGroupInner> getAsync(String resourceGroupName, String networkManagerName, String networkGroupName)

Gets the specified network group.

abstract Response<NetworkGroupInner> getWithResponse(String resourceGroupName, String networkManagerName, String networkGroupName, Context context)

Gets the specified network group.

abstract Mono<Response<NetworkGroupInner>> getWithResponseAsync(String resourceGroupName, String networkManagerName, String networkGroupName)

Gets the specified network group.

abstract PagedIterable<NetworkGroupInner> list(String resourceGroupName, String networkManagerName)

Lists the specified network group.

abstract PagedIterable<NetworkGroupInner> list(String resourceGroupName, String networkManagerName, Integer top, String skipToken, Context context)

Lists the specified network group.

abstract PagedFlux<NetworkGroupInner> listAsync(String resourceGroupName, String networkManagerName)

Lists the specified network group.

abstract PagedFlux<NetworkGroupInner> listAsync(String resourceGroupName, String networkManagerName, Integer top, String skipToken)

Lists the specified network group.

Method Details

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String networkManagerName, String networkGroupName)

Deletes a network group.

Parameters:

resourceGroupName - The name of the resource group.
networkManagerName - The name of the network manager.
networkGroupName - The name of the network group.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String networkManagerName, String networkGroupName, Boolean force, Context context)

Deletes a network group.

Parameters:

resourceGroupName - The name of the resource group.
networkManagerName - The name of the network manager.
networkGroupName - The name of the network group.
force - Deletes the resource even if it is part of a deployed configuration. If the configuration has been deployed, the service will do a cleanup deployment in the background, prior to the delete.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDeleteAsync

public abstract PollerFlux,Void> beginDeleteAsync(String resourceGroupName, String networkManagerName, String networkGroupName)

Deletes a network group.

Parameters:

resourceGroupName - The name of the resource group.
networkManagerName - The name of the network manager.
networkGroupName - The name of the network group.

Returns:

the PollerFlux<T,U> for polling of long-running operation.

beginDeleteAsync

public abstract PollerFlux,Void> beginDeleteAsync(String resourceGroupName, String networkManagerName, String networkGroupName, Boolean force)

Deletes a network group.

Parameters:

resourceGroupName - The name of the resource group.
networkManagerName - The name of the network manager.
networkGroupName - The name of the network group.
force - Deletes the resource even if it is part of a deployed configuration. If the configuration has been deployed, the service will do a cleanup deployment in the background, prior to the delete.

Returns:

the PollerFlux<T,U> for polling of long-running operation.

createOrUpdate

public abstract NetworkGroupInner createOrUpdate(String resourceGroupName, String networkManagerName, String networkGroupName, NetworkGroupInner parameters)

Creates or updates a network group.

Parameters:

resourceGroupName - The name of the resource group.
networkManagerName - The name of the network manager.
networkGroupName - The name of the network group.
parameters - Parameters supplied to the specify which network group need to create.

Returns:

the network group resource.

createOrUpdateAsync

public abstract Mono createOrUpdateAsync(String resourceGroupName, String networkManagerName, String networkGroupName, NetworkGroupInner parameters)

Creates or updates a network group.

Parameters:

resourceGroupName - The name of the resource group.
networkManagerName - The name of the network manager.
networkGroupName - The name of the network group.
parameters - Parameters supplied to the specify which network group need to create.

Returns:

the network group resource on successful completion of Mono.

createOrUpdateWithResponse

public abstract NetworkGroupsCreateOrUpdateResponse createOrUpdateWithResponse(String resourceGroupName, String networkManagerName, String networkGroupName, NetworkGroupInner parameters, String ifMatch, Context context)

Creates or updates a network group.

Parameters:

resourceGroupName - The name of the resource group.
networkManagerName - The name of the network manager.
networkGroupName - The name of the network group.
parameters - Parameters supplied to the specify which network group need to create.
ifMatch - The ETag of the transformation. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes.
context - The context to associate with this operation.

Returns:

the network group resource.

createOrUpdateWithResponseAsync

public abstract Mono createOrUpdateWithResponseAsync(String resourceGroupName, String networkManagerName, String networkGroupName, NetworkGroupInner parameters, String ifMatch)

Creates or updates a network group.

Parameters:

resourceGroupName - The name of the resource group.
networkManagerName - The name of the network manager.
networkGroupName - The name of the network group.
parameters - Parameters supplied to the specify which network group need to create.
ifMatch - The ETag of the transformation. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes.

Returns:

the network group resource on successful completion of Mono.

delete

public abstract void delete(String resourceGroupName, String networkManagerName, String networkGroupName)

Deletes a network group.

Parameters:

resourceGroupName - The name of the resource group.
networkManagerName - The name of the network manager.
networkGroupName - The name of the network group.

delete

public abstract void delete(String resourceGroupName, String networkManagerName, String networkGroupName, Boolean force, Context context)

Deletes a network group.

Parameters:

resourceGroupName - The name of the resource group.
networkManagerName - The name of the network manager.
networkGroupName - The name of the network group.
force - Deletes the resource even if it is part of a deployed configuration. If the configuration has been deployed, the service will do a cleanup deployment in the background, prior to the delete.
context - The context to associate with this operation.

deleteAsync

public abstract Mono deleteAsync(String resourceGroupName, String networkManagerName, String networkGroupName)

Deletes a network group.

Parameters:

resourceGroupName - The name of the resource group.
networkManagerName - The name of the network manager.
networkGroupName - The name of the network group.

Returns:

A Mono that completes when a successful response is received.

deleteAsync

public abstract Mono deleteAsync(String resourceGroupName, String networkManagerName, String networkGroupName, Boolean force)

Deletes a network group.

Parameters:

resourceGroupName - The name of the resource group.
networkManagerName - The name of the network manager.
networkGroupName - The name of the network group.
force - Deletes the resource even if it is part of a deployed configuration. If the configuration has been deployed, the service will do a cleanup deployment in the background, prior to the delete.

Returns:

A Mono that completes when a successful response is received.

deleteWithResponseAsync

public abstract Mono>> deleteWithResponseAsync(String resourceGroupName, String networkManagerName, String networkGroupName, Boolean force)

Deletes a network group.

Parameters:

resourceGroupName - The name of the resource group.
networkManagerName - The name of the network manager.
networkGroupName - The name of the network group.
force - Deletes the resource even if it is part of a deployed configuration. If the configuration has been deployed, the service will do a cleanup deployment in the background, prior to the delete.

Returns:

the Response<T> on successful completion of Mono.

get

public abstract NetworkGroupInner get(String resourceGroupName, String networkManagerName, String networkGroupName)

Gets the specified network group.

Parameters:

resourceGroupName - The name of the resource group.
networkManagerName - The name of the network manager.
networkGroupName - The name of the network group.

Returns:

the specified network group.

getAsync

public abstract Mono getAsync(String resourceGroupName, String networkManagerName, String networkGroupName)

Gets the specified network group.

Parameters:

resourceGroupName - The name of the resource group.
networkManagerName - The name of the network manager.
networkGroupName - The name of the network group.

Returns:

the specified network group on successful completion of Mono.

getWithResponse

public abstract Response getWithResponse(String resourceGroupName, String networkManagerName, String networkGroupName, Context context)

Gets the specified network group.

Parameters:

resourceGroupName - The name of the resource group.
networkManagerName - The name of the network manager.
networkGroupName - The name of the network group.
context - The context to associate with this operation.

Returns:

the specified network group along with Response<T>.

getWithResponseAsync

public abstract Mono> getWithResponseAsync(String resourceGroupName, String networkManagerName, String networkGroupName)

Gets the specified network group.

Parameters:

resourceGroupName - The name of the resource group.
networkManagerName - The name of the network manager.
networkGroupName - The name of the network group.

Returns:

the specified network group along with Response<T> on successful completion of Mono.

list

public abstract PagedIterable list(String resourceGroupName, String networkManagerName)

Lists the specified network group.

Parameters:

resourceGroupName - The name of the resource group.
networkManagerName - The name of the network manager.

Returns:

result of the request to list NetworkGroup as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(String resourceGroupName, String networkManagerName, Integer top, String skipToken, Context context)

Lists the specified network group.

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:

result of the request to list NetworkGroup as paginated response with PagedIterable<T>.

listAsync

public abstract PagedFlux listAsync(String resourceGroupName, String networkManagerName)

Lists the specified network group.

Parameters:

resourceGroupName - The name of the resource group.
networkManagerName - The name of the network manager.

Returns:

result of the request to list NetworkGroup as paginated response with PagedFlux<T>.

listAsync

public abstract PagedFlux listAsync(String resourceGroupName, String networkManagerName, Integer top, String skipToken)

Lists the specified network group.

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:

result of the request to list NetworkGroup as paginated response with PagedFlux<T>.

Applies to