def regenerate_primary_key_with_http_info(resource_group_name, hub_name, authorization_policy_name, custom_headers:nil)
      regenerate_primary_key_async(resource_group_name, hub_name, authorization_policy_name, custom_headers:custom_headers).value!
    end
def regenerate_primary_key_with_http_info(resource_group_name, hub_name, authorization_policy_name, custom_headers:nil)
      regenerate_primary_key_async(resource_group_name, hub_name, authorization_policy_name, custom_headers:custom_headers).value!
    end
Regenerates the primary policy key of the specified authorization policy.

 @param resource_group_name [String] The name of the resource group.
 @param hub_name [String] The name of the hub.
 @param authorization_policy_name [String] The name of the policy.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [MsRestAzure::AzureOperationResponse] HTTP response information.