Interface SlicesClient
public interface SlicesClient
An instance of this class provides access to all the operations defined in SlicesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.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 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 network slice.beginDelete
(String resourceGroupName, String mobileNetworkName, String sliceName) Deletes the specified network slice.beginDelete
(String resourceGroupName, String mobileNetworkName, String sliceName, com.azure.core.util.Context context) Deletes the specified network slice.createOrUpdate
(String resourceGroupName, String mobileNetworkName, String sliceName, SliceInner parameters) Creates or updates a network slice.createOrUpdate
(String resourceGroupName, String mobileNetworkName, String sliceName, SliceInner parameters, com.azure.core.util.Context context) Creates or updates a network slice.void
Deletes the specified network slice.void
delete
(String resourceGroupName, String mobileNetworkName, String sliceName, com.azure.core.util.Context context) Deletes the specified network slice.Gets information about the specified 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 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.updateTags
(String resourceGroupName, String mobileNetworkName, String sliceName, TagsObject parameters) Updates slice tags.com.azure.core.http.rest.Response<SliceInner>
updateTagsWithResponse
(String resourceGroupName, String mobileNetworkName, String sliceName, TagsObject parameters, com.azure.core.util.Context context) Updates slice tags.
-
Method Details
-
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 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 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 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 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
Deletes the specified 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 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 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 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
Gets information about the specified 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 network slice.- Returns:
- information about the specified 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 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 network slice.context
- The context to associate with this operation.- Returns:
- information about the specified 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 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 network slice.parameters
- Parameters supplied to the create or update 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 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 network slice.parameters
- Parameters supplied to the create or update 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 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 network slice.parameters
- Parameters supplied to the create or update 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 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 network slice.parameters
- Parameters supplied to the create or update 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) Updates 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 network slice.parameters
- Parameters supplied to update 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) Updates 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 network slice.parameters
- Parameters supplied to update 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 network slice 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 network slice 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.
-