code: public DdosProtectionPlanInner getByResourceGroup(String resourceGroupName, String ddosProtectionPlanName) {
          return getByResourceGroupWithServiceResponseAsync(resourceGroupName, ddosProtectionPlanName).toBlocking().single().body();
      }
docs: Gets information about the specified DDoS protection plan.
  
  @param resourceGroupName The name of the resource group.
  @param ddosProtectionPlanName The name of the DDoS protection plan.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @throws CloudException thrown if the request is rejected by server
  @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
  @return the DdosProtectionPlanInner object if successful.