code: public Observable<CertificateInner> getByResourceGroupAsync(String resourceGroupName, String name) {
          return getByResourceGroupWithServiceResponseAsync(resourceGroupName, name).map(new Func1<ServiceResponse<CertificateInner>, CertificateInner>() {
              @Override
              public CertificateInner call(ServiceResponse<CertificateInner> response) {
                  return response.body();
              }
          });
      }
docs: Get a certificate.
  Get a certificate.
  
  @param resourceGroupName Name of the resource group to which the resource belongs.
  @param name Name of the certificate.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the CertificateInner object