Interface ManagedNetworkSettingsRulesClient
public interface ManagedNetworkSettingsRulesClient
An instance of this class provides access to all the operations defined in ManagedNetworkSettingsRulesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.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.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.beginDelete(String resourceGroupName, String workspaceName, String ruleName) Deletes an outbound rule from the managed network of a machine learning workspace.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.createOrUpdate(String resourceGroupName, String workspaceName, String ruleName, OutboundRuleBasicResourceInner body) Creates or updates an outbound rule in the managed network of a machine learning workspace.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.voidDeletes an outbound rule from the managed network of a machine learning workspace.voiddelete(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.Gets an outbound rule from the managed network of a machine learning workspace.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.com.azure.core.http.rest.PagedIterable<OutboundRuleBasicResourceInner>Lists the managed network outbound rules for a machine learning workspace.com.azure.core.http.rest.PagedIterable<OutboundRuleBasicResourceInner>Lists the managed network outbound rules for a machine learning workspace.
-
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
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 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
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.
-
delete
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
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
SyncPollerfor 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
SyncPollerfor 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.
-