Interface IpGroupsClient
-
- All Superinterfaces:
InnerSupportsDelete<Void>,InnerSupportsGet<IpGroupInner>,InnerSupportsListing<IpGroupInner>
public interface IpGroupsClient extends InnerSupportsGet<IpGroupInner>, InnerSupportsListing<IpGroupInner>, InnerSupportsDelete<Void>
An instance of this class provides access to all the operations defined in IpGroupsClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<IpGroupInner>,IpGroupInner>beginCreateOrUpdate(String resourceGroupName, String ipGroupsName, IpGroupInner parameters)Creates or updates an ipGroups in a specified resource group.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<IpGroupInner>,IpGroupInner>beginCreateOrUpdate(String resourceGroupName, String ipGroupsName, IpGroupInner parameters, com.azure.core.util.Context context)Creates or updates an ipGroups in a specified resource group.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<IpGroupInner>,IpGroupInner>beginCreateOrUpdateAsync(String resourceGroupName, String ipGroupsName, IpGroupInner parameters)Creates or updates an ipGroups in a specified resource group.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void>beginDelete(String resourceGroupName, String ipGroupsName)Deletes the specified ipGroups.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void>beginDelete(String resourceGroupName, String ipGroupsName, com.azure.core.util.Context context)Deletes the specified ipGroups.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void>beginDeleteAsync(String resourceGroupName, String ipGroupsName)Deletes the specified ipGroups.IpGroupInnercreateOrUpdate(String resourceGroupName, String ipGroupsName, IpGroupInner parameters)Creates or updates an ipGroups in a specified resource group.IpGroupInnercreateOrUpdate(String resourceGroupName, String ipGroupsName, IpGroupInner parameters, com.azure.core.util.Context context)Creates or updates an ipGroups in a specified resource group.Mono<IpGroupInner>createOrUpdateAsync(String resourceGroupName, String ipGroupsName, IpGroupInner parameters)Creates or updates an ipGroups in a specified resource group.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>createOrUpdateWithResponseAsync(String resourceGroupName, String ipGroupsName, IpGroupInner parameters)Creates or updates an ipGroups in a specified resource group.voiddelete(String resourceGroupName, String ipGroupsName)Deletes the specified ipGroups.voiddelete(String resourceGroupName, String ipGroupsName, com.azure.core.util.Context context)Deletes the specified ipGroups.Mono<Void>deleteAsync(String resourceGroupName, String ipGroupsName)Deletes the specified ipGroups.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>deleteWithResponseAsync(String resourceGroupName, String ipGroupsName)Deletes the specified ipGroups.IpGroupInnergetByResourceGroup(String resourceGroupName, String ipGroupsName)Gets the specified ipGroups.Mono<IpGroupInner>getByResourceGroupAsync(String resourceGroupName, String ipGroupsName)Gets the specified ipGroups.Mono<IpGroupInner>getByResourceGroupAsync(String resourceGroupName, String ipGroupsName, String expand)Gets the specified ipGroups.com.azure.core.http.rest.Response<IpGroupInner>getByResourceGroupWithResponse(String resourceGroupName, String ipGroupsName, String expand, com.azure.core.util.Context context)Gets the specified ipGroups.Mono<com.azure.core.http.rest.Response<IpGroupInner>>getByResourceGroupWithResponseAsync(String resourceGroupName, String ipGroupsName, String expand)Gets the specified ipGroups.com.azure.core.http.rest.PagedIterable<IpGroupInner>list()Gets all IpGroups in a subscription.com.azure.core.http.rest.PagedIterable<IpGroupInner>list(com.azure.core.util.Context context)Gets all IpGroups in a subscription.com.azure.core.http.rest.PagedFlux<IpGroupInner>listAsync()Gets all IpGroups in a subscription.com.azure.core.http.rest.PagedIterable<IpGroupInner>listByResourceGroup(String resourceGroupName)Gets all IpGroups in a resource group.com.azure.core.http.rest.PagedIterable<IpGroupInner>listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)Gets all IpGroups in a resource group.com.azure.core.http.rest.PagedFlux<IpGroupInner>listByResourceGroupAsync(String resourceGroupName)Gets all IpGroups in a resource group.IpGroupInnerupdateGroups(String resourceGroupName, String ipGroupsName, TagsObject parameters)Updates tags of an IpGroups resource.Mono<IpGroupInner>updateGroupsAsync(String resourceGroupName, String ipGroupsName, TagsObject parameters)Updates tags of an IpGroups resource.com.azure.core.http.rest.Response<IpGroupInner>updateGroupsWithResponse(String resourceGroupName, String ipGroupsName, TagsObject parameters, com.azure.core.util.Context context)Updates tags of an IpGroups resource.Mono<com.azure.core.http.rest.Response<IpGroupInner>>updateGroupsWithResponseAsync(String resourceGroupName, String ipGroupsName, TagsObject parameters)Updates tags of an IpGroups resource.
-
-
-
Method Detail
-
getByResourceGroupWithResponseAsync
Mono<com.azure.core.http.rest.Response<IpGroupInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String ipGroupsName, String expand)
Gets the specified ipGroups.- Parameters:
resourceGroupName- The name of the resource group.ipGroupsName- The name of the ipGroups.expand- Expands resourceIds (of Firewalls/Network Security Groups etc.) back referenced by the IpGroups resource.- Returns:
- the specified ipGroups along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroupAsync
Mono<IpGroupInner> getByResourceGroupAsync(String resourceGroupName, String ipGroupsName, String expand)
Gets the specified ipGroups.- Parameters:
resourceGroupName- The name of the resource group.ipGroupsName- The name of the ipGroups.expand- Expands resourceIds (of Firewalls/Network Security Groups etc.) back referenced by the IpGroups resource.- Returns:
- the specified ipGroups on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroupAsync
Mono<IpGroupInner> getByResourceGroupAsync(String resourceGroupName, String ipGroupsName)
Gets the specified ipGroups.- Specified by:
getByResourceGroupAsyncin interfaceInnerSupportsGet<IpGroupInner>- Parameters:
resourceGroupName- The name of the resource group.ipGroupsName- The name of the ipGroups.- Returns:
- the specified ipGroups on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroup
IpGroupInner getByResourceGroup(String resourceGroupName, String ipGroupsName)
Gets the specified ipGroups.- Specified by:
getByResourceGroupin interfaceInnerSupportsGet<IpGroupInner>- Parameters:
resourceGroupName- The name of the resource group.ipGroupsName- The name of the ipGroups.- Returns:
- the specified ipGroups.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<IpGroupInner> getByResourceGroupWithResponse(String resourceGroupName, String ipGroupsName, String expand, com.azure.core.util.Context context)
Gets the specified ipGroups.- Parameters:
resourceGroupName- The name of the resource group.ipGroupsName- The name of the ipGroups.expand- Expands resourceIds (of Firewalls/Network Security Groups etc.) back referenced by the IpGroups resource.context- The context to associate with this operation.- Returns:
- the specified ipGroups along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- 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 ipGroupsName, IpGroupInner parameters)
Creates or updates an ipGroups in a specified resource group.- Parameters:
resourceGroupName- The name of the resource group.ipGroupsName- The name of the ipGroups.parameters- Parameters supplied to the create or update IpGroups operation.- Returns:
- the IpGroups resource information along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- 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<IpGroupInner>,IpGroupInner> beginCreateOrUpdateAsync(String resourceGroupName, String ipGroupsName, IpGroupInner parameters)
Creates or updates an ipGroups in a specified resource group.- Parameters:
resourceGroupName- The name of the resource group.ipGroupsName- The name of the ipGroups.parameters- Parameters supplied to the create or update IpGroups operation.- Returns:
- the
PollerFluxfor polling of the IpGroups resource information. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- 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<IpGroupInner>,IpGroupInner> beginCreateOrUpdate(String resourceGroupName, String ipGroupsName, IpGroupInner parameters)
Creates or updates an ipGroups in a specified resource group.- Parameters:
resourceGroupName- The name of the resource group.ipGroupsName- The name of the ipGroups.parameters- Parameters supplied to the create or update IpGroups operation.- Returns:
- the
SyncPollerfor polling of the IpGroups resource information. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- 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<IpGroupInner>,IpGroupInner> beginCreateOrUpdate(String resourceGroupName, String ipGroupsName, IpGroupInner parameters, com.azure.core.util.Context context)
Creates or updates an ipGroups in a specified resource group.- Parameters:
resourceGroupName- The name of the resource group.ipGroupsName- The name of the ipGroups.parameters- Parameters supplied to the create or update IpGroups operation.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of the IpGroups resource information. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateAsync
Mono<IpGroupInner> createOrUpdateAsync(String resourceGroupName, String ipGroupsName, IpGroupInner parameters)
Creates or updates an ipGroups in a specified resource group.- Parameters:
resourceGroupName- The name of the resource group.ipGroupsName- The name of the ipGroups.parameters- Parameters supplied to the create or update IpGroups operation.- Returns:
- the IpGroups resource information on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
IpGroupInner createOrUpdate(String resourceGroupName, String ipGroupsName, IpGroupInner parameters)
Creates or updates an ipGroups in a specified resource group.- Parameters:
resourceGroupName- The name of the resource group.ipGroupsName- The name of the ipGroups.parameters- Parameters supplied to the create or update IpGroups operation.- Returns:
- the IpGroups resource information.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
IpGroupInner createOrUpdate(String resourceGroupName, String ipGroupsName, IpGroupInner parameters, com.azure.core.util.Context context)
Creates or updates an ipGroups in a specified resource group.- Parameters:
resourceGroupName- The name of the resource group.ipGroupsName- The name of the ipGroups.parameters- Parameters supplied to the create or update IpGroups operation.context- The context to associate with this operation.- Returns:
- the IpGroups resource information.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
updateGroupsWithResponseAsync
Mono<com.azure.core.http.rest.Response<IpGroupInner>> updateGroupsWithResponseAsync(String resourceGroupName, String ipGroupsName, TagsObject parameters)
Updates tags of an IpGroups resource.- Parameters:
resourceGroupName- The name of the resource group.ipGroupsName- The name of the ipGroups.parameters- Parameters supplied to the update ipGroups operation.- Returns:
- the IpGroups resource information along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
updateGroupsAsync
Mono<IpGroupInner> updateGroupsAsync(String resourceGroupName, String ipGroupsName, TagsObject parameters)
Updates tags of an IpGroups resource.- Parameters:
resourceGroupName- The name of the resource group.ipGroupsName- The name of the ipGroups.parameters- Parameters supplied to the update ipGroups operation.- Returns:
- the IpGroups resource information on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
updateGroups
IpGroupInner updateGroups(String resourceGroupName, String ipGroupsName, TagsObject parameters)
Updates tags of an IpGroups resource.- Parameters:
resourceGroupName- The name of the resource group.ipGroupsName- The name of the ipGroups.parameters- Parameters supplied to the update ipGroups operation.- Returns:
- the IpGroups resource information.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
updateGroupsWithResponse
com.azure.core.http.rest.Response<IpGroupInner> updateGroupsWithResponse(String resourceGroupName, String ipGroupsName, TagsObject parameters, com.azure.core.util.Context context)
Updates tags of an IpGroups resource.- Parameters:
resourceGroupName- The name of the resource group.ipGroupsName- The name of the ipGroups.parameters- Parameters supplied to the update ipGroups operation.context- The context to associate with this operation.- Returns:
- the IpGroups resource information along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- 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 ipGroupsName)
Deletes the specified ipGroups.- Parameters:
resourceGroupName- The name of the resource group.ipGroupsName- The name of the ipGroups.- Returns:
- the
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- 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 ipGroupsName)
Deletes the specified ipGroups.- Parameters:
resourceGroupName- The name of the resource group.ipGroupsName- The name of the ipGroups.- Returns:
- the
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- 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 ipGroupsName)
Deletes the specified ipGroups.- Parameters:
resourceGroupName- The name of the resource group.ipGroupsName- The name of the ipGroups.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- 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 ipGroupsName, com.azure.core.util.Context context)
Deletes the specified ipGroups.- Parameters:
resourceGroupName- The name of the resource group.ipGroupsName- The name of the ipGroups.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- 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 ipGroupsName)
Deletes the specified ipGroups.- Specified by:
deleteAsyncin interfaceInnerSupportsDelete<Void>- Parameters:
resourceGroupName- The name of the resource group.ipGroupsName- The name of the ipGroups.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- 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 ipGroupsName)
Deletes the specified ipGroups.- Parameters:
resourceGroupName- The name of the resource group.ipGroupsName- The name of the ipGroups.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- 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 ipGroupsName, com.azure.core.util.Context context)
Deletes the specified ipGroups.- Parameters:
resourceGroupName- The name of the resource group.ipGroupsName- The name of the ipGroups.context- The context to associate with this operation.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByResourceGroupAsync
com.azure.core.http.rest.PagedFlux<IpGroupInner> listByResourceGroupAsync(String resourceGroupName)
Gets all IpGroups in a resource group.- Specified by:
listByResourceGroupAsyncin interfaceInnerSupportsListing<IpGroupInner>- Parameters:
resourceGroupName- The name of the resource group.- Returns:
- all IpGroups in a resource group as paginated response with
PagedFlux. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<IpGroupInner> listByResourceGroup(String resourceGroupName)
Gets all IpGroups in a resource group.- Specified by:
listByResourceGroupin interfaceInnerSupportsListing<IpGroupInner>- Parameters:
resourceGroupName- The name of the resource group.- Returns:
- all IpGroups in a resource group as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<IpGroupInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
Gets all IpGroups in a resource group.- Parameters:
resourceGroupName- The name of the resource group.context- The context to associate with this operation.- Returns:
- all IpGroups in a resource group as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- 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<IpGroupInner> listAsync()
Gets all IpGroups in a subscription.- Specified by:
listAsyncin interfaceInnerSupportsListing<IpGroupInner>- Returns:
- all IpGroups in a subscription as paginated response with
PagedFlux. - Throws:
ErrorException- 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<IpGroupInner> list()
Gets all IpGroups in a subscription.- Specified by:
listin interfaceInnerSupportsListing<IpGroupInner>- Returns:
- all IpGroups in a subscription as paginated response with
PagedIterable. - Throws:
ErrorException- 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<IpGroupInner> list(com.azure.core.util.Context context)
Gets all IpGroups in a subscription.- Parameters:
context- The context to associate with this operation.- Returns:
- all IpGroups in a subscription as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.ErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
-