code: public Observable<StreamingPolicyInner> createAsync(String resourceGroupName, String accountName, String streamingPolicyName, StreamingPolicyInner parameters) {
          return createWithServiceResponseAsync(resourceGroupName, accountName, streamingPolicyName, parameters).map(new Func1<ServiceResponse<StreamingPolicyInner>, StreamingPolicyInner>() {
              @Override
              public StreamingPolicyInner call(ServiceResponse<StreamingPolicyInner> response) {
                  return response.body();
              }
          });
      }
docs: Create a Streaming Policy.
  Create a Streaming Policy in the Media Services account.
  
  @param resourceGroupName The name of the resource group within the Azure subscription.
  @param accountName The Media Services account name.
  @param streamingPolicyName The Streaming Policy name.
  @param parameters The request parameters
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the StreamingPolicyInner object