Interface ManagedNetworkSettingsRulesClient


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

    • list

      com.azure.core.http.rest.PagedIterable<OutboundRuleBasicResourceInner> list(String resourceGroupName, String workspaceName)
      Lists the managed network outbound rules for a machine learning workspace.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - Name of Azure Machine Learning workspace.
      Returns:
      list of outbound rules for the managed network of a machine learning workspace 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.
    • list

      com.azure.core.http.rest.PagedIterable<OutboundRuleBasicResourceInner> list(String resourceGroupName, String workspaceName, com.azure.core.util.Context context)
      Lists the managed network outbound rules for a machine learning workspace.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - Name of Azure Machine Learning workspace.
      context - The context to associate with this operation.
      Returns:
      list of outbound rules for the managed network of a machine learning workspace 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.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String workspaceName, String ruleName)
      Deletes an outbound rule from the managed network of a machine learning workspace.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - Name of Azure Machine Learning workspace.
      ruleName - Name of the workspace managed network outbound rule.
      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 workspaceName, String ruleName, com.azure.core.util.Context context)
      Deletes an outbound rule from the managed network of a machine learning workspace.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - Name of Azure Machine Learning workspace.
      ruleName - Name of the workspace managed network outbound rule.
      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.
    • delete

      void delete(String resourceGroupName, String workspaceName, String ruleName)
      Deletes an outbound rule from the managed network of a machine learning workspace.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - Name of Azure Machine Learning workspace.
      ruleName - Name of the workspace managed network outbound rule.
      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 workspaceName, String ruleName, com.azure.core.util.Context context)
      Deletes an outbound rule from the managed network of a machine learning workspace.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - Name of Azure Machine Learning workspace.
      ruleName - Name of the workspace managed network outbound rule.
      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.
    • getWithResponse

      com.azure.core.http.rest.Response<OutboundRuleBasicResourceInner> getWithResponse(String resourceGroupName, String workspaceName, String ruleName, com.azure.core.util.Context context)
      Gets an outbound rule from the managed network of a machine learning workspace.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - Name of Azure Machine Learning workspace.
      ruleName - Name of the workspace managed network outbound rule.
      context - The context to associate with this operation.
      Returns:
      an outbound rule from the managed network of a machine learning workspace 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.
    • get

      OutboundRuleBasicResourceInner get(String resourceGroupName, String workspaceName, String ruleName)
      Gets an outbound rule from the managed network of a machine learning workspace.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - Name of Azure Machine Learning workspace.
      ruleName - Name of the workspace managed network outbound rule.
      Returns:
      an outbound rule from the managed network of a machine learning workspace.
      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<OutboundRuleBasicResourceInner>,OutboundRuleBasicResourceInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, String ruleName, OutboundRuleBasicResourceInner body)
      Creates or updates an outbound rule in the managed network of a machine learning workspace.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - Name of Azure Machine Learning workspace.
      ruleName - Name of the workspace managed network outbound rule.
      body - Outbound Rule to be created or updated in the managed network of a machine learning workspace.
      Returns:
      the SyncPoller for polling of outbound Rule Basic Resource for the managed network of a machine learning workspace.
      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<OutboundRuleBasicResourceInner>,OutboundRuleBasicResourceInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, String ruleName, OutboundRuleBasicResourceInner body, com.azure.core.util.Context context)
      Creates or updates an outbound rule in the managed network of a machine learning workspace.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - Name of Azure Machine Learning workspace.
      ruleName - Name of the workspace managed network outbound rule.
      body - Outbound Rule to be created or updated in the managed network of a machine learning workspace.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of outbound Rule Basic Resource for the managed network of a machine learning workspace.
      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

      OutboundRuleBasicResourceInner createOrUpdate(String resourceGroupName, String workspaceName, String ruleName, OutboundRuleBasicResourceInner body)
      Creates or updates an outbound rule in the managed network of a machine learning workspace.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - Name of Azure Machine Learning workspace.
      ruleName - Name of the workspace managed network outbound rule.
      body - Outbound Rule to be created or updated in the managed network of a machine learning workspace.
      Returns:
      outbound Rule Basic Resource for the managed network of a machine learning workspace.
      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

      OutboundRuleBasicResourceInner createOrUpdate(String resourceGroupName, String workspaceName, String ruleName, OutboundRuleBasicResourceInner body, com.azure.core.util.Context context)
      Creates or updates an outbound rule in the managed network of a machine learning workspace.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - Name of Azure Machine Learning workspace.
      ruleName - Name of the workspace managed network outbound rule.
      body - Outbound Rule to be created or updated in the managed network of a machine learning workspace.
      context - The context to associate with this operation.
      Returns:
      outbound Rule Basic Resource for the managed network of a machine learning workspace.
      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.