public Observable<StreamingEndpointInner> createAsync(String resourceGroupName, String accountName, String streamingEndpointName, StreamingEndpointInner parameters) {
        return createWithServiceResponseAsync(resourceGroupName, accountName, streamingEndpointName, parameters).map(new Func1<ServiceResponse<StreamingEndpointInner>, StreamingEndpointInner>() {
            @Override
            public StreamingEndpointInner call(ServiceResponse<StreamingEndpointInner> response) {
                return response.body();
            }
        });
    }
public Observable < StreamingEndpointInner > createAsync ( String resourceGroupName , String accountName , String streamingEndpointName , StreamingEndpointInner parameters ) { return createWithServiceResponseAsync ( resourceGroupName , accountName , streamingEndpointName , parameters ) . map ( new Func1 < ServiceResponse < StreamingEndpointInner > , StreamingEndpointInner > ( ) { @ Override public StreamingEndpointInner call ( ServiceResponse < StreamingEndpointInner > response ) { return response . body ( ) ; } } ) ; }
Create StreamingEndpoint.
Creates a StreamingEndpoint.

@param resourceGroupName The name of the resource group within the Azure subscription.
@param accountName The Media Services account name.
@param streamingEndpointName The name of the StreamingEndpoint.
@param parameters StreamingEndpoint properties needed for creation.
@throws IllegalArgumentException thrown if parameters fail the validation
@return the observable for the request