public Observable<InboundNatRuleInner> beginCreateOrUpdateAsync(String resourceGroupName, String loadBalancerName, String inboundNatRuleName, InboundNatRuleInner inboundNatRuleParameters) {
        return beginCreateOrUpdateWithServiceResponseAsync(resourceGroupName, loadBalancerName, inboundNatRuleName, inboundNatRuleParameters).map(new Func1<ServiceResponse<InboundNatRuleInner>, InboundNatRuleInner>() {
            @Override
            public InboundNatRuleInner call(ServiceResponse<InboundNatRuleInner> response) {
                return response.body();
            }
        });
    }
public Observable < InboundNatRuleInner > beginCreateOrUpdateAsync ( String resourceGroupName , String loadBalancerName , String inboundNatRuleName , InboundNatRuleInner inboundNatRuleParameters ) { return beginCreateOrUpdateWithServiceResponseAsync ( resourceGroupName , loadBalancerName , inboundNatRuleName , inboundNatRuleParameters ) . map ( new Func1 < ServiceResponse < InboundNatRuleInner > , InboundNatRuleInner > ( ) { @ Override public InboundNatRuleInner call ( ServiceResponse < InboundNatRuleInner > response ) { return response . body ( ) ; } } ) ; }
Creates or updates a load balancer inbound nat rule.

@param resourceGroupName The name of the resource group.
@param loadBalancerName The name of the load balancer.
@param inboundNatRuleName The name of the inbound nat rule.
@param inboundNatRuleParameters Parameters supplied to the create or update inbound nat rule operation.
@throws IllegalArgumentException thrown if parameters fail the validation
@return the observable to the InboundNatRuleInner object