Documentation ¶
Index ¶
- func PossibleValuesForEnableStatus() []string
- func PossibleValuesForHostCachingOptions() []string
- func PossibleValuesForStorageType() []string
- func PossibleValuesForTransportProtocol() []string
- func ValidateFormulaID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateLabID(input interface{}, key string) (warnings []string, errors []error)
- type ArtifactInstallProperties
- type ArtifactParameterProperties
- type AttachNewDataDiskOptions
- type BulkCreationParameters
- type CreateOrUpdateOperationResponse
- type DataDiskProperties
- type DayDetails
- type DeleteOperationResponse
- type EnableStatus
- type Formula
- type FormulaId
- type FormulaOperationPredicate
- type FormulaProperties
- type FormulaPropertiesFromVM
- type FormulasClient
- func (c FormulasClient) CreateOrUpdate(ctx context.Context, id FormulaId, input Formula) (result CreateOrUpdateOperationResponse, err error)
- func (c FormulasClient) CreateOrUpdateThenPoll(ctx context.Context, id FormulaId, input Formula) error
- func (c FormulasClient) Delete(ctx context.Context, id FormulaId) (result DeleteOperationResponse, err error)
- func (c FormulasClient) Get(ctx context.Context, id FormulaId, options GetOperationOptions) (result GetOperationResponse, err error)
- func (c FormulasClient) List(ctx context.Context, id LabId, options ListOperationOptions) (result ListOperationResponse, err error)
- func (c FormulasClient) ListComplete(ctx context.Context, id LabId, options ListOperationOptions) (ListCompleteResult, error)
- func (c FormulasClient) ListCompleteMatchingPredicate(ctx context.Context, id LabId, options ListOperationOptions, ...) (result ListCompleteResult, err error)
- func (c FormulasClient) Update(ctx context.Context, id FormulaId, input UpdateResource) (result UpdateOperationResponse, err error)
- type GalleryImageReference
- type GetOperationOptions
- type GetOperationResponse
- type HostCachingOptions
- type HourDetails
- type InboundNatRule
- type LabId
- type LabVirtualMachineCreationParameter
- type LabVirtualMachineCreationParameterProperties
- func (o *LabVirtualMachineCreationParameterProperties) GetCreatedDateAsTime() (*time.Time, error)
- func (o *LabVirtualMachineCreationParameterProperties) GetExpirationDateAsTime() (*time.Time, error)
- func (o *LabVirtualMachineCreationParameterProperties) SetCreatedDateAsTime(input time.Time)
- func (o *LabVirtualMachineCreationParameterProperties) SetExpirationDateAsTime(input time.Time)
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type NetworkInterfaceProperties
- type NotificationSettings
- type ScheduleCreationParameter
- type ScheduleCreationParameterProperties
- type SharedPublicIPAddressConfiguration
- type StorageType
- type TransportProtocol
- type UpdateOperationResponse
- type UpdateResource
- type WeekDetails
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForEnableStatus ¶
func PossibleValuesForEnableStatus() []string
func PossibleValuesForHostCachingOptions ¶
func PossibleValuesForHostCachingOptions() []string
func PossibleValuesForStorageType ¶
func PossibleValuesForStorageType() []string
func PossibleValuesForTransportProtocol ¶
func PossibleValuesForTransportProtocol() []string
func ValidateFormulaID ¶
ValidateFormulaID checks that 'input' can be parsed as a Formula ID
func ValidateLabID ¶
ValidateLabID checks that 'input' can be parsed as a Lab ID
Types ¶
type ArtifactInstallProperties ¶
type ArtifactInstallProperties struct { ArtifactId *string `json:"artifactId,omitempty"` ArtifactTitle *string `json:"artifactTitle,omitempty"` DeploymentStatusMessage *string `json:"deploymentStatusMessage,omitempty"` InstallTime *string `json:"installTime,omitempty"` Parameters *[]ArtifactParameterProperties `json:"parameters,omitempty"` Status *string `json:"status,omitempty"` VMExtensionStatusMessage *string `json:"vmExtensionStatusMessage,omitempty"` }
func (*ArtifactInstallProperties) GetInstallTimeAsTime ¶
func (o *ArtifactInstallProperties) GetInstallTimeAsTime() (*time.Time, error)
func (*ArtifactInstallProperties) SetInstallTimeAsTime ¶
func (o *ArtifactInstallProperties) SetInstallTimeAsTime(input time.Time)
type AttachNewDataDiskOptions ¶
type AttachNewDataDiskOptions struct { DiskName *string `json:"diskName,omitempty"` DiskSizeGiB *int64 `json:"diskSizeGiB,omitempty"` DiskType *StorageType `json:"diskType,omitempty"` }
type BulkCreationParameters ¶
type BulkCreationParameters struct {
InstanceCount *int64 `json:"instanceCount,omitempty"`
}
type DataDiskProperties ¶
type DataDiskProperties struct { AttachNewDataDiskOptions *AttachNewDataDiskOptions `json:"attachNewDataDiskOptions,omitempty"` ExistingLabDiskId *string `json:"existingLabDiskId,omitempty"` HostCaching *HostCachingOptions `json:"hostCaching,omitempty"` }
type DayDetails ¶
type DayDetails struct {
Time *string `json:"time,omitempty"`
}
type DeleteOperationResponse ¶
type EnableStatus ¶
type EnableStatus string
const ( EnableStatusDisabled EnableStatus = "Disabled" EnableStatusEnabled EnableStatus = "Enabled" )
func (*EnableStatus) UnmarshalJSON ¶
func (s *EnableStatus) UnmarshalJSON(bytes []byte) error
type FormulaId ¶
type FormulaId struct { SubscriptionId string ResourceGroupName string LabName string FormulaName string }
FormulaId is a struct representing the Resource ID for a Formula
func NewFormulaID ¶
func NewFormulaID(subscriptionId string, resourceGroupName string, labName string, formulaName string) FormulaId
NewFormulaID returns a new FormulaId struct
func ParseFormulaID ¶
ParseFormulaID parses 'input' into a FormulaId
func ParseFormulaIDInsensitively ¶
ParseFormulaIDInsensitively parses 'input' case-insensitively into a FormulaId note: this method should only be used for API response data and not user input
func (*FormulaId) FromParseResult ¶
func (id *FormulaId) FromParseResult(input resourceids.ParseResult) error
func (FormulaId) Segments ¶
func (id FormulaId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Formula ID
type FormulaOperationPredicate ¶
func (FormulaOperationPredicate) Matches ¶
func (p FormulaOperationPredicate) Matches(input Formula) bool
type FormulaProperties ¶
type FormulaProperties struct { Author *string `json:"author,omitempty"` CreationDate *string `json:"creationDate,omitempty"` Description *string `json:"description,omitempty"` FormulaContent *LabVirtualMachineCreationParameter `json:"formulaContent,omitempty"` OsType *string `json:"osType,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` UniqueIdentifier *string `json:"uniqueIdentifier,omitempty"` VM *FormulaPropertiesFromVM `json:"vm,omitempty"` }
func (*FormulaProperties) GetCreationDateAsTime ¶
func (o *FormulaProperties) GetCreationDateAsTime() (*time.Time, error)
func (*FormulaProperties) SetCreationDateAsTime ¶
func (o *FormulaProperties) SetCreationDateAsTime(input time.Time)
type FormulaPropertiesFromVM ¶
type FormulaPropertiesFromVM struct {
LabVMId *string `json:"labVmId,omitempty"`
}
type FormulasClient ¶
type FormulasClient struct {
Client *resourcemanager.Client
}
func NewFormulasClientWithBaseURI ¶
func NewFormulasClientWithBaseURI(sdkApi sdkEnv.Api) (*FormulasClient, error)
func (FormulasClient) CreateOrUpdate ¶
func (c FormulasClient) CreateOrUpdate(ctx context.Context, id FormulaId, input Formula) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (FormulasClient) CreateOrUpdateThenPoll ¶
func (c FormulasClient) CreateOrUpdateThenPoll(ctx context.Context, id FormulaId, input Formula) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (FormulasClient) Delete ¶
func (c FormulasClient) Delete(ctx context.Context, id FormulaId) (result DeleteOperationResponse, err error)
Delete ...
func (FormulasClient) Get ¶
func (c FormulasClient) Get(ctx context.Context, id FormulaId, options GetOperationOptions) (result GetOperationResponse, err error)
Get ...
func (FormulasClient) List ¶
func (c FormulasClient) List(ctx context.Context, id LabId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (FormulasClient) ListComplete ¶
func (c FormulasClient) ListComplete(ctx context.Context, id LabId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (FormulasClient) ListCompleteMatchingPredicate ¶
func (c FormulasClient) ListCompleteMatchingPredicate(ctx context.Context, id LabId, options ListOperationOptions, predicate FormulaOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (FormulasClient) Update ¶
func (c FormulasClient) Update(ctx context.Context, id FormulaId, input UpdateResource) (result UpdateOperationResponse, err error)
Update ...
type GalleryImageReference ¶
type GetOperationOptions ¶
type GetOperationOptions struct {
Expand *string
}
func DefaultGetOperationOptions ¶
func DefaultGetOperationOptions() GetOperationOptions
func (GetOperationOptions) ToHeaders ¶
func (o GetOperationOptions) ToHeaders() *client.Headers
func (GetOperationOptions) ToOData ¶
func (o GetOperationOptions) ToOData() *odata.Query
func (GetOperationOptions) ToQuery ¶
func (o GetOperationOptions) ToQuery() *client.QueryParams
type GetOperationResponse ¶
type HostCachingOptions ¶
type HostCachingOptions string
const ( HostCachingOptionsNone HostCachingOptions = "None" HostCachingOptionsReadOnly HostCachingOptions = "ReadOnly" HostCachingOptionsReadWrite HostCachingOptions = "ReadWrite" )
func (*HostCachingOptions) UnmarshalJSON ¶
func (s *HostCachingOptions) UnmarshalJSON(bytes []byte) error
type HourDetails ¶
type HourDetails struct {
Minute *int64 `json:"minute,omitempty"`
}
type InboundNatRule ¶
type InboundNatRule struct { BackendPort *int64 `json:"backendPort,omitempty"` FrontendPort *int64 `json:"frontendPort,omitempty"` TransportProtocol *TransportProtocol `json:"transportProtocol,omitempty"` }
type LabId ¶
LabId is a struct representing the Resource ID for a Lab
func ParseLabID ¶
ParseLabID parses 'input' into a LabId
func ParseLabIDInsensitively ¶
ParseLabIDInsensitively parses 'input' case-insensitively into a LabId note: this method should only be used for API response data and not user input
func (*LabId) FromParseResult ¶
func (id *LabId) FromParseResult(input resourceids.ParseResult) error
func (LabId) Segments ¶
func (id LabId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Lab ID
type LabVirtualMachineCreationParameter ¶
type LabVirtualMachineCreationParameter struct { Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *LabVirtualMachineCreationParameterProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type LabVirtualMachineCreationParameterProperties ¶
type LabVirtualMachineCreationParameterProperties struct { AllowClaim *bool `json:"allowClaim,omitempty"` Artifacts *[]ArtifactInstallProperties `json:"artifacts,omitempty"` BulkCreationParameters *BulkCreationParameters `json:"bulkCreationParameters,omitempty"` CreatedDate *string `json:"createdDate,omitempty"` CustomImageId *string `json:"customImageId,omitempty"` DataDiskParameters *[]DataDiskProperties `json:"dataDiskParameters,omitempty"` DisallowPublicIPAddress *bool `json:"disallowPublicIpAddress,omitempty"` EnvironmentId *string `json:"environmentId,omitempty"` ExpirationDate *string `json:"expirationDate,omitempty"` GalleryImageReference *GalleryImageReference `json:"galleryImageReference,omitempty"` IsAuthenticationWithSshKey *bool `json:"isAuthenticationWithSshKey,omitempty"` LabSubnetName *string `json:"labSubnetName,omitempty"` LabVirtualNetworkId *string `json:"labVirtualNetworkId,omitempty"` NetworkInterface *NetworkInterfaceProperties `json:"networkInterface,omitempty"` Notes *string `json:"notes,omitempty"` OwnerObjectId *string `json:"ownerObjectId,omitempty"` OwnerUserPrincipalName *string `json:"ownerUserPrincipalName,omitempty"` Password *string `json:"password,omitempty"` PlanId *string `json:"planId,omitempty"` ScheduleParameters *[]ScheduleCreationParameter `json:"scheduleParameters,omitempty"` Size *string `json:"size,omitempty"` SshKey *string `json:"sshKey,omitempty"` StorageType *string `json:"storageType,omitempty"` UserName *string `json:"userName,omitempty"` }
func (*LabVirtualMachineCreationParameterProperties) GetCreatedDateAsTime ¶
func (o *LabVirtualMachineCreationParameterProperties) GetCreatedDateAsTime() (*time.Time, error)
func (*LabVirtualMachineCreationParameterProperties) GetExpirationDateAsTime ¶
func (o *LabVirtualMachineCreationParameterProperties) GetExpirationDateAsTime() (*time.Time, error)
func (*LabVirtualMachineCreationParameterProperties) SetCreatedDateAsTime ¶
func (o *LabVirtualMachineCreationParameterProperties) SetCreatedDateAsTime(input time.Time)
func (*LabVirtualMachineCreationParameterProperties) SetExpirationDateAsTime ¶
func (o *LabVirtualMachineCreationParameterProperties) SetExpirationDateAsTime(input time.Time)
type ListCompleteResult ¶
type ListOperationOptions ¶
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 ¶
func (o ListOperationOptions) ToQuery() *client.QueryParams
type ListOperationResponse ¶
type NetworkInterfaceProperties ¶
type NetworkInterfaceProperties struct { DnsName *string `json:"dnsName,omitempty"` PrivateIPAddress *string `json:"privateIpAddress,omitempty"` PublicIPAddress *string `json:"publicIpAddress,omitempty"` PublicIPAddressId *string `json:"publicIpAddressId,omitempty"` RdpAuthority *string `json:"rdpAuthority,omitempty"` SshAuthority *string `json:"sshAuthority,omitempty"` SubnetId *string `json:"subnetId,omitempty"` VirtualNetworkId *string `json:"virtualNetworkId,omitempty"` }
type NotificationSettings ¶
type NotificationSettings struct { EmailRecipient *string `json:"emailRecipient,omitempty"` NotificationLocale *string `json:"notificationLocale,omitempty"` Status *EnableStatus `json:"status,omitempty"` TimeInMinutes *int64 `json:"timeInMinutes,omitempty"` WebhookUrl *string `json:"webhookUrl,omitempty"` }
type ScheduleCreationParameter ¶
type ScheduleCreationParameter struct { Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *ScheduleCreationParameterProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type ScheduleCreationParameterProperties ¶
type ScheduleCreationParameterProperties struct { DailyRecurrence *DayDetails `json:"dailyRecurrence,omitempty"` HourlyRecurrence *HourDetails `json:"hourlyRecurrence,omitempty"` NotificationSettings *NotificationSettings `json:"notificationSettings,omitempty"` Status *EnableStatus `json:"status,omitempty"` TargetResourceId *string `json:"targetResourceId,omitempty"` TaskType *string `json:"taskType,omitempty"` TimeZoneId *string `json:"timeZoneId,omitempty"` WeeklyRecurrence *WeekDetails `json:"weeklyRecurrence,omitempty"` }
type SharedPublicIPAddressConfiguration ¶
type SharedPublicIPAddressConfiguration struct {
}type StorageType ¶
type StorageType string
const ( StorageTypePremium StorageType = "Premium" StorageTypeStandard StorageType = "Standard" StorageTypeStandardSSD StorageType = "StandardSSD" )
func (*StorageType) UnmarshalJSON ¶
func (s *StorageType) UnmarshalJSON(bytes []byte) error
type TransportProtocol ¶
type TransportProtocol string
const ( TransportProtocolTcp TransportProtocol = "Tcp" TransportProtocolUdp TransportProtocol = "Udp" )
func (*TransportProtocol) UnmarshalJSON ¶
func (s *TransportProtocol) UnmarshalJSON(bytes []byte) error
type UpdateOperationResponse ¶
type UpdateResource ¶
type WeekDetails ¶
Source Files ¶
- client.go
- constants.go
- id_formula.go
- id_lab.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_list.go
- method_update.go
- model_artifactinstallproperties.go
- model_artifactparameterproperties.go
- model_attachnewdatadiskoptions.go
- model_bulkcreationparameters.go
- model_datadiskproperties.go
- model_daydetails.go
- model_formula.go
- model_formulaproperties.go
- model_formulapropertiesfromvm.go
- model_galleryimagereference.go
- model_hourdetails.go
- model_inboundnatrule.go
- model_labvirtualmachinecreationparameter.go
- model_labvirtualmachinecreationparameterproperties.go
- model_networkinterfaceproperties.go
- model_notificationsettings.go
- model_schedulecreationparameter.go
- model_schedulecreationparameterproperties.go
- model_sharedpublicipaddressconfiguration.go
- model_updateresource.go
- model_weekdetails.go
- predicates.go
- version.go