Interface ManagedNetworkSettingsRules


public interface ManagedNetworkSettingsRules
Resource collection API of ManagedNetworkSettingsRules.
  • Method Details

    • list

      com.azure.core.http.rest.PagedIterable<OutboundRuleBasicResource> 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<OutboundRuleBasicResource> 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.
    • 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<OutboundRuleBasicResource> 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

      OutboundRuleBasicResource 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.
    • getById

      Gets an outbound rule from the managed network of a machine learning workspace.
      Parameters:
      id - the resource ID.
      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.
    • getByIdWithResponse

      com.azure.core.http.rest.Response<OutboundRuleBasicResource> getByIdWithResponse(String id, com.azure.core.util.Context context)
      Gets an outbound rule from the managed network of a machine learning workspace.
      Parameters:
      id - the resource ID.
      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.
    • deleteById

      void deleteById(String id)
      Deletes an outbound rule from the managed network of a machine learning workspace.
      Parameters:
      id - the resource ID.
      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.
    • deleteByIdWithResponse

      void deleteByIdWithResponse(String id, com.azure.core.util.Context context)
      Deletes an outbound rule from the managed network of a machine learning workspace.
      Parameters:
      id - the resource ID.
      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.
    • define

      Begins definition for a new OutboundRuleBasicResource resource.
      Parameters:
      name - resource name.
      Returns:
      the first stage of the new OutboundRuleBasicResource definition.