Interface WorkloadNetworks
public interface WorkloadNetworks
Resource collection API of WorkloadNetworks.
-
Method Summary
Modifier and TypeMethodDescriptiondefineDhcp
(String name) Begins definition for a new WorkloadNetworkDhcp resource.defineDnsService
(String name) Begins definition for a new WorkloadNetworkDnsService resource.defineDnsZone
(String name) Begins definition for a new WorkloadNetworkDnsZone resource.definePortMirroring
(String name) Begins definition for a new WorkloadNetworkPortMirroring resource.definePublicIp
(String name) Begins definition for a new WorkloadNetworkPublicIp resource.defineSegments
(String name) Begins definition for a new WorkloadNetworkSegment resource.defineVMGroup
(String name) Begins definition for a new WorkloadNetworkVMGroup resource.void
deleteDhcp
(String resourceGroupName, String privateCloudName, String dhcpId) Delete dhcp by id in a private cloud workload network.void
deleteDhcp
(String resourceGroupName, String privateCloudName, String dhcpId, com.azure.core.util.Context context) Delete dhcp by id in a private cloud workload network.void
deleteDhcpById
(String id) Delete dhcp by id in a private cloud workload network.void
deleteDhcpByIdWithResponse
(String id, com.azure.core.util.Context context) Delete dhcp by id in a private cloud workload network.void
deleteDnsService
(String resourceGroupName, String dnsServiceId, String privateCloudName) Delete a DNS service by id in a private cloud workload network.void
deleteDnsService
(String resourceGroupName, String dnsServiceId, String privateCloudName, com.azure.core.util.Context context) Delete a DNS service by id in a private cloud workload network.void
Delete a DNS service by id in a private cloud workload network.void
deleteDnsServiceByIdWithResponse
(String id, com.azure.core.util.Context context) Delete a DNS service by id in a private cloud workload network.void
deleteDnsZone
(String resourceGroupName, String dnsZoneId, String privateCloudName) Delete a DNS zone by id in a private cloud workload network.void
deleteDnsZone
(String resourceGroupName, String dnsZoneId, String privateCloudName, com.azure.core.util.Context context) Delete a DNS zone by id in a private cloud workload network.void
Delete a DNS zone by id in a private cloud workload network.void
deleteDnsZoneByIdWithResponse
(String id, com.azure.core.util.Context context) Delete a DNS zone by id in a private cloud workload network.void
deletePortMirroring
(String resourceGroupName, String portMirroringId, String privateCloudName) Delete a port mirroring profile by id in a private cloud workload network.void
deletePortMirroring
(String resourceGroupName, String portMirroringId, String privateCloudName, com.azure.core.util.Context context) Delete a port mirroring profile by id in a private cloud workload network.void
Delete a port mirroring profile by id in a private cloud workload network.void
deletePortMirroringByIdWithResponse
(String id, com.azure.core.util.Context context) Delete a port mirroring profile by id in a private cloud workload network.void
deletePublicIp
(String resourceGroupName, String publicIpId, String privateCloudName) Delete a Public IP Block by id in a private cloud workload network.void
deletePublicIp
(String resourceGroupName, String publicIpId, String privateCloudName, com.azure.core.util.Context context) Delete a Public IP Block by id in a private cloud workload network.void
Delete a Public IP Block by id in a private cloud workload network.void
deletePublicIpByIdWithResponse
(String id, com.azure.core.util.Context context) Delete a Public IP Block by id in a private cloud workload network.void
deleteSegment
(String resourceGroupName, String privateCloudName, String segmentId) Delete a segment by id in a private cloud workload network.void
deleteSegment
(String resourceGroupName, String privateCloudName, String segmentId, com.azure.core.util.Context context) Delete a segment by id in a private cloud workload network.void
Delete a segment by id in a private cloud workload network.void
deleteSegmentByIdWithResponse
(String id, com.azure.core.util.Context context) Delete a segment by id in a private cloud workload network.void
deleteVMGroup
(String resourceGroupName, String vmGroupId, String privateCloudName) Delete a vm group by id in a private cloud workload network.void
deleteVMGroup
(String resourceGroupName, String vmGroupId, String privateCloudName, com.azure.core.util.Context context) Delete a vm group by id in a private cloud workload network.void
Delete a vm group by id in a private cloud workload network.void
deleteVMGroupByIdWithResponse
(String id, com.azure.core.util.Context context) Delete a vm group by id in a private cloud workload network.get
(String resourceGroupName, String privateCloudName, WorkloadNetworkName workloadNetworkName) Get a private cloud workload network.Get dhcp by id in a private cloud workload network.getDhcpById
(String id) Get dhcp by id in a private cloud workload network.com.azure.core.http.rest.Response<WorkloadNetworkDhcp>
getDhcpByIdWithResponse
(String id, com.azure.core.util.Context context) Get dhcp by id in a private cloud workload network.com.azure.core.http.rest.Response<WorkloadNetworkDhcp>
getDhcpWithResponse
(String resourceGroupName, String dhcpId, String privateCloudName, com.azure.core.util.Context context) Get dhcp by id in a private cloud workload network.getDnsService
(String resourceGroupName, String privateCloudName, String dnsServiceId) Get a DNS service by id in a private cloud workload network.Get a DNS service by id in a private cloud workload network.com.azure.core.http.rest.Response<WorkloadNetworkDnsService>
getDnsServiceByIdWithResponse
(String id, com.azure.core.util.Context context) Get a DNS service by id in a private cloud workload network.com.azure.core.http.rest.Response<WorkloadNetworkDnsService>
getDnsServiceWithResponse
(String resourceGroupName, String privateCloudName, String dnsServiceId, com.azure.core.util.Context context) Get a DNS service by id in a private cloud workload network.getDnsZone
(String resourceGroupName, String privateCloudName, String dnsZoneId) Get a DNS zone by id in a private cloud workload network.getDnsZoneById
(String id) Get a DNS zone by id in a private cloud workload network.com.azure.core.http.rest.Response<WorkloadNetworkDnsZone>
getDnsZoneByIdWithResponse
(String id, com.azure.core.util.Context context) Get a DNS zone by id in a private cloud workload network.com.azure.core.http.rest.Response<WorkloadNetworkDnsZone>
getDnsZoneWithResponse
(String resourceGroupName, String privateCloudName, String dnsZoneId, com.azure.core.util.Context context) Get a DNS zone by id in a private cloud workload network.getGateway
(String resourceGroupName, String privateCloudName, String gatewayId) Get a gateway by id in a private cloud workload network.com.azure.core.http.rest.Response<WorkloadNetworkGateway>
getGatewayWithResponse
(String resourceGroupName, String privateCloudName, String gatewayId, com.azure.core.util.Context context) Get a gateway by id in a private cloud workload network.getPortMirroring
(String resourceGroupName, String privateCloudName, String portMirroringId) Get a port mirroring profile by id in a private cloud workload network.Get a port mirroring profile by id in a private cloud workload network.com.azure.core.http.rest.Response<WorkloadNetworkPortMirroring>
getPortMirroringByIdWithResponse
(String id, com.azure.core.util.Context context) Get a port mirroring profile by id in a private cloud workload network.com.azure.core.http.rest.Response<WorkloadNetworkPortMirroring>
getPortMirroringWithResponse
(String resourceGroupName, String privateCloudName, String portMirroringId, com.azure.core.util.Context context) Get a port mirroring profile by id in a private cloud workload network.getPublicIp
(String resourceGroupName, String privateCloudName, String publicIpId) Get a Public IP Block by id in a private cloud workload network.Get a Public IP Block by id in a private cloud workload network.com.azure.core.http.rest.Response<WorkloadNetworkPublicIp>
getPublicIpByIdWithResponse
(String id, com.azure.core.util.Context context) Get a Public IP Block by id in a private cloud workload network.com.azure.core.http.rest.Response<WorkloadNetworkPublicIp>
getPublicIpWithResponse
(String resourceGroupName, String privateCloudName, String publicIpId, com.azure.core.util.Context context) Get a Public IP Block by id in a private cloud workload network.getSegment
(String resourceGroupName, String privateCloudName, String segmentId) Get a segment by id in a private cloud workload network.getSegmentById
(String id) Get a segment by id in a private cloud workload network.com.azure.core.http.rest.Response<WorkloadNetworkSegment>
getSegmentByIdWithResponse
(String id, com.azure.core.util.Context context) Get a segment by id in a private cloud workload network.com.azure.core.http.rest.Response<WorkloadNetworkSegment>
getSegmentWithResponse
(String resourceGroupName, String privateCloudName, String segmentId, com.azure.core.util.Context context) Get a segment by id in a private cloud workload network.getVirtualMachine
(String resourceGroupName, String privateCloudName, String virtualMachineId) Get a virtual machine by id in a private cloud workload network.com.azure.core.http.rest.Response<WorkloadNetworkVirtualMachine>
getVirtualMachineWithResponse
(String resourceGroupName, String privateCloudName, String virtualMachineId, com.azure.core.util.Context context) Get a virtual machine by id in a private cloud workload network.getVMGroup
(String resourceGroupName, String privateCloudName, String vmGroupId) Get a vm group by id in a private cloud workload network.getVMGroupById
(String id) Get a vm group by id in a private cloud workload network.com.azure.core.http.rest.Response<WorkloadNetworkVMGroup>
getVMGroupByIdWithResponse
(String id, com.azure.core.util.Context context) Get a vm group by id in a private cloud workload network.com.azure.core.http.rest.Response<WorkloadNetworkVMGroup>
getVMGroupWithResponse
(String resourceGroupName, String privateCloudName, String vmGroupId, com.azure.core.util.Context context) Get a vm group by id in a private cloud workload network.com.azure.core.http.rest.Response<WorkloadNetwork>
getWithResponse
(String resourceGroupName, String privateCloudName, WorkloadNetworkName workloadNetworkName, com.azure.core.util.Context context) Get a private cloud workload network.com.azure.core.http.rest.PagedIterable<WorkloadNetwork>
List of workload networks in a private cloud.com.azure.core.http.rest.PagedIterable<WorkloadNetwork>
List of workload networks in a private cloud.com.azure.core.http.rest.PagedIterable<WorkloadNetworkDhcp>
List dhcp in a private cloud workload network.com.azure.core.http.rest.PagedIterable<WorkloadNetworkDhcp>
List dhcp in a private cloud workload network.com.azure.core.http.rest.PagedIterable<WorkloadNetworkDnsService>
listDnsServices
(String resourceGroupName, String privateCloudName) List of DNS services in a private cloud workload network.com.azure.core.http.rest.PagedIterable<WorkloadNetworkDnsService>
listDnsServices
(String resourceGroupName, String privateCloudName, com.azure.core.util.Context context) List of DNS services in a private cloud workload network.com.azure.core.http.rest.PagedIterable<WorkloadNetworkDnsZone>
listDnsZones
(String resourceGroupName, String privateCloudName) List of DNS zones in a private cloud workload network.com.azure.core.http.rest.PagedIterable<WorkloadNetworkDnsZone>
listDnsZones
(String resourceGroupName, String privateCloudName, com.azure.core.util.Context context) List of DNS zones in a private cloud workload network.com.azure.core.http.rest.PagedIterable<WorkloadNetworkGateway>
listGateways
(String resourceGroupName, String privateCloudName) List of gateways in a private cloud workload network.com.azure.core.http.rest.PagedIterable<WorkloadNetworkGateway>
listGateways
(String resourceGroupName, String privateCloudName, com.azure.core.util.Context context) List of gateways in a private cloud workload network.com.azure.core.http.rest.PagedIterable<WorkloadNetworkPortMirroring>
listPortMirroring
(String resourceGroupName, String privateCloudName) List of port mirroring profiles in a private cloud workload network.com.azure.core.http.rest.PagedIterable<WorkloadNetworkPortMirroring>
listPortMirroring
(String resourceGroupName, String privateCloudName, com.azure.core.util.Context context) List of port mirroring profiles in a private cloud workload network.com.azure.core.http.rest.PagedIterable<WorkloadNetworkPublicIp>
listPublicIPs
(String resourceGroupName, String privateCloudName) List of Public IP Blocks in a private cloud workload network.com.azure.core.http.rest.PagedIterable<WorkloadNetworkPublicIp>
listPublicIPs
(String resourceGroupName, String privateCloudName, com.azure.core.util.Context context) List of Public IP Blocks in a private cloud workload network.com.azure.core.http.rest.PagedIterable<WorkloadNetworkSegment>
listSegments
(String resourceGroupName, String privateCloudName) List of segments in a private cloud workload network.com.azure.core.http.rest.PagedIterable<WorkloadNetworkSegment>
listSegments
(String resourceGroupName, String privateCloudName, com.azure.core.util.Context context) List of segments in a private cloud workload network.com.azure.core.http.rest.PagedIterable<WorkloadNetworkVirtualMachine>
listVirtualMachines
(String resourceGroupName, String privateCloudName) List of virtual machines in a private cloud workload network.com.azure.core.http.rest.PagedIterable<WorkloadNetworkVirtualMachine>
listVirtualMachines
(String resourceGroupName, String privateCloudName, com.azure.core.util.Context context) List of virtual machines in a private cloud workload network.com.azure.core.http.rest.PagedIterable<WorkloadNetworkVMGroup>
listVMGroups
(String resourceGroupName, String privateCloudName) List of vm groups in a private cloud workload network.com.azure.core.http.rest.PagedIterable<WorkloadNetworkVMGroup>
listVMGroups
(String resourceGroupName, String privateCloudName, com.azure.core.util.Context context) List of vm groups in a private cloud workload network.
-
Method Details
-
getWithResponse
com.azure.core.http.rest.Response<WorkloadNetwork> getWithResponse(String resourceGroupName, String privateCloudName, WorkloadNetworkName workloadNetworkName, com.azure.core.util.Context context) Get a private cloud workload network.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.privateCloudName
- Name of the private cloud.workloadNetworkName
- Name for the workload network in the private cloud.context
- The context to associate with this operation.- Returns:
- a private cloud workload 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.
-
get
WorkloadNetwork get(String resourceGroupName, String privateCloudName, WorkloadNetworkName workloadNetworkName) Get a private cloud workload network.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.privateCloudName
- Name of the private cloud.workloadNetworkName
- Name for the workload network in the private cloud.- Returns:
- a private cloud workload 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.
-
list
com.azure.core.http.rest.PagedIterable<WorkloadNetwork> list(String resourceGroupName, String privateCloudName) List of workload networks in a private cloud.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.privateCloudName
- Name of the private cloud.- Returns:
- a list of workload networks 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.
-
list
com.azure.core.http.rest.PagedIterable<WorkloadNetwork> list(String resourceGroupName, String privateCloudName, com.azure.core.util.Context context) List of workload networks in a private cloud.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.privateCloudName
- Name of the private cloud.context
- The context to associate with this operation.- Returns:
- a list of workload networks 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.
-
listSegments
com.azure.core.http.rest.PagedIterable<WorkloadNetworkSegment> listSegments(String resourceGroupName, String privateCloudName) List of segments in a private cloud workload network.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.privateCloudName
- Name of the private cloud.- Returns:
- a list of NSX Segments 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.
-
listSegments
com.azure.core.http.rest.PagedIterable<WorkloadNetworkSegment> listSegments(String resourceGroupName, String privateCloudName, com.azure.core.util.Context context) List of segments in a private cloud workload network.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.privateCloudName
- Name of the private cloud.context
- The context to associate with this operation.- Returns:
- a list of NSX Segments 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.
-
getSegmentWithResponse
com.azure.core.http.rest.Response<WorkloadNetworkSegment> getSegmentWithResponse(String resourceGroupName, String privateCloudName, String segmentId, com.azure.core.util.Context context) Get a segment by id in a private cloud workload network.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.privateCloudName
- Name of the private cloud.segmentId
- NSX Segment identifier. Generally the same as the Segment's display name.context
- The context to associate with this operation.- Returns:
- a segment by id in a private cloud workload 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.
-
getSegment
WorkloadNetworkSegment getSegment(String resourceGroupName, String privateCloudName, String segmentId) Get a segment by id in a private cloud workload network.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.privateCloudName
- Name of the private cloud.segmentId
- NSX Segment identifier. Generally the same as the Segment's display name.- Returns:
- a segment by id in a private cloud workload 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.
-
deleteSegment
Delete a segment by id in a private cloud workload network.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.privateCloudName
- Name of the private cloud.segmentId
- NSX Segment identifier. Generally the same as the Segment's display name.- 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.
-
deleteSegment
void deleteSegment(String resourceGroupName, String privateCloudName, String segmentId, com.azure.core.util.Context context) Delete a segment by id in a private cloud workload network.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.privateCloudName
- Name of the private cloud.segmentId
- NSX Segment identifier. Generally the same as the Segment's display name.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.
-
listDhcp
com.azure.core.http.rest.PagedIterable<WorkloadNetworkDhcp> listDhcp(String resourceGroupName, String privateCloudName) List dhcp in a private cloud workload network.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.privateCloudName
- Name of the private cloud.- Returns:
- a list of NSX dhcp entities 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.
-
listDhcp
com.azure.core.http.rest.PagedIterable<WorkloadNetworkDhcp> listDhcp(String resourceGroupName, String privateCloudName, com.azure.core.util.Context context) List dhcp in a private cloud workload network.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.privateCloudName
- Name of the private cloud.context
- The context to associate with this operation.- Returns:
- a list of NSX dhcp entities 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.
-
getDhcpWithResponse
com.azure.core.http.rest.Response<WorkloadNetworkDhcp> getDhcpWithResponse(String resourceGroupName, String dhcpId, String privateCloudName, com.azure.core.util.Context context) Get dhcp by id in a private cloud workload network.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.dhcpId
- NSX DHCP identifier. Generally the same as the DHCP display name.privateCloudName
- Name of the private cloud.context
- The context to associate with this operation.- Returns:
- dhcp by id in a private cloud workload 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.
-
getDhcp
Get dhcp by id in a private cloud workload network.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.dhcpId
- NSX DHCP identifier. Generally the same as the DHCP display name.privateCloudName
- Name of the private cloud.- Returns:
- dhcp by id in a private cloud workload 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.
-
deleteDhcp
Delete dhcp by id in a private cloud workload network.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.privateCloudName
- Name of the private cloud.dhcpId
- NSX DHCP identifier. Generally the same as the DHCP display name.- 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.
-
deleteDhcp
void deleteDhcp(String resourceGroupName, String privateCloudName, String dhcpId, com.azure.core.util.Context context) Delete dhcp by id in a private cloud workload network.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.privateCloudName
- Name of the private cloud.dhcpId
- NSX DHCP identifier. Generally the same as the DHCP display name.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.
-
listGateways
com.azure.core.http.rest.PagedIterable<WorkloadNetworkGateway> listGateways(String resourceGroupName, String privateCloudName) List of gateways in a private cloud workload network.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.privateCloudName
- Name of the private cloud.- Returns:
- a list of NSX Gateways 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.
-
listGateways
com.azure.core.http.rest.PagedIterable<WorkloadNetworkGateway> listGateways(String resourceGroupName, String privateCloudName, com.azure.core.util.Context context) List of gateways in a private cloud workload network.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.privateCloudName
- Name of the private cloud.context
- The context to associate with this operation.- Returns:
- a list of NSX Gateways 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.
-
getGatewayWithResponse
com.azure.core.http.rest.Response<WorkloadNetworkGateway> getGatewayWithResponse(String resourceGroupName, String privateCloudName, String gatewayId, com.azure.core.util.Context context) Get a gateway by id in a private cloud workload network.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.privateCloudName
- Name of the private cloud.gatewayId
- NSX Gateway identifier. Generally the same as the Gateway's display name.context
- The context to associate with this operation.- Returns:
- a gateway by id in a private cloud workload 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.
-
getGateway
WorkloadNetworkGateway getGateway(String resourceGroupName, String privateCloudName, String gatewayId) Get a gateway by id in a private cloud workload network.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.privateCloudName
- Name of the private cloud.gatewayId
- NSX Gateway identifier. Generally the same as the Gateway's display name.- Returns:
- a gateway by id in a private cloud workload 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.
-
listPortMirroring
com.azure.core.http.rest.PagedIterable<WorkloadNetworkPortMirroring> listPortMirroring(String resourceGroupName, String privateCloudName) List of port mirroring profiles in a private cloud workload network.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.privateCloudName
- Name of the private cloud.- Returns:
- a list of NSX Port Mirroring 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.
-
listPortMirroring
com.azure.core.http.rest.PagedIterable<WorkloadNetworkPortMirroring> listPortMirroring(String resourceGroupName, String privateCloudName, com.azure.core.util.Context context) List of port mirroring profiles in a private cloud workload network.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.privateCloudName
- Name of the private cloud.context
- The context to associate with this operation.- Returns:
- a list of NSX Port Mirroring 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.
-
getPortMirroringWithResponse
com.azure.core.http.rest.Response<WorkloadNetworkPortMirroring> getPortMirroringWithResponse(String resourceGroupName, String privateCloudName, String portMirroringId, com.azure.core.util.Context context) Get a port mirroring profile by id in a private cloud workload network.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.privateCloudName
- Name of the private cloud.portMirroringId
- NSX Port Mirroring identifier. Generally the same as the Port Mirroring display name.context
- The context to associate with this operation.- Returns:
- a port mirroring profile by id in a private cloud workload 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.
-
getPortMirroring
WorkloadNetworkPortMirroring getPortMirroring(String resourceGroupName, String privateCloudName, String portMirroringId) Get a port mirroring profile by id in a private cloud workload network.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.privateCloudName
- Name of the private cloud.portMirroringId
- NSX Port Mirroring identifier. Generally the same as the Port Mirroring display name.- Returns:
- a port mirroring profile by id in a private cloud workload 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.
-
deletePortMirroring
Delete a port mirroring profile by id in a private cloud workload network.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.portMirroringId
- NSX Port Mirroring identifier. Generally the same as the Port Mirroring display name.privateCloudName
- Name of the private cloud.- 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.
-
deletePortMirroring
void deletePortMirroring(String resourceGroupName, String portMirroringId, String privateCloudName, com.azure.core.util.Context context) Delete a port mirroring profile by id in a private cloud workload network.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.portMirroringId
- NSX Port Mirroring identifier. Generally the same as the Port Mirroring display name.privateCloudName
- Name of the private cloud.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.
-
listVMGroups
com.azure.core.http.rest.PagedIterable<WorkloadNetworkVMGroup> listVMGroups(String resourceGroupName, String privateCloudName) List of vm groups in a private cloud workload network.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.privateCloudName
- Name of the private cloud.- Returns:
- a list of NSX VM Groups 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.
-
listVMGroups
com.azure.core.http.rest.PagedIterable<WorkloadNetworkVMGroup> listVMGroups(String resourceGroupName, String privateCloudName, com.azure.core.util.Context context) List of vm groups in a private cloud workload network.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.privateCloudName
- Name of the private cloud.context
- The context to associate with this operation.- Returns:
- a list of NSX VM Groups 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.
-
getVMGroupWithResponse
com.azure.core.http.rest.Response<WorkloadNetworkVMGroup> getVMGroupWithResponse(String resourceGroupName, String privateCloudName, String vmGroupId, com.azure.core.util.Context context) Get a vm group by id in a private cloud workload network.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.privateCloudName
- Name of the private cloud.vmGroupId
- NSX VM Group identifier. Generally the same as the VM Group's display name.context
- The context to associate with this operation.- Returns:
- a vm group by id in a private cloud workload 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.
-
getVMGroup
WorkloadNetworkVMGroup getVMGroup(String resourceGroupName, String privateCloudName, String vmGroupId) Get a vm group by id in a private cloud workload network.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.privateCloudName
- Name of the private cloud.vmGroupId
- NSX VM Group identifier. Generally the same as the VM Group's display name.- Returns:
- a vm group by id in a private cloud workload 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.
-
deleteVMGroup
Delete a vm group by id in a private cloud workload network.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.vmGroupId
- NSX VM Group identifier. Generally the same as the VM Group's display name.privateCloudName
- Name of the private cloud.- 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.
-
deleteVMGroup
void deleteVMGroup(String resourceGroupName, String vmGroupId, String privateCloudName, com.azure.core.util.Context context) Delete a vm group by id in a private cloud workload network.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.vmGroupId
- NSX VM Group identifier. Generally the same as the VM Group's display name.privateCloudName
- Name of the private cloud.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.
-
listVirtualMachines
com.azure.core.http.rest.PagedIterable<WorkloadNetworkVirtualMachine> listVirtualMachines(String resourceGroupName, String privateCloudName) List of virtual machines in a private cloud workload network.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.privateCloudName
- Name of the private cloud.- Returns:
- a list of NSX Virtual Machines 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.
-
listVirtualMachines
com.azure.core.http.rest.PagedIterable<WorkloadNetworkVirtualMachine> listVirtualMachines(String resourceGroupName, String privateCloudName, com.azure.core.util.Context context) List of virtual machines in a private cloud workload network.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.privateCloudName
- Name of the private cloud.context
- The context to associate with this operation.- Returns:
- a list of NSX Virtual Machines 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.
-
getVirtualMachineWithResponse
com.azure.core.http.rest.Response<WorkloadNetworkVirtualMachine> getVirtualMachineWithResponse(String resourceGroupName, String privateCloudName, String virtualMachineId, com.azure.core.util.Context context) Get a virtual machine by id in a private cloud workload network.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.privateCloudName
- Name of the private cloud.virtualMachineId
- Virtual Machine identifier.context
- The context to associate with this operation.- Returns:
- a virtual machine by id in a private cloud workload 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.
-
getVirtualMachine
WorkloadNetworkVirtualMachine getVirtualMachine(String resourceGroupName, String privateCloudName, String virtualMachineId) Get a virtual machine by id in a private cloud workload network.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.privateCloudName
- Name of the private cloud.virtualMachineId
- Virtual Machine identifier.- Returns:
- a virtual machine by id in a private cloud workload 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.
-
listDnsServices
com.azure.core.http.rest.PagedIterable<WorkloadNetworkDnsService> listDnsServices(String resourceGroupName, String privateCloudName) List of DNS services in a private cloud workload network.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.privateCloudName
- Name of the private cloud.- Returns:
- a list of NSX DNS Services 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.
-
listDnsServices
com.azure.core.http.rest.PagedIterable<WorkloadNetworkDnsService> listDnsServices(String resourceGroupName, String privateCloudName, com.azure.core.util.Context context) List of DNS services in a private cloud workload network.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.privateCloudName
- Name of the private cloud.context
- The context to associate with this operation.- Returns:
- a list of NSX DNS Services 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.
-
getDnsServiceWithResponse
com.azure.core.http.rest.Response<WorkloadNetworkDnsService> getDnsServiceWithResponse(String resourceGroupName, String privateCloudName, String dnsServiceId, com.azure.core.util.Context context) Get a DNS service by id in a private cloud workload network.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.privateCloudName
- Name of the private cloud.dnsServiceId
- NSX DNS Service identifier. Generally the same as the DNS Service's display name.context
- The context to associate with this operation.- Returns:
- a DNS service by id in a private cloud workload 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.
-
getDnsService
WorkloadNetworkDnsService getDnsService(String resourceGroupName, String privateCloudName, String dnsServiceId) Get a DNS service by id in a private cloud workload network.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.privateCloudName
- Name of the private cloud.dnsServiceId
- NSX DNS Service identifier. Generally the same as the DNS Service's display name.- Returns:
- a DNS service by id in a private cloud workload 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.
-
deleteDnsService
Delete a DNS service by id in a private cloud workload network.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.dnsServiceId
- NSX DNS Service identifier. Generally the same as the DNS Service's display name.privateCloudName
- Name of the private cloud.- 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.
-
deleteDnsService
void deleteDnsService(String resourceGroupName, String dnsServiceId, String privateCloudName, com.azure.core.util.Context context) Delete a DNS service by id in a private cloud workload network.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.dnsServiceId
- NSX DNS Service identifier. Generally the same as the DNS Service's display name.privateCloudName
- Name of the private cloud.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.
-
listDnsZones
com.azure.core.http.rest.PagedIterable<WorkloadNetworkDnsZone> listDnsZones(String resourceGroupName, String privateCloudName) List of DNS zones in a private cloud workload network.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.privateCloudName
- Name of the private cloud.- Returns:
- a list of NSX DNS Zones 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.
-
listDnsZones
com.azure.core.http.rest.PagedIterable<WorkloadNetworkDnsZone> listDnsZones(String resourceGroupName, String privateCloudName, com.azure.core.util.Context context) List of DNS zones in a private cloud workload network.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.privateCloudName
- Name of the private cloud.context
- The context to associate with this operation.- Returns:
- a list of NSX DNS Zones 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.
-
getDnsZoneWithResponse
com.azure.core.http.rest.Response<WorkloadNetworkDnsZone> getDnsZoneWithResponse(String resourceGroupName, String privateCloudName, String dnsZoneId, com.azure.core.util.Context context) Get a DNS zone by id in a private cloud workload network.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.privateCloudName
- Name of the private cloud.dnsZoneId
- NSX DNS Zone identifier. Generally the same as the DNS Zone's display name.context
- The context to associate with this operation.- Returns:
- a DNS zone by id in a private cloud workload 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.
-
getDnsZone
WorkloadNetworkDnsZone getDnsZone(String resourceGroupName, String privateCloudName, String dnsZoneId) Get a DNS zone by id in a private cloud workload network.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.privateCloudName
- Name of the private cloud.dnsZoneId
- NSX DNS Zone identifier. Generally the same as the DNS Zone's display name.- Returns:
- a DNS zone by id in a private cloud workload 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.
-
deleteDnsZone
Delete a DNS zone by id in a private cloud workload network.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.dnsZoneId
- NSX DNS Zone identifier. Generally the same as the DNS Zone's display name.privateCloudName
- Name of the private cloud.- 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.
-
deleteDnsZone
void deleteDnsZone(String resourceGroupName, String dnsZoneId, String privateCloudName, com.azure.core.util.Context context) Delete a DNS zone by id in a private cloud workload network.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.dnsZoneId
- NSX DNS Zone identifier. Generally the same as the DNS Zone's display name.privateCloudName
- Name of the private cloud.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.
-
listPublicIPs
com.azure.core.http.rest.PagedIterable<WorkloadNetworkPublicIp> listPublicIPs(String resourceGroupName, String privateCloudName) List of Public IP Blocks in a private cloud workload network.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.privateCloudName
- Name of the private cloud.- Returns:
- a list of NSX Public IP Blocks 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.
-
listPublicIPs
com.azure.core.http.rest.PagedIterable<WorkloadNetworkPublicIp> listPublicIPs(String resourceGroupName, String privateCloudName, com.azure.core.util.Context context) List of Public IP Blocks in a private cloud workload network.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.privateCloudName
- Name of the private cloud.context
- The context to associate with this operation.- Returns:
- a list of NSX Public IP Blocks 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.
-
getPublicIpWithResponse
com.azure.core.http.rest.Response<WorkloadNetworkPublicIp> getPublicIpWithResponse(String resourceGroupName, String privateCloudName, String publicIpId, com.azure.core.util.Context context) Get a Public IP Block by id in a private cloud workload network.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.privateCloudName
- Name of the private cloud.publicIpId
- NSX Public IP Block identifier. Generally the same as the Public IP Block's display name.context
- The context to associate with this operation.- Returns:
- a Public IP Block by id in a private cloud workload 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.
-
getPublicIp
WorkloadNetworkPublicIp getPublicIp(String resourceGroupName, String privateCloudName, String publicIpId) Get a Public IP Block by id in a private cloud workload network.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.privateCloudName
- Name of the private cloud.publicIpId
- NSX Public IP Block identifier. Generally the same as the Public IP Block's display name.- Returns:
- a Public IP Block by id in a private cloud workload 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.
-
deletePublicIp
Delete a Public IP Block by id in a private cloud workload network.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.publicIpId
- NSX Public IP Block identifier. Generally the same as the Public IP Block's display name.privateCloudName
- Name of the private cloud.- 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.
-
deletePublicIp
void deletePublicIp(String resourceGroupName, String publicIpId, String privateCloudName, com.azure.core.util.Context context) Delete a Public IP Block by id in a private cloud workload network.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.publicIpId
- NSX Public IP Block identifier. Generally the same as the Public IP Block's display name.privateCloudName
- Name of the private cloud.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.
-
getSegmentById
Get a segment by id in a private cloud workload network.- Parameters:
id
- the resource ID.- Returns:
- a segment by id in a private cloud workload 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.
-
getSegmentByIdWithResponse
com.azure.core.http.rest.Response<WorkloadNetworkSegment> getSegmentByIdWithResponse(String id, com.azure.core.util.Context context) Get a segment by id in a private cloud workload network.- Parameters:
id
- the resource ID.context
- The context to associate with this operation.- Returns:
- a segment by id in a private cloud workload 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.
-
getDhcpById
Get dhcp by id in a private cloud workload network.- Parameters:
id
- the resource ID.- Returns:
- dhcp by id in a private cloud workload 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.
-
getDhcpByIdWithResponse
com.azure.core.http.rest.Response<WorkloadNetworkDhcp> getDhcpByIdWithResponse(String id, com.azure.core.util.Context context) Get dhcp by id in a private cloud workload network.- Parameters:
id
- the resource ID.context
- The context to associate with this operation.- Returns:
- dhcp by id in a private cloud workload 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.
-
getPortMirroringById
Get a port mirroring profile by id in a private cloud workload network.- Parameters:
id
- the resource ID.- Returns:
- a port mirroring profile by id in a private cloud workload 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.
-
getPortMirroringByIdWithResponse
com.azure.core.http.rest.Response<WorkloadNetworkPortMirroring> getPortMirroringByIdWithResponse(String id, com.azure.core.util.Context context) Get a port mirroring profile by id in a private cloud workload network.- Parameters:
id
- the resource ID.context
- The context to associate with this operation.- Returns:
- a port mirroring profile by id in a private cloud workload 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.
-
getVMGroupById
Get a vm group by id in a private cloud workload network.- Parameters:
id
- the resource ID.- Returns:
- a vm group by id in a private cloud workload 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.
-
getVMGroupByIdWithResponse
com.azure.core.http.rest.Response<WorkloadNetworkVMGroup> getVMGroupByIdWithResponse(String id, com.azure.core.util.Context context) Get a vm group by id in a private cloud workload network.- Parameters:
id
- the resource ID.context
- The context to associate with this operation.- Returns:
- a vm group by id in a private cloud workload 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.
-
getDnsServiceById
Get a DNS service by id in a private cloud workload network.- Parameters:
id
- the resource ID.- Returns:
- a DNS service by id in a private cloud workload 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.
-
getDnsServiceByIdWithResponse
com.azure.core.http.rest.Response<WorkloadNetworkDnsService> getDnsServiceByIdWithResponse(String id, com.azure.core.util.Context context) Get a DNS service by id in a private cloud workload network.- Parameters:
id
- the resource ID.context
- The context to associate with this operation.- Returns:
- a DNS service by id in a private cloud workload 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.
-
getDnsZoneById
Get a DNS zone by id in a private cloud workload network.- Parameters:
id
- the resource ID.- Returns:
- a DNS zone by id in a private cloud workload 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.
-
getDnsZoneByIdWithResponse
com.azure.core.http.rest.Response<WorkloadNetworkDnsZone> getDnsZoneByIdWithResponse(String id, com.azure.core.util.Context context) Get a DNS zone by id in a private cloud workload network.- Parameters:
id
- the resource ID.context
- The context to associate with this operation.- Returns:
- a DNS zone by id in a private cloud workload 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.
-
getPublicIpById
Get a Public IP Block by id in a private cloud workload network.- Parameters:
id
- the resource ID.- Returns:
- a Public IP Block by id in a private cloud workload 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.
-
getPublicIpByIdWithResponse
com.azure.core.http.rest.Response<WorkloadNetworkPublicIp> getPublicIpByIdWithResponse(String id, com.azure.core.util.Context context) Get a Public IP Block by id in a private cloud workload network.- Parameters:
id
- the resource ID.context
- The context to associate with this operation.- Returns:
- a Public IP Block by id in a private cloud workload 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.
-
deleteSegmentById
Delete a segment by id in a private cloud workload 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.
-
deleteSegmentByIdWithResponse
Delete a segment by id in a private cloud workload 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.
-
deleteDhcpById
Delete dhcp by id in a private cloud workload 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.
-
deleteDhcpByIdWithResponse
Delete dhcp by id in a private cloud workload 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.
-
deletePortMirroringById
Delete a port mirroring profile by id in a private cloud workload 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.
-
deletePortMirroringByIdWithResponse
Delete a port mirroring profile by id in a private cloud workload 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.
-
deleteVMGroupById
Delete a vm group by id in a private cloud workload 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.
-
deleteVMGroupByIdWithResponse
Delete a vm group by id in a private cloud workload 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.
-
deleteDnsServiceById
Delete a DNS service by id in a private cloud workload 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.
-
deleteDnsServiceByIdWithResponse
Delete a DNS service by id in a private cloud workload 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.
-
deleteDnsZoneById
Delete a DNS zone by id in a private cloud workload 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.
-
deleteDnsZoneByIdWithResponse
Delete a DNS zone by id in a private cloud workload 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.
-
deletePublicIpById
Delete a Public IP Block by id in a private cloud workload 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.
-
deletePublicIpByIdWithResponse
Delete a Public IP Block by id in a private cloud workload 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.
-
defineSegments
Begins definition for a new WorkloadNetworkSegment resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new WorkloadNetworkSegment definition.
-
defineDhcp
Begins definition for a new WorkloadNetworkDhcp resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new WorkloadNetworkDhcp definition.
-
definePortMirroring
Begins definition for a new WorkloadNetworkPortMirroring resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new WorkloadNetworkPortMirroring definition.
-
defineVMGroup
Begins definition for a new WorkloadNetworkVMGroup resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new WorkloadNetworkVMGroup definition.
-
defineDnsService
Begins definition for a new WorkloadNetworkDnsService resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new WorkloadNetworkDnsService definition.
-
defineDnsZone
Begins definition for a new WorkloadNetworkDnsZone resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new WorkloadNetworkDnsZone definition.
-
definePublicIp
Begins definition for a new WorkloadNetworkPublicIp resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new WorkloadNetworkPublicIp definition.
-