func (a InstanceProfilesAPI) Create(ipi InstanceProfileInfo) error {
	return a.client.Post(a.context, "/instance-profiles/add", ipi, nil)
}
Create creates an instance profile record on Databricks
package identity
import (
	"context"
	"fmt"
	"log"
	"net/http"
	"strings"
	"time"
	"github.com/databrickslabs/terraform-provider-databricks/common"
	"github.com/hashicorp/go-cty/cty"
	"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
	"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
	"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
)
type InstanceProfileInfo struct {
	InstanceProfileArn    string `json:"instance_profile_arn,omitempty"`
	IsMetaInstanceProfile bool   `json:"is_meta_instance_profile,omitempty"`
	SkipValidation        bool   `json:"skip_validation,omitempty" tf:"computed"`
}
type InstanceProfileList struct {
	InstanceProfiles []InstanceProfileInfo `json:"instance_profiles,omitempty"`
}
func NewInstanceProfilesAPI(ctx context.Context, m interface{}) InstanceProfilesAPI {
	return InstanceProfilesAPI{
		client:  m.(*common.DatabricksClient),
		context: ctx,
	}
}
type InstanceProfilesAPI struct {
	client  *common.DatabricksClient
	context context.Context
}