Interface InboundSecurityRuleOperationsClient


  • public interface InboundSecurityRuleOperationsClient
    An instance of this class provides access to all the operations defined in InboundSecurityRuleOperationsClient.
    • Method Detail

      • createOrUpdateWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync​(String resourceGroupName,
                                                                                                  String networkVirtualApplianceName,
                                                                                                  String ruleCollectionName,
                                                                                                  InboundSecurityRuleInner parameters)
        Creates or updates the specified Network Virtual Appliance Inbound Security Rules.
        Parameters:
        resourceGroupName - The name of the resource group.
        networkVirtualApplianceName - The name of the Network Virtual Appliance.
        ruleCollectionName - The name of security rule collection.
        parameters - Parameters supplied to the create or update Network Virtual Appliance Inbound Security Rules operation.
        Returns:
        nVA Inbound Security Rule resource 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<InboundSecurityRuleInner>,​InboundSecurityRuleInner> beginCreateOrUpdateAsync​(String resourceGroupName,
                                                                                                                                                                               String networkVirtualApplianceName,
                                                                                                                                                                               String ruleCollectionName,
                                                                                                                                                                               InboundSecurityRuleInner parameters)
        Creates or updates the specified Network Virtual Appliance Inbound Security Rules.
        Parameters:
        resourceGroupName - The name of the resource group.
        networkVirtualApplianceName - The name of the Network Virtual Appliance.
        ruleCollectionName - The name of security rule collection.
        parameters - Parameters supplied to the create or update Network Virtual Appliance Inbound Security Rules operation.
        Returns:
        the PollerFlux for polling of nVA Inbound Security Rule resource.
        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<InboundSecurityRuleInner>,​InboundSecurityRuleInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                                          String networkVirtualApplianceName,
                                                                                                                                                                          String ruleCollectionName,
                                                                                                                                                                          InboundSecurityRuleInner parameters)
        Creates or updates the specified Network Virtual Appliance Inbound Security Rules.
        Parameters:
        resourceGroupName - The name of the resource group.
        networkVirtualApplianceName - The name of the Network Virtual Appliance.
        ruleCollectionName - The name of security rule collection.
        parameters - Parameters supplied to the create or update Network Virtual Appliance Inbound Security Rules operation.
        Returns:
        the SyncPoller for polling of nVA Inbound Security Rule resource.
        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<InboundSecurityRuleInner>,​InboundSecurityRuleInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                                          String networkVirtualApplianceName,
                                                                                                                                                                          String ruleCollectionName,
                                                                                                                                                                          InboundSecurityRuleInner parameters,
                                                                                                                                                                          com.azure.core.util.Context context)
        Creates or updates the specified Network Virtual Appliance Inbound Security Rules.
        Parameters:
        resourceGroupName - The name of the resource group.
        networkVirtualApplianceName - The name of the Network Virtual Appliance.
        ruleCollectionName - The name of security rule collection.
        parameters - Parameters supplied to the create or update Network Virtual Appliance Inbound Security Rules operation.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of nVA Inbound Security Rule resource.
        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<InboundSecurityRuleInner> createOrUpdateAsync​(String resourceGroupName,
                                                           String networkVirtualApplianceName,
                                                           String ruleCollectionName,
                                                           InboundSecurityRuleInner parameters)
        Creates or updates the specified Network Virtual Appliance Inbound Security Rules.
        Parameters:
        resourceGroupName - The name of the resource group.
        networkVirtualApplianceName - The name of the Network Virtual Appliance.
        ruleCollectionName - The name of security rule collection.
        parameters - Parameters supplied to the create or update Network Virtual Appliance Inbound Security Rules operation.
        Returns:
        nVA Inbound Security Rule resource 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

        InboundSecurityRuleInner createOrUpdate​(String resourceGroupName,
                                                String networkVirtualApplianceName,
                                                String ruleCollectionName,
                                                InboundSecurityRuleInner parameters)
        Creates or updates the specified Network Virtual Appliance Inbound Security Rules.
        Parameters:
        resourceGroupName - The name of the resource group.
        networkVirtualApplianceName - The name of the Network Virtual Appliance.
        ruleCollectionName - The name of security rule collection.
        parameters - Parameters supplied to the create or update Network Virtual Appliance Inbound Security Rules operation.
        Returns:
        nVA Inbound Security Rule resource.
        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

        InboundSecurityRuleInner createOrUpdate​(String resourceGroupName,
                                                String networkVirtualApplianceName,
                                                String ruleCollectionName,
                                                InboundSecurityRuleInner parameters,
                                                com.azure.core.util.Context context)
        Creates or updates the specified Network Virtual Appliance Inbound Security Rules.
        Parameters:
        resourceGroupName - The name of the resource group.
        networkVirtualApplianceName - The name of the Network Virtual Appliance.
        ruleCollectionName - The name of security rule collection.
        parameters - Parameters supplied to the create or update Network Virtual Appliance Inbound Security Rules operation.
        context - The context to associate with this operation.
        Returns:
        nVA Inbound Security Rule resource.
        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.