Interface PrivateLinkScopes


public interface PrivateLinkScopes
Resource collection API of PrivateLinkScopes.
  • Method Details

    • list

      com.azure.core.http.rest.PagedIterable<HybridComputePrivateLinkScope> list()
      Gets a list of all Azure Arc PrivateLinkScopes within a subscription.
      Returns:
      a list of all Azure Arc PrivateLinkScopes within a subscription as paginated response with PagedIterable.
      Throws:
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • list

      com.azure.core.http.rest.PagedIterable<HybridComputePrivateLinkScope> list(com.azure.core.util.Context context)
      Gets a list of all Azure Arc PrivateLinkScopes within a subscription.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      a list of all Azure Arc PrivateLinkScopes within a subscription as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<HybridComputePrivateLinkScope> listByResourceGroup(String resourceGroupName)
      Gets a list of Azure Arc PrivateLinkScopes within a resource group.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      Returns:
      a list of Azure Arc PrivateLinkScopes within a resource group as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<HybridComputePrivateLinkScope> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
      Gets a list of Azure Arc PrivateLinkScopes within a resource group.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      context - The context to associate with this operation.
      Returns:
      a list of Azure Arc PrivateLinkScopes within a resource group as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • deleteByResourceGroup

      void deleteByResourceGroup(String resourceGroupName, String scopeName)
      Deletes a Azure Arc PrivateLinkScope.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      scopeName - The name of the Azure Arc PrivateLinkScope resource.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • delete

      void delete(String resourceGroupName, String scopeName, com.azure.core.util.Context context)
      Deletes a Azure Arc PrivateLinkScope.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      scopeName - The name of the Azure Arc PrivateLinkScope resource.
      context - The context to associate with this operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getByResourceGroupWithResponse

      com.azure.core.http.rest.Response<HybridComputePrivateLinkScope> getByResourceGroupWithResponse(String resourceGroupName, String scopeName, com.azure.core.util.Context context)
      Returns a Azure Arc PrivateLinkScope.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      scopeName - The name of the Azure Arc PrivateLinkScope resource.
      context - The context to associate with this operation.
      Returns:
      an Azure Arc PrivateLinkScope definition along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getByResourceGroup

      HybridComputePrivateLinkScope getByResourceGroup(String resourceGroupName, String scopeName)
      Returns a Azure Arc PrivateLinkScope.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      scopeName - The name of the Azure Arc PrivateLinkScope resource.
      Returns:
      an Azure Arc PrivateLinkScope definition.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getValidationDetailsWithResponse

      com.azure.core.http.rest.Response<PrivateLinkScopeValidationDetails> getValidationDetailsWithResponse(String location, String privateLinkScopeId, com.azure.core.util.Context context)
      Returns a Azure Arc PrivateLinkScope's validation details.
      Parameters:
      location - The location of the target resource.
      privateLinkScopeId - The id (Guid) of the Azure Arc PrivateLinkScope resource.
      context - The context to associate with this operation.
      Returns:
      the response body 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.
    • getValidationDetails

      PrivateLinkScopeValidationDetails getValidationDetails(String location, String privateLinkScopeId)
      Returns a Azure Arc PrivateLinkScope's validation details.
      Parameters:
      location - The location of the target resource.
      privateLinkScopeId - The id (Guid) of the Azure Arc PrivateLinkScope resource.
      Returns:
      the 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.
    • getValidationDetailsForMachineWithResponse

      com.azure.core.http.rest.Response<PrivateLinkScopeValidationDetails> getValidationDetailsForMachineWithResponse(String resourceGroupName, String machineName, com.azure.core.util.Context context)
      Returns a Azure Arc PrivateLinkScope's validation details for a given machine.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      machineName - The name of the target machine to get the private link scope validation details for.
      context - The context to associate with this operation.
      Returns:
      the response body 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.
    • getValidationDetailsForMachine

      PrivateLinkScopeValidationDetails getValidationDetailsForMachine(String resourceGroupName, String machineName)
      Returns a Azure Arc PrivateLinkScope's validation details for a given machine.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      machineName - The name of the target machine to get the private link scope validation details for.
      Returns:
      the response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getById

      Returns a Azure Arc PrivateLinkScope.
      Parameters:
      id - the resource ID.
      Returns:
      an Azure Arc PrivateLinkScope definition along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getByIdWithResponse

      com.azure.core.http.rest.Response<HybridComputePrivateLinkScope> getByIdWithResponse(String id, com.azure.core.util.Context context)
      Returns a Azure Arc PrivateLinkScope.
      Parameters:
      id - the resource ID.
      context - The context to associate with this operation.
      Returns:
      an Azure Arc PrivateLinkScope definition along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • deleteById

      void deleteById(String id)
      Deletes a Azure Arc PrivateLinkScope.
      Parameters:
      id - the resource ID.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • deleteByIdWithResponse

      void deleteByIdWithResponse(String id, com.azure.core.util.Context context)
      Deletes a Azure Arc PrivateLinkScope.
      Parameters:
      id - the resource ID.
      context - The context to associate with this operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • define

      Begins definition for a new HybridComputePrivateLinkScope resource.
      Parameters:
      name - resource name.
      Returns:
      the first stage of the new HybridComputePrivateLinkScope definition.