code: func (cs *CSCloud) InstanceTypeByProviderID(ctx context.Context, providerID string) (string, error) {
  	instance, count, err := cs.client.VirtualMachine.GetVirtualMachineByID(
  		providerID,
  		cloudstack.WithProject(cs.projectID),
  	)
  	if err != nil {
  		if count == 0 {
  			return "", cloudprovider.InstanceNotFound
  		}
  		return "", fmt.Errorf("error retrieving instance type: %v", err)
  	}
  
  	return instance.Serviceofferingname, nil
  }
docs: // InstanceTypeByProviderID returns the type of the specified instance.