Interface ApplicationSecurityGroupsClient

All Superinterfaces:
InnerSupportsDelete<Void>, InnerSupportsGet<ApplicationSecurityGroupInner>, InnerSupportsListing<ApplicationSecurityGroupInner>

An instance of this class provides access to all the operations defined in ApplicationSecurityGroupsClient.
  • Method Details

    • 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 Response 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.
    • 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 PollerFlux for 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 SyncPoller for 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 SyncPoller for 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:
      deleteAsync in interface InnerSupportsDelete<Void>
      Parameters:
      resourceGroupName - The name of the resource group.
      applicationSecurityGroupName - The name of the application security group.
      Returns:
      A Mono that 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 Response 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.
    • getByResourceGroupAsync

      Mono<ApplicationSecurityGroupInner> getByResourceGroupAsync(String resourceGroupName, String applicationSecurityGroupName)
      Gets information about the specified application security group.
      Specified by:
      getByResourceGroupAsync in interface InnerSupportsGet<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.
    • 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.
    • getByResourceGroup

      ApplicationSecurityGroupInner getByResourceGroup(String resourceGroupName, String applicationSecurityGroupName)
      Gets information about the specified application security group.
      Specified by:
      getByResourceGroup in interface InnerSupportsGet<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.
    • 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 Response 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.
    • 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 PollerFlux for 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 SyncPoller for 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 SyncPoller for 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 Response 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.
    • 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.
    • 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.
    • 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.
    • listAsync

      com.azure.core.http.rest.PagedFlux<ApplicationSecurityGroupInner> listAsync()
      Gets all application security groups in a subscription.
      Specified by:
      listAsync in interface InnerSupportsListing<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:
      list in interface InnerSupportsListing<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:
      listByResourceGroupAsync in interface InnerSupportsListing<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:
      listByResourceGroup in interface InnerSupportsListing<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.