code: func validateResourceName(value string, fldPath *field.Path) field.ErrorList {
  	allErrs := field.ErrorList{}
  	if !validation.IsQualifiedName(value) {
  		return append(allErrs, field.Invalid(fldPath, value, qualifiedNameErrorMsg))
  	}
  
  	if len(strings.Split(value, "/")) == 1 {
  		if !api.IsStandardResourceName(value) {
  			return append(allErrs, field.Invalid(fldPath, value, "must be a standard resource type or fully qualified"))
  		}
  	}
  
  	return field.ErrorList{}
  }
docs: // Validate compute resource typename.
  // Refer to docs/design/resources.md for more details.