code: public Observable<PolicyDefinitionInner> createOrUpdateAsync(String policyDefinitionName, PolicyDefinitionInner parameters) {
          return createOrUpdateWithServiceResponseAsync(policyDefinitionName, parameters).map(new Func1<ServiceResponse<PolicyDefinitionInner>, PolicyDefinitionInner>() {
              @Override
              public PolicyDefinitionInner call(ServiceResponse<PolicyDefinitionInner> response) {
                  return response.body();
              }
          });
      }
docs: Creates or updates a policy definition.
  
  @param policyDefinitionName The name of the policy definition to create.
  @param parameters The policy definition properties.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the PolicyDefinitionInner object