Interface MobileNetworks
-
public interface MobileNetworks
Resource collection API of MobileNetworks.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MobileNetwork.DefinitionStages.Blank
define(String name)
Begins definition for a new MobileNetwork resource.void
delete(String resourceGroupName, String mobileNetworkName, com.azure.core.util.Context context)
Deletes the specified mobile network.void
deleteById(String id)
Deletes the specified mobile network.void
deleteByIdWithResponse(String id, com.azure.core.util.Context context)
Deletes the specified mobile network.void
deleteByResourceGroup(String resourceGroupName, String mobileNetworkName)
Deletes the specified mobile network.MobileNetwork
getById(String id)
Gets information about the specified mobile network.com.azure.core.http.rest.Response<MobileNetwork>
getByIdWithResponse(String id, com.azure.core.util.Context context)
Gets information about the specified mobile network.MobileNetwork
getByResourceGroup(String resourceGroupName, String mobileNetworkName)
Gets information about the specified mobile network.com.azure.core.http.rest.Response<MobileNetwork>
getByResourceGroupWithResponse(String resourceGroupName, String mobileNetworkName, com.azure.core.util.Context context)
Gets information about the specified mobile network.com.azure.core.http.rest.PagedIterable<MobileNetwork>
list()
Lists all the mobile networks in a subscription.com.azure.core.http.rest.PagedIterable<MobileNetwork>
list(com.azure.core.util.Context context)
Lists all the mobile networks in a subscription.com.azure.core.http.rest.PagedIterable<MobileNetwork>
listByResourceGroup(String resourceGroupName)
Lists all the mobile networks in a resource group.com.azure.core.http.rest.PagedIterable<MobileNetwork>
listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
Lists all the mobile networks in a resource group.SimIdListResult
listSimIds(String resourceGroupName, String mobileNetworkName)
List sim ids under a mobile network.SimIdListResult
listSimIds(String resourceGroupName, String mobileNetworkName, com.azure.core.util.Context context)
List sim ids under a mobile network.
-
-
-
Method Detail
-
deleteByResourceGroup
void deleteByResourceGroup(String resourceGroupName, String mobileNetworkName)
Deletes the specified mobile network.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.mobileNetworkName
- The name of the mobile 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, com.azure.core.util.Context context)
Deletes the specified 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.- 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.
-
getByResourceGroup
MobileNetwork getByResourceGroup(String resourceGroupName, String mobileNetworkName)
Gets information about the specified mobile network.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.mobileNetworkName
- The name of the mobile network.- Returns:
- information about the specified mobile 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.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<MobileNetwork> getByResourceGroupWithResponse(String resourceGroupName, String mobileNetworkName, com.azure.core.util.Context context)
Gets information about the specified 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:
- information about the specified mobile 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.
-
list
com.azure.core.http.rest.PagedIterable<MobileNetwork> list()
Lists all the mobile networks in a subscription.- Returns:
- response for mobile networks API service call as paginated response with
PagedIterable
. - Throws:
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<MobileNetwork> list(com.azure.core.util.Context context)
Lists all the mobile networks in a subscription.- Parameters:
context
- The context to associate with this operation.- Returns:
- response for mobile networks 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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<MobileNetwork> listByResourceGroup(String resourceGroupName)
Lists all the mobile networks in a resource group.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.- Returns:
- response for mobile networks 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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<MobileNetwork> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
Lists all the mobile networks in a resource group.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.context
- The context to associate with this operation.- Returns:
- response for mobile networks 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.
-
listSimIds
SimIdListResult listSimIds(String resourceGroupName, String mobileNetworkName)
List sim ids under a 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 list sim ids API service call.
- 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.
-
listSimIds
SimIdListResult listSimIds(String resourceGroupName, String mobileNetworkName, com.azure.core.util.Context context)
List sim ids under a 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 list sim ids API service call.
- 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
MobileNetwork getById(String id)
Gets information about the specified mobile network.- Parameters:
id
- the resource ID.- Returns:
- information about the specified mobile 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.
-
getByIdWithResponse
com.azure.core.http.rest.Response<MobileNetwork> getByIdWithResponse(String id, com.azure.core.util.Context context)
Gets information about the specified mobile network.- Parameters:
id
- the resource ID.context
- The context to associate with this operation.- Returns:
- information about the specified mobile 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.
-
deleteById
void deleteById(String id)
Deletes the specified mobile network.- 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 the specified mobile network.- 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
MobileNetwork.DefinitionStages.Blank define(String name)
Begins definition for a new MobileNetwork resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new MobileNetwork definition.
-
-