Interface DelegatedSubnetServices
public interface DelegatedSubnetServices
Resource collection API of DelegatedSubnetServices.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new DelegatedSubnet resource.void
Delete dnc DelegatedSubnet.void
delete
(String resourceGroupName, String resourceName, Boolean forceDelete, com.azure.core.util.Context context) Delete dnc DelegatedSubnet.void
deleteById
(String id) Delete dnc DelegatedSubnet.void
deleteByIdWithResponse
(String id, Boolean forceDelete, com.azure.core.util.Context context) Delete dnc DelegatedSubnet.Gets details about the specified dnc DelegatedSubnet Link.com.azure.core.http.rest.Response<DelegatedSubnet>
getByIdWithResponse
(String id, com.azure.core.util.Context context) Gets details about the specified dnc DelegatedSubnet Link.getByResourceGroup
(String resourceGroupName, String resourceName) Gets details about the specified dnc DelegatedSubnet Link.com.azure.core.http.rest.Response<DelegatedSubnet>
getByResourceGroupWithResponse
(String resourceGroupName, String resourceName, com.azure.core.util.Context context) Gets details about the specified dnc DelegatedSubnet Link.com.azure.core.http.rest.PagedIterable<DelegatedSubnet>
list()
Get all the DelegatedSubnets resources in a subscription.com.azure.core.http.rest.PagedIterable<DelegatedSubnet>
list
(com.azure.core.util.Context context) Get all the DelegatedSubnets resources in a subscription.com.azure.core.http.rest.PagedIterable<DelegatedSubnet>
listByResourceGroup
(String resourceGroupName) Get all the DelegatedSubnets resources in a resource group.com.azure.core.http.rest.PagedIterable<DelegatedSubnet>
listByResourceGroup
(String resourceGroupName, com.azure.core.util.Context context) Get all the DelegatedSubnets resources in a resource group.
-
Method Details
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<DelegatedSubnet> getByResourceGroupWithResponse(String resourceGroupName, String resourceName, com.azure.core.util.Context context) Gets details about the specified dnc DelegatedSubnet Link.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.resourceName
- The name of the resource. It must be a minimum of 3 characters, and a maximum of 63.context
- The context to associate with this operation.- Returns:
- details about the specified dnc DelegatedSubnet Link 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.
-
getByResourceGroup
Gets details about the specified dnc DelegatedSubnet Link.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.resourceName
- The name of the resource. It must be a minimum of 3 characters, and a maximum of 63.- Returns:
- details about the specified dnc DelegatedSubnet Link.
- 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
Delete dnc DelegatedSubnet.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.resourceName
- The name of the resource. It must be a minimum of 3 characters, and a maximum of 63.- 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 resourceName, Boolean forceDelete, com.azure.core.util.Context context) Delete dnc DelegatedSubnet.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.resourceName
- The name of the resource. It must be a minimum of 3 characters, and a maximum of 63.forceDelete
- Force delete resource.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.
-
list
com.azure.core.http.rest.PagedIterable<DelegatedSubnet> list()Get all the DelegatedSubnets resources in a subscription.- Returns:
- all the DelegatedSubnets resources in a subscription 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
Get all the DelegatedSubnets resources in a subscription.- Parameters:
context
- The context to associate with this operation.- Returns:
- all the DelegatedSubnets resources in a subscription 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<DelegatedSubnet> listByResourceGroup(String resourceGroupName) Get all the DelegatedSubnets resources in a resource group.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.- Returns:
- all the DelegatedSubnets resources in a resource group 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<DelegatedSubnet> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Get all the DelegatedSubnets resources 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:
- all the DelegatedSubnets resources in a resource group 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.
-
getById
Gets details about the specified dnc DelegatedSubnet Link.- Parameters:
id
- the resource ID.- Returns:
- details about the specified dnc DelegatedSubnet Link 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<DelegatedSubnet> getByIdWithResponse(String id, com.azure.core.util.Context context) Gets details about the specified dnc DelegatedSubnet Link.- Parameters:
id
- the resource ID.context
- The context to associate with this operation.- Returns:
- details about the specified dnc DelegatedSubnet Link 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
Delete dnc DelegatedSubnet.- 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
Delete dnc DelegatedSubnet.- Parameters:
id
- the resource ID.forceDelete
- Force delete resource.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
Begins definition for a new DelegatedSubnet resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new DelegatedSubnet definition.
-