def begin_create_or_update_with_http_info(device_name, name, trigger, resource_group_name, custom_headers:nil)
      begin_create_or_update_async(device_name, name, trigger, resource_group_name, custom_headers:custom_headers).value!
    end
def begin_create_or_update_with_http_info(device_name, name, trigger, resource_group_name, custom_headers:nil)
      begin_create_or_update_async(device_name, name, trigger, resource_group_name, custom_headers:custom_headers).value!
    end
Creates or updates a trigger.

 @param device_name [String] Creates or updates a trigger
 @param name [String] The trigger name.
 @param trigger [Trigger] The trigger.
 @param resource_group_name [String] The resource group name.
 @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.