Interface ManagedVirtualNetworks
-
public interface ManagedVirtualNetworks
Resource collection API of ManagedVirtualNetworks.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ManagedVirtualNetworkResource.DefinitionStages.Blank
define(String name)
Begins definition for a new ManagedVirtualNetworkResource resource.ManagedVirtualNetworkResource
get(String resourceGroupName, String factoryName, String managedVirtualNetworkName)
Gets a managed Virtual Network.ManagedVirtualNetworkResource
getById(String id)
Gets a managed Virtual Network.com.azure.core.http.rest.Response<ManagedVirtualNetworkResource>
getByIdWithResponse(String id, String ifNoneMatch, com.azure.core.util.Context context)
Gets a managed Virtual Network.com.azure.core.http.rest.Response<ManagedVirtualNetworkResource>
getWithResponse(String resourceGroupName, String factoryName, String managedVirtualNetworkName, String ifNoneMatch, com.azure.core.util.Context context)
Gets a managed Virtual Network.com.azure.core.http.rest.PagedIterable<ManagedVirtualNetworkResource>
listByFactory(String resourceGroupName, String factoryName)
Lists managed Virtual Networks.com.azure.core.http.rest.PagedIterable<ManagedVirtualNetworkResource>
listByFactory(String resourceGroupName, String factoryName, com.azure.core.util.Context context)
Lists managed Virtual Networks.
-
-
-
Method Detail
-
listByFactory
com.azure.core.http.rest.PagedIterable<ManagedVirtualNetworkResource> listByFactory(String resourceGroupName, String factoryName)
Lists managed Virtual Networks.- Parameters:
resourceGroupName
- The resource group name.factoryName
- The factory name.- Returns:
- a list of managed Virtual Network resources 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.
-
listByFactory
com.azure.core.http.rest.PagedIterable<ManagedVirtualNetworkResource> listByFactory(String resourceGroupName, String factoryName, com.azure.core.util.Context context)
Lists managed Virtual Networks.- Parameters:
resourceGroupName
- The resource group name.factoryName
- The factory name.context
- The context to associate with this operation.- Returns:
- a list of managed Virtual Network resources 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.
-
get
ManagedVirtualNetworkResource get(String resourceGroupName, String factoryName, String managedVirtualNetworkName)
Gets a managed Virtual Network.- Parameters:
resourceGroupName
- The resource group name.factoryName
- The factory name.managedVirtualNetworkName
- Managed virtual network name.- Returns:
- a managed Virtual 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<ManagedVirtualNetworkResource> getWithResponse(String resourceGroupName, String factoryName, String managedVirtualNetworkName, String ifNoneMatch, com.azure.core.util.Context context)
Gets a managed Virtual Network.- Parameters:
resourceGroupName
- The resource group name.factoryName
- The factory name.managedVirtualNetworkName
- Managed virtual network name.ifNoneMatch
- ETag of the managed Virtual Network entity. Should only be specified for get. If the ETag matches the existing entity tag, or if * was provided, then no content will be returned.context
- The context to associate with this operation.- Returns:
- a managed Virtual 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.
-
getById
ManagedVirtualNetworkResource getById(String id)
Gets a managed Virtual Network.- Parameters:
id
- the resource ID.- Returns:
- a managed Virtual 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<ManagedVirtualNetworkResource> getByIdWithResponse(String id, String ifNoneMatch, com.azure.core.util.Context context)
Gets a managed Virtual Network.- Parameters:
id
- the resource ID.ifNoneMatch
- ETag of the managed Virtual Network entity. Should only be specified for get. If the ETag matches the existing entity tag, or if * was provided, then no content will be returned.context
- The context to associate with this operation.- Returns:
- a managed Virtual 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.
-
define
ManagedVirtualNetworkResource.DefinitionStages.Blank define(String name)
Begins definition for a new ManagedVirtualNetworkResource resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new ManagedVirtualNetworkResource definition.
-
-