def update_service_with_http_info(service_id, service_update_description, timeout:60, custom_headers:nil)
      update_service_async(service_id, service_update_description, timeout:timeout, custom_headers:custom_headers).value!
    end
def update_service_with_http_info(service_id, service_update_description, timeout:60, custom_headers:nil)
      update_service_async(service_id, service_update_description, timeout:timeout, custom_headers:custom_headers).value!
    end
Updates a Service Fabric service using the specified update description.

 This API allows updating properties of a running Service Fabric service. The
 set of properties that can be updated are a subset of the properties that
 were specified at the time of creating the service. The current set of
 properties can be obtained using `GetServiceDescription` API. Please note
 that updating the properties of a running service is different than upgrading
 your application using `StartApplicationUpgrade` API. The upgrade is a long
 running background operation that involves moving the application from one
 version to another, one upgrade domain at a time, whereas update applies the
 new properties immediately to the service.

 @param service_id [String] The identity of the service. This is typically the
 full name of the service without the 'fabric:' URI scheme.
 Starting from version 6.0, hierarchical names are delimited with the "~"
 character.
 For example, if the service name is "fabric:/myapp/app1/svc1", the service
 identity would be "myapp~app1~svc1" in 6.0+ and "myapp/app1/svc1" in previous
 versions.
 @param service_update_description [ServiceUpdateDescription] The information
 necessary to update a service.
 @param timeout [Integer] The server timeout for performing the operation in
 seconds. This timeout specifies the time duration that the client is willing
 to wait for the requested operation to complete. The default value for this
 parameter is 60 seconds.
 @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.