operationalizationclusters

package
v0.20240110.1102249 Latest Latest
Warning

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

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

README

github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2023-04-01/operationalizationclusters Documentation

The operationalizationclusters SDK allows for interaction with the Azure Resource Manager Service machinelearningservices (API Version 2023-04-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-04-01/operationalizationclusters"

Client Initialization

client := operationalizationclusters.NewOperationalizationClustersClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: OperationalizationClustersClient.ComputeCreateOrUpdate

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

payload := operationalizationclusters.ComputeResource{
	// ...
}


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

Example Usage: OperationalizationClustersClient.ComputeDelete

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

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

Example Usage: OperationalizationClustersClient.ComputeGet

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

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

Example Usage: OperationalizationClustersClient.ComputeList

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

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

Example Usage: OperationalizationClustersClient.ComputeListKeys

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

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

Example Usage: OperationalizationClustersClient.ComputeRestart

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

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

Example Usage: OperationalizationClustersClient.ComputeStart

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

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

Example Usage: OperationalizationClustersClient.ComputeStop

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

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

Example Usage: OperationalizationClustersClient.ComputeUpdate

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

payload := operationalizationclusters.ClusterUpdateParameters{
	// ...
}


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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForAllocationState

func PossibleValuesForAllocationState() []string

func PossibleValuesForApplicationSharingPolicy

func PossibleValuesForApplicationSharingPolicy() []string

func PossibleValuesForAutosave

func PossibleValuesForAutosave() []string

func PossibleValuesForCaching

func PossibleValuesForCaching() []string

func PossibleValuesForClusterPurpose

func PossibleValuesForClusterPurpose() []string

func PossibleValuesForComputeInstanceAuthorizationType

func PossibleValuesForComputeInstanceAuthorizationType() []string

func PossibleValuesForComputeInstanceState

func PossibleValuesForComputeInstanceState() []string

func PossibleValuesForComputePowerAction

func PossibleValuesForComputePowerAction() []string

func PossibleValuesForComputeType

func PossibleValuesForComputeType() []string

func PossibleValuesForEnvironmentVariableType

func PossibleValuesForEnvironmentVariableType() []string

func PossibleValuesForImageType

func PossibleValuesForImageType() []string

func PossibleValuesForLoadBalancerType

func PossibleValuesForLoadBalancerType() []string

func PossibleValuesForMountAction

func PossibleValuesForMountAction() []string

func PossibleValuesForMountState

func PossibleValuesForMountState() []string

func PossibleValuesForNetwork

func PossibleValuesForNetwork() []string

func PossibleValuesForOperationName

func PossibleValuesForOperationName() []string

func PossibleValuesForOperationStatus

func PossibleValuesForOperationStatus() []string

func PossibleValuesForOperationTrigger

func PossibleValuesForOperationTrigger() []string

func PossibleValuesForOsType

func PossibleValuesForOsType() []string

func PossibleValuesForProtocol

func PossibleValuesForProtocol() []string

func PossibleValuesForProvisioningState

func PossibleValuesForProvisioningState() []string

func PossibleValuesForProvisioningStatus

func PossibleValuesForProvisioningStatus() []string

func PossibleValuesForRecurrenceFrequency

func PossibleValuesForRecurrenceFrequency() []string

func PossibleValuesForRemoteLoginPortPublicAccess

func PossibleValuesForRemoteLoginPortPublicAccess() []string

func PossibleValuesForScheduleProvisioningState

func PossibleValuesForScheduleProvisioningState() []string

func PossibleValuesForScheduleStatus

func PossibleValuesForScheduleStatus() []string

func PossibleValuesForSkuTier

func PossibleValuesForSkuTier() []string

func PossibleValuesForSourceType

func PossibleValuesForSourceType() []string

func PossibleValuesForSshPublicAccess

func PossibleValuesForSshPublicAccess() []string

func PossibleValuesForSslConfigStatus

func PossibleValuesForSslConfigStatus() []string

func PossibleValuesForStorageAccountType

func PossibleValuesForStorageAccountType() []string

func PossibleValuesForTriggerType

func PossibleValuesForTriggerType() []string

func PossibleValuesForUnderlyingResourceAction

func PossibleValuesForUnderlyingResourceAction() []string

func PossibleValuesForVMPriority

func PossibleValuesForVMPriority() []string

func PossibleValuesForVolumeDefinitionType

func PossibleValuesForVolumeDefinitionType() []string

func PossibleValuesForWeekDay

func PossibleValuesForWeekDay() []string

func ValidateComputeID

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

ValidateComputeID checks that 'input' can be parsed as a Compute 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 AKS

type AKS struct {
	Properties *AKSSchemaProperties `json:"properties,omitempty"`

	// Fields inherited from Compute
	ComputeLocation    *string            `json:"computeLocation,omitempty"`
	CreatedOn          *string            `json:"createdOn,omitempty"`
	Description        *string            `json:"description,omitempty"`
	DisableLocalAuth   *bool              `json:"disableLocalAuth,omitempty"`
	IsAttachedCompute  *bool              `json:"isAttachedCompute,omitempty"`
	ModifiedOn         *string            `json:"modifiedOn,omitempty"`
	ProvisioningErrors *[]ErrorResponse   `json:"provisioningErrors,omitempty"`
	ProvisioningState  *ProvisioningState `json:"provisioningState,omitempty"`
	ResourceId         *string            `json:"resourceId,omitempty"`
}

func (*AKS) GetCreatedOnAsTime

func (o *AKS) GetCreatedOnAsTime() (*time.Time, error)

func (*AKS) GetModifiedOnAsTime

func (o *AKS) GetModifiedOnAsTime() (*time.Time, error)

func (AKS) MarshalJSON

func (s AKS) MarshalJSON() ([]byte, error)

func (*AKS) SetCreatedOnAsTime

func (o *AKS) SetCreatedOnAsTime(input time.Time)

func (*AKS) SetModifiedOnAsTime

func (o *AKS) SetModifiedOnAsTime(input time.Time)

type AKSSchemaProperties

type AKSSchemaProperties struct {
	AgentCount                 *int64                      `json:"agentCount,omitempty"`
	AgentVMSize                *string                     `json:"agentVmSize,omitempty"`
	AksNetworkingConfiguration *AksNetworkingConfiguration `json:"aksNetworkingConfiguration,omitempty"`
	ClusterFqdn                *string                     `json:"clusterFqdn,omitempty"`
	ClusterPurpose             *ClusterPurpose             `json:"clusterPurpose,omitempty"`
	LoadBalancerSubnet         *string                     `json:"loadBalancerSubnet,omitempty"`
	LoadBalancerType           *LoadBalancerType           `json:"loadBalancerType,omitempty"`
	SslConfiguration           *SslConfiguration           `json:"sslConfiguration,omitempty"`
	SystemServices             *[]SystemService            `json:"systemServices,omitempty"`
}

type AksComputeSecrets

type AksComputeSecrets struct {
	AdminKubeConfig     *string `json:"adminKubeConfig,omitempty"`
	ImagePullSecretName *string `json:"imagePullSecretName,omitempty"`
	UserKubeConfig      *string `json:"userKubeConfig,omitempty"`
}

func (AksComputeSecrets) MarshalJSON

func (s AksComputeSecrets) MarshalJSON() ([]byte, error)

type AksNetworkingConfiguration

type AksNetworkingConfiguration struct {
	DnsServiceIP     *string `json:"dnsServiceIP,omitempty"`
	DockerBridgeCidr *string `json:"dockerBridgeCidr,omitempty"`
	ServiceCidr      *string `json:"serviceCidr,omitempty"`
	SubnetId         *string `json:"subnetId,omitempty"`
}

type AllocationState

type AllocationState string
const (
	AllocationStateResizing AllocationState = "Resizing"
	AllocationStateSteady   AllocationState = "Steady"
)

func (*AllocationState) UnmarshalJSON added in v0.20230713.1092427

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

type AmlCompute

type AmlCompute struct {
	Properties *AmlComputeProperties `json:"properties,omitempty"`

	// Fields inherited from Compute
	ComputeLocation    *string            `json:"computeLocation,omitempty"`
	CreatedOn          *string            `json:"createdOn,omitempty"`
	Description        *string            `json:"description,omitempty"`
	DisableLocalAuth   *bool              `json:"disableLocalAuth,omitempty"`
	IsAttachedCompute  *bool              `json:"isAttachedCompute,omitempty"`
	ModifiedOn         *string            `json:"modifiedOn,omitempty"`
	ProvisioningErrors *[]ErrorResponse   `json:"provisioningErrors,omitempty"`
	ProvisioningState  *ProvisioningState `json:"provisioningState,omitempty"`
	ResourceId         *string            `json:"resourceId,omitempty"`
}

func (*AmlCompute) GetCreatedOnAsTime

func (o *AmlCompute) GetCreatedOnAsTime() (*time.Time, error)

func (*AmlCompute) GetModifiedOnAsTime

func (o *AmlCompute) GetModifiedOnAsTime() (*time.Time, error)

func (AmlCompute) MarshalJSON

func (s AmlCompute) MarshalJSON() ([]byte, error)

func (*AmlCompute) SetCreatedOnAsTime

func (o *AmlCompute) SetCreatedOnAsTime(input time.Time)

func (*AmlCompute) SetModifiedOnAsTime

func (o *AmlCompute) SetModifiedOnAsTime(input time.Time)

type AmlComputeProperties

type AmlComputeProperties struct {
	AllocationState               *AllocationState             `json:"allocationState,omitempty"`
	AllocationStateTransitionTime *string                      `json:"allocationStateTransitionTime,omitempty"`
	CurrentNodeCount              *int64                       `json:"currentNodeCount,omitempty"`
	EnableNodePublicIP            *bool                        `json:"enableNodePublicIp,omitempty"`
	Errors                        *[]ErrorResponse             `json:"errors,omitempty"`
	IsolatedNetwork               *bool                        `json:"isolatedNetwork,omitempty"`
	NodeStateCounts               *NodeStateCounts             `json:"nodeStateCounts,omitempty"`
	OsType                        *OsType                      `json:"osType,omitempty"`
	PropertyBag                   *interface{}                 `json:"propertyBag,omitempty"`
	RemoteLoginPortPublicAccess   *RemoteLoginPortPublicAccess `json:"remoteLoginPortPublicAccess,omitempty"`
	ScaleSettings                 *ScaleSettings               `json:"scaleSettings,omitempty"`
	Subnet                        *ResourceId                  `json:"subnet,omitempty"`
	TargetNodeCount               *int64                       `json:"targetNodeCount,omitempty"`
	UserAccountCredentials        *UserAccountCredentials      `json:"userAccountCredentials,omitempty"`
	VMPriority                    *VMPriority                  `json:"vmPriority,omitempty"`
	VMSize                        *string                      `json:"vmSize,omitempty"`
	VirtualMachineImage           *VirtualMachineImage         `json:"virtualMachineImage,omitempty"`
}

func (*AmlComputeProperties) GetAllocationStateTransitionTimeAsTime

func (o *AmlComputeProperties) GetAllocationStateTransitionTimeAsTime() (*time.Time, error)

func (*AmlComputeProperties) SetAllocationStateTransitionTimeAsTime

func (o *AmlComputeProperties) SetAllocationStateTransitionTimeAsTime(input time.Time)

type ApplicationSharingPolicy

type ApplicationSharingPolicy string
const (
	ApplicationSharingPolicyPersonal ApplicationSharingPolicy = "Personal"
	ApplicationSharingPolicyShared   ApplicationSharingPolicy = "Shared"
)

func (*ApplicationSharingPolicy) UnmarshalJSON added in v0.20230713.1092427

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

type AssignedUser

type AssignedUser struct {
	ObjectId string `json:"objectId"`
	TenantId string `json:"tenantId"`
}

type AutoPauseProperties

type AutoPauseProperties struct {
	DelayInMinutes *int64 `json:"delayInMinutes,omitempty"`
	Enabled        *bool  `json:"enabled,omitempty"`
}

type AutoScaleProperties

type AutoScaleProperties struct {
	Enabled      *bool  `json:"enabled,omitempty"`
	MaxNodeCount *int64 `json:"maxNodeCount,omitempty"`
	MinNodeCount *int64 `json:"minNodeCount,omitempty"`
}

type Autosave

type Autosave string
const (
	AutosaveLocal  Autosave = "Local"
	AutosaveNone   Autosave = "None"
	AutosaveRemote Autosave = "Remote"
)

func (*Autosave) UnmarshalJSON added in v0.20230713.1092427

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

type BindOptions

type BindOptions struct {
	CreateHostPath *bool   `json:"createHostPath,omitempty"`
	Propagation    *string `json:"propagation,omitempty"`
	Selinux        *string `json:"selinux,omitempty"`
}

type Caching

type Caching string
const (
	CachingNone      Caching = "None"
	CachingReadOnly  Caching = "ReadOnly"
	CachingReadWrite Caching = "ReadWrite"
)

func (*Caching) UnmarshalJSON added in v0.20230713.1092427

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

type ClusterPurpose

type ClusterPurpose string
const (
	ClusterPurposeDenseProd ClusterPurpose = "DenseProd"
	ClusterPurposeDevTest   ClusterPurpose = "DevTest"
	ClusterPurposeFastProd  ClusterPurpose = "FastProd"
)

func (*ClusterPurpose) UnmarshalJSON added in v0.20230713.1092427

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

type ClusterUpdateParameters

type ClusterUpdateParameters struct {
	Properties *ClusterUpdateProperties `json:"properties,omitempty"`
}

type ClusterUpdateProperties

type ClusterUpdateProperties struct {
	Properties *ScaleSettingsInformation `json:"properties,omitempty"`
}

type Compute

type Compute interface {
}

type ComputeCreateOrUpdateOperationResponse

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

type ComputeDeleteOperationOptions

type ComputeDeleteOperationOptions struct {
	UnderlyingResourceAction *UnderlyingResourceAction
}

func DefaultComputeDeleteOperationOptions

func DefaultComputeDeleteOperationOptions() ComputeDeleteOperationOptions

func (ComputeDeleteOperationOptions) ToHeaders added in v0.20230713.1092427

func (ComputeDeleteOperationOptions) ToOData added in v0.20230713.1092427

func (ComputeDeleteOperationOptions) ToQuery added in v0.20230713.1092427

type ComputeDeleteOperationResponse

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

type ComputeGetOperationResponse

type ComputeGetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ComputeResource
}

type ComputeId

type ComputeId struct {
	SubscriptionId    string
	ResourceGroupName string
	WorkspaceName     string
	ComputeName       string
}

ComputeId is a struct representing the Resource ID for a Compute

func NewComputeID

func NewComputeID(subscriptionId string, resourceGroupName string, workspaceName string, computeName string) ComputeId

NewComputeID returns a new ComputeId struct

func ParseComputeID

func ParseComputeID(input string) (*ComputeId, error)

ParseComputeID parses 'input' into a ComputeId

func ParseComputeIDInsensitively

func ParseComputeIDInsensitively(input string) (*ComputeId, error)

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

func (*ComputeId) FromParseResult added in v0.20231127.1171502

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

func (ComputeId) ID

func (id ComputeId) ID() string

ID returns the formatted Compute ID

func (ComputeId) Segments

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

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

func (ComputeId) String

func (id ComputeId) String() string

String returns a human-readable description of this Compute ID

type ComputeInstance

type ComputeInstance struct {
	Properties *ComputeInstanceProperties `json:"properties,omitempty"`

	// Fields inherited from Compute
	ComputeLocation    *string            `json:"computeLocation,omitempty"`
	CreatedOn          *string            `json:"createdOn,omitempty"`
	Description        *string            `json:"description,omitempty"`
	DisableLocalAuth   *bool              `json:"disableLocalAuth,omitempty"`
	IsAttachedCompute  *bool              `json:"isAttachedCompute,omitempty"`
	ModifiedOn         *string            `json:"modifiedOn,omitempty"`
	ProvisioningErrors *[]ErrorResponse   `json:"provisioningErrors,omitempty"`
	ProvisioningState  *ProvisioningState `json:"provisioningState,omitempty"`
	ResourceId         *string            `json:"resourceId,omitempty"`
}

func (*ComputeInstance) GetCreatedOnAsTime

func (o *ComputeInstance) GetCreatedOnAsTime() (*time.Time, error)

func (*ComputeInstance) GetModifiedOnAsTime

func (o *ComputeInstance) GetModifiedOnAsTime() (*time.Time, error)

func (ComputeInstance) MarshalJSON

func (s ComputeInstance) MarshalJSON() ([]byte, error)

func (*ComputeInstance) SetCreatedOnAsTime

func (o *ComputeInstance) SetCreatedOnAsTime(input time.Time)

func (*ComputeInstance) SetModifiedOnAsTime

func (o *ComputeInstance) SetModifiedOnAsTime(input time.Time)

type ComputeInstanceApplication

type ComputeInstanceApplication struct {
	DisplayName *string `json:"displayName,omitempty"`
	EndpointUri *string `json:"endpointUri,omitempty"`
}

type ComputeInstanceAuthorizationType

type ComputeInstanceAuthorizationType string
const (
	ComputeInstanceAuthorizationTypePersonal ComputeInstanceAuthorizationType = "personal"
)

func (*ComputeInstanceAuthorizationType) UnmarshalJSON added in v0.20230713.1092427

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

type ComputeInstanceConnectivityEndpoints

type ComputeInstanceConnectivityEndpoints struct {
	PrivateIPAddress *string `json:"privateIpAddress,omitempty"`
	PublicIPAddress  *string `json:"publicIpAddress,omitempty"`
}

type ComputeInstanceContainer

type ComputeInstanceContainer struct {
	Autosave    *Autosave                       `json:"autosave,omitempty"`
	Environment *ComputeInstanceEnvironmentInfo `json:"environment,omitempty"`
	Gpu         *string                         `json:"gpu,omitempty"`
	Name        *string                         `json:"name,omitempty"`
	Network     *Network                        `json:"network,omitempty"`
	Services    *[]interface{}                  `json:"services,omitempty"`
}

type ComputeInstanceCreatedBy

type ComputeInstanceCreatedBy struct {
	UserId    *string `json:"userId,omitempty"`
	UserName  *string `json:"userName,omitempty"`
	UserOrgId *string `json:"userOrgId,omitempty"`
}

type ComputeInstanceDataDisk

type ComputeInstanceDataDisk struct {
	Caching            *Caching            `json:"caching,omitempty"`
	DiskSizeGB         *int64              `json:"diskSizeGB,omitempty"`
	Lun                *int64              `json:"lun,omitempty"`
	StorageAccountType *StorageAccountType `json:"storageAccountType,omitempty"`
}

type ComputeInstanceDataMount

type ComputeInstanceDataMount struct {
	CreatedBy   *string      `json:"createdBy,omitempty"`
	Error       *string      `json:"error,omitempty"`
	MountAction *MountAction `json:"mountAction,omitempty"`
	MountName   *string      `json:"mountName,omitempty"`
	MountPath   *string      `json:"mountPath,omitempty"`
	MountState  *MountState  `json:"mountState,omitempty"`
	MountedOn   *string      `json:"mountedOn,omitempty"`
	Source      *string      `json:"source,omitempty"`
	SourceType  *SourceType  `json:"sourceType,omitempty"`
}

func (*ComputeInstanceDataMount) GetMountedOnAsTime

func (o *ComputeInstanceDataMount) GetMountedOnAsTime() (*time.Time, error)

func (*ComputeInstanceDataMount) SetMountedOnAsTime

func (o *ComputeInstanceDataMount) SetMountedOnAsTime(input time.Time)

type ComputeInstanceEnvironmentInfo

type ComputeInstanceEnvironmentInfo struct {
	Name    *string `json:"name,omitempty"`
	Version *string `json:"version,omitempty"`
}

type ComputeInstanceLastOperation

type ComputeInstanceLastOperation struct {
	OperationName    *OperationName    `json:"operationName,omitempty"`
	OperationStatus  *OperationStatus  `json:"operationStatus,omitempty"`
	OperationTime    *string           `json:"operationTime,omitempty"`
	OperationTrigger *OperationTrigger `json:"operationTrigger,omitempty"`
}

func (*ComputeInstanceLastOperation) GetOperationTimeAsTime

func (o *ComputeInstanceLastOperation) GetOperationTimeAsTime() (*time.Time, error)

func (*ComputeInstanceLastOperation) SetOperationTimeAsTime

func (o *ComputeInstanceLastOperation) SetOperationTimeAsTime(input time.Time)

type ComputeInstanceProperties

type ComputeInstanceProperties struct {
	ApplicationSharingPolicy         *ApplicationSharingPolicy             `json:"applicationSharingPolicy,omitempty"`
	Applications                     *[]ComputeInstanceApplication         `json:"applications,omitempty"`
	ComputeInstanceAuthorizationType *ComputeInstanceAuthorizationType     `json:"computeInstanceAuthorizationType,omitempty"`
	ConnectivityEndpoints            *ComputeInstanceConnectivityEndpoints `json:"connectivityEndpoints,omitempty"`
	Containers                       *[]ComputeInstanceContainer           `json:"containers,omitempty"`
	CreatedBy                        *ComputeInstanceCreatedBy             `json:"createdBy,omitempty"`
	CustomServices                   *[]CustomService                      `json:"customServices,omitempty"`
	DataDisks                        *[]ComputeInstanceDataDisk            `json:"dataDisks,omitempty"`
	DataMounts                       *[]ComputeInstanceDataMount           `json:"dataMounts,omitempty"`
	EnableNodePublicIP               *bool                                 `json:"enableNodePublicIp,omitempty"`
	Errors                           *[]ErrorResponse                      `json:"errors,omitempty"`
	LastOperation                    *ComputeInstanceLastOperation         `json:"lastOperation,omitempty"`
	OsImageMetadata                  *ImageMetadata                        `json:"osImageMetadata,omitempty"`
	PersonalComputeInstanceSettings  *PersonalComputeInstanceSettings      `json:"personalComputeInstanceSettings,omitempty"`
	Schedules                        *ComputeSchedules                     `json:"schedules,omitempty"`
	SetupScripts                     *SetupScripts                         `json:"setupScripts,omitempty"`
	SshSettings                      *ComputeInstanceSshSettings           `json:"sshSettings,omitempty"`
	State                            *ComputeInstanceState                 `json:"state,omitempty"`
	Subnet                           *ResourceId                           `json:"subnet,omitempty"`
	VMSize                           *string                               `json:"vmSize,omitempty"`
	Versions                         *ComputeInstanceVersion               `json:"versions,omitempty"`
}

type ComputeInstanceSshSettings

type ComputeInstanceSshSettings struct {
	AdminPublicKey  *string          `json:"adminPublicKey,omitempty"`
	AdminUserName   *string          `json:"adminUserName,omitempty"`
	SshPort         *int64           `json:"sshPort,omitempty"`
	SshPublicAccess *SshPublicAccess `json:"sshPublicAccess,omitempty"`
}

type ComputeInstanceState

type ComputeInstanceState string
const (
	ComputeInstanceStateCreateFailed    ComputeInstanceState = "CreateFailed"
	ComputeInstanceStateCreating        ComputeInstanceState = "Creating"
	ComputeInstanceStateDeleting        ComputeInstanceState = "Deleting"
	ComputeInstanceStateJobRunning      ComputeInstanceState = "JobRunning"
	ComputeInstanceStateRestarting      ComputeInstanceState = "Restarting"
	ComputeInstanceStateRunning         ComputeInstanceState = "Running"
	ComputeInstanceStateSettingUp       ComputeInstanceState = "SettingUp"
	ComputeInstanceStateSetupFailed     ComputeInstanceState = "SetupFailed"
	ComputeInstanceStateStarting        ComputeInstanceState = "Starting"
	ComputeInstanceStateStopped         ComputeInstanceState = "Stopped"
	ComputeInstanceStateStopping        ComputeInstanceState = "Stopping"
	ComputeInstanceStateUnknown         ComputeInstanceState = "Unknown"
	ComputeInstanceStateUnusable        ComputeInstanceState = "Unusable"
	ComputeInstanceStateUserSettingUp   ComputeInstanceState = "UserSettingUp"
	ComputeInstanceStateUserSetupFailed ComputeInstanceState = "UserSetupFailed"
)

func (*ComputeInstanceState) UnmarshalJSON added in v0.20230713.1092427

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

type ComputeInstanceVersion

type ComputeInstanceVersion struct {
	Runtime *string `json:"runtime,omitempty"`
}

type ComputeListCompleteResult

type ComputeListCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []ComputeResource
}

type ComputeListKeysOperationResponse

type ComputeListKeysOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ComputeSecrets
}

type ComputeListOperationOptions

type ComputeListOperationOptions struct {
	Skip *string
}

func DefaultComputeListOperationOptions

func DefaultComputeListOperationOptions() ComputeListOperationOptions

func (ComputeListOperationOptions) ToHeaders added in v0.20230713.1092427

func (ComputeListOperationOptions) ToOData added in v0.20230713.1092427

func (ComputeListOperationOptions) ToQuery added in v0.20230713.1092427

type ComputeListOperationResponse

type ComputeListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]ComputeResource
}

type ComputePowerAction

type ComputePowerAction string
const (
	ComputePowerActionStart ComputePowerAction = "Start"
	ComputePowerActionStop  ComputePowerAction = "Stop"
)

func (*ComputePowerAction) UnmarshalJSON added in v0.20230713.1092427

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

type ComputeResource

type ComputeResource struct {
	Id         *string                                  `json:"id,omitempty"`
	Identity   *identity.LegacySystemAndUserAssignedMap `json:"identity,omitempty"`
	Location   *string                                  `json:"location,omitempty"`
	Name       *string                                  `json:"name,omitempty"`
	Properties Compute                                  `json:"properties"`
	Sku        *Sku                                     `json:"sku,omitempty"`
	SystemData *systemdata.SystemData                   `json:"systemData,omitempty"`
	Tags       *map[string]string                       `json:"tags,omitempty"`
	Type       *string                                  `json:"type,omitempty"`
}

func (*ComputeResource) UnmarshalJSON

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

type ComputeResourceOperationPredicate

type ComputeResourceOperationPredicate struct {
	Id       *string
	Location *string
	Name     *string
	Type     *string
}

func (ComputeResourceOperationPredicate) Matches

type ComputeRestartOperationResponse

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

type ComputeSchedules

type ComputeSchedules struct {
	ComputeStartStop *[]ComputeStartStopSchedule `json:"computeStartStop,omitempty"`
}

type ComputeSecrets

type ComputeSecrets interface {
}

type ComputeStartOperationResponse

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

type ComputeStartStopSchedule

type ComputeStartStopSchedule struct {
	Action             *ComputePowerAction `json:"action,omitempty"`
	Cron               *Cron               `json:"cron,omitempty"`
	Id                 *string             `json:"id,omitempty"`
	ProvisioningStatus *ProvisioningStatus `json:"provisioningStatus,omitempty"`
	Recurrence         *Recurrence         `json:"recurrence,omitempty"`
	Schedule           *ScheduleBase       `json:"schedule,omitempty"`
	Status             *ScheduleStatus     `json:"status,omitempty"`
	TriggerType        *TriggerType        `json:"triggerType,omitempty"`
}

type ComputeStopOperationResponse

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

type ComputeType

type ComputeType string
const (
	ComputeTypeAKS               ComputeType = "AKS"
	ComputeTypeAmlCompute        ComputeType = "AmlCompute"
	ComputeTypeComputeInstance   ComputeType = "ComputeInstance"
	ComputeTypeDataFactory       ComputeType = "DataFactory"
	ComputeTypeDataLakeAnalytics ComputeType = "DataLakeAnalytics"
	ComputeTypeDatabricks        ComputeType = "Databricks"
	ComputeTypeHDInsight         ComputeType = "HDInsight"
	ComputeTypeKubernetes        ComputeType = "Kubernetes"
	ComputeTypeSynapseSpark      ComputeType = "SynapseSpark"
	ComputeTypeVirtualMachine    ComputeType = "VirtualMachine"
)

func (*ComputeType) UnmarshalJSON added in v0.20230713.1092427

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

type ComputeUpdateOperationResponse

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

type Cron

type Cron struct {
	Expression *string `json:"expression,omitempty"`
	StartTime  *string `json:"startTime,omitempty"`
	TimeZone   *string `json:"timeZone,omitempty"`
}

type CustomService

type CustomService struct {
	Docker               *Docker                         `json:"docker,omitempty"`
	Endpoints            *[]Endpoint                     `json:"endpoints,omitempty"`
	EnvironmentVariables *map[string]EnvironmentVariable `json:"environmentVariables,omitempty"`
	Image                *Image                          `json:"image,omitempty"`
	Name                 *string                         `json:"name,omitempty"`
	Volumes              *[]VolumeDefinition             `json:"volumes,omitempty"`
}

type DataFactory

type DataFactory struct {

	// Fields inherited from Compute
	ComputeLocation    *string            `json:"computeLocation,omitempty"`
	CreatedOn          *string            `json:"createdOn,omitempty"`
	Description        *string            `json:"description,omitempty"`
	DisableLocalAuth   *bool              `json:"disableLocalAuth,omitempty"`
	IsAttachedCompute  *bool              `json:"isAttachedCompute,omitempty"`
	ModifiedOn         *string            `json:"modifiedOn,omitempty"`
	ProvisioningErrors *[]ErrorResponse   `json:"provisioningErrors,omitempty"`
	ProvisioningState  *ProvisioningState `json:"provisioningState,omitempty"`
	ResourceId         *string            `json:"resourceId,omitempty"`
}

func (*DataFactory) GetCreatedOnAsTime

func (o *DataFactory) GetCreatedOnAsTime() (*time.Time, error)

func (*DataFactory) GetModifiedOnAsTime

func (o *DataFactory) GetModifiedOnAsTime() (*time.Time, error)

func (DataFactory) MarshalJSON

func (s DataFactory) MarshalJSON() ([]byte, error)

func (*DataFactory) SetCreatedOnAsTime

func (o *DataFactory) SetCreatedOnAsTime(input time.Time)

func (*DataFactory) SetModifiedOnAsTime

func (o *DataFactory) SetModifiedOnAsTime(input time.Time)

type DataLakeAnalytics

type DataLakeAnalytics struct {
	Properties *DataLakeAnalyticsSchemaProperties `json:"properties,omitempty"`

	// Fields inherited from Compute
	ComputeLocation    *string            `json:"computeLocation,omitempty"`
	CreatedOn          *string            `json:"createdOn,omitempty"`
	Description        *string            `json:"description,omitempty"`
	DisableLocalAuth   *bool              `json:"disableLocalAuth,omitempty"`
	IsAttachedCompute  *bool              `json:"isAttachedCompute,omitempty"`
	ModifiedOn         *string            `json:"modifiedOn,omitempty"`
	ProvisioningErrors *[]ErrorResponse   `json:"provisioningErrors,omitempty"`
	ProvisioningState  *ProvisioningState `json:"provisioningState,omitempty"`
	ResourceId         *string            `json:"resourceId,omitempty"`
}

func (*DataLakeAnalytics) GetCreatedOnAsTime

func (o *DataLakeAnalytics) GetCreatedOnAsTime() (*time.Time, error)

func (*DataLakeAnalytics) GetModifiedOnAsTime

func (o *DataLakeAnalytics) GetModifiedOnAsTime() (*time.Time, error)

func (DataLakeAnalytics) MarshalJSON

func (s DataLakeAnalytics) MarshalJSON() ([]byte, error)

func (*DataLakeAnalytics) SetCreatedOnAsTime

func (o *DataLakeAnalytics) SetCreatedOnAsTime(input time.Time)

func (*DataLakeAnalytics) SetModifiedOnAsTime

func (o *DataLakeAnalytics) SetModifiedOnAsTime(input time.Time)

type DataLakeAnalyticsSchemaProperties

type DataLakeAnalyticsSchemaProperties struct {
	DataLakeStoreAccountName *string `json:"dataLakeStoreAccountName,omitempty"`
}

type Databricks

type Databricks struct {
	Properties *DatabricksProperties `json:"properties,omitempty"`

	// Fields inherited from Compute
	ComputeLocation    *string            `json:"computeLocation,omitempty"`
	CreatedOn          *string            `json:"createdOn,omitempty"`
	Description        *string            `json:"description,omitempty"`
	DisableLocalAuth   *bool              `json:"disableLocalAuth,omitempty"`
	IsAttachedCompute  *bool              `json:"isAttachedCompute,omitempty"`
	ModifiedOn         *string            `json:"modifiedOn,omitempty"`
	ProvisioningErrors *[]ErrorResponse   `json:"provisioningErrors,omitempty"`
	ProvisioningState  *ProvisioningState `json:"provisioningState,omitempty"`
	ResourceId         *string            `json:"resourceId,omitempty"`
}

func (*Databricks) GetCreatedOnAsTime

func (o *Databricks) GetCreatedOnAsTime() (*time.Time, error)

func (*Databricks) GetModifiedOnAsTime

func (o *Databricks) GetModifiedOnAsTime() (*time.Time, error)

func (Databricks) MarshalJSON

func (s Databricks) MarshalJSON() ([]byte, error)

func (*Databricks) SetCreatedOnAsTime

func (o *Databricks) SetCreatedOnAsTime(input time.Time)

func (*Databricks) SetModifiedOnAsTime

func (o *Databricks) SetModifiedOnAsTime(input time.Time)

type DatabricksComputeSecrets

type DatabricksComputeSecrets struct {
	DatabricksAccessToken *string `json:"databricksAccessToken,omitempty"`
}

func (DatabricksComputeSecrets) MarshalJSON

func (s DatabricksComputeSecrets) MarshalJSON() ([]byte, error)

type DatabricksProperties

type DatabricksProperties struct {
	DatabricksAccessToken *string `json:"databricksAccessToken,omitempty"`
	WorkspaceUrl          *string `json:"workspaceUrl,omitempty"`
}

type Docker

type Docker struct {
	Privileged *bool `json:"privileged,omitempty"`
}

type Endpoint

type Endpoint struct {
	HostIP    *string   `json:"hostIp,omitempty"`
	Name      *string   `json:"name,omitempty"`
	Protocol  *Protocol `json:"protocol,omitempty"`
	Published *int64    `json:"published,omitempty"`
	Target    *int64    `json:"target,omitempty"`
}

type EnvironmentVariable

type EnvironmentVariable struct {
	Type  *EnvironmentVariableType `json:"type,omitempty"`
	Value *string                  `json:"value,omitempty"`
}

type EnvironmentVariableType

type EnvironmentVariableType string
const (
	EnvironmentVariableTypeLocal EnvironmentVariableType = "local"
)

func (*EnvironmentVariableType) UnmarshalJSON added in v0.20230713.1092427

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

type ErrorAdditionalInfo

type ErrorAdditionalInfo struct {
	Info *interface{} `json:"info,omitempty"`
	Type *string      `json:"type,omitempty"`
}

type ErrorDetail

type ErrorDetail struct {
	AdditionalInfo *[]ErrorAdditionalInfo `json:"additionalInfo,omitempty"`
	Code           *string                `json:"code,omitempty"`
	Details        *[]ErrorDetail         `json:"details,omitempty"`
	Message        *string                `json:"message,omitempty"`
	Target         *string                `json:"target,omitempty"`
}

type ErrorResponse

type ErrorResponse struct {
	Error *ErrorDetail `json:"error,omitempty"`
}

type HDInsight

type HDInsight struct {
	Properties *HDInsightProperties `json:"properties,omitempty"`

	// Fields inherited from Compute
	ComputeLocation    *string            `json:"computeLocation,omitempty"`
	CreatedOn          *string            `json:"createdOn,omitempty"`
	Description        *string            `json:"description,omitempty"`
	DisableLocalAuth   *bool              `json:"disableLocalAuth,omitempty"`
	IsAttachedCompute  *bool              `json:"isAttachedCompute,omitempty"`
	ModifiedOn         *string            `json:"modifiedOn,omitempty"`
	ProvisioningErrors *[]ErrorResponse   `json:"provisioningErrors,omitempty"`
	ProvisioningState  *ProvisioningState `json:"provisioningState,omitempty"`
	ResourceId         *string            `json:"resourceId,omitempty"`
}

func (*HDInsight) GetCreatedOnAsTime

func (o *HDInsight) GetCreatedOnAsTime() (*time.Time, error)

func (*HDInsight) GetModifiedOnAsTime

func (o *HDInsight) GetModifiedOnAsTime() (*time.Time, error)

func (HDInsight) MarshalJSON

func (s HDInsight) MarshalJSON() ([]byte, error)

func (*HDInsight) SetCreatedOnAsTime

func (o *HDInsight) SetCreatedOnAsTime(input time.Time)

func (*HDInsight) SetModifiedOnAsTime

func (o *HDInsight) SetModifiedOnAsTime(input time.Time)

type HDInsightProperties

type HDInsightProperties struct {
	Address              *string                       `json:"address,omitempty"`
	AdministratorAccount *VirtualMachineSshCredentials `json:"administratorAccount,omitempty"`
	SshPort              *int64                        `json:"sshPort,omitempty"`
}

type Image

type Image struct {
	Reference *string    `json:"reference,omitempty"`
	Type      *ImageType `json:"type,omitempty"`
}

type ImageMetadata

type ImageMetadata struct {
	CurrentImageVersion    *string `json:"currentImageVersion,omitempty"`
	IsLatestOsImageVersion *bool   `json:"isLatestOsImageVersion,omitempty"`
	LatestImageVersion     *string `json:"latestImageVersion,omitempty"`
}

type ImageType

type ImageType string
const (
	ImageTypeAzureml ImageType = "azureml"
	ImageTypeDocker  ImageType = "docker"
)

func (*ImageType) UnmarshalJSON added in v0.20230713.1092427

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

type InstanceTypeSchema

type InstanceTypeSchema struct {
	NodeSelector *map[string]string           `json:"nodeSelector,omitempty"`
	Resources    *InstanceTypeSchemaResources `json:"resources,omitempty"`
}

type InstanceTypeSchemaResources

type InstanceTypeSchemaResources struct {
	Limits   *map[string]string `json:"limits,omitempty"`
	Requests *map[string]string `json:"requests,omitempty"`
}

type Kubernetes

type Kubernetes struct {
	Properties *KubernetesProperties `json:"properties,omitempty"`

	// Fields inherited from Compute
	ComputeLocation    *string            `json:"computeLocation,omitempty"`
	CreatedOn          *string            `json:"createdOn,omitempty"`
	Description        *string            `json:"description,omitempty"`
	DisableLocalAuth   *bool              `json:"disableLocalAuth,omitempty"`
	IsAttachedCompute  *bool              `json:"isAttachedCompute,omitempty"`
	ModifiedOn         *string            `json:"modifiedOn,omitempty"`
	ProvisioningErrors *[]ErrorResponse   `json:"provisioningErrors,omitempty"`
	ProvisioningState  *ProvisioningState `json:"provisioningState,omitempty"`
	ResourceId         *string            `json:"resourceId,omitempty"`
}

func (*Kubernetes) GetCreatedOnAsTime

func (o *Kubernetes) GetCreatedOnAsTime() (*time.Time, error)

func (*Kubernetes) GetModifiedOnAsTime

func (o *Kubernetes) GetModifiedOnAsTime() (*time.Time, error)

func (Kubernetes) MarshalJSON

func (s Kubernetes) MarshalJSON() ([]byte, error)

func (*Kubernetes) SetCreatedOnAsTime

func (o *Kubernetes) SetCreatedOnAsTime(input time.Time)

func (*Kubernetes) SetModifiedOnAsTime

func (o *Kubernetes) SetModifiedOnAsTime(input time.Time)

type KubernetesProperties

type KubernetesProperties struct {
	DefaultInstanceType           *string                        `json:"defaultInstanceType,omitempty"`
	ExtensionInstanceReleaseTrain *string                        `json:"extensionInstanceReleaseTrain,omitempty"`
	ExtensionPrincipalId          *string                        `json:"extensionPrincipalId,omitempty"`
	InstanceTypes                 *map[string]InstanceTypeSchema `json:"instanceTypes,omitempty"`
	Namespace                     *string                        `json:"namespace,omitempty"`
	RelayConnectionString         *string                        `json:"relayConnectionString,omitempty"`
	ServiceBusConnectionString    *string                        `json:"serviceBusConnectionString,omitempty"`
	VcName                        *string                        `json:"vcName,omitempty"`
}

type LoadBalancerType

type LoadBalancerType string
const (
	LoadBalancerTypeInternalLoadBalancer LoadBalancerType = "InternalLoadBalancer"
	LoadBalancerTypePublicIP             LoadBalancerType = "PublicIp"
)

func (*LoadBalancerType) UnmarshalJSON added in v0.20230713.1092427

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

type MountAction

type MountAction string
const (
	MountActionMount   MountAction = "Mount"
	MountActionUnmount MountAction = "Unmount"
)

func (*MountAction) UnmarshalJSON added in v0.20230713.1092427

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

type MountState

type MountState string
const (
	MountStateMountFailed      MountState = "MountFailed"
	MountStateMountRequested   MountState = "MountRequested"
	MountStateMounted          MountState = "Mounted"
	MountStateUnmountFailed    MountState = "UnmountFailed"
	MountStateUnmountRequested MountState = "UnmountRequested"
	MountStateUnmounted        MountState = "Unmounted"
)

func (*MountState) UnmarshalJSON added in v0.20230713.1092427

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

type Network

type Network string
const (
	NetworkBridge Network = "Bridge"
	NetworkHost   Network = "Host"
)

func (*Network) UnmarshalJSON added in v0.20230713.1092427

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

type NodeStateCounts

type NodeStateCounts struct {
	IdleNodeCount      *int64 `json:"idleNodeCount,omitempty"`
	LeavingNodeCount   *int64 `json:"leavingNodeCount,omitempty"`
	PreemptedNodeCount *int64 `json:"preemptedNodeCount,omitempty"`
	PreparingNodeCount *int64 `json:"preparingNodeCount,omitempty"`
	RunningNodeCount   *int64 `json:"runningNodeCount,omitempty"`
	UnusableNodeCount  *int64 `json:"unusableNodeCount,omitempty"`
}

type OperationName

type OperationName string
const (
	OperationNameCreate  OperationName = "Create"
	OperationNameDelete  OperationName = "Delete"
	OperationNameReimage OperationName = "Reimage"
	OperationNameRestart OperationName = "Restart"
	OperationNameStart   OperationName = "Start"
	OperationNameStop    OperationName = "Stop"
)

func (*OperationName) UnmarshalJSON added in v0.20230713.1092427

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

type OperationStatus

type OperationStatus string
const (
	OperationStatusCreateFailed  OperationStatus = "CreateFailed"
	OperationStatusDeleteFailed  OperationStatus = "DeleteFailed"
	OperationStatusInProgress    OperationStatus = "InProgress"
	OperationStatusReimageFailed OperationStatus = "ReimageFailed"
	OperationStatusRestartFailed OperationStatus = "RestartFailed"
	OperationStatusStartFailed   OperationStatus = "StartFailed"
	OperationStatusStopFailed    OperationStatus = "StopFailed"
	OperationStatusSucceeded     OperationStatus = "Succeeded"
)

func (*OperationStatus) UnmarshalJSON added in v0.20230713.1092427

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

type OperationTrigger

type OperationTrigger string
const (
	OperationTriggerIdleShutdown OperationTrigger = "IdleShutdown"
	OperationTriggerSchedule     OperationTrigger = "Schedule"
	OperationTriggerUser         OperationTrigger = "User"
)

func (*OperationTrigger) UnmarshalJSON added in v0.20230713.1092427

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

type OperationalizationClustersClient

type OperationalizationClustersClient struct {
	Client *resourcemanager.Client
}

func NewOperationalizationClustersClientWithBaseURI

func NewOperationalizationClustersClientWithBaseURI(sdkApi sdkEnv.Api) (*OperationalizationClustersClient, error)

func (OperationalizationClustersClient) ComputeCreateOrUpdate

ComputeCreateOrUpdate ...

func (OperationalizationClustersClient) ComputeCreateOrUpdateThenPoll

func (c OperationalizationClustersClient) ComputeCreateOrUpdateThenPoll(ctx context.Context, id ComputeId, input ComputeResource) error

ComputeCreateOrUpdateThenPoll performs ComputeCreateOrUpdate then polls until it's completed

func (OperationalizationClustersClient) ComputeDelete

ComputeDelete ...

func (OperationalizationClustersClient) ComputeDeleteThenPoll

ComputeDeleteThenPoll performs ComputeDelete then polls until it's completed

func (OperationalizationClustersClient) ComputeGet

ComputeGet ...

func (OperationalizationClustersClient) ComputeList

ComputeList ...

func (OperationalizationClustersClient) ComputeListComplete

ComputeListComplete retrieves all the results into a single object

func (OperationalizationClustersClient) ComputeListCompleteMatchingPredicate

func (c OperationalizationClustersClient) ComputeListCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, options ComputeListOperationOptions, predicate ComputeResourceOperationPredicate) (result ComputeListCompleteResult, err error)

ComputeListCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (OperationalizationClustersClient) ComputeListKeys

ComputeListKeys ...

func (OperationalizationClustersClient) ComputeRestart

ComputeRestart ...

func (OperationalizationClustersClient) ComputeRestartThenPoll

func (c OperationalizationClustersClient) ComputeRestartThenPoll(ctx context.Context, id ComputeId) error

ComputeRestartThenPoll performs ComputeRestart then polls until it's completed

func (OperationalizationClustersClient) ComputeStart

ComputeStart ...

func (OperationalizationClustersClient) ComputeStartThenPoll

func (c OperationalizationClustersClient) ComputeStartThenPoll(ctx context.Context, id ComputeId) error

ComputeStartThenPoll performs ComputeStart then polls until it's completed

func (OperationalizationClustersClient) ComputeStop

ComputeStop ...

func (OperationalizationClustersClient) ComputeStopThenPoll

func (c OperationalizationClustersClient) ComputeStopThenPoll(ctx context.Context, id ComputeId) error

ComputeStopThenPoll performs ComputeStop then polls until it's completed

func (OperationalizationClustersClient) ComputeUpdate

ComputeUpdate ...

func (OperationalizationClustersClient) ComputeUpdateThenPoll

ComputeUpdateThenPoll performs ComputeUpdate then polls until it's completed

type OsType

type OsType string
const (
	OsTypeLinux   OsType = "Linux"
	OsTypeWindows OsType = "Windows"
)

func (*OsType) UnmarshalJSON added in v0.20230713.1092427

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

type PersonalComputeInstanceSettings

type PersonalComputeInstanceSettings struct {
	AssignedUser *AssignedUser `json:"assignedUser,omitempty"`
}

type Protocol

type Protocol string
const (
	ProtocolHTTP Protocol = "http"
	ProtocolTcp  Protocol = "tcp"
	ProtocolUdp  Protocol = "udp"
)

func (*Protocol) UnmarshalJSON added in v0.20230713.1092427

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

type ProvisioningState

type ProvisioningState string
const (
	ProvisioningStateCanceled  ProvisioningState = "Canceled"
	ProvisioningStateCreating  ProvisioningState = "Creating"
	ProvisioningStateDeleting  ProvisioningState = "Deleting"
	ProvisioningStateFailed    ProvisioningState = "Failed"
	ProvisioningStateSucceeded ProvisioningState = "Succeeded"
	ProvisioningStateUnknown   ProvisioningState = "Unknown"
	ProvisioningStateUpdating  ProvisioningState = "Updating"
)

func (*ProvisioningState) UnmarshalJSON added in v0.20230713.1092427

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

type ProvisioningStatus

type ProvisioningStatus string
const (
	ProvisioningStatusCompleted    ProvisioningStatus = "Completed"
	ProvisioningStatusFailed       ProvisioningStatus = "Failed"
	ProvisioningStatusProvisioning ProvisioningStatus = "Provisioning"
)

func (*ProvisioningStatus) UnmarshalJSON added in v0.20230713.1092427

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

type RawComputeImpl added in v0.20230807.1063129

type RawComputeImpl struct {
	Type   string
	Values map[string]interface{}
}

RawComputeImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).

type RawComputeSecretsImpl added in v0.20230807.1063129

type RawComputeSecretsImpl struct {
	Type   string
	Values map[string]interface{}
}

RawComputeSecretsImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).

type Recurrence

type Recurrence struct {
	Frequency *RecurrenceFrequency `json:"frequency,omitempty"`
	Interval  *int64               `json:"interval,omitempty"`
	Schedule  *RecurrenceSchedule  `json:"schedule,omitempty"`
	StartTime *string              `json:"startTime,omitempty"`
	TimeZone  *string              `json:"timeZone,omitempty"`
}

type RecurrenceFrequency

type RecurrenceFrequency string
const (
	RecurrenceFrequencyDay    RecurrenceFrequency = "Day"
	RecurrenceFrequencyHour   RecurrenceFrequency = "Hour"
	RecurrenceFrequencyMinute RecurrenceFrequency = "Minute"
	RecurrenceFrequencyMonth  RecurrenceFrequency = "Month"
	RecurrenceFrequencyWeek   RecurrenceFrequency = "Week"
)

func (*RecurrenceFrequency) UnmarshalJSON added in v0.20230713.1092427

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

type RecurrenceSchedule

type RecurrenceSchedule struct {
	Hours     []int64    `json:"hours"`
	Minutes   []int64    `json:"minutes"`
	MonthDays *[]int64   `json:"monthDays,omitempty"`
	WeekDays  *[]WeekDay `json:"weekDays,omitempty"`
}

type RemoteLoginPortPublicAccess

type RemoteLoginPortPublicAccess string
const (
	RemoteLoginPortPublicAccessDisabled     RemoteLoginPortPublicAccess = "Disabled"
	RemoteLoginPortPublicAccessEnabled      RemoteLoginPortPublicAccess = "Enabled"
	RemoteLoginPortPublicAccessNotSpecified RemoteLoginPortPublicAccess = "NotSpecified"
)

func (*RemoteLoginPortPublicAccess) UnmarshalJSON added in v0.20230713.1092427

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

type ResourceId

type ResourceId struct {
	Id string `json:"id"`
}

type ScaleSettings

type ScaleSettings struct {
	MaxNodeCount                int64   `json:"maxNodeCount"`
	MinNodeCount                *int64  `json:"minNodeCount,omitempty"`
	NodeIdleTimeBeforeScaleDown *string `json:"nodeIdleTimeBeforeScaleDown,omitempty"`
}

type ScaleSettingsInformation

type ScaleSettingsInformation struct {
	ScaleSettings *ScaleSettings `json:"scaleSettings,omitempty"`
}

type ScheduleBase

type ScheduleBase struct {
	Id                 *string                    `json:"id,omitempty"`
	ProvisioningStatus *ScheduleProvisioningState `json:"provisioningStatus,omitempty"`
	Status             *ScheduleStatus            `json:"status,omitempty"`
}

type ScheduleProvisioningState

type ScheduleProvisioningState string
const (
	ScheduleProvisioningStateCompleted    ScheduleProvisioningState = "Completed"
	ScheduleProvisioningStateFailed       ScheduleProvisioningState = "Failed"
	ScheduleProvisioningStateProvisioning ScheduleProvisioningState = "Provisioning"
)

func (*ScheduleProvisioningState) UnmarshalJSON added in v0.20230713.1092427

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

type ScheduleStatus

type ScheduleStatus string
const (
	ScheduleStatusDisabled ScheduleStatus = "Disabled"
	ScheduleStatusEnabled  ScheduleStatus = "Enabled"
)

func (*ScheduleStatus) UnmarshalJSON added in v0.20230713.1092427

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

type ScriptReference

type ScriptReference struct {
	ScriptArguments *string `json:"scriptArguments,omitempty"`
	ScriptData      *string `json:"scriptData,omitempty"`
	ScriptSource    *string `json:"scriptSource,omitempty"`
	Timeout         *string `json:"timeout,omitempty"`
}

type ScriptsToExecute

type ScriptsToExecute struct {
	CreationScript *ScriptReference `json:"creationScript,omitempty"`
	StartupScript  *ScriptReference `json:"startupScript,omitempty"`
}

type SetupScripts

type SetupScripts struct {
	Scripts *ScriptsToExecute `json:"scripts,omitempty"`
}

type Sku

type Sku struct {
	Capacity *int64   `json:"capacity,omitempty"`
	Family   *string  `json:"family,omitempty"`
	Name     string   `json:"name"`
	Size     *string  `json:"size,omitempty"`
	Tier     *SkuTier `json:"tier,omitempty"`
}

type SkuTier

type SkuTier string
const (
	SkuTierBasic    SkuTier = "Basic"
	SkuTierFree     SkuTier = "Free"
	SkuTierPremium  SkuTier = "Premium"
	SkuTierStandard SkuTier = "Standard"
)

func (*SkuTier) UnmarshalJSON added in v0.20230713.1092427

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

type SourceType

type SourceType string
const (
	SourceTypeDataset   SourceType = "Dataset"
	SourceTypeDatastore SourceType = "Datastore"
	SourceTypeURI       SourceType = "URI"
)

func (*SourceType) UnmarshalJSON added in v0.20230713.1092427

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

type SshPublicAccess

type SshPublicAccess string
const (
	SshPublicAccessDisabled SshPublicAccess = "Disabled"
	SshPublicAccessEnabled  SshPublicAccess = "Enabled"
)

func (*SshPublicAccess) UnmarshalJSON added in v0.20230713.1092427

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

type SslConfigStatus

type SslConfigStatus string
const (
	SslConfigStatusAuto     SslConfigStatus = "Auto"
	SslConfigStatusDisabled SslConfigStatus = "Disabled"
	SslConfigStatusEnabled  SslConfigStatus = "Enabled"
)

func (*SslConfigStatus) UnmarshalJSON added in v0.20230713.1092427

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

type SslConfiguration

type SslConfiguration struct {
	Cert                    *string          `json:"cert,omitempty"`
	Cname                   *string          `json:"cname,omitempty"`
	Key                     *string          `json:"key,omitempty"`
	LeafDomainLabel         *string          `json:"leafDomainLabel,omitempty"`
	OverwriteExistingDomain *bool            `json:"overwriteExistingDomain,omitempty"`
	Status                  *SslConfigStatus `json:"status,omitempty"`
}

type StorageAccountType

type StorageAccountType string
const (
	StorageAccountTypePremiumLRS  StorageAccountType = "Premium_LRS"
	StorageAccountTypeStandardLRS StorageAccountType = "Standard_LRS"
)

func (*StorageAccountType) UnmarshalJSON added in v0.20230713.1092427

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

type SynapseSpark

type SynapseSpark struct {
	Properties *SynapseSparkProperties `json:"properties,omitempty"`

	// Fields inherited from Compute
	ComputeLocation    *string            `json:"computeLocation,omitempty"`
	CreatedOn          *string            `json:"createdOn,omitempty"`
	Description        *string            `json:"description,omitempty"`
	DisableLocalAuth   *bool              `json:"disableLocalAuth,omitempty"`
	IsAttachedCompute  *bool              `json:"isAttachedCompute,omitempty"`
	ModifiedOn         *string            `json:"modifiedOn,omitempty"`
	ProvisioningErrors *[]ErrorResponse   `json:"provisioningErrors,omitempty"`
	ProvisioningState  *ProvisioningState `json:"provisioningState,omitempty"`
	ResourceId         *string            `json:"resourceId,omitempty"`
}

func (*SynapseSpark) GetCreatedOnAsTime

func (o *SynapseSpark) GetCreatedOnAsTime() (*time.Time, error)

func (*SynapseSpark) GetModifiedOnAsTime

func (o *SynapseSpark) GetModifiedOnAsTime() (*time.Time, error)

func (SynapseSpark) MarshalJSON

func (s SynapseSpark) MarshalJSON() ([]byte, error)

func (*SynapseSpark) SetCreatedOnAsTime

func (o *SynapseSpark) SetCreatedOnAsTime(input time.Time)

func (*SynapseSpark) SetModifiedOnAsTime

func (o *SynapseSpark) SetModifiedOnAsTime(input time.Time)

type SynapseSparkProperties

type SynapseSparkProperties struct {
	AutoPauseProperties *AutoPauseProperties `json:"autoPauseProperties,omitempty"`
	AutoScaleProperties *AutoScaleProperties `json:"autoScaleProperties,omitempty"`
	NodeCount           *int64               `json:"nodeCount,omitempty"`
	NodeSize            *string              `json:"nodeSize,omitempty"`
	NodeSizeFamily      *string              `json:"nodeSizeFamily,omitempty"`
	PoolName            *string              `json:"poolName,omitempty"`
	ResourceGroup       *string              `json:"resourceGroup,omitempty"`
	SparkVersion        *string              `json:"sparkVersion,omitempty"`
	SubscriptionId      *string              `json:"subscriptionId,omitempty"`
	WorkspaceName       *string              `json:"workspaceName,omitempty"`
}

type SystemService

type SystemService struct {
	PublicIPAddress   *string `json:"publicIpAddress,omitempty"`
	SystemServiceType *string `json:"systemServiceType,omitempty"`
	Version           *string `json:"version,omitempty"`
}

type TmpfsOptions

type TmpfsOptions struct {
	Size *int64 `json:"size,omitempty"`
}

type TriggerType

type TriggerType string
const (
	TriggerTypeCron       TriggerType = "Cron"
	TriggerTypeRecurrence TriggerType = "Recurrence"
)

func (*TriggerType) UnmarshalJSON added in v0.20230713.1092427

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

type UnderlyingResourceAction

type UnderlyingResourceAction string
const (
	UnderlyingResourceActionDelete UnderlyingResourceAction = "Delete"
	UnderlyingResourceActionDetach UnderlyingResourceAction = "Detach"
)

func (*UnderlyingResourceAction) UnmarshalJSON added in v0.20230713.1092427

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

type UserAccountCredentials

type UserAccountCredentials struct {
	AdminUserName         string  `json:"adminUserName"`
	AdminUserPassword     *string `json:"adminUserPassword,omitempty"`
	AdminUserSshPublicKey *string `json:"adminUserSshPublicKey,omitempty"`
}

type VMPriority

type VMPriority string
const (
	VMPriorityDedicated   VMPriority = "Dedicated"
	VMPriorityLowPriority VMPriority = "LowPriority"
)

func (*VMPriority) UnmarshalJSON added in v0.20230713.1092427

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

type VirtualMachine

type VirtualMachine struct {
	Properties *VirtualMachineSchemaProperties `json:"properties,omitempty"`

	// Fields inherited from Compute
	ComputeLocation    *string            `json:"computeLocation,omitempty"`
	CreatedOn          *string            `json:"createdOn,omitempty"`
	Description        *string            `json:"description,omitempty"`
	DisableLocalAuth   *bool              `json:"disableLocalAuth,omitempty"`
	IsAttachedCompute  *bool              `json:"isAttachedCompute,omitempty"`
	ModifiedOn         *string            `json:"modifiedOn,omitempty"`
	ProvisioningErrors *[]ErrorResponse   `json:"provisioningErrors,omitempty"`
	ProvisioningState  *ProvisioningState `json:"provisioningState,omitempty"`
	ResourceId         *string            `json:"resourceId,omitempty"`
}

func (*VirtualMachine) GetCreatedOnAsTime

func (o *VirtualMachine) GetCreatedOnAsTime() (*time.Time, error)

func (*VirtualMachine) GetModifiedOnAsTime

func (o *VirtualMachine) GetModifiedOnAsTime() (*time.Time, error)

func (VirtualMachine) MarshalJSON

func (s VirtualMachine) MarshalJSON() ([]byte, error)

func (*VirtualMachine) SetCreatedOnAsTime

func (o *VirtualMachine) SetCreatedOnAsTime(input time.Time)

func (*VirtualMachine) SetModifiedOnAsTime

func (o *VirtualMachine) SetModifiedOnAsTime(input time.Time)

type VirtualMachineImage

type VirtualMachineImage struct {
	Id string `json:"id"`
}

type VirtualMachineSchemaProperties

type VirtualMachineSchemaProperties struct {
	Address                   *string                       `json:"address,omitempty"`
	AdministratorAccount      *VirtualMachineSshCredentials `json:"administratorAccount,omitempty"`
	IsNotebookInstanceCompute *bool                         `json:"isNotebookInstanceCompute,omitempty"`
	NotebookServerPort        *int64                        `json:"notebookServerPort,omitempty"`
	SshPort                   *int64                        `json:"sshPort,omitempty"`
	VirtualMachineSize        *string                       `json:"virtualMachineSize,omitempty"`
}

type VirtualMachineSecrets

type VirtualMachineSecrets struct {
	AdministratorAccount *VirtualMachineSshCredentials `json:"administratorAccount,omitempty"`
}

func (VirtualMachineSecrets) MarshalJSON

func (s VirtualMachineSecrets) MarshalJSON() ([]byte, error)

type VirtualMachineSshCredentials

type VirtualMachineSshCredentials struct {
	Password       *string `json:"password,omitempty"`
	PrivateKeyData *string `json:"privateKeyData,omitempty"`
	PublicKeyData  *string `json:"publicKeyData,omitempty"`
	Username       *string `json:"username,omitempty"`
}

type VolumeDefinition

type VolumeDefinition struct {
	Bind        *BindOptions          `json:"bind,omitempty"`
	Consistency *string               `json:"consistency,omitempty"`
	ReadOnly    *bool                 `json:"readOnly,omitempty"`
	Source      *string               `json:"source,omitempty"`
	Target      *string               `json:"target,omitempty"`
	Tmpfs       *TmpfsOptions         `json:"tmpfs,omitempty"`
	Type        *VolumeDefinitionType `json:"type,omitempty"`
	Volume      *VolumeOptions        `json:"volume,omitempty"`
}

type VolumeDefinitionType

type VolumeDefinitionType string
const (
	VolumeDefinitionTypeBind   VolumeDefinitionType = "bind"
	VolumeDefinitionTypeNpipe  VolumeDefinitionType = "npipe"
	VolumeDefinitionTypeTmpfs  VolumeDefinitionType = "tmpfs"
	VolumeDefinitionTypeVolume VolumeDefinitionType = "volume"
)

func (*VolumeDefinitionType) UnmarshalJSON added in v0.20230713.1092427

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

type VolumeOptions

type VolumeOptions struct {
	Nocopy *bool `json:"nocopy,omitempty"`
}

type WeekDay

type WeekDay string
const (
	WeekDayFriday    WeekDay = "Friday"
	WeekDayMonday    WeekDay = "Monday"
	WeekDaySaturday  WeekDay = "Saturday"
	WeekDaySunday    WeekDay = "Sunday"
	WeekDayThursday  WeekDay = "Thursday"
	WeekDayTuesday   WeekDay = "Tuesday"
	WeekDayWednesday WeekDay = "Wednesday"
)

func (*WeekDay) UnmarshalJSON added in v0.20230713.1092427

func (s *WeekDay) 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 added in v0.20231127.1171502

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

Source Files

Jump to

Keyboard shortcuts

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