ProfileResource.GetCdnDeploymentVersion(String, CancellationToken) Method

Definition

Get an existing DeploymentVersion with the specified version name under the specified subscription, resource group and profile.

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

Parameters

versionName
String

Name of the DeploymentVersion under the profile.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

versionName is null.

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

Applies to