mlexperiment

package
v0.1.0-beta.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 30, 2025 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Examples

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientFactory

type ClientFactory struct {
	// contains filtered or unexported fields
}

ClientFactory is a client factory used to create any client in this module. Don't use this type directly, use NewClientFactory instead.

func NewClientFactory

func NewClientFactory(credential azcore.TokenCredential, endpoint *string, options *azcore.ClientOptions) (*ClientFactory, error)

NewClientFactory creates a new instance of ClientFactory with the specified values. The parameter values will be propagated to any client created from this factory.

  • credential - used to authorize requests. Usually a credential from azidentity.
  • endpoint - pass nil to accept the default values.
  • options - pass nil to accept the default values.

func NewClientFactoryWithClient

func NewClientFactoryWithClient(client fabric.Client) *ClientFactory

NewClientFactoryWithClient creates a new instance of ClientFactory with sharable Client. The Client will be propagated to any client created from this factory.

  • client - Client created in the containing module: github.com/microsoft/fabric-sdk-go/fabric

func (*ClientFactory) NewItemsClient

func (c *ClientFactory) NewItemsClient() *ItemsClient

NewItemsClient creates a new instance of ItemsClient.

type CreateMLExperimentRequest

type CreateMLExperimentRequest struct {
	// REQUIRED; The machine learning experiment display name. The display name must follow naming rules according to item type.
	DisplayName *string

	// The machine learning experiment description. Maximum length is 256 characters.
	Description *string
}

CreateMLExperimentRequest - Create machine learning experiment request payload.

func (CreateMLExperimentRequest) MarshalJSON

func (c CreateMLExperimentRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type CreateMLExperimentRequest.

func (*CreateMLExperimentRequest) UnmarshalJSON

func (c *CreateMLExperimentRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type CreateMLExperimentRequest.

type ItemType

type ItemType string

ItemType - The type of the item. Additional item types may be added over time.

const (
	// ItemTypeDashboard - PowerBI dashboard.
	ItemTypeDashboard ItemType = "Dashboard"
	// ItemTypeDataPipeline - A data pipeline.
	ItemTypeDataPipeline ItemType = "DataPipeline"
	// ItemTypeDatamart - PowerBI datamart.
	ItemTypeDatamart ItemType = "Datamart"
	// ItemTypeEnvironment - An environment.
	ItemTypeEnvironment ItemType = "Environment"
	// ItemTypeEventhouse - An eventhouse.
	ItemTypeEventhouse ItemType = "Eventhouse"
	// ItemTypeEventstream - An eventstream.
	ItemTypeEventstream ItemType = "Eventstream"
	// ItemTypeGraphQLAPI - An API for GraphQL item.
	ItemTypeGraphQLAPI ItemType = "GraphQLApi"
	// ItemTypeKQLDashboard - A KQL dashboard.
	ItemTypeKQLDashboard ItemType = "KQLDashboard"
	// ItemTypeKQLDatabase - A KQL database.
	ItemTypeKQLDatabase ItemType = "KQLDatabase"
	// ItemTypeKQLQueryset - A KQL queryset.
	ItemTypeKQLQueryset ItemType = "KQLQueryset"
	// ItemTypeLakehouse - A lakehouse.
	ItemTypeLakehouse ItemType = "Lakehouse"
	// ItemTypeMLExperiment - A machine learning experiment.
	ItemTypeMLExperiment ItemType = "MLExperiment"
	// ItemTypeMLModel - A machine learning model.
	ItemTypeMLModel ItemType = "MLModel"
	// ItemTypeMirroredDatabase - A mirrored database.
	ItemTypeMirroredDatabase ItemType = "MirroredDatabase"
	// ItemTypeMirroredWarehouse - A mirrored warehouse.
	ItemTypeMirroredWarehouse ItemType = "MirroredWarehouse"
	// ItemTypeNotebook - A notebook.
	ItemTypeNotebook ItemType = "Notebook"
	// ItemTypePaginatedReport - PowerBI paginated report.
	ItemTypePaginatedReport ItemType = "PaginatedReport"
	// ItemTypeReflex - A Reflex.
	ItemTypeReflex ItemType = "Reflex"
	// ItemTypeReport - PowerBI report.
	ItemTypeReport ItemType = "Report"
	// ItemTypeSQLEndpoint - An SQL endpoint.
	ItemTypeSQLEndpoint ItemType = "SQLEndpoint"
	// ItemTypeSemanticModel - PowerBI semantic model.
	ItemTypeSemanticModel ItemType = "SemanticModel"
	// ItemTypeSparkJobDefinition - A spark job definition.
	ItemTypeSparkJobDefinition ItemType = "SparkJobDefinition"
	// ItemTypeWarehouse - A warehouse.
	ItemTypeWarehouse ItemType = "Warehouse"
)

func PossibleItemTypeValues

func PossibleItemTypeValues() []ItemType

PossibleItemTypeValues returns the possible values for the ItemType const type.

type ItemsClient

type ItemsClient struct {
	// contains filtered or unexported fields
}

ItemsClient contains the methods for the Items group. Don't use this type directly, use a constructor function instead.

func (*ItemsClient) BeginCreateMLExperiment

func (client *ItemsClient) BeginCreateMLExperiment(ctx context.Context, workspaceID string, createMLExperimentRequest CreateMLExperimentRequest, options *ItemsClientBeginCreateMLExperimentOptions) (*runtime.Poller[ItemsClientCreateMLExperimentResponse], error)

BeginCreateMLExperiment - This API supports long running operations (LRO) [/rest/api/fabric/articles/long-running-operation]. This API does not support create an machine learning experiment with definition. PERMISSIONS THE CALLER MUST HAVE CONTRIBUTOR OR HIGHER WORKSPACE ROLE. REQUIRED DELEGATED SCOPES MLExperiment.ReadWrite.All or Item.ReadWrite.All LIMITATIONS * To create a machine learning experiment the workspace must be on a supported Fabric capacity. For more information see: Microsoft Fabric license types [/fabric/enterprise/licenses#microsoft-fabric-license-types]. MICROSOFT ENTRA SUPPORTED IDENTITIES This API supports the Microsoft identities [/rest/api/fabric/articles/identity-support] listed in this section. | Identity | Support | |-|-| | User | Yes | | Service principal [/entra/identity-platform/app-objects-and-service-principals#service-principal-object] and Managed identities [/entra/identity/managed-identities-azure-resources/overview] | No | INTERFACE If the operation fails it returns an *core.ResponseError type.

Generated from API version v1

  • workspaceID - The workspace ID.
  • createMLExperimentRequest - Create item request payload.
  • options - ItemsClientBeginCreateMLExperimentOptions contains the optional parameters for the ItemsClient.BeginCreateMLExperiment method.
Example

Generated from example definition

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"

	"github.com/microsoft/fabric-sdk-go/fabric/mlexperiment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := mlexperiment.NewClientFactory(cred, nil, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	poller, err := clientFactory.NewItemsClient().BeginCreateMLExperiment(ctx, "cfafbeb1-8037-4d0c-896e-a46fb27ff229", mlexperiment.CreateMLExperimentRequest{
		Description: to.Ptr("A machine learning experiment description"),
		DisplayName: to.Ptr("MLExperiment_1"),
	}, nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	_, err = poller.PollUntilDone(ctx, nil)
	if err != nil {
		log.Fatalf("failed to pull the result: %v", err)
	}
}
Output:

func (*ItemsClient) CreateMLExperiment

func (client *ItemsClient) CreateMLExperiment(ctx context.Context, workspaceID string, createMLExperimentRequest CreateMLExperimentRequest, options *ItemsClientBeginCreateMLExperimentOptions) (ItemsClientCreateMLExperimentResponse, error)

CreateMLExperiment - returns ItemsClientCreateMLExperimentResponse in sync mode. This API supports long running operations (LRO) [/rest/api/fabric/articles/long-running-operation].

This API does not support create an machine learning experiment with definition.

PERMISSIONS THE CALLER MUST HAVE CONTRIBUTOR OR HIGHER WORKSPACE ROLE. REQUIRED DELEGATED SCOPES MLExperiment.ReadWrite.All or Item.ReadWrite.All

LIMITATIONS

  • To create a machine learning experiment the workspace must be on a supported Fabric capacity. For more information see: Microsoft Fabric license types [/fabric/enterprise/licenses#microsoft-fabric-license-types].

MICROSOFT ENTRA SUPPORTED IDENTITIES This API supports the Microsoft identities [/rest/api/fabric/articles/identity-support] listed in this section.

| Identity | Support | |-|-| | User | Yes | | Service principal [/entra/identity-platform/app-objects-and-service-principals#service-principal-object] and Managed identities [/entra/identity/managed-identities-azure-resources/overview] | No |

INTERFACE Generated from API version v1

  • workspaceID - The workspace ID.
  • createMLExperimentRequest - Create item request payload.
  • options - ItemsClientBeginCreateMLExperimentOptions contains the optional parameters for the ItemsClient.BeginCreateMLExperiment method.

func (*ItemsClient) DeleteMLExperiment

func (client *ItemsClient) DeleteMLExperiment(ctx context.Context, workspaceID string, mlExperimentID string, options *ItemsClientDeleteMLExperimentOptions) (ItemsClientDeleteMLExperimentResponse, error)

DeleteMLExperiment - PERMISSIONS The caller must have contributor or higher role on the workspace. REQUIRED DELEGATED SCOPES MLExperiment.ReadWrite.All or Item.ReadWrite.All MICROSOFT ENTRA SUPPORTED IDENTITIES This API supports the Microsoft identities [/rest/api/fabric/articles/identity-support] listed in this section. | Identity | Support | |-|-| | User | Yes | | Service principal [/entra/identity-platform/app-objects-and-service-principals#service-principal-object] and Managed identities [/entra/identity/managed-identities-azure-resources/overview] | No | INTERFACE If the operation fails it returns an *core.ResponseError type.

Generated from API version v1

  • workspaceID - The workspace ID.
  • mlExperimentID - The machine learning experiment ID.
  • options - ItemsClientDeleteMLExperimentOptions contains the optional parameters for the ItemsClient.DeleteMLExperiment method.
Example

Generated from example definition

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"

	"github.com/microsoft/fabric-sdk-go/fabric/mlexperiment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := mlexperiment.NewClientFactory(cred, nil, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	_, err = clientFactory.NewItemsClient().DeleteMLExperiment(ctx, "cfafbeb1-8037-4d0c-896e-a46fb27ff229", "5b218778-e7a5-4d73-8187-f10824047715", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
}
Output:

func (*ItemsClient) GetMLExperiment

func (client *ItemsClient) GetMLExperiment(ctx context.Context, workspaceID string, mlExperimentID string, options *ItemsClientGetMLExperimentOptions) (ItemsClientGetMLExperimentResponse, error)

GetMLExperiment - PERMISSIONS The caller must have viewer or higher workspace role. REQUIRED DELEGATED SCOPES MLExperiment.Read.All or MLExperiment.ReadWrite.All or Item.Read.All or Item.ReadWrite.All MICROSOFT ENTRA SUPPORTED IDENTITIES This API supports the Microsoft identities [/rest/api/fabric/articles/identity-support] listed in this section. | Identity | Support | |-|-| | User | Yes | | Service principal [/entra/identity-platform/app-objects-and-service-principals#service-principal-object] and Managed identities [/entra/identity/managed-identities-azure-resources/overview] | No | INTERFACE If the operation fails it returns an *core.ResponseError type.

Generated from API version v1

  • workspaceID - The workspace ID.
  • mlExperimentID - The machine learning experiment ID.
  • options - ItemsClientGetMLExperimentOptions contains the optional parameters for the ItemsClient.GetMLExperiment method.
Example

Generated from example definition

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"

	"github.com/microsoft/fabric-sdk-go/fabric/mlexperiment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := mlexperiment.NewClientFactory(cred, nil, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewItemsClient().GetMLExperiment(ctx, "cfafbeb1-8037-4d0c-896e-a46fb27ff229", "5b218778-e7a5-4d73-8187-f10824047715", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.MLExperiment = mlexperiment.MLExperiment{
	// 	Type: to.Ptr(mlexperiment.ItemTypeMLExperiment),
	// 	Description: to.Ptr("A machine learning experiment description"),
	// 	DisplayName: to.Ptr("MLExperiment_1"),
	// 	ID: to.Ptr("5b218778-e7a5-4d73-8187-f10824047715"),
	// 	WorkspaceID: to.Ptr("cfafbeb1-8037-4d0c-896e-a46fb27ff229"),
	// }
}
Output:

func (*ItemsClient) ListMLExperiments

func (client *ItemsClient) ListMLExperiments(ctx context.Context, workspaceID string, options *ItemsClientListMLExperimentsOptions) ([]MLExperiment, error)

ListMLExperiments - returns array of MLExperiment from all pages. This API supports pagination [/rest/api/fabric/articles/pagination].

PERMISSIONS The caller must have viewer or higher workspace role.

REQUIRED DELEGATED SCOPES Workspace.Read.All or Workspace.ReadWrite.All

MICROSOFT ENTRA SUPPORTED IDENTITIES This API supports the Microsoft identities [/rest/api/fabric/articles/identity-support] listed in this section.

| Identity | Support | |-|-| | User | Yes | | Service principal [/entra/identity-platform/app-objects-and-service-principals#service-principal-object] and Managed identities [/entra/identity/managed-identities-azure-resources/overview] | No |

INTERFACE Generated from API version v1

  • workspaceID - The workspace ID.
  • options - ItemsClientListMLExperimentsOptions contains the optional parameters for the ItemsClient.NewListMLExperimentsPager method.

func (*ItemsClient) NewListMLExperimentsPager

func (client *ItemsClient) NewListMLExperimentsPager(workspaceID string, options *ItemsClientListMLExperimentsOptions) *runtime.Pager[ItemsClientListMLExperimentsResponse]

NewListMLExperimentsPager - This API supports pagination [/rest/api/fabric/articles/pagination]. PERMISSIONS The caller must have viewer or higher workspace role. REQUIRED DELEGATED SCOPES Workspace.Read.All or Workspace.ReadWrite.All MICROSOFT ENTRA SUPPORTED IDENTITIES This API supports the Microsoft identities [/rest/api/fabric/articles/identity-support] listed in this section. | Identity | Support | |-|-| | User | Yes | | Service principal [/entra/identity-platform/app-objects-and-service-principals#service-principal-object] and Managed identities [/entra/identity/managed-identities-azure-resources/overview] | No | INTERFACE

Generated from API version v1

  • workspaceID - The workspace ID.
  • options - ItemsClientListMLExperimentsOptions contains the optional parameters for the ItemsClient.NewListMLExperimentsPager method.
Example

Generated from example definition

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"

	"github.com/microsoft/fabric-sdk-go/fabric/mlexperiment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := mlexperiment.NewClientFactory(cred, nil, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewItemsClient().NewListMLExperimentsPager("cfafbeb1-8037-4d0c-896e-a46fb27ff229", &mlexperiment.ItemsClientListMLExperimentsOptions{ContinuationToken: nil})
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.MLExperiments = mlexperiment.MLExperiments{
		// 	Value: []mlexperiment.MLExperiment{
		// 		{
		// 			Type: to.Ptr(mlexperiment.ItemTypeMLExperiment),
		// 			Description: to.Ptr("A machine learning experiment description."),
		// 			DisplayName: to.Ptr("MLExperiment_1"),
		// 			ID: to.Ptr("3546052c-ae64-4526-b1a8-52af7761426f"),
		// 			WorkspaceID: to.Ptr("cfafbeb1-8037-4d0c-896e-a46fb27ff229"),
		// 		},
		// 		{
		// 			Type: to.Ptr(mlexperiment.ItemTypeMLExperiment),
		// 			Description: to.Ptr("A machine learning experiment description."),
		// 			DisplayName: to.Ptr("MLExperiment_2"),
		// 			ID: to.Ptr("6c192553-2375-4ba1-a61c-dec7729bdccc"),
		// 			WorkspaceID: to.Ptr("cfafbeb1-8037-4d0c-896e-a46fb27ff229"),
		// 	}},
		// }
	}
}
Output:

func (*ItemsClient) UpdateMLExperiment

func (client *ItemsClient) UpdateMLExperiment(ctx context.Context, workspaceID string, mlExperimentID string, updateMLExperimentRequest UpdateMLExperimentRequest, options *ItemsClientUpdateMLExperimentOptions) (ItemsClientUpdateMLExperimentResponse, error)

UpdateMLExperiment - PERMISSIONS The caller must have contributor or higher role on the workspace. REQUIRED DELEGATED SCOPES MLExperiment.ReadWrite.All or Item.ReadWrite.All MICROSOFT ENTRA SUPPORTED IDENTITIES This API supports the Microsoft identities [/rest/api/fabric/articles/identity-support] listed in this section. | Identity | Support | |-|-| | User | Yes | | Service principal [/entra/identity-platform/app-objects-and-service-principals#service-principal-object] and Managed identities [/entra/identity/managed-identities-azure-resources/overview] | No | INTERFACE If the operation fails it returns an *core.ResponseError type.

Generated from API version v1

  • workspaceID - The workspace ID.
  • mlExperimentID - The machine learning experiment ID.
  • updateMLExperimentRequest - Update machine learning experiment request payload.
  • options - ItemsClientUpdateMLExperimentOptions contains the optional parameters for the ItemsClient.UpdateMLExperiment method.
Example

Generated from example definition

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"

	"github.com/microsoft/fabric-sdk-go/fabric/mlexperiment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := mlexperiment.NewClientFactory(cred, nil, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewItemsClient().UpdateMLExperiment(ctx, "cfafbeb1-8037-4d0c-896e-a46fb27ff229", "5b218778-e7a5-4d73-8187-f10824047715", mlexperiment.UpdateMLExperimentRequest{
		Description: to.Ptr("A new description for machine learning experiment."),
		DisplayName: to.Ptr("MLExperiment_New_Name"),
	}, nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.MLExperiment = mlexperiment.MLExperiment{
	// 	Type: to.Ptr(mlexperiment.ItemTypeMLExperiment),
	// 	Description: to.Ptr("A new description for machine learning experiment."),
	// 	DisplayName: to.Ptr("MLExperiment_New_Name"),
	// 	ID: to.Ptr("5b218778-e7a5-4d73-8187-f10824047715"),
	// 	WorkspaceID: to.Ptr("cfafbeb1-8037-4d0c-896e-a46fb27ff229"),
	// }
}
Output:

type ItemsClientBeginCreateMLExperimentOptions

type ItemsClientBeginCreateMLExperimentOptions struct {
	// Resumes the long-running operation from the provided token.
	ResumeToken string
}

ItemsClientBeginCreateMLExperimentOptions contains the optional parameters for the ItemsClient.BeginCreateMLExperiment method.

type ItemsClientCreateMLExperimentResponse

type ItemsClientCreateMLExperimentResponse struct {
	// A machine learning experiment object.
	MLExperiment
}

ItemsClientCreateMLExperimentResponse contains the response from method ItemsClient.BeginCreateMLExperiment.

type ItemsClientDeleteMLExperimentOptions

type ItemsClientDeleteMLExperimentOptions struct {
}

ItemsClientDeleteMLExperimentOptions contains the optional parameters for the ItemsClient.DeleteMLExperiment method.

type ItemsClientDeleteMLExperimentResponse

type ItemsClientDeleteMLExperimentResponse struct {
}

ItemsClientDeleteMLExperimentResponse contains the response from method ItemsClient.DeleteMLExperiment.

type ItemsClientGetMLExperimentOptions

type ItemsClientGetMLExperimentOptions struct {
}

ItemsClientGetMLExperimentOptions contains the optional parameters for the ItemsClient.GetMLExperiment method.

type ItemsClientGetMLExperimentResponse

type ItemsClientGetMLExperimentResponse struct {
	// A machine learning experiment object.
	MLExperiment
}

ItemsClientGetMLExperimentResponse contains the response from method ItemsClient.GetMLExperiment.

type ItemsClientListMLExperimentsOptions

type ItemsClientListMLExperimentsOptions struct {
	// A token for retrieving the next page of results.
	ContinuationToken *string
}

ItemsClientListMLExperimentsOptions contains the optional parameters for the ItemsClient.NewListMLExperimentsPager method.

type ItemsClientListMLExperimentsResponse

type ItemsClientListMLExperimentsResponse struct {
	// A list of machine learning experiments.
	MLExperiments
}

ItemsClientListMLExperimentsResponse contains the response from method ItemsClient.NewListMLExperimentsPager.

type ItemsClientUpdateMLExperimentOptions

type ItemsClientUpdateMLExperimentOptions struct {
}

ItemsClientUpdateMLExperimentOptions contains the optional parameters for the ItemsClient.UpdateMLExperiment method.

type ItemsClientUpdateMLExperimentResponse

type ItemsClientUpdateMLExperimentResponse struct {
	// A machine learning experiment object.
	MLExperiment
}

ItemsClientUpdateMLExperimentResponse contains the response from method ItemsClient.UpdateMLExperiment.

type MLExperiment

type MLExperiment struct {
	// REQUIRED; The item type.
	Type *ItemType

	// The item description.
	Description *string

	// The item display name.
	DisplayName *string

	// READ-ONLY; The item ID.
	ID *string

	// READ-ONLY; The workspace ID.
	WorkspaceID *string
}

MLExperiment - A machine learning experiment object.

func (MLExperiment) MarshalJSON

func (m MLExperiment) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type MLExperiment.

func (*MLExperiment) UnmarshalJSON

func (m *MLExperiment) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type MLExperiment.

type MLExperiments

type MLExperiments struct {
	// REQUIRED; A list of machine learning experiments.
	Value []MLExperiment

	// The token for the next result set batch. If there are no more records, it's removed from the response.
	ContinuationToken *string

	// The URI of the next result set batch. If there are no more records, it's removed from the response.
	ContinuationURI *string
}

MLExperiments - A list of machine learning experiments.

func (MLExperiments) MarshalJSON

func (m MLExperiments) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type MLExperiments.

func (*MLExperiments) UnmarshalJSON

func (m *MLExperiments) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type MLExperiments.

type UpdateMLExperimentRequest

type UpdateMLExperimentRequest struct {
	// The machine learning experiment description. Maximum length is 256 characters.
	Description *string

	// The machine learning experiment display name. The display name must follow naming rules according to item type.
	DisplayName *string
}

UpdateMLExperimentRequest - Update machine learning experiment request.

func (UpdateMLExperimentRequest) MarshalJSON

func (u UpdateMLExperimentRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type UpdateMLExperimentRequest.

func (*UpdateMLExperimentRequest) UnmarshalJSON

func (u *UpdateMLExperimentRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type UpdateMLExperimentRequest.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL