ApiCenterDeploymentCollection.Get(String, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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-03-01
- Resource: ApiCenterDeploymentResource
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 an empty string, and was expected to be non-empty.
deploymentName is null.