def begin_create_or_update_with_http_info(resource_group_name, hub_name, profile_name, parameters, custom_headers:nil)
      begin_create_or_update_async(resource_group_name, hub_name, profile_name, parameters, custom_headers:custom_headers).value!
    end
def begin_create_or_update_with_http_info(resource_group_name, hub_name, profile_name, parameters, custom_headers:nil)
      begin_create_or_update_async(resource_group_name, hub_name, profile_name, parameters, custom_headers:custom_headers).value!
    end
def begin_create_or_update_with_http_info ( resource_group_name , hub_name , profile_name , parameters , custom_headers : nil ) begin_create_or_update_async ( resource_group_name , hub_name , profile_name , parameters , custom_headers :custom_headers ) . value! end
Creates a profile within a Hub, or updates an existing profile.

 @param resource_group_name [String] The name of the resource group.
 @param hub_name [String] The name of the hub.
 @param profile_name [String] The name of the profile.
 @param parameters [ProfileResourceFormat] Parameters supplied to the
 create/delete Profile type operation
 @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.
Creates a profile within a Hub or updates an existing profile .