code: public ServiceEndpointPolicyInner beginCreateOrUpdate(String resourceGroupName, String serviceEndpointPolicyName, ServiceEndpointPolicyInner parameters) {
          return beginCreateOrUpdateWithServiceResponseAsync(resourceGroupName, serviceEndpointPolicyName, parameters).toBlocking().single().body();
      }
docs: Creates or updates a service Endpoint Policies.
  
  @param resourceGroupName The name of the resource group.
  @param serviceEndpointPolicyName The name of the service endpoint policy.
  @param parameters Parameters supplied to the create or update service endpoint policy operation.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @throws CloudException thrown if the request is rejected by server
  @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
  @return the ServiceEndpointPolicyInner object if successful.