code: public Observable<DdosProtectionPlanInner> createOrUpdateAsync(String resourceGroupName, String ddosProtectionPlanName, DdosProtectionPlanInner parameters) {
          return createOrUpdateWithServiceResponseAsync(resourceGroupName, ddosProtectionPlanName, parameters).map(new Func1<ServiceResponse<DdosProtectionPlanInner>, DdosProtectionPlanInner>() {
              @Override
              public DdosProtectionPlanInner call(ServiceResponse<DdosProtectionPlanInner> response) {
                  return response.body();
              }
          });
      }
docs: Creates or updates a DDoS protection plan.
  
  @param resourceGroupName The name of the resource group.
  @param ddosProtectionPlanName The name of the DDoS protection plan.
  @param parameters Parameters supplied to the create or update operation.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable for the request