Interface DigitalTwinsEndpointsClient


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

    • list

      com.azure.core.http.rest.PagedIterable<DigitalTwinsEndpointResourceInner> list(String resourceGroupName, String resourceName)
      Get DigitalTwinsInstance Endpoints.
      Parameters:
      resourceGroupName - The name of the resource group that contains the DigitalTwinsInstance.
      resourceName - The name of the DigitalTwinsInstance.
      Returns:
      digitalTwinsInstance Endpoints 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<DigitalTwinsEndpointResourceInner> list(String resourceGroupName, String resourceName, com.azure.core.util.Context context)
      Get DigitalTwinsInstance Endpoints.
      Parameters:
      resourceGroupName - The name of the resource group that contains the DigitalTwinsInstance.
      resourceName - The name of the DigitalTwinsInstance.
      context - The context to associate with this operation.
      Returns:
      digitalTwinsInstance Endpoints as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • get

      DigitalTwinsEndpointResourceInner get(String resourceGroupName, String resourceName, String endpointName)
      Get DigitalTwinsInstances Endpoint.
      Parameters:
      resourceGroupName - The name of the resource group that contains the DigitalTwinsInstance.
      resourceName - The name of the DigitalTwinsInstance.
      endpointName - Name of Endpoint Resource.
      Returns:
      digitalTwinsInstances Endpoint.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getWithResponse

      com.azure.core.http.rest.Response<DigitalTwinsEndpointResourceInner> getWithResponse(String resourceGroupName, String resourceName, String endpointName, com.azure.core.util.Context context)
      Get DigitalTwinsInstances Endpoint.
      Parameters:
      resourceGroupName - The name of the resource group that contains the DigitalTwinsInstance.
      resourceName - The name of the DigitalTwinsInstance.
      endpointName - Name of Endpoint Resource.
      context - The context to associate with this operation.
      Returns:
      digitalTwinsInstances Endpoint 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.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DigitalTwinsEndpointResourceInner>,DigitalTwinsEndpointResourceInner> beginCreateOrUpdate(String resourceGroupName, String resourceName, String endpointName, DigitalTwinsEndpointResourceInner endpointDescription)
      Create or update DigitalTwinsInstance endpoint.
      Parameters:
      resourceGroupName - The name of the resource group that contains the DigitalTwinsInstance.
      resourceName - The name of the DigitalTwinsInstance.
      endpointName - Name of Endpoint Resource.
      endpointDescription - The DigitalTwinsInstance endpoint metadata and security metadata.
      Returns:
      the SyncPoller for polling of digitalTwinsInstance endpoint 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.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DigitalTwinsEndpointResourceInner>,DigitalTwinsEndpointResourceInner> beginCreateOrUpdate(String resourceGroupName, String resourceName, String endpointName, DigitalTwinsEndpointResourceInner endpointDescription, com.azure.core.util.Context context)
      Create or update DigitalTwinsInstance endpoint.
      Parameters:
      resourceGroupName - The name of the resource group that contains the DigitalTwinsInstance.
      resourceName - The name of the DigitalTwinsInstance.
      endpointName - Name of Endpoint Resource.
      endpointDescription - The DigitalTwinsInstance endpoint metadata and security metadata.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of digitalTwinsInstance endpoint 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.
    • createOrUpdate

      DigitalTwinsEndpointResourceInner createOrUpdate(String resourceGroupName, String resourceName, String endpointName, DigitalTwinsEndpointResourceInner endpointDescription)
      Create or update DigitalTwinsInstance endpoint.
      Parameters:
      resourceGroupName - The name of the resource group that contains the DigitalTwinsInstance.
      resourceName - The name of the DigitalTwinsInstance.
      endpointName - Name of Endpoint Resource.
      endpointDescription - The DigitalTwinsInstance endpoint metadata and security metadata.
      Returns:
      digitalTwinsInstance endpoint 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.
    • createOrUpdate

      DigitalTwinsEndpointResourceInner createOrUpdate(String resourceGroupName, String resourceName, String endpointName, DigitalTwinsEndpointResourceInner endpointDescription, com.azure.core.util.Context context)
      Create or update DigitalTwinsInstance endpoint.
      Parameters:
      resourceGroupName - The name of the resource group that contains the DigitalTwinsInstance.
      resourceName - The name of the DigitalTwinsInstance.
      endpointName - Name of Endpoint Resource.
      endpointDescription - The DigitalTwinsInstance endpoint metadata and security metadata.
      context - The context to associate with this operation.
      Returns:
      digitalTwinsInstance endpoint 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.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DigitalTwinsEndpointResourceInner>,DigitalTwinsEndpointResourceInner> beginDelete(String resourceGroupName, String resourceName, String endpointName)
      Delete a DigitalTwinsInstance endpoint.
      Parameters:
      resourceGroupName - The name of the resource group that contains the DigitalTwinsInstance.
      resourceName - The name of the DigitalTwinsInstance.
      endpointName - Name of Endpoint Resource.
      Returns:
      the SyncPoller for polling of digitalTwinsInstance endpoint 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.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DigitalTwinsEndpointResourceInner>,DigitalTwinsEndpointResourceInner> beginDelete(String resourceGroupName, String resourceName, String endpointName, com.azure.core.util.Context context)
      Delete a DigitalTwinsInstance endpoint.
      Parameters:
      resourceGroupName - The name of the resource group that contains the DigitalTwinsInstance.
      resourceName - The name of the DigitalTwinsInstance.
      endpointName - Name of Endpoint Resource.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of digitalTwinsInstance endpoint 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

      DigitalTwinsEndpointResourceInner delete(String resourceGroupName, String resourceName, String endpointName)
      Delete a DigitalTwinsInstance endpoint.
      Parameters:
      resourceGroupName - The name of the resource group that contains the DigitalTwinsInstance.
      resourceName - The name of the DigitalTwinsInstance.
      endpointName - Name of Endpoint Resource.
      Returns:
      digitalTwinsInstance endpoint 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

      DigitalTwinsEndpointResourceInner delete(String resourceGroupName, String resourceName, String endpointName, com.azure.core.util.Context context)
      Delete a DigitalTwinsInstance endpoint.
      Parameters:
      resourceGroupName - The name of the resource group that contains the DigitalTwinsInstance.
      resourceName - The name of the DigitalTwinsInstance.
      endpointName - Name of Endpoint Resource.
      context - The context to associate with this operation.
      Returns:
      digitalTwinsInstance endpoint 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.