  preparer := autorest.CreatePreparer(   autorest.AsContentType("application/json; charset=utf-0"),   autorest.AsPut(),   autorest.WithBaseURL(client.BaseURI),   autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}", pathParameters),   autorest.WithJSON(parameters),   autorest.WithQueryParameters(queryParameters))  return preparer.Prepare((&http.Request{}).WithContext(ctx)) }  // CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the // http.Response Body if it receives an error. func (client ExpressRoutePortsClient) CreateOrUpdateSender(req *http.Request) (future ExpressRoutePortsCreateOrUpdateFuture, err error) {  var resp *http.Response  resp, err = client.Send(req, azure.DoRetryWithRegistration(client.Client))  if err != nil {   return  }  future.Future, err = azure.NewFutureFromResponse(resp)  return }  // CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always // closes the http.Response Body. func (client ExpressRoutePortsClient) CreateOrUpdateResponder(resp *http.Response) (result ExpressRoutePort, err error) {  err = autorest.Respond(   resp,   client.ByInspecting(),   azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusCreated),   autorest.ByUnmarshallingJSON(&result),   autorest.ByClosing())  result.Response = autorest.Response{Response: resp}  return }  // Delete deletes the specified ExpressRoutePort resource. // Parameters: // resourceGroupName - the name of the resource group. // expressRoutePortName - the name of the ExpressRoutePort resource. 