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

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

Creates a high-availability partition group. A high-availability partition group is a group of partitions that spans multiple physical HSMs.
/// 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 CreateHapgAsync ( string label, System cancellationToken = default(CancellationToken) ) : Task
label string The label of the new high-availability partition group.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task
        public Task<CreateHapgResponse> CreateHapgAsync(string label, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var request = new CreateHapgRequest();
            request.Label = label;
            return CreateHapgAsync(request, cancellationToken);
        }

Same methods

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