///GENMHASH:E5D7B16A7B6C705114CC71E8BB2B20E1:6975A84E6594FF8DEA88E6C992B0B500
        public async Task <string> CaptureAsync(
            string groupName,
            string name,
            string containerName,
            string vhdPrefix,
            bool overwriteVhd,
            CancellationToken cancellationToken = default(CancellationToken))
        {
            VirtualMachineCaptureParametersInner parameters = new VirtualMachineCaptureParametersInner();

            parameters.DestinationContainerName = containerName;
            parameters.OverwriteVhds            = overwriteVhd;
            parameters.VhdPrefix = vhdPrefix;
            VirtualMachineCaptureResultInner captureResult = await Inner.CaptureAsync(groupName, name, parameters, cancellationToken);

            return(captureResult.Output.ToString());
        }