Interface ApplicationSecurityGroupsClient
-
- All Superinterfaces:
InnerSupportsDelete<Void>,InnerSupportsGet<ApplicationSecurityGroupInner>,InnerSupportsListing<ApplicationSecurityGroupInner>
public interface ApplicationSecurityGroupsClient extends InnerSupportsGet<ApplicationSecurityGroupInner>, InnerSupportsListing<ApplicationSecurityGroupInner>, InnerSupportsDelete<Void>
An instance of this class provides access to all the operations defined in ApplicationSecurityGroupsClient.
-
-
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<ApplicationSecurityGroupInner>,ApplicationSecurityGroupInner>beginCreateOrUpdate(String resourceGroupName, String applicationSecurityGroupName, ApplicationSecurityGroupInner parameters)Creates or updates an application security group.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ApplicationSecurityGroupInner>,ApplicationSecurityGroupInner>beginCreateOrUpdate(String resourceGroupName, String applicationSecurityGroupName, ApplicationSecurityGroupInner parameters, com.azure.core.util.Context context)Creates or updates an application security group.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ApplicationSecurityGroupInner>,ApplicationSecurityGroupInner>beginCreateOrUpdateAsync(String resourceGroupName, String applicationSecurityGroupName, ApplicationSecurityGroupInner parameters)Creates or updates an application security group.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void>beginDelete(String resourceGroupName, String applicationSecurityGroupName)Deletes the specified application security group.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void>beginDelete(String resourceGroupName, String applicationSecurityGroupName, com.azure.core.util.Context context)Deletes the specified application security group.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void>beginDeleteAsync(String resourceGroupName, String applicationSecurityGroupName)Deletes the specified application security group.ApplicationSecurityGroupInnercreateOrUpdate(String resourceGroupName, String applicationSecurityGroupName, ApplicationSecurityGroupInner parameters)Creates or updates an application security group.ApplicationSecurityGroupInnercreateOrUpdate(String resourceGroupName, String applicationSecurityGroupName, ApplicationSecurityGroupInner parameters, com.azure.core.util.Context context)Creates or updates an application security group.Mono<ApplicationSecurityGroupInner>createOrUpdateAsync(String resourceGroupName, String applicationSecurityGroupName, ApplicationSecurityGroupInner parameters)Creates or updates an application security group.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>createOrUpdateWithResponseAsync(String resourceGroupName, String applicationSecurityGroupName, ApplicationSecurityGroupInner parameters)Creates or updates an application security group.voiddelete(String resourceGroupName, String applicationSecurityGroupName)Deletes the specified application security group.voiddelete(String resourceGroupName, String applicationSecurityGroupName, com.azure.core.util.Context context)Deletes the specified application security group.Mono<Void>deleteAsync(String resourceGroupName, String applicationSecurityGroupName)Deletes the specified application security group.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>deleteWithResponseAsync(String resourceGroupName, String applicationSecurityGroupName)Deletes the specified application security group.ApplicationSecurityGroupInnergetByResourceGroup(String resourceGroupName, String applicationSecurityGroupName)Gets information about the specified application security group.Mono<ApplicationSecurityGroupInner>getByResourceGroupAsync(String resourceGroupName, String applicationSecurityGroupName)Gets information about the specified application security group.com.azure.core.http.rest.Response<ApplicationSecurityGroupInner>getByResourceGroupWithResponse(String resourceGroupName, String applicationSecurityGroupName, com.azure.core.util.Context context)Gets information about the specified application security group.Mono<com.azure.core.http.rest.Response<ApplicationSecurityGroupInner>>getByResourceGroupWithResponseAsync(String resourceGroupName, String applicationSecurityGroupName)Gets information about the specified application security group.com.azure.core.http.rest.PagedIterable<ApplicationSecurityGroupInner>list()Gets all application security groups in a subscription.com.azure.core.http.rest.PagedIterable<ApplicationSecurityGroupInner>list(com.azure.core.util.Context context)Gets all application security groups in a subscription.com.azure.core.http.rest.PagedFlux<ApplicationSecurityGroupInner>listAsync()Gets all application security groups in a subscription.com.azure.core.http.rest.PagedIterable<ApplicationSecurityGroupInner>listByResourceGroup(String resourceGroupName)Gets all the application security groups in a resource group.com.azure.core.http.rest.PagedIterable<ApplicationSecurityGroupInner>listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)Gets all the application security groups in a resource group.com.azure.core.http.rest.PagedFlux<ApplicationSecurityGroupInner>listByResourceGroupAsync(String resourceGroupName)Gets all the application security groups in a resource group.ApplicationSecurityGroupInnerupdateTags(String resourceGroupName, String applicationSecurityGroupName, TagsObject parameters)Updates an application security group's tags.Mono<ApplicationSecurityGroupInner>updateTagsAsync(String resourceGroupName, String applicationSecurityGroupName, TagsObject parameters)Updates an application security group's tags.com.azure.core.http.rest.Response<ApplicationSecurityGroupInner>updateTagsWithResponse(String resourceGroupName, String applicationSecurityGroupName, TagsObject parameters, com.azure.core.util.Context context)Updates an application security group's tags.Mono<com.azure.core.http.rest.Response<ApplicationSecurityGroupInner>>updateTagsWithResponseAsync(String resourceGroupName, String applicationSecurityGroupName, TagsObject parameters)Updates an application security group's tags.
-
-
-
Method Detail
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String applicationSecurityGroupName)
Deletes the specified application security group.- Parameters:
resourceGroupName- The name of the resource group.applicationSecurityGroupName- The name of the application security group.- 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 applicationSecurityGroupName)
Deletes the specified application security group.- Parameters:
resourceGroupName- The name of the resource group.applicationSecurityGroupName- The name of the application security group.- 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 applicationSecurityGroupName)
Deletes the specified application security group.- Parameters:
resourceGroupName- The name of the resource group.applicationSecurityGroupName- The name of the application security group.- 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 applicationSecurityGroupName, com.azure.core.util.Context context)
Deletes the specified application security group.- Parameters:
resourceGroupName- The name of the resource group.applicationSecurityGroupName- The name of the application security group.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 applicationSecurityGroupName)
Deletes the specified application security group.- Specified by:
deleteAsyncin interfaceInnerSupportsDelete<Void>- Parameters:
resourceGroupName- The name of the resource group.applicationSecurityGroupName- The name of the application security group.- 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
void delete(String resourceGroupName, String applicationSecurityGroupName)
Deletes the specified application security group.- Parameters:
resourceGroupName- The name of the resource group.applicationSecurityGroupName- The name of the application security group.- 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 applicationSecurityGroupName, com.azure.core.util.Context context)
Deletes the specified application security group.- Parameters:
resourceGroupName- The name of the resource group.applicationSecurityGroupName- The name of the application security group.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.
-
getByResourceGroupWithResponseAsync
Mono<com.azure.core.http.rest.Response<ApplicationSecurityGroupInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String applicationSecurityGroupName)
Gets information about the specified application security group.- Parameters:
resourceGroupName- The name of the resource group.applicationSecurityGroupName- The name of the application security group.- Returns:
- information about the specified application security group 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.
-
getByResourceGroupAsync
Mono<ApplicationSecurityGroupInner> getByResourceGroupAsync(String resourceGroupName, String applicationSecurityGroupName)
Gets information about the specified application security group.- Specified by:
getByResourceGroupAsyncin interfaceInnerSupportsGet<ApplicationSecurityGroupInner>- Parameters:
resourceGroupName- The name of the resource group.applicationSecurityGroupName- The name of the application security group.- Returns:
- information about the specified application security group 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.
-
getByResourceGroup
ApplicationSecurityGroupInner getByResourceGroup(String resourceGroupName, String applicationSecurityGroupName)
Gets information about the specified application security group.- Specified by:
getByResourceGroupin interfaceInnerSupportsGet<ApplicationSecurityGroupInner>- Parameters:
resourceGroupName- The name of the resource group.applicationSecurityGroupName- The name of the application security group.- Returns:
- information about the specified application security group.
- 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.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<ApplicationSecurityGroupInner> getByResourceGroupWithResponse(String resourceGroupName, String applicationSecurityGroupName, com.azure.core.util.Context context)
Gets information about the specified application security group.- Parameters:
resourceGroupName- The name of the resource group.applicationSecurityGroupName- The name of the application security group.context- The context to associate with this operation.- Returns:
- information about the specified application security group 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.
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String applicationSecurityGroupName, ApplicationSecurityGroupInner parameters)
Creates or updates an application security group.- Parameters:
resourceGroupName- The name of the resource group.applicationSecurityGroupName- The name of the application security group.parameters- Parameters supplied to the create or update ApplicationSecurityGroup operation.- Returns:
- an application security group in a resource group 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<ApplicationSecurityGroupInner>,ApplicationSecurityGroupInner> beginCreateOrUpdateAsync(String resourceGroupName, String applicationSecurityGroupName, ApplicationSecurityGroupInner parameters)
Creates or updates an application security group.- Parameters:
resourceGroupName- The name of the resource group.applicationSecurityGroupName- The name of the application security group.parameters- Parameters supplied to the create or update ApplicationSecurityGroup operation.- Returns:
- the
PollerFluxfor polling of an application security group in a resource group. - 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<ApplicationSecurityGroupInner>,ApplicationSecurityGroupInner> beginCreateOrUpdate(String resourceGroupName, String applicationSecurityGroupName, ApplicationSecurityGroupInner parameters)
Creates or updates an application security group.- Parameters:
resourceGroupName- The name of the resource group.applicationSecurityGroupName- The name of the application security group.parameters- Parameters supplied to the create or update ApplicationSecurityGroup operation.- Returns:
- the
SyncPollerfor polling of an application security group in a resource group. - 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<ApplicationSecurityGroupInner>,ApplicationSecurityGroupInner> beginCreateOrUpdate(String resourceGroupName, String applicationSecurityGroupName, ApplicationSecurityGroupInner parameters, com.azure.core.util.Context context)
Creates or updates an application security group.- Parameters:
resourceGroupName- The name of the resource group.applicationSecurityGroupName- The name of the application security group.parameters- Parameters supplied to the create or update ApplicationSecurityGroup operation.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of an application security group in a resource group. - 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<ApplicationSecurityGroupInner> createOrUpdateAsync(String resourceGroupName, String applicationSecurityGroupName, ApplicationSecurityGroupInner parameters)
Creates or updates an application security group.- Parameters:
resourceGroupName- The name of the resource group.applicationSecurityGroupName- The name of the application security group.parameters- Parameters supplied to the create or update ApplicationSecurityGroup operation.- Returns:
- an application security group in a resource group 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
ApplicationSecurityGroupInner createOrUpdate(String resourceGroupName, String applicationSecurityGroupName, ApplicationSecurityGroupInner parameters)
Creates or updates an application security group.- Parameters:
resourceGroupName- The name of the resource group.applicationSecurityGroupName- The name of the application security group.parameters- Parameters supplied to the create or update ApplicationSecurityGroup operation.- Returns:
- an application security group in a resource group.
- 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
ApplicationSecurityGroupInner createOrUpdate(String resourceGroupName, String applicationSecurityGroupName, ApplicationSecurityGroupInner parameters, com.azure.core.util.Context context)
Creates or updates an application security group.- Parameters:
resourceGroupName- The name of the resource group.applicationSecurityGroupName- The name of the application security group.parameters- Parameters supplied to the create or update ApplicationSecurityGroup operation.context- The context to associate with this operation.- Returns:
- an application security group in a resource group.
- 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.
-
updateTagsWithResponseAsync
Mono<com.azure.core.http.rest.Response<ApplicationSecurityGroupInner>> updateTagsWithResponseAsync(String resourceGroupName, String applicationSecurityGroupName, TagsObject parameters)
Updates an application security group's tags.- Parameters:
resourceGroupName- The name of the resource group.applicationSecurityGroupName- The name of the application security group.parameters- Parameters supplied to update application security group tags.- Returns:
- an application security group in a resource group 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.
-
updateTagsAsync
Mono<ApplicationSecurityGroupInner> updateTagsAsync(String resourceGroupName, String applicationSecurityGroupName, TagsObject parameters)
Updates an application security group's tags.- Parameters:
resourceGroupName- The name of the resource group.applicationSecurityGroupName- The name of the application security group.parameters- Parameters supplied to update application security group tags.- Returns:
- an application security group in a resource group 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.
-
updateTags
ApplicationSecurityGroupInner updateTags(String resourceGroupName, String applicationSecurityGroupName, TagsObject parameters)
Updates an application security group's tags.- Parameters:
resourceGroupName- The name of the resource group.applicationSecurityGroupName- The name of the application security group.parameters- Parameters supplied to update application security group tags.- Returns:
- an application security group in a resource group.
- 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.
-
updateTagsWithResponse
com.azure.core.http.rest.Response<ApplicationSecurityGroupInner> updateTagsWithResponse(String resourceGroupName, String applicationSecurityGroupName, TagsObject parameters, com.azure.core.util.Context context)
Updates an application security group's tags.- Parameters:
resourceGroupName- The name of the resource group.applicationSecurityGroupName- The name of the application security group.parameters- Parameters supplied to update application security group tags.context- The context to associate with this operation.- Returns:
- an application security group in a resource group 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.
-
listAsync
com.azure.core.http.rest.PagedFlux<ApplicationSecurityGroupInner> listAsync()
Gets all application security groups in a subscription.- Specified by:
listAsyncin interfaceInnerSupportsListing<ApplicationSecurityGroupInner>- Returns:
- all application security groups in a subscription as paginated response with
PagedFlux. - Throws:
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<ApplicationSecurityGroupInner> list()
Gets all application security groups in a subscription.- Specified by:
listin interfaceInnerSupportsListing<ApplicationSecurityGroupInner>- Returns:
- all application security groups in a subscription as paginated response with
PagedIterable. - Throws:
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<ApplicationSecurityGroupInner> list(com.azure.core.util.Context context)
Gets all application security groups in a subscription.- Parameters:
context- The context to associate with this operation.- Returns:
- all application security groups in a subscription 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.
-
listByResourceGroupAsync
com.azure.core.http.rest.PagedFlux<ApplicationSecurityGroupInner> listByResourceGroupAsync(String resourceGroupName)
Gets all the application security groups in a resource group.- Specified by:
listByResourceGroupAsyncin interfaceInnerSupportsListing<ApplicationSecurityGroupInner>- Parameters:
resourceGroupName- The name of the resource group.- Returns:
- all the application security groups in a resource group 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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<ApplicationSecurityGroupInner> listByResourceGroup(String resourceGroupName)
Gets all the application security groups in a resource group.- Specified by:
listByResourceGroupin interfaceInnerSupportsListing<ApplicationSecurityGroupInner>- Parameters:
resourceGroupName- The name of the resource group.- Returns:
- all the application security groups in a resource group 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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<ApplicationSecurityGroupInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
Gets all the application security groups in a resource group.- Parameters:
resourceGroupName- The name of the resource group.context- The context to associate with this operation.- Returns:
- all the application security groups in a resource group 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.
-
-