featurestoreentityversion

package
v0.20240104.1004444 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2024 License: MPL-2.0 Imports: 12 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2023-10-01/featurestoreentityversion Documentation

The featurestoreentityversion SDK allows for interaction with the Azure Resource Manager Service machinelearningservices (API Version 2023-10-01).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2023-10-01/featurestoreentityversion"

Client Initialization

client := featurestoreentityversion.NewFeaturestoreEntityVersionClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: FeaturestoreEntityVersionClient.CreateOrUpdate

ctx := context.TODO()
id := featurestoreentityversion.NewFeatureStoreEntityVersionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "workspaceValue", "featureStoreEntityValue", "versionValue")

payload := featurestoreentityversion.FeaturestoreEntityVersionResource{
	// ...
}


if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: FeaturestoreEntityVersionClient.Delete

ctx := context.TODO()
id := featurestoreentityversion.NewFeatureStoreEntityVersionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "workspaceValue", "featureStoreEntityValue", "versionValue")

if err := client.DeleteThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: FeaturestoreEntityVersionClient.Get

ctx := context.TODO()
id := featurestoreentityversion.NewFeatureStoreEntityVersionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "workspaceValue", "featureStoreEntityValue", "versionValue")

read, err := client.Get(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: FeaturestoreEntityVersionClient.List

ctx := context.TODO()
id := featurestoreentityversion.NewFeatureStoreEntityID("12345678-1234-9876-4563-123456789012", "example-resource-group", "workspaceValue", "featureStoreEntityValue")

// alternatively `client.List(ctx, id, featurestoreentityversion.DefaultListOperationOptions())` can be used to do batched pagination
items, err := client.ListComplete(ctx, id, featurestoreentityversion.DefaultListOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForAssetProvisioningState

func PossibleValuesForAssetProvisioningState() []string

func PossibleValuesForFeatureDataType

func PossibleValuesForFeatureDataType() []string

func PossibleValuesForListViewType

func PossibleValuesForListViewType() []string

func ValidateFeatureStoreEntityID

func ValidateFeatureStoreEntityID(input interface{}, key string) (warnings []string, errors []error)

ValidateFeatureStoreEntityID checks that 'input' can be parsed as a Feature Store Entity ID

func ValidateFeatureStoreEntityVersionID

func ValidateFeatureStoreEntityVersionID(input interface{}, key string) (warnings []string, errors []error)

ValidateFeatureStoreEntityVersionID checks that 'input' can be parsed as a Feature Store Entity Version ID

Types

type AssetProvisioningState

type AssetProvisioningState string
const (
	AssetProvisioningStateCanceled  AssetProvisioningState = "Canceled"
	AssetProvisioningStateCreating  AssetProvisioningState = "Creating"
	AssetProvisioningStateDeleting  AssetProvisioningState = "Deleting"
	AssetProvisioningStateFailed    AssetProvisioningState = "Failed"
	AssetProvisioningStateSucceeded AssetProvisioningState = "Succeeded"
	AssetProvisioningStateUpdating  AssetProvisioningState = "Updating"
)

func (*AssetProvisioningState) UnmarshalJSON

func (s *AssetProvisioningState) UnmarshalJSON(bytes []byte) error

type CreateOrUpdateOperationResponse

type CreateOrUpdateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type DeleteOperationResponse

type DeleteOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type FeatureDataType

type FeatureDataType string
const (
	FeatureDataTypeBinary   FeatureDataType = "Binary"
	FeatureDataTypeBoolean  FeatureDataType = "Boolean"
	FeatureDataTypeDatetime FeatureDataType = "Datetime"
	FeatureDataTypeDouble   FeatureDataType = "Double"
	FeatureDataTypeFloat    FeatureDataType = "Float"
	FeatureDataTypeInteger  FeatureDataType = "Integer"
	FeatureDataTypeLong     FeatureDataType = "Long"
	FeatureDataTypeString   FeatureDataType = "String"
)

func (*FeatureDataType) UnmarshalJSON

func (s *FeatureDataType) UnmarshalJSON(bytes []byte) error

type FeatureStoreEntityId

type FeatureStoreEntityId struct {
	SubscriptionId         string
	ResourceGroupName      string
	WorkspaceName          string
	FeatureStoreEntityName string
}

FeatureStoreEntityId is a struct representing the Resource ID for a Feature Store Entity

func NewFeatureStoreEntityID

func NewFeatureStoreEntityID(subscriptionId string, resourceGroupName string, workspaceName string, featureStoreEntityName string) FeatureStoreEntityId

NewFeatureStoreEntityID returns a new FeatureStoreEntityId struct

func ParseFeatureStoreEntityID

func ParseFeatureStoreEntityID(input string) (*FeatureStoreEntityId, error)

ParseFeatureStoreEntityID parses 'input' into a FeatureStoreEntityId

func ParseFeatureStoreEntityIDInsensitively

func ParseFeatureStoreEntityIDInsensitively(input string) (*FeatureStoreEntityId, error)

ParseFeatureStoreEntityIDInsensitively parses 'input' case-insensitively into a FeatureStoreEntityId note: this method should only be used for API response data and not user input

func (*FeatureStoreEntityId) FromParseResult added in v0.20231127.1171502

func (id *FeatureStoreEntityId) FromParseResult(input resourceids.ParseResult) error

func (FeatureStoreEntityId) ID

func (id FeatureStoreEntityId) ID() string

ID returns the formatted Feature Store Entity ID

func (FeatureStoreEntityId) Segments

func (id FeatureStoreEntityId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Feature Store Entity ID

func (FeatureStoreEntityId) String

func (id FeatureStoreEntityId) String() string

String returns a human-readable description of this Feature Store Entity ID

type FeatureStoreEntityVersionId

type FeatureStoreEntityVersionId struct {
	SubscriptionId         string
	ResourceGroupName      string
	WorkspaceName          string
	FeatureStoreEntityName string
	VersionName            string
}

FeatureStoreEntityVersionId is a struct representing the Resource ID for a Feature Store Entity Version

func NewFeatureStoreEntityVersionID

func NewFeatureStoreEntityVersionID(subscriptionId string, resourceGroupName string, workspaceName string, featureStoreEntityName string, versionName string) FeatureStoreEntityVersionId

NewFeatureStoreEntityVersionID returns a new FeatureStoreEntityVersionId struct

func ParseFeatureStoreEntityVersionID

func ParseFeatureStoreEntityVersionID(input string) (*FeatureStoreEntityVersionId, error)

ParseFeatureStoreEntityVersionID parses 'input' into a FeatureStoreEntityVersionId

func ParseFeatureStoreEntityVersionIDInsensitively

func ParseFeatureStoreEntityVersionIDInsensitively(input string) (*FeatureStoreEntityVersionId, error)

ParseFeatureStoreEntityVersionIDInsensitively parses 'input' case-insensitively into a FeatureStoreEntityVersionId note: this method should only be used for API response data and not user input

func (*FeatureStoreEntityVersionId) FromParseResult added in v0.20231127.1171502

func (id *FeatureStoreEntityVersionId) FromParseResult(input resourceids.ParseResult) error

func (FeatureStoreEntityVersionId) ID

ID returns the formatted Feature Store Entity Version ID

func (FeatureStoreEntityVersionId) Segments

Segments returns a slice of Resource ID Segments which comprise this Feature Store Entity Version ID

func (FeatureStoreEntityVersionId) String

func (id FeatureStoreEntityVersionId) String() string

String returns a human-readable description of this Feature Store Entity Version ID

type FeaturestoreEntityVersion

type FeaturestoreEntityVersion struct {
	Description       *string                 `json:"description,omitempty"`
	IndexColumns      *[]IndexColumn          `json:"indexColumns,omitempty"`
	IsAnonymous       *bool                   `json:"isAnonymous,omitempty"`
	IsArchived        *bool                   `json:"isArchived,omitempty"`
	Properties        *map[string]string      `json:"properties,omitempty"`
	ProvisioningState *AssetProvisioningState `json:"provisioningState,omitempty"`
	Stage             *string                 `json:"stage,omitempty"`
	Tags              *map[string]string      `json:"tags,omitempty"`
}

type FeaturestoreEntityVersionClient

type FeaturestoreEntityVersionClient struct {
	Client *resourcemanager.Client
}

func NewFeaturestoreEntityVersionClientWithBaseURI

func NewFeaturestoreEntityVersionClientWithBaseURI(sdkApi sdkEnv.Api) (*FeaturestoreEntityVersionClient, error)

func (FeaturestoreEntityVersionClient) CreateOrUpdate

CreateOrUpdate ...

func (FeaturestoreEntityVersionClient) CreateOrUpdateThenPoll

CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed

func (FeaturestoreEntityVersionClient) Delete

Delete ...

func (FeaturestoreEntityVersionClient) DeleteThenPoll

DeleteThenPoll performs Delete then polls until it's completed

func (FeaturestoreEntityVersionClient) Get

Get ...

func (FeaturestoreEntityVersionClient) List

List ...

func (FeaturestoreEntityVersionClient) ListComplete

ListComplete retrieves all the results into a single object

func (FeaturestoreEntityVersionClient) ListCompleteMatchingPredicate

ListCompleteMatchingPredicate retrieves all the results and then applies the predicate

type FeaturestoreEntityVersionResource

type FeaturestoreEntityVersionResource struct {
	Id         *string                   `json:"id,omitempty"`
	Name       *string                   `json:"name,omitempty"`
	Properties FeaturestoreEntityVersion `json:"properties"`
	SystemData *systemdata.SystemData    `json:"systemData,omitempty"`
	Type       *string                   `json:"type,omitempty"`
}

type FeaturestoreEntityVersionResourceOperationPredicate

type FeaturestoreEntityVersionResourceOperationPredicate struct {
	Id   *string
	Name *string
	Type *string
}

func (FeaturestoreEntityVersionResourceOperationPredicate) Matches

type GetOperationResponse

type GetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *FeaturestoreEntityVersionResource
}

type IndexColumn

type IndexColumn struct {
	ColumnName *string          `json:"columnName,omitempty"`
	DataType   *FeatureDataType `json:"dataType,omitempty"`
}

type ListCompleteResult

type ListCompleteResult struct {
	Items []FeaturestoreEntityVersionResource
}

type ListOperationOptions

type ListOperationOptions struct {
	CreatedBy    *string
	Description  *string
	ListViewType *ListViewType
	PageSize     *int64
	Skip         *string
	Stage        *string
	Tags         *string
	Version      *string
	VersionName  *string
}

func DefaultListOperationOptions

func DefaultListOperationOptions() ListOperationOptions

func (ListOperationOptions) ToHeaders

func (o ListOperationOptions) ToHeaders() *client.Headers

func (ListOperationOptions) ToOData

func (o ListOperationOptions) ToOData() *odata.Query

func (ListOperationOptions) ToQuery

type ListOperationResponse

type ListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]FeaturestoreEntityVersionResource
}

type ListViewType

type ListViewType string
const (
	ListViewTypeActiveOnly   ListViewType = "ActiveOnly"
	ListViewTypeAll          ListViewType = "All"
	ListViewTypeArchivedOnly ListViewType = "ArchivedOnly"
)

func (*ListViewType) UnmarshalJSON

func (s *ListViewType) UnmarshalJSON(bytes []byte) error

Jump to

Keyboard shortcuts

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