EdgeSolutionResource.GetEdgeDeploymentInstance Method

Definition

Get Instance Resource.

public virtual Azure.Response<Azure.ResourceManager.WorkloadOrchestration.EdgeDeploymentInstanceResource> GetEdgeDeploymentInstance(string instanceName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetEdgeDeploymentInstance : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.WorkloadOrchestration.EdgeDeploymentInstanceResource>
override this.GetEdgeDeploymentInstance : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.WorkloadOrchestration.EdgeDeploymentInstanceResource>
Public Overridable Function GetEdgeDeploymentInstance (instanceName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of EdgeDeploymentInstanceResource)

Parameters

instanceName
String

Name of the instance.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

instanceName is null.

instanceName is an empty string, and was expected to be non-empty.

Applies to