featurestoreentitycontainer

package
v0.20240320.1000025 Latest Latest
Warning

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

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

README

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

The featurestoreentitycontainer 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/featurestoreentitycontainer"

Client Initialization

client := featurestoreentitycontainer.NewFeaturestoreEntityContainerClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: FeaturestoreEntityContainerClient.CreateOrUpdate

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

payload := featurestoreentitycontainer.FeaturestoreEntityContainerResource{
	// ...
}


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

Example Usage: FeaturestoreEntityContainerClient.Delete

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

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

Example Usage: FeaturestoreEntityContainerClient.GetEntity

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

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

Example Usage: FeaturestoreEntityContainerClient.List

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

// alternatively `client.List(ctx, id, featurestoreentitycontainer.DefaultListOperationOptions())` can be used to do batched pagination
items, err := client.ListComplete(ctx, id, featurestoreentitycontainer.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 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 ValidateWorkspaceID

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

ValidateWorkspaceID checks that 'input' can be parsed as a Workspace 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
	Model        *FeaturestoreEntityContainerResource
}

type DeleteOperationResponse

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

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

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 FeaturestoreEntityContainer

type FeaturestoreEntityContainer struct {
	Description       *string                 `json:"description,omitempty"`
	IsArchived        *bool                   `json:"isArchived,omitempty"`
	LatestVersion     *string                 `json:"latestVersion,omitempty"`
	NextVersion       *string                 `json:"nextVersion,omitempty"`
	Properties        *map[string]string      `json:"properties,omitempty"`
	ProvisioningState *AssetProvisioningState `json:"provisioningState,omitempty"`
	Tags              *map[string]string      `json:"tags,omitempty"`
}

type FeaturestoreEntityContainerClient

type FeaturestoreEntityContainerClient struct {
	Client *resourcemanager.Client
}

func NewFeaturestoreEntityContainerClientWithBaseURI

func NewFeaturestoreEntityContainerClientWithBaseURI(sdkApi sdkEnv.Api) (*FeaturestoreEntityContainerClient, error)

func (FeaturestoreEntityContainerClient) CreateOrUpdate

CreateOrUpdate ...

func (FeaturestoreEntityContainerClient) CreateOrUpdateThenPoll

CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed

func (FeaturestoreEntityContainerClient) Delete

Delete ...

func (FeaturestoreEntityContainerClient) DeleteThenPoll

DeleteThenPoll performs Delete then polls until it's completed

func (FeaturestoreEntityContainerClient) GetEntity

GetEntity ...

func (FeaturestoreEntityContainerClient) List

List ...

func (FeaturestoreEntityContainerClient) ListComplete

ListComplete retrieves all the results into a single object

func (FeaturestoreEntityContainerClient) ListCompleteMatchingPredicate

ListCompleteMatchingPredicate retrieves all the results and then applies the predicate

type FeaturestoreEntityContainerResource

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

type FeaturestoreEntityContainerResourceOperationPredicate

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

func (FeaturestoreEntityContainerResourceOperationPredicate) Matches

type GetEntityOperationResponse

type GetEntityOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *FeaturestoreEntityContainerResource
}

type ListCompleteResult

type ListCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []FeaturestoreEntityContainerResource
}

type ListOperationOptions

type ListOperationOptions struct {
	CreatedBy    *string
	Description  *string
	ListViewType *ListViewType
	Name         *string
	PageSize     *int64
	Skip         *string
	Tags         *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        *[]FeaturestoreEntityContainerResource
}

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

type WorkspaceId

type WorkspaceId struct {
	SubscriptionId    string
	ResourceGroupName string
	WorkspaceName     string
}

WorkspaceId is a struct representing the Resource ID for a Workspace

func NewWorkspaceID

func NewWorkspaceID(subscriptionId string, resourceGroupName string, workspaceName string) WorkspaceId

NewWorkspaceID returns a new WorkspaceId struct

func ParseWorkspaceID

func ParseWorkspaceID(input string) (*WorkspaceId, error)

ParseWorkspaceID parses 'input' into a WorkspaceId

func ParseWorkspaceIDInsensitively

func ParseWorkspaceIDInsensitively(input string) (*WorkspaceId, error)

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

func (*WorkspaceId) FromParseResult

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

func (WorkspaceId) ID

func (id WorkspaceId) ID() string

ID returns the formatted Workspace ID

func (WorkspaceId) Segments

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

Segments returns a slice of Resource ID Segments which comprise this Workspace ID

func (WorkspaceId) String

func (id WorkspaceId) String() string

String returns a human-readable description of this Workspace ID

Jump to

Keyboard shortcuts

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