Interface DataNetworksClient
public interface DataNetworksClient
An instance of this class provides access to all the operations defined in DataNetworksClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DataNetworkInner>,
DataNetworkInner> beginCreateOrUpdate
(String resourceGroupName, String mobileNetworkName, String dataNetworkName, DataNetworkInner parameters) Creates or updates a data network.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DataNetworkInner>,
DataNetworkInner> beginCreateOrUpdate
(String resourceGroupName, String mobileNetworkName, String dataNetworkName, DataNetworkInner parameters, com.azure.core.util.Context context) Creates or updates a data network.beginDelete
(String resourceGroupName, String mobileNetworkName, String dataNetworkName) Deletes the specified data network.beginDelete
(String resourceGroupName, String mobileNetworkName, String dataNetworkName, com.azure.core.util.Context context) Deletes the specified data network.createOrUpdate
(String resourceGroupName, String mobileNetworkName, String dataNetworkName, DataNetworkInner parameters) Creates or updates a data network.createOrUpdate
(String resourceGroupName, String mobileNetworkName, String dataNetworkName, DataNetworkInner parameters, com.azure.core.util.Context context) Creates or updates a data network.void
Deletes the specified data network.void
delete
(String resourceGroupName, String mobileNetworkName, String dataNetworkName, com.azure.core.util.Context context) Deletes the specified data network.Gets information about the specified data network.com.azure.core.http.rest.Response<DataNetworkInner>
getWithResponse
(String resourceGroupName, String mobileNetworkName, String dataNetworkName, com.azure.core.util.Context context) Gets information about the specified data network.com.azure.core.http.rest.PagedIterable<DataNetworkInner>
listByMobileNetwork
(String resourceGroupName, String mobileNetworkName) Lists all data networks in the mobile network.com.azure.core.http.rest.PagedIterable<DataNetworkInner>
listByMobileNetwork
(String resourceGroupName, String mobileNetworkName, com.azure.core.util.Context context) Lists all data networks in the mobile network.updateTags
(String resourceGroupName, String mobileNetworkName, String dataNetworkName, TagsObject parameters) Updates data network tags.com.azure.core.http.rest.Response<DataNetworkInner>
updateTagsWithResponse
(String resourceGroupName, String mobileNetworkName, String dataNetworkName, TagsObject parameters, com.azure.core.util.Context context) Updates data network tags.
-
Method Details
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String mobileNetworkName, String dataNetworkName) Deletes the specified data network.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.mobileNetworkName
- The name of the mobile network.dataNetworkName
- The name of the data network.- 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 mobileNetworkName, String dataNetworkName, com.azure.core.util.Context context) Deletes the specified data network.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.mobileNetworkName
- The name of the mobile network.dataNetworkName
- The name of the data network.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
Deletes the specified data network.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.mobileNetworkName
- The name of the mobile network.dataNetworkName
- The name of the data network.- 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 mobileNetworkName, String dataNetworkName, com.azure.core.util.Context context) Deletes the specified data network.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.mobileNetworkName
- The name of the mobile network.dataNetworkName
- The name of the data network.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.
-
get
Gets information about the specified data network.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.mobileNetworkName
- The name of the mobile network.dataNetworkName
- The name of the data network.- Returns:
- information about the specified data network.
- 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<DataNetworkInner> getWithResponse(String resourceGroupName, String mobileNetworkName, String dataNetworkName, com.azure.core.util.Context context) Gets information about the specified data network.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.mobileNetworkName
- The name of the mobile network.dataNetworkName
- The name of the data network.context
- The context to associate with this operation.- Returns:
- information about the specified data network 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DataNetworkInner>,DataNetworkInner> beginCreateOrUpdate(String resourceGroupName, String mobileNetworkName, String dataNetworkName, DataNetworkInner parameters) Creates or updates a data network.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.mobileNetworkName
- The name of the mobile network.dataNetworkName
- The name of the data network.parameters
- Parameters supplied to the create or update data network operation.- Returns:
- the
SyncPoller
for polling of data network 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<DataNetworkInner>,DataNetworkInner> beginCreateOrUpdate(String resourceGroupName, String mobileNetworkName, String dataNetworkName, DataNetworkInner parameters, com.azure.core.util.Context context) Creates or updates a data network.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.mobileNetworkName
- The name of the mobile network.dataNetworkName
- The name of the data network.parameters
- Parameters supplied to the create or update data network operation.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of data network 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
DataNetworkInner createOrUpdate(String resourceGroupName, String mobileNetworkName, String dataNetworkName, DataNetworkInner parameters) Creates or updates a data network.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.mobileNetworkName
- The name of the mobile network.dataNetworkName
- The name of the data network.parameters
- Parameters supplied to the create or update data network operation.- Returns:
- data network 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
DataNetworkInner createOrUpdate(String resourceGroupName, String mobileNetworkName, String dataNetworkName, DataNetworkInner parameters, com.azure.core.util.Context context) Creates or updates a data network.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.mobileNetworkName
- The name of the mobile network.dataNetworkName
- The name of the data network.parameters
- Parameters supplied to the create or update data network operation.context
- The context to associate with this operation.- Returns:
- data network 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.
-
updateTags
DataNetworkInner updateTags(String resourceGroupName, String mobileNetworkName, String dataNetworkName, TagsObject parameters) Updates data network tags.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.mobileNetworkName
- The name of the mobile network.dataNetworkName
- The name of the data network.parameters
- Parameters supplied to update data network tags.- Returns:
- data network 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.
-
updateTagsWithResponse
com.azure.core.http.rest.Response<DataNetworkInner> updateTagsWithResponse(String resourceGroupName, String mobileNetworkName, String dataNetworkName, TagsObject parameters, com.azure.core.util.Context context) Updates data network tags.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.mobileNetworkName
- The name of the mobile network.dataNetworkName
- The name of the data network.parameters
- Parameters supplied to update data network tags.context
- The context to associate with this operation.- Returns:
- data network resource 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.
-
listByMobileNetwork
com.azure.core.http.rest.PagedIterable<DataNetworkInner> listByMobileNetwork(String resourceGroupName, String mobileNetworkName) Lists all data networks in the mobile network.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.mobileNetworkName
- The name of the mobile network.- Returns:
- response for data network API service call 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.
-
listByMobileNetwork
com.azure.core.http.rest.PagedIterable<DataNetworkInner> listByMobileNetwork(String resourceGroupName, String mobileNetworkName, com.azure.core.util.Context context) Lists all data networks in the mobile network.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.mobileNetworkName
- The name of the mobile network.context
- The context to associate with this operation.- Returns:
- response for data network API service call 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.
-