Interface WorkloadNetworks
-
public interface WorkloadNetworks
Resource collection API of WorkloadNetworks.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WorkloadNetworkDhcp.DefinitionStages.Blank
defineDhcp(String name)
Begins definition for a new WorkloadNetworkDhcp resource.WorkloadNetworkDnsService.DefinitionStages.Blank
defineDnsService(String name)
Begins definition for a new WorkloadNetworkDnsService resource.WorkloadNetworkDnsZone.DefinitionStages.Blank
defineDnsZone(String name)
Begins definition for a new WorkloadNetworkDnsZone resource.WorkloadNetworkPortMirroring.DefinitionStages.Blank
definePortMirroring(String name)
Begins definition for a new WorkloadNetworkPortMirroring resource.WorkloadNetworkPublicIp.DefinitionStages.Blank
definePublicIp(String name)
Begins definition for a new WorkloadNetworkPublicIp resource.WorkloadNetworkSegment.DefinitionStages.Blank
defineSegments(String name)
Begins definition for a new WorkloadNetworkSegment resource.WorkloadNetworkVMGroup.DefinitionStages.Blank
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
deleteDnsServiceById(String id)
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
deleteDnsZoneById(String id)
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
deletePortMirroringById(String id)
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
deletePublicIpById(String id)
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
deleteSegmentById(String id)
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
deleteVMGroupById(String id)
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.WorkloadNetworkDhcp
getDhcp(String resourceGroupName, String dhcpId, String privateCloudName)
Get dhcp by id in a private cloud workload network.WorkloadNetworkDhcp
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.WorkloadNetworkDnsService
getDnsService(String resourceGroupName, String privateCloudName, String dnsServiceId)
Get a DNS service by id in a private cloud workload network.WorkloadNetworkDnsService
getDnsServiceById(String id)
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.WorkloadNetworkDnsZone
getDnsZone(String resourceGroupName, String privateCloudName, String dnsZoneId)
Get a DNS zone by id in a private cloud workload network.WorkloadNetworkDnsZone
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.WorkloadNetworkGateway
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.WorkloadNetworkPortMirroring
getPortMirroring(String resourceGroupName, String privateCloudName, String portMirroringId)
Get a port mirroring profile by id in a private cloud workload network.WorkloadNetworkPortMirroring
getPortMirroringById(String id)
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.WorkloadNetworkPublicIp
getPublicIp(String resourceGroupName, String privateCloudName, String publicIpId)
Get a Public IP Block by id in a private cloud workload network.WorkloadNetworkPublicIp
getPublicIpById(String id)
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.WorkloadNetworkSegment
getSegment(String resourceGroupName, String privateCloudName, String segmentId)
Get a segment by id in a private cloud workload network.WorkloadNetworkSegment
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.WorkloadNetworkVirtualMachine
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.WorkloadNetworkVMGroup
getVMGroup(String resourceGroupName, String privateCloudName, String vmGroupId)
Get a vm group by id in a private cloud workload network.WorkloadNetworkVMGroup
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.PagedIterable<WorkloadNetworkDhcp>
listDhcp(String resourceGroupName, String privateCloudName)
List dhcp in a private cloud workload network.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.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 Detail
-
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.
- 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.
- 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.
-
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.
- 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)
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.
- 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.
- 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
WorkloadNetworkDhcp getDhcp(String resourceGroupName, String dhcpId, String privateCloudName)
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.
-
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.
- 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)
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.
- 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.
- 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.
-
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.
- 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.
- 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.
- 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.
-
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.
- 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)
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.
- 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.
- 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.
-
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.
- 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)
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.
- 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.
- 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.
-
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.
- 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.
- 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.
- 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.
-
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.
- 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)
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.
- 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.
- 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.
-
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.
- 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)
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.
- 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.
- 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.
-
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.
- 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)
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
WorkloadNetworkSegment getSegmentById(String id)
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.
- 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.
- 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
WorkloadNetworkDhcp getDhcpById(String id)
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.
- 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.
- 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
WorkloadNetworkPortMirroring getPortMirroringById(String id)
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.
- 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.
- 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
WorkloadNetworkVMGroup getVMGroupById(String id)
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.
- 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.
- 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
WorkloadNetworkDnsService getDnsServiceById(String id)
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.
- 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.
- 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
WorkloadNetworkDnsZone getDnsZoneById(String id)
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.
- 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.
- 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
WorkloadNetworkPublicIp getPublicIpById(String id)
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.
- 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.
- 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
void deleteSegmentById(String id)
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
void deleteSegmentByIdWithResponse(String id, com.azure.core.util.Context context)
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
void deleteDhcpById(String id)
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
void deleteDhcpByIdWithResponse(String id, com.azure.core.util.Context context)
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
void deletePortMirroringById(String id)
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
void deletePortMirroringByIdWithResponse(String id, com.azure.core.util.Context context)
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
void deleteVMGroupById(String id)
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
void deleteVMGroupByIdWithResponse(String id, com.azure.core.util.Context context)
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
void deleteDnsServiceById(String id)
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
void deleteDnsServiceByIdWithResponse(String id, com.azure.core.util.Context context)
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
void deleteDnsZoneById(String id)
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
void deleteDnsZoneByIdWithResponse(String id, com.azure.core.util.Context context)
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
void deletePublicIpById(String id)
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
void deletePublicIpByIdWithResponse(String id, com.azure.core.util.Context context)
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
WorkloadNetworkSegment.DefinitionStages.Blank defineSegments(String name)
Begins definition for a new WorkloadNetworkSegment resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new WorkloadNetworkSegment definition.
-
defineDhcp
WorkloadNetworkDhcp.DefinitionStages.Blank defineDhcp(String name)
Begins definition for a new WorkloadNetworkDhcp resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new WorkloadNetworkDhcp definition.
-
definePortMirroring
WorkloadNetworkPortMirroring.DefinitionStages.Blank definePortMirroring(String name)
Begins definition for a new WorkloadNetworkPortMirroring resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new WorkloadNetworkPortMirroring definition.
-
defineVMGroup
WorkloadNetworkVMGroup.DefinitionStages.Blank defineVMGroup(String name)
Begins definition for a new WorkloadNetworkVMGroup resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new WorkloadNetworkVMGroup definition.
-
defineDnsService
WorkloadNetworkDnsService.DefinitionStages.Blank defineDnsService(String name)
Begins definition for a new WorkloadNetworkDnsService resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new WorkloadNetworkDnsService definition.
-
defineDnsZone
WorkloadNetworkDnsZone.DefinitionStages.Blank defineDnsZone(String name)
Begins definition for a new WorkloadNetworkDnsZone resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new WorkloadNetworkDnsZone definition.
-
definePublicIp
WorkloadNetworkPublicIp.DefinitionStages.Blank definePublicIp(String name)
Begins definition for a new WorkloadNetworkPublicIp resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new WorkloadNetworkPublicIp definition.
-
-