Interface SlicesClient
-
public interface SlicesClient
An instance of this class provides access to all the operations defined in SlicesClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SliceInner>,SliceInner>
beginCreateOrUpdate(String resourceGroupName, String mobileNetworkName, String sliceName, SliceInner parameters)
Creates or updates a mobile network slice.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SliceInner>,SliceInner>
beginCreateOrUpdate(String resourceGroupName, String mobileNetworkName, String sliceName, SliceInner parameters, com.azure.core.util.Context context)
Creates or updates a mobile network slice.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void>
beginDelete(String resourceGroupName, String mobileNetworkName, String sliceName)
Deletes the specified mobile network slice.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void>
beginDelete(String resourceGroupName, String mobileNetworkName, String sliceName, com.azure.core.util.Context context)
Deletes the specified mobile network slice.SliceInner
createOrUpdate(String resourceGroupName, String mobileNetworkName, String sliceName, SliceInner parameters)
Creates or updates a mobile network slice.SliceInner
createOrUpdate(String resourceGroupName, String mobileNetworkName, String sliceName, SliceInner parameters, com.azure.core.util.Context context)
Creates or updates a mobile network slice.void
delete(String resourceGroupName, String mobileNetworkName, String sliceName)
Deletes the specified mobile network slice.void
delete(String resourceGroupName, String mobileNetworkName, String sliceName, com.azure.core.util.Context context)
Deletes the specified mobile network slice.SliceInner
get(String resourceGroupName, String mobileNetworkName, String sliceName)
Gets information about the specified mobile network slice.com.azure.core.http.rest.Response<SliceInner>
getWithResponse(String resourceGroupName, String mobileNetworkName, String sliceName, com.azure.core.util.Context context)
Gets information about the specified mobile network slice.com.azure.core.http.rest.PagedIterable<SliceInner>
listByMobileNetwork(String resourceGroupName, String mobileNetworkName)
Lists all slices in the mobile network.com.azure.core.http.rest.PagedIterable<SliceInner>
listByMobileNetwork(String resourceGroupName, String mobileNetworkName, com.azure.core.util.Context context)
Lists all slices in the mobile network.SliceInner
updateTags(String resourceGroupName, String mobileNetworkName, String sliceName, TagsObject parameters)
Update slice tags.com.azure.core.http.rest.Response<SliceInner>
updateTagsWithResponse(String resourceGroupName, String mobileNetworkName, String sliceName, TagsObject parameters, com.azure.core.util.Context context)
Update slice tags.
-
-
-
Method Detail
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String mobileNetworkName, String sliceName)
Deletes the specified mobile network slice.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.mobileNetworkName
- The name of the mobile network.sliceName
- The name of the mobile network slice.- 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 sliceName, com.azure.core.util.Context context)
Deletes the specified mobile network slice.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.mobileNetworkName
- The name of the mobile network.sliceName
- The name of the mobile network slice.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 mobileNetworkName, String sliceName)
Deletes the specified mobile network slice.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.mobileNetworkName
- The name of the mobile network.sliceName
- The name of the mobile network slice.- 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 sliceName, com.azure.core.util.Context context)
Deletes the specified mobile network slice.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.mobileNetworkName
- The name of the mobile network.sliceName
- The name of the mobile network slice.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
SliceInner get(String resourceGroupName, String mobileNetworkName, String sliceName)
Gets information about the specified mobile network slice.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.mobileNetworkName
- The name of the mobile network.sliceName
- The name of the mobile network slice.- Returns:
- information about the specified mobile network slice.
- 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<SliceInner> getWithResponse(String resourceGroupName, String mobileNetworkName, String sliceName, com.azure.core.util.Context context)
Gets information about the specified mobile network slice.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.mobileNetworkName
- The name of the mobile network.sliceName
- The name of the mobile network slice.context
- The context to associate with this operation.- Returns:
- information about the specified mobile network slice 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<SliceInner>,SliceInner> beginCreateOrUpdate(String resourceGroupName, String mobileNetworkName, String sliceName, SliceInner parameters)
Creates or updates a mobile network slice.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.mobileNetworkName
- The name of the mobile network.sliceName
- The name of the mobile network slice.parameters
- Parameters supplied to the create or update mobile network slice operation.- Returns:
- the
SyncPoller
for polling of network slice 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<SliceInner>,SliceInner> beginCreateOrUpdate(String resourceGroupName, String mobileNetworkName, String sliceName, SliceInner parameters, com.azure.core.util.Context context)
Creates or updates a mobile network slice.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.mobileNetworkName
- The name of the mobile network.sliceName
- The name of the mobile network slice.parameters
- Parameters supplied to the create or update mobile network slice operation.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of network slice 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
SliceInner createOrUpdate(String resourceGroupName, String mobileNetworkName, String sliceName, SliceInner parameters)
Creates or updates a mobile network slice.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.mobileNetworkName
- The name of the mobile network.sliceName
- The name of the mobile network slice.parameters
- Parameters supplied to the create or update mobile network slice operation.- Returns:
- network slice 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
SliceInner createOrUpdate(String resourceGroupName, String mobileNetworkName, String sliceName, SliceInner parameters, com.azure.core.util.Context context)
Creates or updates a mobile network slice.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.mobileNetworkName
- The name of the mobile network.sliceName
- The name of the mobile network slice.parameters
- Parameters supplied to the create or update mobile network slice operation.context
- The context to associate with this operation.- Returns:
- network slice 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
SliceInner updateTags(String resourceGroupName, String mobileNetworkName, String sliceName, TagsObject parameters)
Update slice tags.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.mobileNetworkName
- The name of the mobile network.sliceName
- The name of the mobile network slice.parameters
- Parameters supplied to update mobile network slice tags.- Returns:
- network slice 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<SliceInner> updateTagsWithResponse(String resourceGroupName, String mobileNetworkName, String sliceName, TagsObject parameters, com.azure.core.util.Context context)
Update slice tags.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.mobileNetworkName
- The name of the mobile network.sliceName
- The name of the mobile network slice.parameters
- Parameters supplied to update mobile network slice tags.context
- The context to associate with this operation.- Returns:
- network slice 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<SliceInner> listByMobileNetwork(String resourceGroupName, String mobileNetworkName)
Lists all slices 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 attached 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<SliceInner> listByMobileNetwork(String resourceGroupName, String mobileNetworkName, com.azure.core.util.Context context)
Lists all slices 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 attached 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.
-
-