ProfileResource.GetCdnDeploymentVersion(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.
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.