public Observable<ServiceResponse<VnetValidationFailureDetailsInner>> verifyHostingEnvironmentVnetWithServiceResponseAsync(VnetParameters parameters) {
        if (this.subscriptionId() == null) {
            throw new IllegalArgumentException("Parameter this.subscriptionId() is required and cannot be null.");
        }
        if (parameters == null) {
            throw new IllegalArgumentException("Parameter parameters is required and cannot be null.");
        }
        if (this.apiVersion() == null) {
            throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null.");
        }
        Validator.validate(parameters);
        return service.verifyHostingEnvironmentVnet(this.subscriptionId(), parameters, this.apiVersion(), this.acceptLanguage(), this.userAgent())
            .flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponse<VnetValidationFailureDetailsInner>>>() {
                @Override
                public Observable<ServiceResponse<VnetValidationFailureDetailsInner>> call(Response<ResponseBody> response) {
                    try {
                        ServiceResponse<VnetValidationFailureDetailsInner> clientResponse = verifyHostingEnvironmentVnetDelegate(response);
                        return Observable.just(clientResponse);
                    } catch (Throwable t) {
                        return Observable.error(t);
                    }
                }
            });
    }
public Observable < ServiceResponse < VnetValidationFailureDetailsInner > > verifyHostingEnvironmentVnetWithServiceResponseAsync ( VnetParameters parameters ) { if ( this . subscriptionId ( ) == null ) { throw new IllegalArgumentException ( "Parameter this.subscriptionId() is required and cannot be null." ) ; } if ( parameters == null ) { throw new IllegalArgumentException ( "Parameter parameters is required and cannot be null." ) ; } if ( this . apiVersion ( ) == null ) { throw new IllegalArgumentException ( "Parameter this.apiVersion() is required and cannot be null." ) ; } Validator . validate ( parameters ) ; return service . verifyHostingEnvironmentVnet ( this . subscriptionId ( ) , parameters , this . apiVersion ( ) , this . acceptLanguage ( ) , this . userAgent ( ) ) . flatMap ( new Func1 < Response < ResponseBody > , Observable < ServiceResponse < VnetValidationFailureDetailsInner > > > ( ) { @ Override public Observable < ServiceResponse < VnetValidationFailureDetailsInner > > call ( Response < ResponseBody > response ) { try { ServiceResponse < VnetValidationFailureDetailsInner > clientResponse = verifyHostingEnvironmentVnetDelegate ( response ) ; return Observable . just ( clientResponse ) ; } catch ( Throwable t ) { return Observable . error ( t ) ; } } } ) ; }
Verifies if this VNET is compatible with an App Service Environment by analyzing the Network Security Group rules.
Verifies if this VNET is compatible with an App Service Environment by analyzing the Network Security Group rules.

@param parameters VNET information
@throws IllegalArgumentException thrown if parameters fail the validation
@return the observable to the VnetValidationFailureDetailsInner object