Interface WorkloadNetworksClient


public interface WorkloadNetworksClient
An instance of this class provides access to all the operations defined in WorkloadNetworksClient.
  • Method Details

    • getWithResponse

      com.azure.core.http.rest.Response<WorkloadNetworkInner> 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

      WorkloadNetworkInner 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<WorkloadNetworkInner> 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<WorkloadNetworkInner> 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<WorkloadNetworkSegmentInner> 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<WorkloadNetworkSegmentInner> 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<WorkloadNetworkSegmentInner> 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

      WorkloadNetworkSegmentInner 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.
    • beginCreateSegments

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WorkloadNetworkSegmentInner>,WorkloadNetworkSegmentInner> beginCreateSegments(String resourceGroupName, String privateCloudName, String segmentId, WorkloadNetworkSegmentInner workloadNetworkSegment)
      Create 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.
      workloadNetworkSegment - NSX Segment.
      Returns:
      the SyncPoller for polling of nSX Segment.
      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.
    • beginCreateSegments

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WorkloadNetworkSegmentInner>,WorkloadNetworkSegmentInner> beginCreateSegments(String resourceGroupName, String privateCloudName, String segmentId, WorkloadNetworkSegmentInner workloadNetworkSegment, com.azure.core.util.Context context)
      Create 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.
      workloadNetworkSegment - NSX Segment.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of nSX Segment.
      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.
    • createSegments

      WorkloadNetworkSegmentInner createSegments(String resourceGroupName, String privateCloudName, String segmentId, WorkloadNetworkSegmentInner workloadNetworkSegment)
      Create 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.
      workloadNetworkSegment - NSX Segment.
      Returns:
      nSX Segment.
      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.
    • createSegments

      WorkloadNetworkSegmentInner createSegments(String resourceGroupName, String privateCloudName, String segmentId, WorkloadNetworkSegmentInner workloadNetworkSegment, com.azure.core.util.Context context)
      Create 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.
      workloadNetworkSegment - NSX Segment.
      context - The context to associate with this operation.
      Returns:
      nSX Segment.
      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.
    • beginUpdateSegments

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WorkloadNetworkSegmentInner>,WorkloadNetworkSegmentInner> beginUpdateSegments(String resourceGroupName, String privateCloudName, String segmentId, WorkloadNetworkSegmentInner workloadNetworkSegment)
      Create or update 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.
      workloadNetworkSegment - NSX Segment.
      Returns:
      the SyncPoller for polling of nSX Segment.
      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.
    • beginUpdateSegments

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WorkloadNetworkSegmentInner>,WorkloadNetworkSegmentInner> beginUpdateSegments(String resourceGroupName, String privateCloudName, String segmentId, WorkloadNetworkSegmentInner workloadNetworkSegment, com.azure.core.util.Context context)
      Create or update 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.
      workloadNetworkSegment - NSX Segment.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of nSX Segment.
      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.
    • updateSegments

      WorkloadNetworkSegmentInner updateSegments(String resourceGroupName, String privateCloudName, String segmentId, WorkloadNetworkSegmentInner workloadNetworkSegment)
      Create or update 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.
      workloadNetworkSegment - NSX Segment.
      Returns:
      nSX Segment.
      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.
    • updateSegments

      WorkloadNetworkSegmentInner updateSegments(String resourceGroupName, String privateCloudName, String segmentId, WorkloadNetworkSegmentInner workloadNetworkSegment, com.azure.core.util.Context context)
      Create or update 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.
      workloadNetworkSegment - NSX Segment.
      context - The context to associate with this operation.
      Returns:
      nSX Segment.
      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.
    • beginDeleteSegment

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteSegment(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.
      Returns:
      the SyncPoller for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginDeleteSegment

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteSegment(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.
      Returns:
      the SyncPoller for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • 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<WorkloadNetworkDhcpInner> 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<WorkloadNetworkDhcpInner> 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<WorkloadNetworkDhcpInner> 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

      WorkloadNetworkDhcpInner 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.
    • beginCreateDhcp

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WorkloadNetworkDhcpInner>,WorkloadNetworkDhcpInner> beginCreateDhcp(String resourceGroupName, String privateCloudName, String dhcpId, WorkloadNetworkDhcpInner workloadNetworkDhcp)
      Create 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.
      workloadNetworkDhcp - NSX DHCP.
      Returns:
      the SyncPoller for polling of nSX DHCP.
      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.
    • beginCreateDhcp

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WorkloadNetworkDhcpInner>,WorkloadNetworkDhcpInner> beginCreateDhcp(String resourceGroupName, String privateCloudName, String dhcpId, WorkloadNetworkDhcpInner workloadNetworkDhcp, com.azure.core.util.Context context)
      Create 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.
      workloadNetworkDhcp - NSX DHCP.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of nSX DHCP.
      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.
    • createDhcp

      WorkloadNetworkDhcpInner createDhcp(String resourceGroupName, String privateCloudName, String dhcpId, WorkloadNetworkDhcpInner workloadNetworkDhcp)
      Create 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.
      workloadNetworkDhcp - NSX DHCP.
      Returns:
      nSX DHCP.
      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.
    • createDhcp

      WorkloadNetworkDhcpInner createDhcp(String resourceGroupName, String privateCloudName, String dhcpId, WorkloadNetworkDhcpInner workloadNetworkDhcp, com.azure.core.util.Context context)
      Create 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.
      workloadNetworkDhcp - NSX DHCP.
      context - The context to associate with this operation.
      Returns:
      nSX DHCP.
      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.
    • beginUpdateDhcp

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WorkloadNetworkDhcpInner>,WorkloadNetworkDhcpInner> beginUpdateDhcp(String resourceGroupName, String privateCloudName, String dhcpId, WorkloadNetworkDhcpInner workloadNetworkDhcp)
      Create or update 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.
      workloadNetworkDhcp - NSX DHCP.
      Returns:
      the SyncPoller for polling of nSX DHCP.
      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.
    • beginUpdateDhcp

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WorkloadNetworkDhcpInner>,WorkloadNetworkDhcpInner> beginUpdateDhcp(String resourceGroupName, String privateCloudName, String dhcpId, WorkloadNetworkDhcpInner workloadNetworkDhcp, com.azure.core.util.Context context)
      Create or update 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.
      workloadNetworkDhcp - NSX DHCP.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of nSX DHCP.
      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.
    • updateDhcp

      WorkloadNetworkDhcpInner updateDhcp(String resourceGroupName, String privateCloudName, String dhcpId, WorkloadNetworkDhcpInner workloadNetworkDhcp)
      Create or update 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.
      workloadNetworkDhcp - NSX DHCP.
      Returns:
      nSX DHCP.
      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.
    • updateDhcp

      WorkloadNetworkDhcpInner updateDhcp(String resourceGroupName, String privateCloudName, String dhcpId, WorkloadNetworkDhcpInner workloadNetworkDhcp, com.azure.core.util.Context context)
      Create or update 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.
      workloadNetworkDhcp - NSX DHCP.
      context - The context to associate with this operation.
      Returns:
      nSX DHCP.
      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.
    • beginDeleteDhcp

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteDhcp(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.
      Returns:
      the SyncPoller for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginDeleteDhcp

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteDhcp(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.
      Returns:
      the SyncPoller for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • 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<WorkloadNetworkGatewayInner> 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<WorkloadNetworkGatewayInner> 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<WorkloadNetworkGatewayInner> 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

      WorkloadNetworkGatewayInner 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<WorkloadNetworkPortMirroringInner> 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<WorkloadNetworkPortMirroringInner> 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<WorkloadNetworkPortMirroringInner> 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

      WorkloadNetworkPortMirroringInner 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.
    • beginCreatePortMirroring

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WorkloadNetworkPortMirroringInner>,WorkloadNetworkPortMirroringInner> beginCreatePortMirroring(String resourceGroupName, String privateCloudName, String portMirroringId, WorkloadNetworkPortMirroringInner workloadNetworkPortMirroring)
      Create 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.
      workloadNetworkPortMirroring - NSX port mirroring.
      Returns:
      the SyncPoller for polling 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.
    • beginCreatePortMirroring

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WorkloadNetworkPortMirroringInner>,WorkloadNetworkPortMirroringInner> beginCreatePortMirroring(String resourceGroupName, String privateCloudName, String portMirroringId, WorkloadNetworkPortMirroringInner workloadNetworkPortMirroring, com.azure.core.util.Context context)
      Create 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.
      workloadNetworkPortMirroring - NSX port mirroring.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling 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.
    • createPortMirroring

      WorkloadNetworkPortMirroringInner createPortMirroring(String resourceGroupName, String privateCloudName, String portMirroringId, WorkloadNetworkPortMirroringInner workloadNetworkPortMirroring)
      Create 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.
      workloadNetworkPortMirroring - NSX port mirroring.
      Returns:
      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.
    • createPortMirroring

      WorkloadNetworkPortMirroringInner createPortMirroring(String resourceGroupName, String privateCloudName, String portMirroringId, WorkloadNetworkPortMirroringInner workloadNetworkPortMirroring, com.azure.core.util.Context context)
      Create 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.
      workloadNetworkPortMirroring - NSX port mirroring.
      context - The context to associate with this operation.
      Returns:
      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.
    • beginUpdatePortMirroring

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WorkloadNetworkPortMirroringInner>,WorkloadNetworkPortMirroringInner> beginUpdatePortMirroring(String resourceGroupName, String privateCloudName, String portMirroringId, WorkloadNetworkPortMirroringInner workloadNetworkPortMirroring)
      Create or update 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.
      workloadNetworkPortMirroring - NSX port mirroring.
      Returns:
      the SyncPoller for polling 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.
    • beginUpdatePortMirroring

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WorkloadNetworkPortMirroringInner>,WorkloadNetworkPortMirroringInner> beginUpdatePortMirroring(String resourceGroupName, String privateCloudName, String portMirroringId, WorkloadNetworkPortMirroringInner workloadNetworkPortMirroring, com.azure.core.util.Context context)
      Create or update 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.
      workloadNetworkPortMirroring - NSX port mirroring.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling 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.
    • updatePortMirroring

      WorkloadNetworkPortMirroringInner updatePortMirroring(String resourceGroupName, String privateCloudName, String portMirroringId, WorkloadNetworkPortMirroringInner workloadNetworkPortMirroring)
      Create or update 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.
      workloadNetworkPortMirroring - NSX port mirroring.
      Returns:
      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.
    • updatePortMirroring

      WorkloadNetworkPortMirroringInner updatePortMirroring(String resourceGroupName, String privateCloudName, String portMirroringId, WorkloadNetworkPortMirroringInner workloadNetworkPortMirroring, com.azure.core.util.Context context)
      Create or update 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.
      workloadNetworkPortMirroring - NSX port mirroring.
      context - The context to associate with this operation.
      Returns:
      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.
    • beginDeletePortMirroring

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDeletePortMirroring(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.
      Returns:
      the SyncPoller for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginDeletePortMirroring

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDeletePortMirroring(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.
      Returns:
      the SyncPoller for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • 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<WorkloadNetworkVMGroupInner> 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<WorkloadNetworkVMGroupInner> 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<WorkloadNetworkVMGroupInner> 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

      WorkloadNetworkVMGroupInner 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.
    • beginCreateVMGroup

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WorkloadNetworkVMGroupInner>,WorkloadNetworkVMGroupInner> beginCreateVMGroup(String resourceGroupName, String privateCloudName, String vmGroupId, WorkloadNetworkVMGroupInner workloadNetworkVMGroup)
      Create 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.
      workloadNetworkVMGroup - NSX VM Group.
      Returns:
      the SyncPoller for polling of nSX VM Group.
      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.
    • beginCreateVMGroup

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WorkloadNetworkVMGroupInner>,WorkloadNetworkVMGroupInner> beginCreateVMGroup(String resourceGroupName, String privateCloudName, String vmGroupId, WorkloadNetworkVMGroupInner workloadNetworkVMGroup, com.azure.core.util.Context context)
      Create 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.
      workloadNetworkVMGroup - NSX VM Group.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of nSX VM Group.
      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.
    • createVMGroup

      WorkloadNetworkVMGroupInner createVMGroup(String resourceGroupName, String privateCloudName, String vmGroupId, WorkloadNetworkVMGroupInner workloadNetworkVMGroup)
      Create 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.
      workloadNetworkVMGroup - NSX VM Group.
      Returns:
      nSX VM Group.
      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.
    • createVMGroup

      WorkloadNetworkVMGroupInner createVMGroup(String resourceGroupName, String privateCloudName, String vmGroupId, WorkloadNetworkVMGroupInner workloadNetworkVMGroup, com.azure.core.util.Context context)
      Create 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.
      workloadNetworkVMGroup - NSX VM Group.
      context - The context to associate with this operation.
      Returns:
      nSX VM Group.
      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.
    • beginUpdateVMGroup

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WorkloadNetworkVMGroupInner>,WorkloadNetworkVMGroupInner> beginUpdateVMGroup(String resourceGroupName, String privateCloudName, String vmGroupId, WorkloadNetworkVMGroupInner workloadNetworkVMGroup)
      Create or update 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.
      workloadNetworkVMGroup - NSX VM Group.
      Returns:
      the SyncPoller for polling of nSX VM Group.
      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.
    • beginUpdateVMGroup

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WorkloadNetworkVMGroupInner>,WorkloadNetworkVMGroupInner> beginUpdateVMGroup(String resourceGroupName, String privateCloudName, String vmGroupId, WorkloadNetworkVMGroupInner workloadNetworkVMGroup, com.azure.core.util.Context context)
      Create or update 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.
      workloadNetworkVMGroup - NSX VM Group.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of nSX VM Group.
      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.
    • updateVMGroup

      WorkloadNetworkVMGroupInner updateVMGroup(String resourceGroupName, String privateCloudName, String vmGroupId, WorkloadNetworkVMGroupInner workloadNetworkVMGroup)
      Create or update 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.
      workloadNetworkVMGroup - NSX VM Group.
      Returns:
      nSX VM Group.
      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.
    • updateVMGroup

      WorkloadNetworkVMGroupInner updateVMGroup(String resourceGroupName, String privateCloudName, String vmGroupId, WorkloadNetworkVMGroupInner workloadNetworkVMGroup, com.azure.core.util.Context context)
      Create or update 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.
      workloadNetworkVMGroup - NSX VM Group.
      context - The context to associate with this operation.
      Returns:
      nSX VM Group.
      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.
    • beginDeleteVMGroup

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteVMGroup(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.
      Returns:
      the SyncPoller for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginDeleteVMGroup

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteVMGroup(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.
      Returns:
      the SyncPoller for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • 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<WorkloadNetworkVirtualMachineInner> 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<WorkloadNetworkVirtualMachineInner> 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<WorkloadNetworkVirtualMachineInner> 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

      WorkloadNetworkVirtualMachineInner 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<WorkloadNetworkDnsServiceInner> 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<WorkloadNetworkDnsServiceInner> 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<WorkloadNetworkDnsServiceInner> 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

      WorkloadNetworkDnsServiceInner 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.
    • beginCreateDnsService

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WorkloadNetworkDnsServiceInner>,WorkloadNetworkDnsServiceInner> beginCreateDnsService(String resourceGroupName, String privateCloudName, String dnsServiceId, WorkloadNetworkDnsServiceInner workloadNetworkDnsService)
      Create 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.
      workloadNetworkDnsService - NSX DNS Service.
      Returns:
      the SyncPoller for polling of nSX DNS Service.
      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.
    • beginCreateDnsService

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WorkloadNetworkDnsServiceInner>,WorkloadNetworkDnsServiceInner> beginCreateDnsService(String resourceGroupName, String privateCloudName, String dnsServiceId, WorkloadNetworkDnsServiceInner workloadNetworkDnsService, com.azure.core.util.Context context)
      Create 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.
      workloadNetworkDnsService - NSX DNS Service.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of nSX DNS Service.
      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.
    • createDnsService

      WorkloadNetworkDnsServiceInner createDnsService(String resourceGroupName, String privateCloudName, String dnsServiceId, WorkloadNetworkDnsServiceInner workloadNetworkDnsService)
      Create 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.
      workloadNetworkDnsService - NSX DNS Service.
      Returns:
      nSX DNS Service.
      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.
    • createDnsService

      WorkloadNetworkDnsServiceInner createDnsService(String resourceGroupName, String privateCloudName, String dnsServiceId, WorkloadNetworkDnsServiceInner workloadNetworkDnsService, com.azure.core.util.Context context)
      Create 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.
      workloadNetworkDnsService - NSX DNS Service.
      context - The context to associate with this operation.
      Returns:
      nSX DNS Service.
      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.
    • beginUpdateDnsService

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WorkloadNetworkDnsServiceInner>,WorkloadNetworkDnsServiceInner> beginUpdateDnsService(String resourceGroupName, String privateCloudName, String dnsServiceId, WorkloadNetworkDnsServiceInner workloadNetworkDnsService)
      Create or update 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.
      workloadNetworkDnsService - NSX DNS Service.
      Returns:
      the SyncPoller for polling of nSX DNS Service.
      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.
    • beginUpdateDnsService

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WorkloadNetworkDnsServiceInner>,WorkloadNetworkDnsServiceInner> beginUpdateDnsService(String resourceGroupName, String privateCloudName, String dnsServiceId, WorkloadNetworkDnsServiceInner workloadNetworkDnsService, com.azure.core.util.Context context)
      Create or update 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.
      workloadNetworkDnsService - NSX DNS Service.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of nSX DNS Service.
      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.
    • updateDnsService

      WorkloadNetworkDnsServiceInner updateDnsService(String resourceGroupName, String privateCloudName, String dnsServiceId, WorkloadNetworkDnsServiceInner workloadNetworkDnsService)
      Create or update 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.
      workloadNetworkDnsService - NSX DNS Service.
      Returns:
      nSX DNS Service.
      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.
    • updateDnsService

      WorkloadNetworkDnsServiceInner updateDnsService(String resourceGroupName, String privateCloudName, String dnsServiceId, WorkloadNetworkDnsServiceInner workloadNetworkDnsService, com.azure.core.util.Context context)
      Create or update 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.
      workloadNetworkDnsService - NSX DNS Service.
      context - The context to associate with this operation.
      Returns:
      nSX DNS Service.
      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.
    • beginDeleteDnsService

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteDnsService(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.
      Returns:
      the SyncPoller for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginDeleteDnsService

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteDnsService(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.
      Returns:
      the SyncPoller for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • 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<WorkloadNetworkDnsZoneInner> 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<WorkloadNetworkDnsZoneInner> 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<WorkloadNetworkDnsZoneInner> 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

      WorkloadNetworkDnsZoneInner 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.
    • beginCreateDnsZone

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WorkloadNetworkDnsZoneInner>,WorkloadNetworkDnsZoneInner> beginCreateDnsZone(String resourceGroupName, String privateCloudName, String dnsZoneId, WorkloadNetworkDnsZoneInner workloadNetworkDnsZone)
      Create 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.
      workloadNetworkDnsZone - NSX DNS Zone.
      Returns:
      the SyncPoller for polling of nSX DNS Zone.
      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.
    • beginCreateDnsZone

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WorkloadNetworkDnsZoneInner>,WorkloadNetworkDnsZoneInner> beginCreateDnsZone(String resourceGroupName, String privateCloudName, String dnsZoneId, WorkloadNetworkDnsZoneInner workloadNetworkDnsZone, com.azure.core.util.Context context)
      Create 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.
      workloadNetworkDnsZone - NSX DNS Zone.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of nSX DNS Zone.
      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.
    • createDnsZone

      WorkloadNetworkDnsZoneInner createDnsZone(String resourceGroupName, String privateCloudName, String dnsZoneId, WorkloadNetworkDnsZoneInner workloadNetworkDnsZone)
      Create 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.
      workloadNetworkDnsZone - NSX DNS Zone.
      Returns:
      nSX DNS Zone.
      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.
    • createDnsZone

      WorkloadNetworkDnsZoneInner createDnsZone(String resourceGroupName, String privateCloudName, String dnsZoneId, WorkloadNetworkDnsZoneInner workloadNetworkDnsZone, com.azure.core.util.Context context)
      Create 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.
      workloadNetworkDnsZone - NSX DNS Zone.
      context - The context to associate with this operation.
      Returns:
      nSX DNS Zone.
      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.
    • beginUpdateDnsZone

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WorkloadNetworkDnsZoneInner>,WorkloadNetworkDnsZoneInner> beginUpdateDnsZone(String resourceGroupName, String privateCloudName, String dnsZoneId, WorkloadNetworkDnsZoneInner workloadNetworkDnsZone)
      Create or update 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.
      workloadNetworkDnsZone - NSX DNS Zone.
      Returns:
      the SyncPoller for polling of nSX DNS Zone.
      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.
    • beginUpdateDnsZone

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WorkloadNetworkDnsZoneInner>,WorkloadNetworkDnsZoneInner> beginUpdateDnsZone(String resourceGroupName, String privateCloudName, String dnsZoneId, WorkloadNetworkDnsZoneInner workloadNetworkDnsZone, com.azure.core.util.Context context)
      Create or update 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.
      workloadNetworkDnsZone - NSX DNS Zone.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of nSX DNS Zone.
      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.
    • updateDnsZone

      WorkloadNetworkDnsZoneInner updateDnsZone(String resourceGroupName, String privateCloudName, String dnsZoneId, WorkloadNetworkDnsZoneInner workloadNetworkDnsZone)
      Create or update 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.
      workloadNetworkDnsZone - NSX DNS Zone.
      Returns:
      nSX DNS Zone.
      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.
    • updateDnsZone

      WorkloadNetworkDnsZoneInner updateDnsZone(String resourceGroupName, String privateCloudName, String dnsZoneId, WorkloadNetworkDnsZoneInner workloadNetworkDnsZone, com.azure.core.util.Context context)
      Create or update 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.
      workloadNetworkDnsZone - NSX DNS Zone.
      context - The context to associate with this operation.
      Returns:
      nSX DNS Zone.
      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.
    • beginDeleteDnsZone

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteDnsZone(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.
      Returns:
      the SyncPoller for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginDeleteDnsZone

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteDnsZone(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.
      Returns:
      the SyncPoller for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • 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<WorkloadNetworkPublicIpInner> 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<WorkloadNetworkPublicIpInner> 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<WorkloadNetworkPublicIpInner> 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

      WorkloadNetworkPublicIpInner 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.
    • beginCreatePublicIp

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WorkloadNetworkPublicIpInner>,WorkloadNetworkPublicIpInner> beginCreatePublicIp(String resourceGroupName, String privateCloudName, String publicIpId, WorkloadNetworkPublicIpInner workloadNetworkPublicIp)
      Create 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.
      workloadNetworkPublicIp - NSX Public IP Block.
      Returns:
      the SyncPoller for polling of nSX Public IP Block.
      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.
    • beginCreatePublicIp

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WorkloadNetworkPublicIpInner>,WorkloadNetworkPublicIpInner> beginCreatePublicIp(String resourceGroupName, String privateCloudName, String publicIpId, WorkloadNetworkPublicIpInner workloadNetworkPublicIp, com.azure.core.util.Context context)
      Create 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.
      workloadNetworkPublicIp - NSX Public IP Block.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of nSX Public IP Block.
      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.
    • createPublicIp

      WorkloadNetworkPublicIpInner createPublicIp(String resourceGroupName, String privateCloudName, String publicIpId, WorkloadNetworkPublicIpInner workloadNetworkPublicIp)
      Create 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.
      workloadNetworkPublicIp - NSX Public IP Block.
      Returns:
      nSX Public IP Block.
      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.
    • createPublicIp

      WorkloadNetworkPublicIpInner createPublicIp(String resourceGroupName, String privateCloudName, String publicIpId, WorkloadNetworkPublicIpInner workloadNetworkPublicIp, com.azure.core.util.Context context)
      Create 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.
      workloadNetworkPublicIp - NSX Public IP Block.
      context - The context to associate with this operation.
      Returns:
      nSX Public IP Block.
      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.
    • beginDeletePublicIp

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDeletePublicIp(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.
      Returns:
      the SyncPoller for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginDeletePublicIp

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDeletePublicIp(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.
      Returns:
      the SyncPoller for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • 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.