Amazon.CloudHSM.AmazonCloudHSMClient.DescribeHsmAsync C# (CSharp) Метод

DescribeHsmAsync() публичный Метод

Retrieves information about an HSM. You can identify the HSM by its ARN or its serial number.
/// Indicates that an internal error occurred. /// /// Indicates that an exception occurred in the AWS CloudHSM service. /// /// Indicates that one or more of the request parameters are not valid. ///
public DescribeHsmAsync ( string hsmArn, System cancellationToken = default(CancellationToken) ) : Task
hsmArn string The ARN of the HSM. Either the HsmArn or the SerialNumber parameter must be specified.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task
        public Task<DescribeHsmResponse> DescribeHsmAsync(string hsmArn, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var request = new DescribeHsmRequest();
            request.HsmArn = hsmArn;
            return DescribeHsmAsync(request, cancellationToken);
        }

Same methods

AmazonCloudHSMClient::DescribeHsmAsync ( Amazon.CloudHSM.Model.DescribeHsmRequest request, System cancellationToken = default(CancellationToken) ) : Task