code: func (ss *scaleSet) listScaleSets(resourceGroup string) ([]string, error) {
  	var err error
  	ctx, cancel := getContextWithCancel()
  	defer cancel()
  
  	allScaleSets, err := ss.VirtualMachineScaleSetsClient.List(ctx, resourceGroup)
  	if err != nil {
  		klog.Errorf("VirtualMachineScaleSetsClient.List failed: %v", err)
  		return nil, err
  	}
  
  	ssNames := make([]string, len(allScaleSets))
  	for i := range allScaleSets {
  		ssNames[i] = *(allScaleSets[i].Name)
  	}
  
  	return ssNames, nil
  }
docs: // listScaleSets lists all scale sets.