Freigeben über


ApiCenterDeploymentCollection.Get(String, CancellationToken) Method

Definition

Returns details of the API deployment.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apis/{apiName}/deployments/{deploymentName}.
  • Operation Id. : Deployments_Get.
  • Default Api Version. : 2024-06-01-preview.
public virtual Azure.Response<Azure.ResourceManager.ApiCenter.ApiCenterDeploymentResource> Get(string deploymentName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ApiCenter.ApiCenterDeploymentResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ApiCenter.ApiCenterDeploymentResource>
Public Overridable Function Get (deploymentName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ApiCenterDeploymentResource)

Parameters

deploymentName
String

The name of the API deployment.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

deploymentName is null.

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

Applies to