Documentation ¶
Index ¶
- type Lab
- type LabArgs
- type LabArray
- type LabArrayInput
- type LabArrayOutput
- type LabAutoShutdown
- type LabAutoShutdownArgs
- func (LabAutoShutdownArgs) ElementType() reflect.Type
- func (i LabAutoShutdownArgs) ToLabAutoShutdownOutput() LabAutoShutdownOutput
- func (i LabAutoShutdownArgs) ToLabAutoShutdownOutputWithContext(ctx context.Context) LabAutoShutdownOutput
- func (i LabAutoShutdownArgs) ToLabAutoShutdownPtrOutput() LabAutoShutdownPtrOutput
- func (i LabAutoShutdownArgs) ToLabAutoShutdownPtrOutputWithContext(ctx context.Context) LabAutoShutdownPtrOutput
- type LabAutoShutdownInput
- type LabAutoShutdownOutput
- func (o LabAutoShutdownOutput) DisconnectDelay() pulumi.StringPtrOutput
- func (LabAutoShutdownOutput) ElementType() reflect.Type
- func (o LabAutoShutdownOutput) IdleDelay() pulumi.StringPtrOutput
- func (o LabAutoShutdownOutput) NoConnectDelay() pulumi.StringPtrOutput
- func (o LabAutoShutdownOutput) ShutdownOnIdle() pulumi.StringPtrOutput
- func (o LabAutoShutdownOutput) ToLabAutoShutdownOutput() LabAutoShutdownOutput
- func (o LabAutoShutdownOutput) ToLabAutoShutdownOutputWithContext(ctx context.Context) LabAutoShutdownOutput
- func (o LabAutoShutdownOutput) ToLabAutoShutdownPtrOutput() LabAutoShutdownPtrOutput
- func (o LabAutoShutdownOutput) ToLabAutoShutdownPtrOutputWithContext(ctx context.Context) LabAutoShutdownPtrOutput
- type LabAutoShutdownPtrInput
- type LabAutoShutdownPtrOutput
- func (o LabAutoShutdownPtrOutput) DisconnectDelay() pulumi.StringPtrOutput
- func (o LabAutoShutdownPtrOutput) Elem() LabAutoShutdownOutput
- func (LabAutoShutdownPtrOutput) ElementType() reflect.Type
- func (o LabAutoShutdownPtrOutput) IdleDelay() pulumi.StringPtrOutput
- func (o LabAutoShutdownPtrOutput) NoConnectDelay() pulumi.StringPtrOutput
- func (o LabAutoShutdownPtrOutput) ShutdownOnIdle() pulumi.StringPtrOutput
- func (o LabAutoShutdownPtrOutput) ToLabAutoShutdownPtrOutput() LabAutoShutdownPtrOutput
- func (o LabAutoShutdownPtrOutput) ToLabAutoShutdownPtrOutputWithContext(ctx context.Context) LabAutoShutdownPtrOutput
- type LabConnectionSetting
- type LabConnectionSettingArgs
- func (LabConnectionSettingArgs) ElementType() reflect.Type
- func (i LabConnectionSettingArgs) ToLabConnectionSettingOutput() LabConnectionSettingOutput
- func (i LabConnectionSettingArgs) ToLabConnectionSettingOutputWithContext(ctx context.Context) LabConnectionSettingOutput
- func (i LabConnectionSettingArgs) ToLabConnectionSettingPtrOutput() LabConnectionSettingPtrOutput
- func (i LabConnectionSettingArgs) ToLabConnectionSettingPtrOutputWithContext(ctx context.Context) LabConnectionSettingPtrOutput
- type LabConnectionSettingInput
- type LabConnectionSettingOutput
- func (o LabConnectionSettingOutput) ClientRdpAccess() pulumi.StringPtrOutput
- func (o LabConnectionSettingOutput) ClientSshAccess() pulumi.StringPtrOutput
- func (LabConnectionSettingOutput) ElementType() reflect.Type
- func (o LabConnectionSettingOutput) ToLabConnectionSettingOutput() LabConnectionSettingOutput
- func (o LabConnectionSettingOutput) ToLabConnectionSettingOutputWithContext(ctx context.Context) LabConnectionSettingOutput
- func (o LabConnectionSettingOutput) ToLabConnectionSettingPtrOutput() LabConnectionSettingPtrOutput
- func (o LabConnectionSettingOutput) ToLabConnectionSettingPtrOutputWithContext(ctx context.Context) LabConnectionSettingPtrOutput
- type LabConnectionSettingPtrInput
- type LabConnectionSettingPtrOutput
- func (o LabConnectionSettingPtrOutput) ClientRdpAccess() pulumi.StringPtrOutput
- func (o LabConnectionSettingPtrOutput) ClientSshAccess() pulumi.StringPtrOutput
- func (o LabConnectionSettingPtrOutput) Elem() LabConnectionSettingOutput
- func (LabConnectionSettingPtrOutput) ElementType() reflect.Type
- func (o LabConnectionSettingPtrOutput) ToLabConnectionSettingPtrOutput() LabConnectionSettingPtrOutput
- func (o LabConnectionSettingPtrOutput) ToLabConnectionSettingPtrOutputWithContext(ctx context.Context) LabConnectionSettingPtrOutput
- type LabInput
- type LabMap
- type LabMapInput
- type LabMapOutput
- type LabNetwork
- type LabNetworkArgs
- func (LabNetworkArgs) ElementType() reflect.Type
- func (i LabNetworkArgs) ToLabNetworkOutput() LabNetworkOutput
- func (i LabNetworkArgs) ToLabNetworkOutputWithContext(ctx context.Context) LabNetworkOutput
- func (i LabNetworkArgs) ToLabNetworkPtrOutput() LabNetworkPtrOutput
- func (i LabNetworkArgs) ToLabNetworkPtrOutputWithContext(ctx context.Context) LabNetworkPtrOutput
- type LabNetworkInput
- type LabNetworkOutput
- func (LabNetworkOutput) ElementType() reflect.Type
- func (o LabNetworkOutput) LoadBalancerId() pulumi.StringPtrOutput
- func (o LabNetworkOutput) PublicIpId() pulumi.StringPtrOutput
- func (o LabNetworkOutput) SubnetId() pulumi.StringPtrOutput
- func (o LabNetworkOutput) ToLabNetworkOutput() LabNetworkOutput
- func (o LabNetworkOutput) ToLabNetworkOutputWithContext(ctx context.Context) LabNetworkOutput
- func (o LabNetworkOutput) ToLabNetworkPtrOutput() LabNetworkPtrOutput
- func (o LabNetworkOutput) ToLabNetworkPtrOutputWithContext(ctx context.Context) LabNetworkPtrOutput
- type LabNetworkPtrInput
- type LabNetworkPtrOutput
- func (o LabNetworkPtrOutput) Elem() LabNetworkOutput
- func (LabNetworkPtrOutput) ElementType() reflect.Type
- func (o LabNetworkPtrOutput) LoadBalancerId() pulumi.StringPtrOutput
- func (o LabNetworkPtrOutput) PublicIpId() pulumi.StringPtrOutput
- func (o LabNetworkPtrOutput) SubnetId() pulumi.StringPtrOutput
- func (o LabNetworkPtrOutput) ToLabNetworkPtrOutput() LabNetworkPtrOutput
- func (o LabNetworkPtrOutput) ToLabNetworkPtrOutputWithContext(ctx context.Context) LabNetworkPtrOutput
- type LabOutput
- func (o LabOutput) AutoShutdown() LabAutoShutdownPtrOutput
- func (o LabOutput) ConnectionSetting() LabConnectionSettingOutput
- func (o LabOutput) Description() pulumi.StringPtrOutput
- func (LabOutput) ElementType() reflect.Type
- func (o LabOutput) LabPlanId() pulumi.StringPtrOutput
- func (o LabOutput) Location() pulumi.StringOutput
- func (o LabOutput) Name() pulumi.StringOutput
- func (o LabOutput) Network() LabNetworkPtrOutput
- func (o LabOutput) ResourceGroupName() pulumi.StringOutput
- func (o LabOutput) Roster() LabRosterPtrOutput
- func (o LabOutput) Security() LabSecurityOutput
- func (o LabOutput) Tags() pulumi.StringMapOutput
- func (o LabOutput) Title() pulumi.StringOutput
- func (o LabOutput) ToLabOutput() LabOutput
- func (o LabOutput) ToLabOutputWithContext(ctx context.Context) LabOutput
- func (o LabOutput) VirtualMachine() LabVirtualMachineOutput
- type LabRoster
- type LabRosterArgs
- func (LabRosterArgs) ElementType() reflect.Type
- func (i LabRosterArgs) ToLabRosterOutput() LabRosterOutput
- func (i LabRosterArgs) ToLabRosterOutputWithContext(ctx context.Context) LabRosterOutput
- func (i LabRosterArgs) ToLabRosterPtrOutput() LabRosterPtrOutput
- func (i LabRosterArgs) ToLabRosterPtrOutputWithContext(ctx context.Context) LabRosterPtrOutput
- type LabRosterInput
- type LabRosterOutput
- func (o LabRosterOutput) ActiveDirectoryGroupId() pulumi.StringPtrOutput
- func (LabRosterOutput) ElementType() reflect.Type
- func (o LabRosterOutput) LmsInstance() pulumi.StringPtrOutput
- func (o LabRosterOutput) LtiClientId() pulumi.StringPtrOutput
- func (o LabRosterOutput) LtiContextId() pulumi.StringPtrOutput
- func (o LabRosterOutput) LtiRosterEndpoint() pulumi.StringPtrOutput
- func (o LabRosterOutput) ToLabRosterOutput() LabRosterOutput
- func (o LabRosterOutput) ToLabRosterOutputWithContext(ctx context.Context) LabRosterOutput
- func (o LabRosterOutput) ToLabRosterPtrOutput() LabRosterPtrOutput
- func (o LabRosterOutput) ToLabRosterPtrOutputWithContext(ctx context.Context) LabRosterPtrOutput
- type LabRosterPtrInput
- type LabRosterPtrOutput
- func (o LabRosterPtrOutput) ActiveDirectoryGroupId() pulumi.StringPtrOutput
- func (o LabRosterPtrOutput) Elem() LabRosterOutput
- func (LabRosterPtrOutput) ElementType() reflect.Type
- func (o LabRosterPtrOutput) LmsInstance() pulumi.StringPtrOutput
- func (o LabRosterPtrOutput) LtiClientId() pulumi.StringPtrOutput
- func (o LabRosterPtrOutput) LtiContextId() pulumi.StringPtrOutput
- func (o LabRosterPtrOutput) LtiRosterEndpoint() pulumi.StringPtrOutput
- func (o LabRosterPtrOutput) ToLabRosterPtrOutput() LabRosterPtrOutput
- func (o LabRosterPtrOutput) ToLabRosterPtrOutputWithContext(ctx context.Context) LabRosterPtrOutput
- type LabSecurity
- type LabSecurityArgs
- func (LabSecurityArgs) ElementType() reflect.Type
- func (i LabSecurityArgs) ToLabSecurityOutput() LabSecurityOutput
- func (i LabSecurityArgs) ToLabSecurityOutputWithContext(ctx context.Context) LabSecurityOutput
- func (i LabSecurityArgs) ToLabSecurityPtrOutput() LabSecurityPtrOutput
- func (i LabSecurityArgs) ToLabSecurityPtrOutputWithContext(ctx context.Context) LabSecurityPtrOutput
- type LabSecurityInput
- type LabSecurityOutput
- func (LabSecurityOutput) ElementType() reflect.Type
- func (o LabSecurityOutput) OpenAccessEnabled() pulumi.BoolOutput
- func (o LabSecurityOutput) RegistrationCode() pulumi.StringPtrOutput
- func (o LabSecurityOutput) ToLabSecurityOutput() LabSecurityOutput
- func (o LabSecurityOutput) ToLabSecurityOutputWithContext(ctx context.Context) LabSecurityOutput
- func (o LabSecurityOutput) ToLabSecurityPtrOutput() LabSecurityPtrOutput
- func (o LabSecurityOutput) ToLabSecurityPtrOutputWithContext(ctx context.Context) LabSecurityPtrOutput
- type LabSecurityPtrInput
- type LabSecurityPtrOutput
- func (o LabSecurityPtrOutput) Elem() LabSecurityOutput
- func (LabSecurityPtrOutput) ElementType() reflect.Type
- func (o LabSecurityPtrOutput) OpenAccessEnabled() pulumi.BoolPtrOutput
- func (o LabSecurityPtrOutput) RegistrationCode() pulumi.StringPtrOutput
- func (o LabSecurityPtrOutput) ToLabSecurityPtrOutput() LabSecurityPtrOutput
- func (o LabSecurityPtrOutput) ToLabSecurityPtrOutputWithContext(ctx context.Context) LabSecurityPtrOutput
- type LabState
- type LabVirtualMachine
- type LabVirtualMachineAdminUser
- type LabVirtualMachineAdminUserArgs
- func (LabVirtualMachineAdminUserArgs) ElementType() reflect.Type
- func (i LabVirtualMachineAdminUserArgs) ToLabVirtualMachineAdminUserOutput() LabVirtualMachineAdminUserOutput
- func (i LabVirtualMachineAdminUserArgs) ToLabVirtualMachineAdminUserOutputWithContext(ctx context.Context) LabVirtualMachineAdminUserOutput
- func (i LabVirtualMachineAdminUserArgs) ToLabVirtualMachineAdminUserPtrOutput() LabVirtualMachineAdminUserPtrOutput
- func (i LabVirtualMachineAdminUserArgs) ToLabVirtualMachineAdminUserPtrOutputWithContext(ctx context.Context) LabVirtualMachineAdminUserPtrOutput
- type LabVirtualMachineAdminUserInput
- type LabVirtualMachineAdminUserOutput
- func (LabVirtualMachineAdminUserOutput) ElementType() reflect.Type
- func (o LabVirtualMachineAdminUserOutput) Password() pulumi.StringOutput
- func (o LabVirtualMachineAdminUserOutput) ToLabVirtualMachineAdminUserOutput() LabVirtualMachineAdminUserOutput
- func (o LabVirtualMachineAdminUserOutput) ToLabVirtualMachineAdminUserOutputWithContext(ctx context.Context) LabVirtualMachineAdminUserOutput
- func (o LabVirtualMachineAdminUserOutput) ToLabVirtualMachineAdminUserPtrOutput() LabVirtualMachineAdminUserPtrOutput
- func (o LabVirtualMachineAdminUserOutput) ToLabVirtualMachineAdminUserPtrOutputWithContext(ctx context.Context) LabVirtualMachineAdminUserPtrOutput
- func (o LabVirtualMachineAdminUserOutput) Username() pulumi.StringOutput
- type LabVirtualMachineAdminUserPtrInput
- type LabVirtualMachineAdminUserPtrOutput
- func (o LabVirtualMachineAdminUserPtrOutput) Elem() LabVirtualMachineAdminUserOutput
- func (LabVirtualMachineAdminUserPtrOutput) ElementType() reflect.Type
- func (o LabVirtualMachineAdminUserPtrOutput) Password() pulumi.StringPtrOutput
- func (o LabVirtualMachineAdminUserPtrOutput) ToLabVirtualMachineAdminUserPtrOutput() LabVirtualMachineAdminUserPtrOutput
- func (o LabVirtualMachineAdminUserPtrOutput) ToLabVirtualMachineAdminUserPtrOutputWithContext(ctx context.Context) LabVirtualMachineAdminUserPtrOutput
- func (o LabVirtualMachineAdminUserPtrOutput) Username() pulumi.StringPtrOutput
- type LabVirtualMachineArgs
- func (LabVirtualMachineArgs) ElementType() reflect.Type
- func (i LabVirtualMachineArgs) ToLabVirtualMachineOutput() LabVirtualMachineOutput
- func (i LabVirtualMachineArgs) ToLabVirtualMachineOutputWithContext(ctx context.Context) LabVirtualMachineOutput
- func (i LabVirtualMachineArgs) ToLabVirtualMachinePtrOutput() LabVirtualMachinePtrOutput
- func (i LabVirtualMachineArgs) ToLabVirtualMachinePtrOutputWithContext(ctx context.Context) LabVirtualMachinePtrOutput
- type LabVirtualMachineImageReference
- type LabVirtualMachineImageReferenceArgs
- func (LabVirtualMachineImageReferenceArgs) ElementType() reflect.Type
- func (i LabVirtualMachineImageReferenceArgs) ToLabVirtualMachineImageReferenceOutput() LabVirtualMachineImageReferenceOutput
- func (i LabVirtualMachineImageReferenceArgs) ToLabVirtualMachineImageReferenceOutputWithContext(ctx context.Context) LabVirtualMachineImageReferenceOutput
- func (i LabVirtualMachineImageReferenceArgs) ToLabVirtualMachineImageReferencePtrOutput() LabVirtualMachineImageReferencePtrOutput
- func (i LabVirtualMachineImageReferenceArgs) ToLabVirtualMachineImageReferencePtrOutputWithContext(ctx context.Context) LabVirtualMachineImageReferencePtrOutput
- type LabVirtualMachineImageReferenceInput
- type LabVirtualMachineImageReferenceOutput
- func (LabVirtualMachineImageReferenceOutput) ElementType() reflect.Type
- func (o LabVirtualMachineImageReferenceOutput) Id() pulumi.StringPtrOutput
- func (o LabVirtualMachineImageReferenceOutput) Offer() pulumi.StringPtrOutput
- func (o LabVirtualMachineImageReferenceOutput) Publisher() pulumi.StringPtrOutput
- func (o LabVirtualMachineImageReferenceOutput) Sku() pulumi.StringPtrOutput
- func (o LabVirtualMachineImageReferenceOutput) ToLabVirtualMachineImageReferenceOutput() LabVirtualMachineImageReferenceOutput
- func (o LabVirtualMachineImageReferenceOutput) ToLabVirtualMachineImageReferenceOutputWithContext(ctx context.Context) LabVirtualMachineImageReferenceOutput
- func (o LabVirtualMachineImageReferenceOutput) ToLabVirtualMachineImageReferencePtrOutput() LabVirtualMachineImageReferencePtrOutput
- func (o LabVirtualMachineImageReferenceOutput) ToLabVirtualMachineImageReferencePtrOutputWithContext(ctx context.Context) LabVirtualMachineImageReferencePtrOutput
- func (o LabVirtualMachineImageReferenceOutput) Version() pulumi.StringPtrOutput
- type LabVirtualMachineImageReferencePtrInput
- type LabVirtualMachineImageReferencePtrOutput
- func (o LabVirtualMachineImageReferencePtrOutput) Elem() LabVirtualMachineImageReferenceOutput
- func (LabVirtualMachineImageReferencePtrOutput) ElementType() reflect.Type
- func (o LabVirtualMachineImageReferencePtrOutput) Id() pulumi.StringPtrOutput
- func (o LabVirtualMachineImageReferencePtrOutput) Offer() pulumi.StringPtrOutput
- func (o LabVirtualMachineImageReferencePtrOutput) Publisher() pulumi.StringPtrOutput
- func (o LabVirtualMachineImageReferencePtrOutput) Sku() pulumi.StringPtrOutput
- func (o LabVirtualMachineImageReferencePtrOutput) ToLabVirtualMachineImageReferencePtrOutput() LabVirtualMachineImageReferencePtrOutput
- func (o LabVirtualMachineImageReferencePtrOutput) ToLabVirtualMachineImageReferencePtrOutputWithContext(ctx context.Context) LabVirtualMachineImageReferencePtrOutput
- func (o LabVirtualMachineImageReferencePtrOutput) Version() pulumi.StringPtrOutput
- type LabVirtualMachineInput
- type LabVirtualMachineNonAdminUser
- type LabVirtualMachineNonAdminUserArgs
- func (LabVirtualMachineNonAdminUserArgs) ElementType() reflect.Type
- func (i LabVirtualMachineNonAdminUserArgs) ToLabVirtualMachineNonAdminUserOutput() LabVirtualMachineNonAdminUserOutput
- func (i LabVirtualMachineNonAdminUserArgs) ToLabVirtualMachineNonAdminUserOutputWithContext(ctx context.Context) LabVirtualMachineNonAdminUserOutput
- func (i LabVirtualMachineNonAdminUserArgs) ToLabVirtualMachineNonAdminUserPtrOutput() LabVirtualMachineNonAdminUserPtrOutput
- func (i LabVirtualMachineNonAdminUserArgs) ToLabVirtualMachineNonAdminUserPtrOutputWithContext(ctx context.Context) LabVirtualMachineNonAdminUserPtrOutput
- type LabVirtualMachineNonAdminUserInput
- type LabVirtualMachineNonAdminUserOutput
- func (LabVirtualMachineNonAdminUserOutput) ElementType() reflect.Type
- func (o LabVirtualMachineNonAdminUserOutput) Password() pulumi.StringOutput
- func (o LabVirtualMachineNonAdminUserOutput) ToLabVirtualMachineNonAdminUserOutput() LabVirtualMachineNonAdminUserOutput
- func (o LabVirtualMachineNonAdminUserOutput) ToLabVirtualMachineNonAdminUserOutputWithContext(ctx context.Context) LabVirtualMachineNonAdminUserOutput
- func (o LabVirtualMachineNonAdminUserOutput) ToLabVirtualMachineNonAdminUserPtrOutput() LabVirtualMachineNonAdminUserPtrOutput
- func (o LabVirtualMachineNonAdminUserOutput) ToLabVirtualMachineNonAdminUserPtrOutputWithContext(ctx context.Context) LabVirtualMachineNonAdminUserPtrOutput
- func (o LabVirtualMachineNonAdminUserOutput) Username() pulumi.StringOutput
- type LabVirtualMachineNonAdminUserPtrInput
- type LabVirtualMachineNonAdminUserPtrOutput
- func (o LabVirtualMachineNonAdminUserPtrOutput) Elem() LabVirtualMachineNonAdminUserOutput
- func (LabVirtualMachineNonAdminUserPtrOutput) ElementType() reflect.Type
- func (o LabVirtualMachineNonAdminUserPtrOutput) Password() pulumi.StringPtrOutput
- func (o LabVirtualMachineNonAdminUserPtrOutput) ToLabVirtualMachineNonAdminUserPtrOutput() LabVirtualMachineNonAdminUserPtrOutput
- func (o LabVirtualMachineNonAdminUserPtrOutput) ToLabVirtualMachineNonAdminUserPtrOutputWithContext(ctx context.Context) LabVirtualMachineNonAdminUserPtrOutput
- func (o LabVirtualMachineNonAdminUserPtrOutput) Username() pulumi.StringPtrOutput
- type LabVirtualMachineOutput
- func (o LabVirtualMachineOutput) AdditionalCapabilityGpuDriversInstalled() pulumi.BoolPtrOutput
- func (o LabVirtualMachineOutput) AdminUser() LabVirtualMachineAdminUserOutput
- func (o LabVirtualMachineOutput) CreateOption() pulumi.StringPtrOutput
- func (LabVirtualMachineOutput) ElementType() reflect.Type
- func (o LabVirtualMachineOutput) ImageReference() LabVirtualMachineImageReferenceOutput
- func (o LabVirtualMachineOutput) NonAdminUser() LabVirtualMachineNonAdminUserPtrOutput
- func (o LabVirtualMachineOutput) SharedPasswordEnabled() pulumi.BoolPtrOutput
- func (o LabVirtualMachineOutput) Sku() LabVirtualMachineSkuOutput
- func (o LabVirtualMachineOutput) ToLabVirtualMachineOutput() LabVirtualMachineOutput
- func (o LabVirtualMachineOutput) ToLabVirtualMachineOutputWithContext(ctx context.Context) LabVirtualMachineOutput
- func (o LabVirtualMachineOutput) ToLabVirtualMachinePtrOutput() LabVirtualMachinePtrOutput
- func (o LabVirtualMachineOutput) ToLabVirtualMachinePtrOutputWithContext(ctx context.Context) LabVirtualMachinePtrOutput
- func (o LabVirtualMachineOutput) UsageQuota() pulumi.StringPtrOutput
- type LabVirtualMachinePtrInput
- type LabVirtualMachinePtrOutput
- func (o LabVirtualMachinePtrOutput) AdditionalCapabilityGpuDriversInstalled() pulumi.BoolPtrOutput
- func (o LabVirtualMachinePtrOutput) AdminUser() LabVirtualMachineAdminUserPtrOutput
- func (o LabVirtualMachinePtrOutput) CreateOption() pulumi.StringPtrOutput
- func (o LabVirtualMachinePtrOutput) Elem() LabVirtualMachineOutput
- func (LabVirtualMachinePtrOutput) ElementType() reflect.Type
- func (o LabVirtualMachinePtrOutput) ImageReference() LabVirtualMachineImageReferencePtrOutput
- func (o LabVirtualMachinePtrOutput) NonAdminUser() LabVirtualMachineNonAdminUserPtrOutput
- func (o LabVirtualMachinePtrOutput) SharedPasswordEnabled() pulumi.BoolPtrOutput
- func (o LabVirtualMachinePtrOutput) Sku() LabVirtualMachineSkuPtrOutput
- func (o LabVirtualMachinePtrOutput) ToLabVirtualMachinePtrOutput() LabVirtualMachinePtrOutput
- func (o LabVirtualMachinePtrOutput) ToLabVirtualMachinePtrOutputWithContext(ctx context.Context) LabVirtualMachinePtrOutput
- func (o LabVirtualMachinePtrOutput) UsageQuota() pulumi.StringPtrOutput
- type LabVirtualMachineSku
- type LabVirtualMachineSkuArgs
- func (LabVirtualMachineSkuArgs) ElementType() reflect.Type
- func (i LabVirtualMachineSkuArgs) ToLabVirtualMachineSkuOutput() LabVirtualMachineSkuOutput
- func (i LabVirtualMachineSkuArgs) ToLabVirtualMachineSkuOutputWithContext(ctx context.Context) LabVirtualMachineSkuOutput
- func (i LabVirtualMachineSkuArgs) ToLabVirtualMachineSkuPtrOutput() LabVirtualMachineSkuPtrOutput
- func (i LabVirtualMachineSkuArgs) ToLabVirtualMachineSkuPtrOutputWithContext(ctx context.Context) LabVirtualMachineSkuPtrOutput
- type LabVirtualMachineSkuInput
- type LabVirtualMachineSkuOutput
- func (o LabVirtualMachineSkuOutput) Capacity() pulumi.IntOutput
- func (LabVirtualMachineSkuOutput) ElementType() reflect.Type
- func (o LabVirtualMachineSkuOutput) Name() pulumi.StringOutput
- func (o LabVirtualMachineSkuOutput) ToLabVirtualMachineSkuOutput() LabVirtualMachineSkuOutput
- func (o LabVirtualMachineSkuOutput) ToLabVirtualMachineSkuOutputWithContext(ctx context.Context) LabVirtualMachineSkuOutput
- func (o LabVirtualMachineSkuOutput) ToLabVirtualMachineSkuPtrOutput() LabVirtualMachineSkuPtrOutput
- func (o LabVirtualMachineSkuOutput) ToLabVirtualMachineSkuPtrOutputWithContext(ctx context.Context) LabVirtualMachineSkuPtrOutput
- type LabVirtualMachineSkuPtrInput
- type LabVirtualMachineSkuPtrOutput
- func (o LabVirtualMachineSkuPtrOutput) Capacity() pulumi.IntPtrOutput
- func (o LabVirtualMachineSkuPtrOutput) Elem() LabVirtualMachineSkuOutput
- func (LabVirtualMachineSkuPtrOutput) ElementType() reflect.Type
- func (o LabVirtualMachineSkuPtrOutput) Name() pulumi.StringPtrOutput
- func (o LabVirtualMachineSkuPtrOutput) ToLabVirtualMachineSkuPtrOutput() LabVirtualMachineSkuPtrOutput
- func (o LabVirtualMachineSkuPtrOutput) ToLabVirtualMachineSkuPtrOutputWithContext(ctx context.Context) LabVirtualMachineSkuPtrOutput
- type Schedule
- type ScheduleArgs
- type ScheduleArray
- type ScheduleArrayInput
- type ScheduleArrayOutput
- type ScheduleInput
- type ScheduleMap
- type ScheduleMapInput
- type ScheduleMapOutput
- type ScheduleOutput
- func (ScheduleOutput) ElementType() reflect.Type
- func (o ScheduleOutput) LabId() pulumi.StringOutput
- func (o ScheduleOutput) Name() pulumi.StringOutput
- func (o ScheduleOutput) Notes() pulumi.StringPtrOutput
- func (o ScheduleOutput) Recurrence() ScheduleRecurrencePtrOutput
- func (o ScheduleOutput) StartTime() pulumi.StringPtrOutput
- func (o ScheduleOutput) StopTime() pulumi.StringOutput
- func (o ScheduleOutput) TimeZone() pulumi.StringOutput
- func (o ScheduleOutput) ToScheduleOutput() ScheduleOutput
- func (o ScheduleOutput) ToScheduleOutputWithContext(ctx context.Context) ScheduleOutput
- type ScheduleRecurrence
- type ScheduleRecurrenceArgs
- func (ScheduleRecurrenceArgs) ElementType() reflect.Type
- func (i ScheduleRecurrenceArgs) ToScheduleRecurrenceOutput() ScheduleRecurrenceOutput
- func (i ScheduleRecurrenceArgs) ToScheduleRecurrenceOutputWithContext(ctx context.Context) ScheduleRecurrenceOutput
- func (i ScheduleRecurrenceArgs) ToScheduleRecurrencePtrOutput() ScheduleRecurrencePtrOutput
- func (i ScheduleRecurrenceArgs) ToScheduleRecurrencePtrOutputWithContext(ctx context.Context) ScheduleRecurrencePtrOutput
- type ScheduleRecurrenceInput
- type ScheduleRecurrenceOutput
- func (ScheduleRecurrenceOutput) ElementType() reflect.Type
- func (o ScheduleRecurrenceOutput) ExpirationDate() pulumi.StringOutput
- func (o ScheduleRecurrenceOutput) Frequency() pulumi.StringOutput
- func (o ScheduleRecurrenceOutput) Interval() pulumi.IntPtrOutput
- func (o ScheduleRecurrenceOutput) ToScheduleRecurrenceOutput() ScheduleRecurrenceOutput
- func (o ScheduleRecurrenceOutput) ToScheduleRecurrenceOutputWithContext(ctx context.Context) ScheduleRecurrenceOutput
- func (o ScheduleRecurrenceOutput) ToScheduleRecurrencePtrOutput() ScheduleRecurrencePtrOutput
- func (o ScheduleRecurrenceOutput) ToScheduleRecurrencePtrOutputWithContext(ctx context.Context) ScheduleRecurrencePtrOutput
- func (o ScheduleRecurrenceOutput) WeekDays() pulumi.StringArrayOutput
- type ScheduleRecurrencePtrInput
- type ScheduleRecurrencePtrOutput
- func (o ScheduleRecurrencePtrOutput) Elem() ScheduleRecurrenceOutput
- func (ScheduleRecurrencePtrOutput) ElementType() reflect.Type
- func (o ScheduleRecurrencePtrOutput) ExpirationDate() pulumi.StringPtrOutput
- func (o ScheduleRecurrencePtrOutput) Frequency() pulumi.StringPtrOutput
- func (o ScheduleRecurrencePtrOutput) Interval() pulumi.IntPtrOutput
- func (o ScheduleRecurrencePtrOutput) ToScheduleRecurrencePtrOutput() ScheduleRecurrencePtrOutput
- func (o ScheduleRecurrencePtrOutput) ToScheduleRecurrencePtrOutputWithContext(ctx context.Context) ScheduleRecurrencePtrOutput
- func (o ScheduleRecurrencePtrOutput) WeekDays() pulumi.StringArrayOutput
- type ScheduleState
- type ServicePlan
- type ServicePlanArgs
- type ServicePlanArray
- type ServicePlanArrayInput
- type ServicePlanArrayOutput
- func (ServicePlanArrayOutput) ElementType() reflect.Type
- func (o ServicePlanArrayOutput) Index(i pulumi.IntInput) ServicePlanOutput
- func (o ServicePlanArrayOutput) ToServicePlanArrayOutput() ServicePlanArrayOutput
- func (o ServicePlanArrayOutput) ToServicePlanArrayOutputWithContext(ctx context.Context) ServicePlanArrayOutput
- type ServicePlanDefaultAutoShutdown
- type ServicePlanDefaultAutoShutdownArgs
- func (ServicePlanDefaultAutoShutdownArgs) ElementType() reflect.Type
- func (i ServicePlanDefaultAutoShutdownArgs) ToServicePlanDefaultAutoShutdownOutput() ServicePlanDefaultAutoShutdownOutput
- func (i ServicePlanDefaultAutoShutdownArgs) ToServicePlanDefaultAutoShutdownOutputWithContext(ctx context.Context) ServicePlanDefaultAutoShutdownOutput
- func (i ServicePlanDefaultAutoShutdownArgs) ToServicePlanDefaultAutoShutdownPtrOutput() ServicePlanDefaultAutoShutdownPtrOutput
- func (i ServicePlanDefaultAutoShutdownArgs) ToServicePlanDefaultAutoShutdownPtrOutputWithContext(ctx context.Context) ServicePlanDefaultAutoShutdownPtrOutput
- type ServicePlanDefaultAutoShutdownInput
- type ServicePlanDefaultAutoShutdownOutput
- func (o ServicePlanDefaultAutoShutdownOutput) DisconnectDelay() pulumi.StringPtrOutput
- func (ServicePlanDefaultAutoShutdownOutput) ElementType() reflect.Type
- func (o ServicePlanDefaultAutoShutdownOutput) IdleDelay() pulumi.StringPtrOutput
- func (o ServicePlanDefaultAutoShutdownOutput) NoConnectDelay() pulumi.StringPtrOutput
- func (o ServicePlanDefaultAutoShutdownOutput) ShutdownOnIdle() pulumi.StringPtrOutput
- func (o ServicePlanDefaultAutoShutdownOutput) ToServicePlanDefaultAutoShutdownOutput() ServicePlanDefaultAutoShutdownOutput
- func (o ServicePlanDefaultAutoShutdownOutput) ToServicePlanDefaultAutoShutdownOutputWithContext(ctx context.Context) ServicePlanDefaultAutoShutdownOutput
- func (o ServicePlanDefaultAutoShutdownOutput) ToServicePlanDefaultAutoShutdownPtrOutput() ServicePlanDefaultAutoShutdownPtrOutput
- func (o ServicePlanDefaultAutoShutdownOutput) ToServicePlanDefaultAutoShutdownPtrOutputWithContext(ctx context.Context) ServicePlanDefaultAutoShutdownPtrOutput
- type ServicePlanDefaultAutoShutdownPtrInput
- type ServicePlanDefaultAutoShutdownPtrOutput
- func (o ServicePlanDefaultAutoShutdownPtrOutput) DisconnectDelay() pulumi.StringPtrOutput
- func (o ServicePlanDefaultAutoShutdownPtrOutput) Elem() ServicePlanDefaultAutoShutdownOutput
- func (ServicePlanDefaultAutoShutdownPtrOutput) ElementType() reflect.Type
- func (o ServicePlanDefaultAutoShutdownPtrOutput) IdleDelay() pulumi.StringPtrOutput
- func (o ServicePlanDefaultAutoShutdownPtrOutput) NoConnectDelay() pulumi.StringPtrOutput
- func (o ServicePlanDefaultAutoShutdownPtrOutput) ShutdownOnIdle() pulumi.StringPtrOutput
- func (o ServicePlanDefaultAutoShutdownPtrOutput) ToServicePlanDefaultAutoShutdownPtrOutput() ServicePlanDefaultAutoShutdownPtrOutput
- func (o ServicePlanDefaultAutoShutdownPtrOutput) ToServicePlanDefaultAutoShutdownPtrOutputWithContext(ctx context.Context) ServicePlanDefaultAutoShutdownPtrOutput
- type ServicePlanDefaultConnection
- type ServicePlanDefaultConnectionArgs
- func (ServicePlanDefaultConnectionArgs) ElementType() reflect.Type
- func (i ServicePlanDefaultConnectionArgs) ToServicePlanDefaultConnectionOutput() ServicePlanDefaultConnectionOutput
- func (i ServicePlanDefaultConnectionArgs) ToServicePlanDefaultConnectionOutputWithContext(ctx context.Context) ServicePlanDefaultConnectionOutput
- func (i ServicePlanDefaultConnectionArgs) ToServicePlanDefaultConnectionPtrOutput() ServicePlanDefaultConnectionPtrOutput
- func (i ServicePlanDefaultConnectionArgs) ToServicePlanDefaultConnectionPtrOutputWithContext(ctx context.Context) ServicePlanDefaultConnectionPtrOutput
- type ServicePlanDefaultConnectionInput
- type ServicePlanDefaultConnectionOutput
- func (o ServicePlanDefaultConnectionOutput) ClientRdpAccess() pulumi.StringPtrOutput
- func (o ServicePlanDefaultConnectionOutput) ClientSshAccess() pulumi.StringPtrOutput
- func (ServicePlanDefaultConnectionOutput) ElementType() reflect.Type
- func (o ServicePlanDefaultConnectionOutput) ToServicePlanDefaultConnectionOutput() ServicePlanDefaultConnectionOutput
- func (o ServicePlanDefaultConnectionOutput) ToServicePlanDefaultConnectionOutputWithContext(ctx context.Context) ServicePlanDefaultConnectionOutput
- func (o ServicePlanDefaultConnectionOutput) ToServicePlanDefaultConnectionPtrOutput() ServicePlanDefaultConnectionPtrOutput
- func (o ServicePlanDefaultConnectionOutput) ToServicePlanDefaultConnectionPtrOutputWithContext(ctx context.Context) ServicePlanDefaultConnectionPtrOutput
- func (o ServicePlanDefaultConnectionOutput) WebRdpAccess() pulumi.StringPtrOutput
- func (o ServicePlanDefaultConnectionOutput) WebSshAccess() pulumi.StringPtrOutput
- type ServicePlanDefaultConnectionPtrInput
- type ServicePlanDefaultConnectionPtrOutput
- func (o ServicePlanDefaultConnectionPtrOutput) ClientRdpAccess() pulumi.StringPtrOutput
- func (o ServicePlanDefaultConnectionPtrOutput) ClientSshAccess() pulumi.StringPtrOutput
- func (o ServicePlanDefaultConnectionPtrOutput) Elem() ServicePlanDefaultConnectionOutput
- func (ServicePlanDefaultConnectionPtrOutput) ElementType() reflect.Type
- func (o ServicePlanDefaultConnectionPtrOutput) ToServicePlanDefaultConnectionPtrOutput() ServicePlanDefaultConnectionPtrOutput
- func (o ServicePlanDefaultConnectionPtrOutput) ToServicePlanDefaultConnectionPtrOutputWithContext(ctx context.Context) ServicePlanDefaultConnectionPtrOutput
- func (o ServicePlanDefaultConnectionPtrOutput) WebRdpAccess() pulumi.StringPtrOutput
- func (o ServicePlanDefaultConnectionPtrOutput) WebSshAccess() pulumi.StringPtrOutput
- type ServicePlanInput
- type ServicePlanMap
- type ServicePlanMapInput
- type ServicePlanMapOutput
- func (ServicePlanMapOutput) ElementType() reflect.Type
- func (o ServicePlanMapOutput) MapIndex(k pulumi.StringInput) ServicePlanOutput
- func (o ServicePlanMapOutput) ToServicePlanMapOutput() ServicePlanMapOutput
- func (o ServicePlanMapOutput) ToServicePlanMapOutputWithContext(ctx context.Context) ServicePlanMapOutput
- type ServicePlanOutput
- func (o ServicePlanOutput) AllowedRegions() pulumi.StringArrayOutput
- func (o ServicePlanOutput) DefaultAutoShutdown() ServicePlanDefaultAutoShutdownPtrOutput
- func (o ServicePlanOutput) DefaultConnection() ServicePlanDefaultConnectionPtrOutput
- func (o ServicePlanOutput) DefaultNetworkSubnetId() pulumi.StringPtrOutput
- func (ServicePlanOutput) ElementType() reflect.Type
- func (o ServicePlanOutput) Location() pulumi.StringOutput
- func (o ServicePlanOutput) Name() pulumi.StringOutput
- func (o ServicePlanOutput) ResourceGroupName() pulumi.StringOutput
- func (o ServicePlanOutput) SharedGalleryId() pulumi.StringPtrOutput
- func (o ServicePlanOutput) Support() ServicePlanSupportPtrOutput
- func (o ServicePlanOutput) Tags() pulumi.StringMapOutput
- func (o ServicePlanOutput) ToServicePlanOutput() ServicePlanOutput
- func (o ServicePlanOutput) ToServicePlanOutputWithContext(ctx context.Context) ServicePlanOutput
- type ServicePlanState
- type ServicePlanSupport
- type ServicePlanSupportArgs
- func (ServicePlanSupportArgs) ElementType() reflect.Type
- func (i ServicePlanSupportArgs) ToServicePlanSupportOutput() ServicePlanSupportOutput
- func (i ServicePlanSupportArgs) ToServicePlanSupportOutputWithContext(ctx context.Context) ServicePlanSupportOutput
- func (i ServicePlanSupportArgs) ToServicePlanSupportPtrOutput() ServicePlanSupportPtrOutput
- func (i ServicePlanSupportArgs) ToServicePlanSupportPtrOutputWithContext(ctx context.Context) ServicePlanSupportPtrOutput
- type ServicePlanSupportInput
- type ServicePlanSupportOutput
- func (ServicePlanSupportOutput) ElementType() reflect.Type
- func (o ServicePlanSupportOutput) Email() pulumi.StringPtrOutput
- func (o ServicePlanSupportOutput) Instructions() pulumi.StringPtrOutput
- func (o ServicePlanSupportOutput) Phone() pulumi.StringPtrOutput
- func (o ServicePlanSupportOutput) ToServicePlanSupportOutput() ServicePlanSupportOutput
- func (o ServicePlanSupportOutput) ToServicePlanSupportOutputWithContext(ctx context.Context) ServicePlanSupportOutput
- func (o ServicePlanSupportOutput) ToServicePlanSupportPtrOutput() ServicePlanSupportPtrOutput
- func (o ServicePlanSupportOutput) ToServicePlanSupportPtrOutputWithContext(ctx context.Context) ServicePlanSupportPtrOutput
- func (o ServicePlanSupportOutput) Url() pulumi.StringPtrOutput
- type ServicePlanSupportPtrInput
- type ServicePlanSupportPtrOutput
- func (o ServicePlanSupportPtrOutput) Elem() ServicePlanSupportOutput
- func (ServicePlanSupportPtrOutput) ElementType() reflect.Type
- func (o ServicePlanSupportPtrOutput) Email() pulumi.StringPtrOutput
- func (o ServicePlanSupportPtrOutput) Instructions() pulumi.StringPtrOutput
- func (o ServicePlanSupportPtrOutput) Phone() pulumi.StringPtrOutput
- func (o ServicePlanSupportPtrOutput) ToServicePlanSupportPtrOutput() ServicePlanSupportPtrOutput
- func (o ServicePlanSupportPtrOutput) ToServicePlanSupportPtrOutputWithContext(ctx context.Context) ServicePlanSupportPtrOutput
- func (o ServicePlanSupportPtrOutput) Url() pulumi.StringPtrOutput
- type User
- type UserArgs
- type UserArray
- type UserArrayInput
- type UserArrayOutput
- type UserInput
- type UserMap
- type UserMapInput
- type UserMapOutput
- type UserOutput
- func (o UserOutput) AdditionalUsageQuota() pulumi.StringPtrOutput
- func (UserOutput) ElementType() reflect.Type
- func (o UserOutput) Email() pulumi.StringOutput
- func (o UserOutput) LabId() pulumi.StringOutput
- func (o UserOutput) Name() pulumi.StringOutput
- func (o UserOutput) ToUserOutput() UserOutput
- func (o UserOutput) ToUserOutputWithContext(ctx context.Context) UserOutput
- type UserState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Lab ¶ added in v5.31.0
type Lab struct { pulumi.CustomResourceState // An `autoShutdown` block as defined below. AutoShutdown LabAutoShutdownPtrOutput `pulumi:"autoShutdown"` // A `connectionSetting` block as defined below. ConnectionSetting LabConnectionSettingOutput `pulumi:"connectionSetting"` // The description of the Lab Service Lab. Description pulumi.StringPtrOutput `pulumi:"description"` // The resource ID of the Lab Plan that is used during resource creation to provide defaults and acts as a permission container when creating a Lab Service Lab via `labs.azure.com`. LabPlanId pulumi.StringPtrOutput `pulumi:"labPlanId"` // The Azure Region where the Lab Service Lab should exist. Changing this forces a new resource to be created. Location pulumi.StringOutput `pulumi:"location"` // The name which should be used for this Lab Service Lab. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // A `network` block as defined below. Network LabNetworkPtrOutput `pulumi:"network"` // The name of the Resource Group where the Lab Service Lab should exist. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // A `roster` block as defined below. Roster LabRosterPtrOutput `pulumi:"roster"` // A `security` block as defined below. Security LabSecurityOutput `pulumi:"security"` // A mapping of tags which should be assigned to the Lab Service Lab. Tags pulumi.StringMapOutput `pulumi:"tags"` // The title of the Lab Service Lab. Title pulumi.StringOutput `pulumi:"title"` // A `virtualMachine` block as defined below. VirtualMachine LabVirtualMachineOutput `pulumi:"virtualMachine"` }
Manages a Lab Service Lab.
## Example Usage
<!--Start PulumiCodeChooser --> ```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/lab" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{ Name: pulumi.String("example-resources"), Location: pulumi.String("West Europe"), }) if err != nil { return err } _, err = lab.NewLab(ctx, "example", &lab.LabArgs{ Name: pulumi.String("example-lab"), ResourceGroupName: example.Name, Location: example.Location, Title: pulumi.String("Test Title"), Security: &lab.LabSecurityArgs{ OpenAccessEnabled: pulumi.Bool(false), }, VirtualMachine: &lab.LabVirtualMachineArgs{ AdminUser: &lab.LabVirtualMachineAdminUserArgs{ Username: pulumi.String("testadmin"), Password: pulumi.String("Password1234!"), }, ImageReference: &lab.LabVirtualMachineImageReferenceArgs{ Publisher: pulumi.String("Canonical"), Offer: pulumi.String("0001-com-ubuntu-server-jammy"), Sku: pulumi.String("22_04-lts"), Version: pulumi.String("latest"), }, Sku: &lab.LabVirtualMachineSkuArgs{ Name: pulumi.String("Classic_Fsv2_2_4GB_128_S_SSD"), Capacity: pulumi.Int(0), }, }, }) if err != nil { return err } return nil }) }
``` <!--End PulumiCodeChooser -->
## Import
Lab Service Labs can be imported using the `resource id`, e.g.
```sh $ pulumi import azure:lab/lab:Lab example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.LabServices/labs/lab1 ```
func GetLab ¶ added in v5.31.0
func GetLab(ctx *pulumi.Context, name string, id pulumi.IDInput, state *LabState, opts ...pulumi.ResourceOption) (*Lab, error)
GetLab gets an existing Lab resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewLab ¶ added in v5.31.0
func NewLab(ctx *pulumi.Context, name string, args *LabArgs, opts ...pulumi.ResourceOption) (*Lab, error)
NewLab registers a new resource with the given unique name, arguments, and options.
func (*Lab) ElementType ¶ added in v5.31.0
func (*Lab) ToLabOutput ¶ added in v5.31.0
type LabArgs ¶ added in v5.31.0
type LabArgs struct { // An `autoShutdown` block as defined below. AutoShutdown LabAutoShutdownPtrInput // A `connectionSetting` block as defined below. ConnectionSetting LabConnectionSettingInput // The description of the Lab Service Lab. Description pulumi.StringPtrInput // The resource ID of the Lab Plan that is used during resource creation to provide defaults and acts as a permission container when creating a Lab Service Lab via `labs.azure.com`. LabPlanId pulumi.StringPtrInput // The Azure Region where the Lab Service Lab should exist. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // The name which should be used for this Lab Service Lab. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // A `network` block as defined below. Network LabNetworkPtrInput // The name of the Resource Group where the Lab Service Lab should exist. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput // A `roster` block as defined below. Roster LabRosterPtrInput // A `security` block as defined below. Security LabSecurityInput // A mapping of tags which should be assigned to the Lab Service Lab. Tags pulumi.StringMapInput // The title of the Lab Service Lab. Title pulumi.StringInput // A `virtualMachine` block as defined below. VirtualMachine LabVirtualMachineInput }
The set of arguments for constructing a Lab resource.
func (LabArgs) ElementType ¶ added in v5.31.0
type LabArray ¶ added in v5.31.0
type LabArray []LabInput
func (LabArray) ElementType ¶ added in v5.31.0
func (LabArray) ToLabArrayOutput ¶ added in v5.31.0
func (i LabArray) ToLabArrayOutput() LabArrayOutput
func (LabArray) ToLabArrayOutputWithContext ¶ added in v5.31.0
func (i LabArray) ToLabArrayOutputWithContext(ctx context.Context) LabArrayOutput
type LabArrayInput ¶ added in v5.31.0
type LabArrayInput interface { pulumi.Input ToLabArrayOutput() LabArrayOutput ToLabArrayOutputWithContext(context.Context) LabArrayOutput }
LabArrayInput is an input type that accepts LabArray and LabArrayOutput values. You can construct a concrete instance of `LabArrayInput` via:
LabArray{ LabArgs{...} }
type LabArrayOutput ¶ added in v5.31.0
type LabArrayOutput struct{ *pulumi.OutputState }
func (LabArrayOutput) ElementType ¶ added in v5.31.0
func (LabArrayOutput) ElementType() reflect.Type
func (LabArrayOutput) Index ¶ added in v5.31.0
func (o LabArrayOutput) Index(i pulumi.IntInput) LabOutput
func (LabArrayOutput) ToLabArrayOutput ¶ added in v5.31.0
func (o LabArrayOutput) ToLabArrayOutput() LabArrayOutput
func (LabArrayOutput) ToLabArrayOutputWithContext ¶ added in v5.31.0
func (o LabArrayOutput) ToLabArrayOutputWithContext(ctx context.Context) LabArrayOutput
type LabAutoShutdown ¶ added in v5.31.0
type LabAutoShutdown struct { // The amount of time a VM will stay running after a user disconnects if this behavior is enabled. This value must be formatted as an ISO 8601 string. // // > **NOTE:** The `shutdownOnDisconnect` is `Disabled` when `disconnectDelay` isn't specified. DisconnectDelay *string `pulumi:"disconnectDelay"` // The amount of time a VM will idle before it is shutdown if this behavior is enabled. This value must be formatted as an ISO 8601 string. IdleDelay *string `pulumi:"idleDelay"` // The amount of time a VM will stay running before it is shutdown if no connection is made and this behavior is enabled. This value must be formatted as an ISO 8601 string. // // > **NOTE:** The `shutdownWhenNotConnected` is `Disabled` when `noConnectDelay` isn't specified. NoConnectDelay *string `pulumi:"noConnectDelay"` // A VM will get shutdown when it has idled for a period of time. Possible values are `LowUsage` and `UserAbsence`. // // > **NOTE:** This property is `None` when it isn't specified. No need to set `idleDelay` when `shutdownOnIdle` isn't specified. ShutdownOnIdle *string `pulumi:"shutdownOnIdle"` }
type LabAutoShutdownArgs ¶ added in v5.31.0
type LabAutoShutdownArgs struct { // The amount of time a VM will stay running after a user disconnects if this behavior is enabled. This value must be formatted as an ISO 8601 string. // // > **NOTE:** The `shutdownOnDisconnect` is `Disabled` when `disconnectDelay` isn't specified. DisconnectDelay pulumi.StringPtrInput `pulumi:"disconnectDelay"` // The amount of time a VM will idle before it is shutdown if this behavior is enabled. This value must be formatted as an ISO 8601 string. IdleDelay pulumi.StringPtrInput `pulumi:"idleDelay"` // The amount of time a VM will stay running before it is shutdown if no connection is made and this behavior is enabled. This value must be formatted as an ISO 8601 string. // // > **NOTE:** The `shutdownWhenNotConnected` is `Disabled` when `noConnectDelay` isn't specified. NoConnectDelay pulumi.StringPtrInput `pulumi:"noConnectDelay"` // A VM will get shutdown when it has idled for a period of time. Possible values are `LowUsage` and `UserAbsence`. // // > **NOTE:** This property is `None` when it isn't specified. No need to set `idleDelay` when `shutdownOnIdle` isn't specified. ShutdownOnIdle pulumi.StringPtrInput `pulumi:"shutdownOnIdle"` }
func (LabAutoShutdownArgs) ElementType ¶ added in v5.31.0
func (LabAutoShutdownArgs) ElementType() reflect.Type
func (LabAutoShutdownArgs) ToLabAutoShutdownOutput ¶ added in v5.31.0
func (i LabAutoShutdownArgs) ToLabAutoShutdownOutput() LabAutoShutdownOutput
func (LabAutoShutdownArgs) ToLabAutoShutdownOutputWithContext ¶ added in v5.31.0
func (i LabAutoShutdownArgs) ToLabAutoShutdownOutputWithContext(ctx context.Context) LabAutoShutdownOutput
func (LabAutoShutdownArgs) ToLabAutoShutdownPtrOutput ¶ added in v5.31.0
func (i LabAutoShutdownArgs) ToLabAutoShutdownPtrOutput() LabAutoShutdownPtrOutput
func (LabAutoShutdownArgs) ToLabAutoShutdownPtrOutputWithContext ¶ added in v5.31.0
func (i LabAutoShutdownArgs) ToLabAutoShutdownPtrOutputWithContext(ctx context.Context) LabAutoShutdownPtrOutput
type LabAutoShutdownInput ¶ added in v5.31.0
type LabAutoShutdownInput interface { pulumi.Input ToLabAutoShutdownOutput() LabAutoShutdownOutput ToLabAutoShutdownOutputWithContext(context.Context) LabAutoShutdownOutput }
LabAutoShutdownInput is an input type that accepts LabAutoShutdownArgs and LabAutoShutdownOutput values. You can construct a concrete instance of `LabAutoShutdownInput` via:
LabAutoShutdownArgs{...}
type LabAutoShutdownOutput ¶ added in v5.31.0
type LabAutoShutdownOutput struct{ *pulumi.OutputState }
func (LabAutoShutdownOutput) DisconnectDelay ¶ added in v5.31.0
func (o LabAutoShutdownOutput) DisconnectDelay() pulumi.StringPtrOutput
The amount of time a VM will stay running after a user disconnects if this behavior is enabled. This value must be formatted as an ISO 8601 string.
> **NOTE:** The `shutdownOnDisconnect` is `Disabled` when `disconnectDelay` isn't specified.
func (LabAutoShutdownOutput) ElementType ¶ added in v5.31.0
func (LabAutoShutdownOutput) ElementType() reflect.Type
func (LabAutoShutdownOutput) IdleDelay ¶ added in v5.31.0
func (o LabAutoShutdownOutput) IdleDelay() pulumi.StringPtrOutput
The amount of time a VM will idle before it is shutdown if this behavior is enabled. This value must be formatted as an ISO 8601 string.
func (LabAutoShutdownOutput) NoConnectDelay ¶ added in v5.31.0
func (o LabAutoShutdownOutput) NoConnectDelay() pulumi.StringPtrOutput
The amount of time a VM will stay running before it is shutdown if no connection is made and this behavior is enabled. This value must be formatted as an ISO 8601 string.
> **NOTE:** The `shutdownWhenNotConnected` is `Disabled` when `noConnectDelay` isn't specified.
func (LabAutoShutdownOutput) ShutdownOnIdle ¶ added in v5.31.0
func (o LabAutoShutdownOutput) ShutdownOnIdle() pulumi.StringPtrOutput
A VM will get shutdown when it has idled for a period of time. Possible values are `LowUsage` and `UserAbsence`.
> **NOTE:** This property is `None` when it isn't specified. No need to set `idleDelay` when `shutdownOnIdle` isn't specified.
func (LabAutoShutdownOutput) ToLabAutoShutdownOutput ¶ added in v5.31.0
func (o LabAutoShutdownOutput) ToLabAutoShutdownOutput() LabAutoShutdownOutput
func (LabAutoShutdownOutput) ToLabAutoShutdownOutputWithContext ¶ added in v5.31.0
func (o LabAutoShutdownOutput) ToLabAutoShutdownOutputWithContext(ctx context.Context) LabAutoShutdownOutput
func (LabAutoShutdownOutput) ToLabAutoShutdownPtrOutput ¶ added in v5.31.0
func (o LabAutoShutdownOutput) ToLabAutoShutdownPtrOutput() LabAutoShutdownPtrOutput
func (LabAutoShutdownOutput) ToLabAutoShutdownPtrOutputWithContext ¶ added in v5.31.0
func (o LabAutoShutdownOutput) ToLabAutoShutdownPtrOutputWithContext(ctx context.Context) LabAutoShutdownPtrOutput
type LabAutoShutdownPtrInput ¶ added in v5.31.0
type LabAutoShutdownPtrInput interface { pulumi.Input ToLabAutoShutdownPtrOutput() LabAutoShutdownPtrOutput ToLabAutoShutdownPtrOutputWithContext(context.Context) LabAutoShutdownPtrOutput }
LabAutoShutdownPtrInput is an input type that accepts LabAutoShutdownArgs, LabAutoShutdownPtr and LabAutoShutdownPtrOutput values. You can construct a concrete instance of `LabAutoShutdownPtrInput` via:
LabAutoShutdownArgs{...} or: nil
func LabAutoShutdownPtr ¶ added in v5.31.0
func LabAutoShutdownPtr(v *LabAutoShutdownArgs) LabAutoShutdownPtrInput
type LabAutoShutdownPtrOutput ¶ added in v5.31.0
type LabAutoShutdownPtrOutput struct{ *pulumi.OutputState }
func (LabAutoShutdownPtrOutput) DisconnectDelay ¶ added in v5.31.0
func (o LabAutoShutdownPtrOutput) DisconnectDelay() pulumi.StringPtrOutput
The amount of time a VM will stay running after a user disconnects if this behavior is enabled. This value must be formatted as an ISO 8601 string.
> **NOTE:** The `shutdownOnDisconnect` is `Disabled` when `disconnectDelay` isn't specified.
func (LabAutoShutdownPtrOutput) Elem ¶ added in v5.31.0
func (o LabAutoShutdownPtrOutput) Elem() LabAutoShutdownOutput
func (LabAutoShutdownPtrOutput) ElementType ¶ added in v5.31.0
func (LabAutoShutdownPtrOutput) ElementType() reflect.Type
func (LabAutoShutdownPtrOutput) IdleDelay ¶ added in v5.31.0
func (o LabAutoShutdownPtrOutput) IdleDelay() pulumi.StringPtrOutput
The amount of time a VM will idle before it is shutdown if this behavior is enabled. This value must be formatted as an ISO 8601 string.
func (LabAutoShutdownPtrOutput) NoConnectDelay ¶ added in v5.31.0
func (o LabAutoShutdownPtrOutput) NoConnectDelay() pulumi.StringPtrOutput
The amount of time a VM will stay running before it is shutdown if no connection is made and this behavior is enabled. This value must be formatted as an ISO 8601 string.
> **NOTE:** The `shutdownWhenNotConnected` is `Disabled` when `noConnectDelay` isn't specified.
func (LabAutoShutdownPtrOutput) ShutdownOnIdle ¶ added in v5.31.0
func (o LabAutoShutdownPtrOutput) ShutdownOnIdle() pulumi.StringPtrOutput
A VM will get shutdown when it has idled for a period of time. Possible values are `LowUsage` and `UserAbsence`.
> **NOTE:** This property is `None` when it isn't specified. No need to set `idleDelay` when `shutdownOnIdle` isn't specified.
func (LabAutoShutdownPtrOutput) ToLabAutoShutdownPtrOutput ¶ added in v5.31.0
func (o LabAutoShutdownPtrOutput) ToLabAutoShutdownPtrOutput() LabAutoShutdownPtrOutput
func (LabAutoShutdownPtrOutput) ToLabAutoShutdownPtrOutputWithContext ¶ added in v5.31.0
func (o LabAutoShutdownPtrOutput) ToLabAutoShutdownPtrOutputWithContext(ctx context.Context) LabAutoShutdownPtrOutput
type LabConnectionSetting ¶ added in v5.31.0
type LabConnectionSetting struct { // The enabled access level for Client Access over RDP. Possible value is `Public`. // // > **NOTE:** This property is `None` when it isn't specified. ClientRdpAccess *string `pulumi:"clientRdpAccess"` // The enabled access level for Client Access over SSH. Possible value is `Public`. // // > **NOTE:** This property is `None` when it isn't specified. ClientSshAccess *string `pulumi:"clientSshAccess"` }
type LabConnectionSettingArgs ¶ added in v5.31.0
type LabConnectionSettingArgs struct { // The enabled access level for Client Access over RDP. Possible value is `Public`. // // > **NOTE:** This property is `None` when it isn't specified. ClientRdpAccess pulumi.StringPtrInput `pulumi:"clientRdpAccess"` // The enabled access level for Client Access over SSH. Possible value is `Public`. // // > **NOTE:** This property is `None` when it isn't specified. ClientSshAccess pulumi.StringPtrInput `pulumi:"clientSshAccess"` }
func (LabConnectionSettingArgs) ElementType ¶ added in v5.31.0
func (LabConnectionSettingArgs) ElementType() reflect.Type
func (LabConnectionSettingArgs) ToLabConnectionSettingOutput ¶ added in v5.31.0
func (i LabConnectionSettingArgs) ToLabConnectionSettingOutput() LabConnectionSettingOutput
func (LabConnectionSettingArgs) ToLabConnectionSettingOutputWithContext ¶ added in v5.31.0
func (i LabConnectionSettingArgs) ToLabConnectionSettingOutputWithContext(ctx context.Context) LabConnectionSettingOutput
func (LabConnectionSettingArgs) ToLabConnectionSettingPtrOutput ¶ added in v5.31.0
func (i LabConnectionSettingArgs) ToLabConnectionSettingPtrOutput() LabConnectionSettingPtrOutput
func (LabConnectionSettingArgs) ToLabConnectionSettingPtrOutputWithContext ¶ added in v5.31.0
func (i LabConnectionSettingArgs) ToLabConnectionSettingPtrOutputWithContext(ctx context.Context) LabConnectionSettingPtrOutput
type LabConnectionSettingInput ¶ added in v5.31.0
type LabConnectionSettingInput interface { pulumi.Input ToLabConnectionSettingOutput() LabConnectionSettingOutput ToLabConnectionSettingOutputWithContext(context.Context) LabConnectionSettingOutput }
LabConnectionSettingInput is an input type that accepts LabConnectionSettingArgs and LabConnectionSettingOutput values. You can construct a concrete instance of `LabConnectionSettingInput` via:
LabConnectionSettingArgs{...}
type LabConnectionSettingOutput ¶ added in v5.31.0
type LabConnectionSettingOutput struct{ *pulumi.OutputState }
func (LabConnectionSettingOutput) ClientRdpAccess ¶ added in v5.31.0
func (o LabConnectionSettingOutput) ClientRdpAccess() pulumi.StringPtrOutput
The enabled access level for Client Access over RDP. Possible value is `Public`.
> **NOTE:** This property is `None` when it isn't specified.
func (LabConnectionSettingOutput) ClientSshAccess ¶ added in v5.31.0
func (o LabConnectionSettingOutput) ClientSshAccess() pulumi.StringPtrOutput
The enabled access level for Client Access over SSH. Possible value is `Public`.
> **NOTE:** This property is `None` when it isn't specified.
func (LabConnectionSettingOutput) ElementType ¶ added in v5.31.0
func (LabConnectionSettingOutput) ElementType() reflect.Type
func (LabConnectionSettingOutput) ToLabConnectionSettingOutput ¶ added in v5.31.0
func (o LabConnectionSettingOutput) ToLabConnectionSettingOutput() LabConnectionSettingOutput
func (LabConnectionSettingOutput) ToLabConnectionSettingOutputWithContext ¶ added in v5.31.0
func (o LabConnectionSettingOutput) ToLabConnectionSettingOutputWithContext(ctx context.Context) LabConnectionSettingOutput
func (LabConnectionSettingOutput) ToLabConnectionSettingPtrOutput ¶ added in v5.31.0
func (o LabConnectionSettingOutput) ToLabConnectionSettingPtrOutput() LabConnectionSettingPtrOutput
func (LabConnectionSettingOutput) ToLabConnectionSettingPtrOutputWithContext ¶ added in v5.31.0
func (o LabConnectionSettingOutput) ToLabConnectionSettingPtrOutputWithContext(ctx context.Context) LabConnectionSettingPtrOutput
type LabConnectionSettingPtrInput ¶ added in v5.31.0
type LabConnectionSettingPtrInput interface { pulumi.Input ToLabConnectionSettingPtrOutput() LabConnectionSettingPtrOutput ToLabConnectionSettingPtrOutputWithContext(context.Context) LabConnectionSettingPtrOutput }
LabConnectionSettingPtrInput is an input type that accepts LabConnectionSettingArgs, LabConnectionSettingPtr and LabConnectionSettingPtrOutput values. You can construct a concrete instance of `LabConnectionSettingPtrInput` via:
LabConnectionSettingArgs{...} or: nil
func LabConnectionSettingPtr ¶ added in v5.31.0
func LabConnectionSettingPtr(v *LabConnectionSettingArgs) LabConnectionSettingPtrInput
type LabConnectionSettingPtrOutput ¶ added in v5.31.0
type LabConnectionSettingPtrOutput struct{ *pulumi.OutputState }
func (LabConnectionSettingPtrOutput) ClientRdpAccess ¶ added in v5.31.0
func (o LabConnectionSettingPtrOutput) ClientRdpAccess() pulumi.StringPtrOutput
The enabled access level for Client Access over RDP. Possible value is `Public`.
> **NOTE:** This property is `None` when it isn't specified.
func (LabConnectionSettingPtrOutput) ClientSshAccess ¶ added in v5.31.0
func (o LabConnectionSettingPtrOutput) ClientSshAccess() pulumi.StringPtrOutput
The enabled access level for Client Access over SSH. Possible value is `Public`.
> **NOTE:** This property is `None` when it isn't specified.
func (LabConnectionSettingPtrOutput) Elem ¶ added in v5.31.0
func (o LabConnectionSettingPtrOutput) Elem() LabConnectionSettingOutput
func (LabConnectionSettingPtrOutput) ElementType ¶ added in v5.31.0
func (LabConnectionSettingPtrOutput) ElementType() reflect.Type
func (LabConnectionSettingPtrOutput) ToLabConnectionSettingPtrOutput ¶ added in v5.31.0
func (o LabConnectionSettingPtrOutput) ToLabConnectionSettingPtrOutput() LabConnectionSettingPtrOutput
func (LabConnectionSettingPtrOutput) ToLabConnectionSettingPtrOutputWithContext ¶ added in v5.31.0
func (o LabConnectionSettingPtrOutput) ToLabConnectionSettingPtrOutputWithContext(ctx context.Context) LabConnectionSettingPtrOutput
type LabMap ¶ added in v5.31.0
func (LabMap) ElementType ¶ added in v5.31.0
func (LabMap) ToLabMapOutput ¶ added in v5.31.0
func (i LabMap) ToLabMapOutput() LabMapOutput
func (LabMap) ToLabMapOutputWithContext ¶ added in v5.31.0
func (i LabMap) ToLabMapOutputWithContext(ctx context.Context) LabMapOutput
type LabMapInput ¶ added in v5.31.0
type LabMapInput interface { pulumi.Input ToLabMapOutput() LabMapOutput ToLabMapOutputWithContext(context.Context) LabMapOutput }
LabMapInput is an input type that accepts LabMap and LabMapOutput values. You can construct a concrete instance of `LabMapInput` via:
LabMap{ "key": LabArgs{...} }
type LabMapOutput ¶ added in v5.31.0
type LabMapOutput struct{ *pulumi.OutputState }
func (LabMapOutput) ElementType ¶ added in v5.31.0
func (LabMapOutput) ElementType() reflect.Type
func (LabMapOutput) MapIndex ¶ added in v5.31.0
func (o LabMapOutput) MapIndex(k pulumi.StringInput) LabOutput
func (LabMapOutput) ToLabMapOutput ¶ added in v5.31.0
func (o LabMapOutput) ToLabMapOutput() LabMapOutput
func (LabMapOutput) ToLabMapOutputWithContext ¶ added in v5.31.0
func (o LabMapOutput) ToLabMapOutputWithContext(ctx context.Context) LabMapOutput
type LabNetwork ¶ added in v5.31.0
type LabNetwork struct { // The resource ID of the Load Balancer for the network profile of the Lab Service Lab. LoadBalancerId *string `pulumi:"loadBalancerId"` // The resource ID of the Public IP for the network profile of the Lab Service Lab. PublicIpId *string `pulumi:"publicIpId"` // The resource ID of the Subnet for the network profile of the Lab Service Lab. SubnetId *string `pulumi:"subnetId"` }
type LabNetworkArgs ¶ added in v5.31.0
type LabNetworkArgs struct { // The resource ID of the Load Balancer for the network profile of the Lab Service Lab. LoadBalancerId pulumi.StringPtrInput `pulumi:"loadBalancerId"` // The resource ID of the Public IP for the network profile of the Lab Service Lab. PublicIpId pulumi.StringPtrInput `pulumi:"publicIpId"` // The resource ID of the Subnet for the network profile of the Lab Service Lab. SubnetId pulumi.StringPtrInput `pulumi:"subnetId"` }
func (LabNetworkArgs) ElementType ¶ added in v5.31.0
func (LabNetworkArgs) ElementType() reflect.Type
func (LabNetworkArgs) ToLabNetworkOutput ¶ added in v5.31.0
func (i LabNetworkArgs) ToLabNetworkOutput() LabNetworkOutput
func (LabNetworkArgs) ToLabNetworkOutputWithContext ¶ added in v5.31.0
func (i LabNetworkArgs) ToLabNetworkOutputWithContext(ctx context.Context) LabNetworkOutput
func (LabNetworkArgs) ToLabNetworkPtrOutput ¶ added in v5.31.0
func (i LabNetworkArgs) ToLabNetworkPtrOutput() LabNetworkPtrOutput
func (LabNetworkArgs) ToLabNetworkPtrOutputWithContext ¶ added in v5.31.0
func (i LabNetworkArgs) ToLabNetworkPtrOutputWithContext(ctx context.Context) LabNetworkPtrOutput
type LabNetworkInput ¶ added in v5.31.0
type LabNetworkInput interface { pulumi.Input ToLabNetworkOutput() LabNetworkOutput ToLabNetworkOutputWithContext(context.Context) LabNetworkOutput }
LabNetworkInput is an input type that accepts LabNetworkArgs and LabNetworkOutput values. You can construct a concrete instance of `LabNetworkInput` via:
LabNetworkArgs{...}
type LabNetworkOutput ¶ added in v5.31.0
type LabNetworkOutput struct{ *pulumi.OutputState }
func (LabNetworkOutput) ElementType ¶ added in v5.31.0
func (LabNetworkOutput) ElementType() reflect.Type
func (LabNetworkOutput) LoadBalancerId ¶ added in v5.31.0
func (o LabNetworkOutput) LoadBalancerId() pulumi.StringPtrOutput
The resource ID of the Load Balancer for the network profile of the Lab Service Lab.
func (LabNetworkOutput) PublicIpId ¶ added in v5.31.0
func (o LabNetworkOutput) PublicIpId() pulumi.StringPtrOutput
The resource ID of the Public IP for the network profile of the Lab Service Lab.
func (LabNetworkOutput) SubnetId ¶ added in v5.31.0
func (o LabNetworkOutput) SubnetId() pulumi.StringPtrOutput
The resource ID of the Subnet for the network profile of the Lab Service Lab.
func (LabNetworkOutput) ToLabNetworkOutput ¶ added in v5.31.0
func (o LabNetworkOutput) ToLabNetworkOutput() LabNetworkOutput
func (LabNetworkOutput) ToLabNetworkOutputWithContext ¶ added in v5.31.0
func (o LabNetworkOutput) ToLabNetworkOutputWithContext(ctx context.Context) LabNetworkOutput
func (LabNetworkOutput) ToLabNetworkPtrOutput ¶ added in v5.31.0
func (o LabNetworkOutput) ToLabNetworkPtrOutput() LabNetworkPtrOutput
func (LabNetworkOutput) ToLabNetworkPtrOutputWithContext ¶ added in v5.31.0
func (o LabNetworkOutput) ToLabNetworkPtrOutputWithContext(ctx context.Context) LabNetworkPtrOutput
type LabNetworkPtrInput ¶ added in v5.31.0
type LabNetworkPtrInput interface { pulumi.Input ToLabNetworkPtrOutput() LabNetworkPtrOutput ToLabNetworkPtrOutputWithContext(context.Context) LabNetworkPtrOutput }
LabNetworkPtrInput is an input type that accepts LabNetworkArgs, LabNetworkPtr and LabNetworkPtrOutput values. You can construct a concrete instance of `LabNetworkPtrInput` via:
LabNetworkArgs{...} or: nil
func LabNetworkPtr ¶ added in v5.31.0
func LabNetworkPtr(v *LabNetworkArgs) LabNetworkPtrInput
type LabNetworkPtrOutput ¶ added in v5.31.0
type LabNetworkPtrOutput struct{ *pulumi.OutputState }
func (LabNetworkPtrOutput) Elem ¶ added in v5.31.0
func (o LabNetworkPtrOutput) Elem() LabNetworkOutput
func (LabNetworkPtrOutput) ElementType ¶ added in v5.31.0
func (LabNetworkPtrOutput) ElementType() reflect.Type
func (LabNetworkPtrOutput) LoadBalancerId ¶ added in v5.31.0
func (o LabNetworkPtrOutput) LoadBalancerId() pulumi.StringPtrOutput
The resource ID of the Load Balancer for the network profile of the Lab Service Lab.
func (LabNetworkPtrOutput) PublicIpId ¶ added in v5.31.0
func (o LabNetworkPtrOutput) PublicIpId() pulumi.StringPtrOutput
The resource ID of the Public IP for the network profile of the Lab Service Lab.
func (LabNetworkPtrOutput) SubnetId ¶ added in v5.31.0
func (o LabNetworkPtrOutput) SubnetId() pulumi.StringPtrOutput
The resource ID of the Subnet for the network profile of the Lab Service Lab.
func (LabNetworkPtrOutput) ToLabNetworkPtrOutput ¶ added in v5.31.0
func (o LabNetworkPtrOutput) ToLabNetworkPtrOutput() LabNetworkPtrOutput
func (LabNetworkPtrOutput) ToLabNetworkPtrOutputWithContext ¶ added in v5.31.0
func (o LabNetworkPtrOutput) ToLabNetworkPtrOutputWithContext(ctx context.Context) LabNetworkPtrOutput
type LabOutput ¶ added in v5.31.0
type LabOutput struct{ *pulumi.OutputState }
func (LabOutput) AutoShutdown ¶ added in v5.31.0
func (o LabOutput) AutoShutdown() LabAutoShutdownPtrOutput
An `autoShutdown` block as defined below.
func (LabOutput) ConnectionSetting ¶ added in v5.31.0
func (o LabOutput) ConnectionSetting() LabConnectionSettingOutput
A `connectionSetting` block as defined below.
func (LabOutput) Description ¶ added in v5.31.0
func (o LabOutput) Description() pulumi.StringPtrOutput
The description of the Lab Service Lab.
func (LabOutput) ElementType ¶ added in v5.31.0
func (LabOutput) LabPlanId ¶ added in v5.31.0
func (o LabOutput) LabPlanId() pulumi.StringPtrOutput
The resource ID of the Lab Plan that is used during resource creation to provide defaults and acts as a permission container when creating a Lab Service Lab via `labs.azure.com`.
func (LabOutput) Location ¶ added in v5.31.0
func (o LabOutput) Location() pulumi.StringOutput
The Azure Region where the Lab Service Lab should exist. Changing this forces a new resource to be created.
func (LabOutput) Name ¶ added in v5.31.0
func (o LabOutput) Name() pulumi.StringOutput
The name which should be used for this Lab Service Lab. Changing this forces a new resource to be created.
func (LabOutput) Network ¶ added in v5.31.0
func (o LabOutput) Network() LabNetworkPtrOutput
A `network` block as defined below.
func (LabOutput) ResourceGroupName ¶ added in v5.31.0
func (o LabOutput) ResourceGroupName() pulumi.StringOutput
The name of the Resource Group where the Lab Service Lab should exist. Changing this forces a new resource to be created.
func (LabOutput) Roster ¶ added in v5.31.0
func (o LabOutput) Roster() LabRosterPtrOutput
A `roster` block as defined below.
func (LabOutput) Security ¶ added in v5.31.0
func (o LabOutput) Security() LabSecurityOutput
A `security` block as defined below.
func (LabOutput) Tags ¶ added in v5.31.0
func (o LabOutput) Tags() pulumi.StringMapOutput
A mapping of tags which should be assigned to the Lab Service Lab.
func (LabOutput) Title ¶ added in v5.31.0
func (o LabOutput) Title() pulumi.StringOutput
The title of the Lab Service Lab.
func (LabOutput) ToLabOutput ¶ added in v5.31.0
func (LabOutput) ToLabOutputWithContext ¶ added in v5.31.0
func (LabOutput) VirtualMachine ¶ added in v5.31.0
func (o LabOutput) VirtualMachine() LabVirtualMachineOutput
A `virtualMachine` block as defined below.
type LabRoster ¶ added in v5.31.0
type LabRoster struct { // The AAD group ID which this Lab Service Lab roster is populated from. ActiveDirectoryGroupId *string `pulumi:"activeDirectoryGroupId"` // The base URI identifying the lms instance. LmsInstance *string `pulumi:"lmsInstance"` // The unique id of the Azure Lab Service tool in the lms. LtiClientId *string `pulumi:"ltiClientId"` // The unique context identifier for the Lab Service Lab in the lms. LtiContextId *string `pulumi:"ltiContextId"` // The URI of the names and roles service endpoint on the lms for the class attached to this Lab Service Lab. LtiRosterEndpoint *string `pulumi:"ltiRosterEndpoint"` }
type LabRosterArgs ¶ added in v5.31.0
type LabRosterArgs struct { // The AAD group ID which this Lab Service Lab roster is populated from. ActiveDirectoryGroupId pulumi.StringPtrInput `pulumi:"activeDirectoryGroupId"` // The base URI identifying the lms instance. LmsInstance pulumi.StringPtrInput `pulumi:"lmsInstance"` // The unique id of the Azure Lab Service tool in the lms. LtiClientId pulumi.StringPtrInput `pulumi:"ltiClientId"` // The unique context identifier for the Lab Service Lab in the lms. LtiContextId pulumi.StringPtrInput `pulumi:"ltiContextId"` // The URI of the names and roles service endpoint on the lms for the class attached to this Lab Service Lab. LtiRosterEndpoint pulumi.StringPtrInput `pulumi:"ltiRosterEndpoint"` }
func (LabRosterArgs) ElementType ¶ added in v5.31.0
func (LabRosterArgs) ElementType() reflect.Type
func (LabRosterArgs) ToLabRosterOutput ¶ added in v5.31.0
func (i LabRosterArgs) ToLabRosterOutput() LabRosterOutput
func (LabRosterArgs) ToLabRosterOutputWithContext ¶ added in v5.31.0
func (i LabRosterArgs) ToLabRosterOutputWithContext(ctx context.Context) LabRosterOutput
func (LabRosterArgs) ToLabRosterPtrOutput ¶ added in v5.31.0
func (i LabRosterArgs) ToLabRosterPtrOutput() LabRosterPtrOutput
func (LabRosterArgs) ToLabRosterPtrOutputWithContext ¶ added in v5.31.0
func (i LabRosterArgs) ToLabRosterPtrOutputWithContext(ctx context.Context) LabRosterPtrOutput
type LabRosterInput ¶ added in v5.31.0
type LabRosterInput interface { pulumi.Input ToLabRosterOutput() LabRosterOutput ToLabRosterOutputWithContext(context.Context) LabRosterOutput }
LabRosterInput is an input type that accepts LabRosterArgs and LabRosterOutput values. You can construct a concrete instance of `LabRosterInput` via:
LabRosterArgs{...}
type LabRosterOutput ¶ added in v5.31.0
type LabRosterOutput struct{ *pulumi.OutputState }
func (LabRosterOutput) ActiveDirectoryGroupId ¶ added in v5.31.0
func (o LabRosterOutput) ActiveDirectoryGroupId() pulumi.StringPtrOutput
The AAD group ID which this Lab Service Lab roster is populated from.
func (LabRosterOutput) ElementType ¶ added in v5.31.0
func (LabRosterOutput) ElementType() reflect.Type
func (LabRosterOutput) LmsInstance ¶ added in v5.31.0
func (o LabRosterOutput) LmsInstance() pulumi.StringPtrOutput
The base URI identifying the lms instance.
func (LabRosterOutput) LtiClientId ¶ added in v5.31.0
func (o LabRosterOutput) LtiClientId() pulumi.StringPtrOutput
The unique id of the Azure Lab Service tool in the lms.
func (LabRosterOutput) LtiContextId ¶ added in v5.31.0
func (o LabRosterOutput) LtiContextId() pulumi.StringPtrOutput
The unique context identifier for the Lab Service Lab in the lms.
func (LabRosterOutput) LtiRosterEndpoint ¶ added in v5.31.0
func (o LabRosterOutput) LtiRosterEndpoint() pulumi.StringPtrOutput
The URI of the names and roles service endpoint on the lms for the class attached to this Lab Service Lab.
func (LabRosterOutput) ToLabRosterOutput ¶ added in v5.31.0
func (o LabRosterOutput) ToLabRosterOutput() LabRosterOutput
func (LabRosterOutput) ToLabRosterOutputWithContext ¶ added in v5.31.0
func (o LabRosterOutput) ToLabRosterOutputWithContext(ctx context.Context) LabRosterOutput
func (LabRosterOutput) ToLabRosterPtrOutput ¶ added in v5.31.0
func (o LabRosterOutput) ToLabRosterPtrOutput() LabRosterPtrOutput
func (LabRosterOutput) ToLabRosterPtrOutputWithContext ¶ added in v5.31.0
func (o LabRosterOutput) ToLabRosterPtrOutputWithContext(ctx context.Context) LabRosterPtrOutput
type LabRosterPtrInput ¶ added in v5.31.0
type LabRosterPtrInput interface { pulumi.Input ToLabRosterPtrOutput() LabRosterPtrOutput ToLabRosterPtrOutputWithContext(context.Context) LabRosterPtrOutput }
LabRosterPtrInput is an input type that accepts LabRosterArgs, LabRosterPtr and LabRosterPtrOutput values. You can construct a concrete instance of `LabRosterPtrInput` via:
LabRosterArgs{...} or: nil
func LabRosterPtr ¶ added in v5.31.0
func LabRosterPtr(v *LabRosterArgs) LabRosterPtrInput
type LabRosterPtrOutput ¶ added in v5.31.0
type LabRosterPtrOutput struct{ *pulumi.OutputState }
func (LabRosterPtrOutput) ActiveDirectoryGroupId ¶ added in v5.31.0
func (o LabRosterPtrOutput) ActiveDirectoryGroupId() pulumi.StringPtrOutput
The AAD group ID which this Lab Service Lab roster is populated from.
func (LabRosterPtrOutput) Elem ¶ added in v5.31.0
func (o LabRosterPtrOutput) Elem() LabRosterOutput
func (LabRosterPtrOutput) ElementType ¶ added in v5.31.0
func (LabRosterPtrOutput) ElementType() reflect.Type
func (LabRosterPtrOutput) LmsInstance ¶ added in v5.31.0
func (o LabRosterPtrOutput) LmsInstance() pulumi.StringPtrOutput
The base URI identifying the lms instance.
func (LabRosterPtrOutput) LtiClientId ¶ added in v5.31.0
func (o LabRosterPtrOutput) LtiClientId() pulumi.StringPtrOutput
The unique id of the Azure Lab Service tool in the lms.
func (LabRosterPtrOutput) LtiContextId ¶ added in v5.31.0
func (o LabRosterPtrOutput) LtiContextId() pulumi.StringPtrOutput
The unique context identifier for the Lab Service Lab in the lms.
func (LabRosterPtrOutput) LtiRosterEndpoint ¶ added in v5.31.0
func (o LabRosterPtrOutput) LtiRosterEndpoint() pulumi.StringPtrOutput
The URI of the names and roles service endpoint on the lms for the class attached to this Lab Service Lab.
func (LabRosterPtrOutput) ToLabRosterPtrOutput ¶ added in v5.31.0
func (o LabRosterPtrOutput) ToLabRosterPtrOutput() LabRosterPtrOutput
func (LabRosterPtrOutput) ToLabRosterPtrOutputWithContext ¶ added in v5.31.0
func (o LabRosterPtrOutput) ToLabRosterPtrOutputWithContext(ctx context.Context) LabRosterPtrOutput
type LabSecurity ¶ added in v5.31.0
type LabSecurityArgs ¶ added in v5.31.0
type LabSecurityArgs struct { // Is open access enabled to allow any user or only specified users to register to a Lab Service Lab? OpenAccessEnabled pulumi.BoolInput `pulumi:"openAccessEnabled"` // The registration code for the Lab Service Lab. RegistrationCode pulumi.StringPtrInput `pulumi:"registrationCode"` }
func (LabSecurityArgs) ElementType ¶ added in v5.31.0
func (LabSecurityArgs) ElementType() reflect.Type
func (LabSecurityArgs) ToLabSecurityOutput ¶ added in v5.31.0
func (i LabSecurityArgs) ToLabSecurityOutput() LabSecurityOutput
func (LabSecurityArgs) ToLabSecurityOutputWithContext ¶ added in v5.31.0
func (i LabSecurityArgs) ToLabSecurityOutputWithContext(ctx context.Context) LabSecurityOutput
func (LabSecurityArgs) ToLabSecurityPtrOutput ¶ added in v5.31.0
func (i LabSecurityArgs) ToLabSecurityPtrOutput() LabSecurityPtrOutput
func (LabSecurityArgs) ToLabSecurityPtrOutputWithContext ¶ added in v5.31.0
func (i LabSecurityArgs) ToLabSecurityPtrOutputWithContext(ctx context.Context) LabSecurityPtrOutput
type LabSecurityInput ¶ added in v5.31.0
type LabSecurityInput interface { pulumi.Input ToLabSecurityOutput() LabSecurityOutput ToLabSecurityOutputWithContext(context.Context) LabSecurityOutput }
LabSecurityInput is an input type that accepts LabSecurityArgs and LabSecurityOutput values. You can construct a concrete instance of `LabSecurityInput` via:
LabSecurityArgs{...}
type LabSecurityOutput ¶ added in v5.31.0
type LabSecurityOutput struct{ *pulumi.OutputState }
func (LabSecurityOutput) ElementType ¶ added in v5.31.0
func (LabSecurityOutput) ElementType() reflect.Type
func (LabSecurityOutput) OpenAccessEnabled ¶ added in v5.31.0
func (o LabSecurityOutput) OpenAccessEnabled() pulumi.BoolOutput
Is open access enabled to allow any user or only specified users to register to a Lab Service Lab?
func (LabSecurityOutput) RegistrationCode ¶ added in v5.31.0
func (o LabSecurityOutput) RegistrationCode() pulumi.StringPtrOutput
The registration code for the Lab Service Lab.
func (LabSecurityOutput) ToLabSecurityOutput ¶ added in v5.31.0
func (o LabSecurityOutput) ToLabSecurityOutput() LabSecurityOutput
func (LabSecurityOutput) ToLabSecurityOutputWithContext ¶ added in v5.31.0
func (o LabSecurityOutput) ToLabSecurityOutputWithContext(ctx context.Context) LabSecurityOutput
func (LabSecurityOutput) ToLabSecurityPtrOutput ¶ added in v5.31.0
func (o LabSecurityOutput) ToLabSecurityPtrOutput() LabSecurityPtrOutput
func (LabSecurityOutput) ToLabSecurityPtrOutputWithContext ¶ added in v5.31.0
func (o LabSecurityOutput) ToLabSecurityPtrOutputWithContext(ctx context.Context) LabSecurityPtrOutput
type LabSecurityPtrInput ¶ added in v5.31.0
type LabSecurityPtrInput interface { pulumi.Input ToLabSecurityPtrOutput() LabSecurityPtrOutput ToLabSecurityPtrOutputWithContext(context.Context) LabSecurityPtrOutput }
LabSecurityPtrInput is an input type that accepts LabSecurityArgs, LabSecurityPtr and LabSecurityPtrOutput values. You can construct a concrete instance of `LabSecurityPtrInput` via:
LabSecurityArgs{...} or: nil
func LabSecurityPtr ¶ added in v5.31.0
func LabSecurityPtr(v *LabSecurityArgs) LabSecurityPtrInput
type LabSecurityPtrOutput ¶ added in v5.31.0
type LabSecurityPtrOutput struct{ *pulumi.OutputState }
func (LabSecurityPtrOutput) Elem ¶ added in v5.31.0
func (o LabSecurityPtrOutput) Elem() LabSecurityOutput
func (LabSecurityPtrOutput) ElementType ¶ added in v5.31.0
func (LabSecurityPtrOutput) ElementType() reflect.Type
func (LabSecurityPtrOutput) OpenAccessEnabled ¶ added in v5.31.0
func (o LabSecurityPtrOutput) OpenAccessEnabled() pulumi.BoolPtrOutput
Is open access enabled to allow any user or only specified users to register to a Lab Service Lab?
func (LabSecurityPtrOutput) RegistrationCode ¶ added in v5.31.0
func (o LabSecurityPtrOutput) RegistrationCode() pulumi.StringPtrOutput
The registration code for the Lab Service Lab.
func (LabSecurityPtrOutput) ToLabSecurityPtrOutput ¶ added in v5.31.0
func (o LabSecurityPtrOutput) ToLabSecurityPtrOutput() LabSecurityPtrOutput
func (LabSecurityPtrOutput) ToLabSecurityPtrOutputWithContext ¶ added in v5.31.0
func (o LabSecurityPtrOutput) ToLabSecurityPtrOutputWithContext(ctx context.Context) LabSecurityPtrOutput
type LabState ¶ added in v5.31.0
type LabState struct { // An `autoShutdown` block as defined below. AutoShutdown LabAutoShutdownPtrInput // A `connectionSetting` block as defined below. ConnectionSetting LabConnectionSettingPtrInput // The description of the Lab Service Lab. Description pulumi.StringPtrInput // The resource ID of the Lab Plan that is used during resource creation to provide defaults and acts as a permission container when creating a Lab Service Lab via `labs.azure.com`. LabPlanId pulumi.StringPtrInput // The Azure Region where the Lab Service Lab should exist. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // The name which should be used for this Lab Service Lab. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // A `network` block as defined below. Network LabNetworkPtrInput // The name of the Resource Group where the Lab Service Lab should exist. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // A `roster` block as defined below. Roster LabRosterPtrInput // A `security` block as defined below. Security LabSecurityPtrInput // A mapping of tags which should be assigned to the Lab Service Lab. Tags pulumi.StringMapInput // The title of the Lab Service Lab. Title pulumi.StringPtrInput // A `virtualMachine` block as defined below. VirtualMachine LabVirtualMachinePtrInput }
func (LabState) ElementType ¶ added in v5.31.0
type LabVirtualMachine ¶ added in v5.31.0
type LabVirtualMachine struct { // Is flagged to pre-install dedicated GPU drivers? Defaults to `false`. Changing this forces a new resource to be created. AdditionalCapabilityGpuDriversInstalled *bool `pulumi:"additionalCapabilityGpuDriversInstalled"` // An `adminUser` block as defined below. AdminUser LabVirtualMachineAdminUser `pulumi:"adminUser"` // The create option to indicate what Lab Service Lab VMs are created from. Possible values are `Image` and `TemplateVM`. Defaults to `Image`. Changing this forces a new resource to be created. CreateOption *string `pulumi:"createOption"` // An `imageReference` block as defined below. ImageReference LabVirtualMachineImageReference `pulumi:"imageReference"` // A `nonAdminUser` block as defined below. NonAdminUser *LabVirtualMachineNonAdminUser `pulumi:"nonAdminUser"` SharedPasswordEnabled *bool `pulumi:"sharedPasswordEnabled"` // A `sku` block as defined below. Sku LabVirtualMachineSku `pulumi:"sku"` // The initial quota allocated to each Lab Service Lab user. Defaults to `PT0S`. This value must be formatted as an ISO 8601 string. UsageQuota *string `pulumi:"usageQuota"` }
type LabVirtualMachineAdminUser ¶ added in v5.31.0
type LabVirtualMachineAdminUser struct { // The password for the Lab user. Changing this forces a new resource to be created. Password string `pulumi:"password"` // The username to use when signing in to Lab Service Lab VMs. Changing this forces a new resource to be created. Username string `pulumi:"username"` }
type LabVirtualMachineAdminUserArgs ¶ added in v5.31.0
type LabVirtualMachineAdminUserArgs struct { // The password for the Lab user. Changing this forces a new resource to be created. Password pulumi.StringInput `pulumi:"password"` // The username to use when signing in to Lab Service Lab VMs. Changing this forces a new resource to be created. Username pulumi.StringInput `pulumi:"username"` }
func (LabVirtualMachineAdminUserArgs) ElementType ¶ added in v5.31.0
func (LabVirtualMachineAdminUserArgs) ElementType() reflect.Type
func (LabVirtualMachineAdminUserArgs) ToLabVirtualMachineAdminUserOutput ¶ added in v5.31.0
func (i LabVirtualMachineAdminUserArgs) ToLabVirtualMachineAdminUserOutput() LabVirtualMachineAdminUserOutput
func (LabVirtualMachineAdminUserArgs) ToLabVirtualMachineAdminUserOutputWithContext ¶ added in v5.31.0
func (i LabVirtualMachineAdminUserArgs) ToLabVirtualMachineAdminUserOutputWithContext(ctx context.Context) LabVirtualMachineAdminUserOutput
func (LabVirtualMachineAdminUserArgs) ToLabVirtualMachineAdminUserPtrOutput ¶ added in v5.31.0
func (i LabVirtualMachineAdminUserArgs) ToLabVirtualMachineAdminUserPtrOutput() LabVirtualMachineAdminUserPtrOutput
func (LabVirtualMachineAdminUserArgs) ToLabVirtualMachineAdminUserPtrOutputWithContext ¶ added in v5.31.0
func (i LabVirtualMachineAdminUserArgs) ToLabVirtualMachineAdminUserPtrOutputWithContext(ctx context.Context) LabVirtualMachineAdminUserPtrOutput
type LabVirtualMachineAdminUserInput ¶ added in v5.31.0
type LabVirtualMachineAdminUserInput interface { pulumi.Input ToLabVirtualMachineAdminUserOutput() LabVirtualMachineAdminUserOutput ToLabVirtualMachineAdminUserOutputWithContext(context.Context) LabVirtualMachineAdminUserOutput }
LabVirtualMachineAdminUserInput is an input type that accepts LabVirtualMachineAdminUserArgs and LabVirtualMachineAdminUserOutput values. You can construct a concrete instance of `LabVirtualMachineAdminUserInput` via:
LabVirtualMachineAdminUserArgs{...}
type LabVirtualMachineAdminUserOutput ¶ added in v5.31.0
type LabVirtualMachineAdminUserOutput struct{ *pulumi.OutputState }
func (LabVirtualMachineAdminUserOutput) ElementType ¶ added in v5.31.0
func (LabVirtualMachineAdminUserOutput) ElementType() reflect.Type
func (LabVirtualMachineAdminUserOutput) Password ¶ added in v5.31.0
func (o LabVirtualMachineAdminUserOutput) Password() pulumi.StringOutput
The password for the Lab user. Changing this forces a new resource to be created.
func (LabVirtualMachineAdminUserOutput) ToLabVirtualMachineAdminUserOutput ¶ added in v5.31.0
func (o LabVirtualMachineAdminUserOutput) ToLabVirtualMachineAdminUserOutput() LabVirtualMachineAdminUserOutput
func (LabVirtualMachineAdminUserOutput) ToLabVirtualMachineAdminUserOutputWithContext ¶ added in v5.31.0
func (o LabVirtualMachineAdminUserOutput) ToLabVirtualMachineAdminUserOutputWithContext(ctx context.Context) LabVirtualMachineAdminUserOutput
func (LabVirtualMachineAdminUserOutput) ToLabVirtualMachineAdminUserPtrOutput ¶ added in v5.31.0
func (o LabVirtualMachineAdminUserOutput) ToLabVirtualMachineAdminUserPtrOutput() LabVirtualMachineAdminUserPtrOutput
func (LabVirtualMachineAdminUserOutput) ToLabVirtualMachineAdminUserPtrOutputWithContext ¶ added in v5.31.0
func (o LabVirtualMachineAdminUserOutput) ToLabVirtualMachineAdminUserPtrOutputWithContext(ctx context.Context) LabVirtualMachineAdminUserPtrOutput
func (LabVirtualMachineAdminUserOutput) Username ¶ added in v5.31.0
func (o LabVirtualMachineAdminUserOutput) Username() pulumi.StringOutput
The username to use when signing in to Lab Service Lab VMs. Changing this forces a new resource to be created.
type LabVirtualMachineAdminUserPtrInput ¶ added in v5.31.0
type LabVirtualMachineAdminUserPtrInput interface { pulumi.Input ToLabVirtualMachineAdminUserPtrOutput() LabVirtualMachineAdminUserPtrOutput ToLabVirtualMachineAdminUserPtrOutputWithContext(context.Context) LabVirtualMachineAdminUserPtrOutput }
LabVirtualMachineAdminUserPtrInput is an input type that accepts LabVirtualMachineAdminUserArgs, LabVirtualMachineAdminUserPtr and LabVirtualMachineAdminUserPtrOutput values. You can construct a concrete instance of `LabVirtualMachineAdminUserPtrInput` via:
LabVirtualMachineAdminUserArgs{...} or: nil
func LabVirtualMachineAdminUserPtr ¶ added in v5.31.0
func LabVirtualMachineAdminUserPtr(v *LabVirtualMachineAdminUserArgs) LabVirtualMachineAdminUserPtrInput
type LabVirtualMachineAdminUserPtrOutput ¶ added in v5.31.0
type LabVirtualMachineAdminUserPtrOutput struct{ *pulumi.OutputState }
func (LabVirtualMachineAdminUserPtrOutput) Elem ¶ added in v5.31.0
func (o LabVirtualMachineAdminUserPtrOutput) Elem() LabVirtualMachineAdminUserOutput
func (LabVirtualMachineAdminUserPtrOutput) ElementType ¶ added in v5.31.0
func (LabVirtualMachineAdminUserPtrOutput) ElementType() reflect.Type
func (LabVirtualMachineAdminUserPtrOutput) Password ¶ added in v5.31.0
func (o LabVirtualMachineAdminUserPtrOutput) Password() pulumi.StringPtrOutput
The password for the Lab user. Changing this forces a new resource to be created.
func (LabVirtualMachineAdminUserPtrOutput) ToLabVirtualMachineAdminUserPtrOutput ¶ added in v5.31.0
func (o LabVirtualMachineAdminUserPtrOutput) ToLabVirtualMachineAdminUserPtrOutput() LabVirtualMachineAdminUserPtrOutput
func (LabVirtualMachineAdminUserPtrOutput) ToLabVirtualMachineAdminUserPtrOutputWithContext ¶ added in v5.31.0
func (o LabVirtualMachineAdminUserPtrOutput) ToLabVirtualMachineAdminUserPtrOutputWithContext(ctx context.Context) LabVirtualMachineAdminUserPtrOutput
func (LabVirtualMachineAdminUserPtrOutput) Username ¶ added in v5.31.0
func (o LabVirtualMachineAdminUserPtrOutput) Username() pulumi.StringPtrOutput
The username to use when signing in to Lab Service Lab VMs. Changing this forces a new resource to be created.
type LabVirtualMachineArgs ¶ added in v5.31.0
type LabVirtualMachineArgs struct { // Is flagged to pre-install dedicated GPU drivers? Defaults to `false`. Changing this forces a new resource to be created. AdditionalCapabilityGpuDriversInstalled pulumi.BoolPtrInput `pulumi:"additionalCapabilityGpuDriversInstalled"` // An `adminUser` block as defined below. AdminUser LabVirtualMachineAdminUserInput `pulumi:"adminUser"` // The create option to indicate what Lab Service Lab VMs are created from. Possible values are `Image` and `TemplateVM`. Defaults to `Image`. Changing this forces a new resource to be created. CreateOption pulumi.StringPtrInput `pulumi:"createOption"` // An `imageReference` block as defined below. ImageReference LabVirtualMachineImageReferenceInput `pulumi:"imageReference"` // A `nonAdminUser` block as defined below. NonAdminUser LabVirtualMachineNonAdminUserPtrInput `pulumi:"nonAdminUser"` SharedPasswordEnabled pulumi.BoolPtrInput `pulumi:"sharedPasswordEnabled"` // A `sku` block as defined below. Sku LabVirtualMachineSkuInput `pulumi:"sku"` // The initial quota allocated to each Lab Service Lab user. Defaults to `PT0S`. This value must be formatted as an ISO 8601 string. UsageQuota pulumi.StringPtrInput `pulumi:"usageQuota"` }
func (LabVirtualMachineArgs) ElementType ¶ added in v5.31.0
func (LabVirtualMachineArgs) ElementType() reflect.Type
func (LabVirtualMachineArgs) ToLabVirtualMachineOutput ¶ added in v5.31.0
func (i LabVirtualMachineArgs) ToLabVirtualMachineOutput() LabVirtualMachineOutput
func (LabVirtualMachineArgs) ToLabVirtualMachineOutputWithContext ¶ added in v5.31.0
func (i LabVirtualMachineArgs) ToLabVirtualMachineOutputWithContext(ctx context.Context) LabVirtualMachineOutput
func (LabVirtualMachineArgs) ToLabVirtualMachinePtrOutput ¶ added in v5.31.0
func (i LabVirtualMachineArgs) ToLabVirtualMachinePtrOutput() LabVirtualMachinePtrOutput
func (LabVirtualMachineArgs) ToLabVirtualMachinePtrOutputWithContext ¶ added in v5.31.0
func (i LabVirtualMachineArgs) ToLabVirtualMachinePtrOutputWithContext(ctx context.Context) LabVirtualMachinePtrOutput
type LabVirtualMachineImageReference ¶ added in v5.31.0
type LabVirtualMachineImageReference struct { // The resource ID of the image. Changing this forces a new resource to be created. Id *string `pulumi:"id"` // The image offer if applicable. Changing this forces a new resource to be created. Offer *string `pulumi:"offer"` // The image publisher. Changing this forces a new resource to be created. Publisher *string `pulumi:"publisher"` // The image SKU. Changing this forces a new resource to be created. Sku *string `pulumi:"sku"` // The image version specified on creation. Changing this forces a new resource to be created. Version *string `pulumi:"version"` }
type LabVirtualMachineImageReferenceArgs ¶ added in v5.31.0
type LabVirtualMachineImageReferenceArgs struct { // The resource ID of the image. Changing this forces a new resource to be created. Id pulumi.StringPtrInput `pulumi:"id"` // The image offer if applicable. Changing this forces a new resource to be created. Offer pulumi.StringPtrInput `pulumi:"offer"` // The image publisher. Changing this forces a new resource to be created. Publisher pulumi.StringPtrInput `pulumi:"publisher"` // The image SKU. Changing this forces a new resource to be created. Sku pulumi.StringPtrInput `pulumi:"sku"` // The image version specified on creation. Changing this forces a new resource to be created. Version pulumi.StringPtrInput `pulumi:"version"` }
func (LabVirtualMachineImageReferenceArgs) ElementType ¶ added in v5.31.0
func (LabVirtualMachineImageReferenceArgs) ElementType() reflect.Type
func (LabVirtualMachineImageReferenceArgs) ToLabVirtualMachineImageReferenceOutput ¶ added in v5.31.0
func (i LabVirtualMachineImageReferenceArgs) ToLabVirtualMachineImageReferenceOutput() LabVirtualMachineImageReferenceOutput
func (LabVirtualMachineImageReferenceArgs) ToLabVirtualMachineImageReferenceOutputWithContext ¶ added in v5.31.0
func (i LabVirtualMachineImageReferenceArgs) ToLabVirtualMachineImageReferenceOutputWithContext(ctx context.Context) LabVirtualMachineImageReferenceOutput
func (LabVirtualMachineImageReferenceArgs) ToLabVirtualMachineImageReferencePtrOutput ¶ added in v5.31.0
func (i LabVirtualMachineImageReferenceArgs) ToLabVirtualMachineImageReferencePtrOutput() LabVirtualMachineImageReferencePtrOutput
func (LabVirtualMachineImageReferenceArgs) ToLabVirtualMachineImageReferencePtrOutputWithContext ¶ added in v5.31.0
func (i LabVirtualMachineImageReferenceArgs) ToLabVirtualMachineImageReferencePtrOutputWithContext(ctx context.Context) LabVirtualMachineImageReferencePtrOutput
type LabVirtualMachineImageReferenceInput ¶ added in v5.31.0
type LabVirtualMachineImageReferenceInput interface { pulumi.Input ToLabVirtualMachineImageReferenceOutput() LabVirtualMachineImageReferenceOutput ToLabVirtualMachineImageReferenceOutputWithContext(context.Context) LabVirtualMachineImageReferenceOutput }
LabVirtualMachineImageReferenceInput is an input type that accepts LabVirtualMachineImageReferenceArgs and LabVirtualMachineImageReferenceOutput values. You can construct a concrete instance of `LabVirtualMachineImageReferenceInput` via:
LabVirtualMachineImageReferenceArgs{...}
type LabVirtualMachineImageReferenceOutput ¶ added in v5.31.0
type LabVirtualMachineImageReferenceOutput struct{ *pulumi.OutputState }
func (LabVirtualMachineImageReferenceOutput) ElementType ¶ added in v5.31.0
func (LabVirtualMachineImageReferenceOutput) ElementType() reflect.Type
func (LabVirtualMachineImageReferenceOutput) Id ¶ added in v5.31.0
func (o LabVirtualMachineImageReferenceOutput) Id() pulumi.StringPtrOutput
The resource ID of the image. Changing this forces a new resource to be created.
func (LabVirtualMachineImageReferenceOutput) Offer ¶ added in v5.31.0
func (o LabVirtualMachineImageReferenceOutput) Offer() pulumi.StringPtrOutput
The image offer if applicable. Changing this forces a new resource to be created.
func (LabVirtualMachineImageReferenceOutput) Publisher ¶ added in v5.31.0
func (o LabVirtualMachineImageReferenceOutput) Publisher() pulumi.StringPtrOutput
The image publisher. Changing this forces a new resource to be created.
func (LabVirtualMachineImageReferenceOutput) Sku ¶ added in v5.31.0
func (o LabVirtualMachineImageReferenceOutput) Sku() pulumi.StringPtrOutput
The image SKU. Changing this forces a new resource to be created.
func (LabVirtualMachineImageReferenceOutput) ToLabVirtualMachineImageReferenceOutput ¶ added in v5.31.0
func (o LabVirtualMachineImageReferenceOutput) ToLabVirtualMachineImageReferenceOutput() LabVirtualMachineImageReferenceOutput
func (LabVirtualMachineImageReferenceOutput) ToLabVirtualMachineImageReferenceOutputWithContext ¶ added in v5.31.0
func (o LabVirtualMachineImageReferenceOutput) ToLabVirtualMachineImageReferenceOutputWithContext(ctx context.Context) LabVirtualMachineImageReferenceOutput
func (LabVirtualMachineImageReferenceOutput) ToLabVirtualMachineImageReferencePtrOutput ¶ added in v5.31.0
func (o LabVirtualMachineImageReferenceOutput) ToLabVirtualMachineImageReferencePtrOutput() LabVirtualMachineImageReferencePtrOutput
func (LabVirtualMachineImageReferenceOutput) ToLabVirtualMachineImageReferencePtrOutputWithContext ¶ added in v5.31.0
func (o LabVirtualMachineImageReferenceOutput) ToLabVirtualMachineImageReferencePtrOutputWithContext(ctx context.Context) LabVirtualMachineImageReferencePtrOutput
func (LabVirtualMachineImageReferenceOutput) Version ¶ added in v5.31.0
func (o LabVirtualMachineImageReferenceOutput) Version() pulumi.StringPtrOutput
The image version specified on creation. Changing this forces a new resource to be created.
type LabVirtualMachineImageReferencePtrInput ¶ added in v5.31.0
type LabVirtualMachineImageReferencePtrInput interface { pulumi.Input ToLabVirtualMachineImageReferencePtrOutput() LabVirtualMachineImageReferencePtrOutput ToLabVirtualMachineImageReferencePtrOutputWithContext(context.Context) LabVirtualMachineImageReferencePtrOutput }
LabVirtualMachineImageReferencePtrInput is an input type that accepts LabVirtualMachineImageReferenceArgs, LabVirtualMachineImageReferencePtr and LabVirtualMachineImageReferencePtrOutput values. You can construct a concrete instance of `LabVirtualMachineImageReferencePtrInput` via:
LabVirtualMachineImageReferenceArgs{...} or: nil
func LabVirtualMachineImageReferencePtr ¶ added in v5.31.0
func LabVirtualMachineImageReferencePtr(v *LabVirtualMachineImageReferenceArgs) LabVirtualMachineImageReferencePtrInput
type LabVirtualMachineImageReferencePtrOutput ¶ added in v5.31.0
type LabVirtualMachineImageReferencePtrOutput struct{ *pulumi.OutputState }
func (LabVirtualMachineImageReferencePtrOutput) ElementType ¶ added in v5.31.0
func (LabVirtualMachineImageReferencePtrOutput) ElementType() reflect.Type
func (LabVirtualMachineImageReferencePtrOutput) Id ¶ added in v5.31.0
func (o LabVirtualMachineImageReferencePtrOutput) Id() pulumi.StringPtrOutput
The resource ID of the image. Changing this forces a new resource to be created.
func (LabVirtualMachineImageReferencePtrOutput) Offer ¶ added in v5.31.0
func (o LabVirtualMachineImageReferencePtrOutput) Offer() pulumi.StringPtrOutput
The image offer if applicable. Changing this forces a new resource to be created.
func (LabVirtualMachineImageReferencePtrOutput) Publisher ¶ added in v5.31.0
func (o LabVirtualMachineImageReferencePtrOutput) Publisher() pulumi.StringPtrOutput
The image publisher. Changing this forces a new resource to be created.
func (LabVirtualMachineImageReferencePtrOutput) Sku ¶ added in v5.31.0
func (o LabVirtualMachineImageReferencePtrOutput) Sku() pulumi.StringPtrOutput
The image SKU. Changing this forces a new resource to be created.
func (LabVirtualMachineImageReferencePtrOutput) ToLabVirtualMachineImageReferencePtrOutput ¶ added in v5.31.0
func (o LabVirtualMachineImageReferencePtrOutput) ToLabVirtualMachineImageReferencePtrOutput() LabVirtualMachineImageReferencePtrOutput
func (LabVirtualMachineImageReferencePtrOutput) ToLabVirtualMachineImageReferencePtrOutputWithContext ¶ added in v5.31.0
func (o LabVirtualMachineImageReferencePtrOutput) ToLabVirtualMachineImageReferencePtrOutputWithContext(ctx context.Context) LabVirtualMachineImageReferencePtrOutput
func (LabVirtualMachineImageReferencePtrOutput) Version ¶ added in v5.31.0
func (o LabVirtualMachineImageReferencePtrOutput) Version() pulumi.StringPtrOutput
The image version specified on creation. Changing this forces a new resource to be created.
type LabVirtualMachineInput ¶ added in v5.31.0
type LabVirtualMachineInput interface { pulumi.Input ToLabVirtualMachineOutput() LabVirtualMachineOutput ToLabVirtualMachineOutputWithContext(context.Context) LabVirtualMachineOutput }
LabVirtualMachineInput is an input type that accepts LabVirtualMachineArgs and LabVirtualMachineOutput values. You can construct a concrete instance of `LabVirtualMachineInput` via:
LabVirtualMachineArgs{...}
type LabVirtualMachineNonAdminUser ¶ added in v5.31.0
type LabVirtualMachineNonAdminUserArgs ¶ added in v5.31.0
type LabVirtualMachineNonAdminUserArgs struct { // The password for the user. Password pulumi.StringInput `pulumi:"password"` // The username to use when signing in to Lab Service Lab VMs. Username pulumi.StringInput `pulumi:"username"` }
func (LabVirtualMachineNonAdminUserArgs) ElementType ¶ added in v5.31.0
func (LabVirtualMachineNonAdminUserArgs) ElementType() reflect.Type
func (LabVirtualMachineNonAdminUserArgs) ToLabVirtualMachineNonAdminUserOutput ¶ added in v5.31.0
func (i LabVirtualMachineNonAdminUserArgs) ToLabVirtualMachineNonAdminUserOutput() LabVirtualMachineNonAdminUserOutput
func (LabVirtualMachineNonAdminUserArgs) ToLabVirtualMachineNonAdminUserOutputWithContext ¶ added in v5.31.0
func (i LabVirtualMachineNonAdminUserArgs) ToLabVirtualMachineNonAdminUserOutputWithContext(ctx context.Context) LabVirtualMachineNonAdminUserOutput
func (LabVirtualMachineNonAdminUserArgs) ToLabVirtualMachineNonAdminUserPtrOutput ¶ added in v5.31.0
func (i LabVirtualMachineNonAdminUserArgs) ToLabVirtualMachineNonAdminUserPtrOutput() LabVirtualMachineNonAdminUserPtrOutput
func (LabVirtualMachineNonAdminUserArgs) ToLabVirtualMachineNonAdminUserPtrOutputWithContext ¶ added in v5.31.0
func (i LabVirtualMachineNonAdminUserArgs) ToLabVirtualMachineNonAdminUserPtrOutputWithContext(ctx context.Context) LabVirtualMachineNonAdminUserPtrOutput
type LabVirtualMachineNonAdminUserInput ¶ added in v5.31.0
type LabVirtualMachineNonAdminUserInput interface { pulumi.Input ToLabVirtualMachineNonAdminUserOutput() LabVirtualMachineNonAdminUserOutput ToLabVirtualMachineNonAdminUserOutputWithContext(context.Context) LabVirtualMachineNonAdminUserOutput }
LabVirtualMachineNonAdminUserInput is an input type that accepts LabVirtualMachineNonAdminUserArgs and LabVirtualMachineNonAdminUserOutput values. You can construct a concrete instance of `LabVirtualMachineNonAdminUserInput` via:
LabVirtualMachineNonAdminUserArgs{...}
type LabVirtualMachineNonAdminUserOutput ¶ added in v5.31.0
type LabVirtualMachineNonAdminUserOutput struct{ *pulumi.OutputState }
func (LabVirtualMachineNonAdminUserOutput) ElementType ¶ added in v5.31.0
func (LabVirtualMachineNonAdminUserOutput) ElementType() reflect.Type
func (LabVirtualMachineNonAdminUserOutput) Password ¶ added in v5.31.0
func (o LabVirtualMachineNonAdminUserOutput) Password() pulumi.StringOutput
The password for the user.
func (LabVirtualMachineNonAdminUserOutput) ToLabVirtualMachineNonAdminUserOutput ¶ added in v5.31.0
func (o LabVirtualMachineNonAdminUserOutput) ToLabVirtualMachineNonAdminUserOutput() LabVirtualMachineNonAdminUserOutput
func (LabVirtualMachineNonAdminUserOutput) ToLabVirtualMachineNonAdminUserOutputWithContext ¶ added in v5.31.0
func (o LabVirtualMachineNonAdminUserOutput) ToLabVirtualMachineNonAdminUserOutputWithContext(ctx context.Context) LabVirtualMachineNonAdminUserOutput
func (LabVirtualMachineNonAdminUserOutput) ToLabVirtualMachineNonAdminUserPtrOutput ¶ added in v5.31.0
func (o LabVirtualMachineNonAdminUserOutput) ToLabVirtualMachineNonAdminUserPtrOutput() LabVirtualMachineNonAdminUserPtrOutput
func (LabVirtualMachineNonAdminUserOutput) ToLabVirtualMachineNonAdminUserPtrOutputWithContext ¶ added in v5.31.0
func (o LabVirtualMachineNonAdminUserOutput) ToLabVirtualMachineNonAdminUserPtrOutputWithContext(ctx context.Context) LabVirtualMachineNonAdminUserPtrOutput
func (LabVirtualMachineNonAdminUserOutput) Username ¶ added in v5.31.0
func (o LabVirtualMachineNonAdminUserOutput) Username() pulumi.StringOutput
The username to use when signing in to Lab Service Lab VMs.
type LabVirtualMachineNonAdminUserPtrInput ¶ added in v5.31.0
type LabVirtualMachineNonAdminUserPtrInput interface { pulumi.Input ToLabVirtualMachineNonAdminUserPtrOutput() LabVirtualMachineNonAdminUserPtrOutput ToLabVirtualMachineNonAdminUserPtrOutputWithContext(context.Context) LabVirtualMachineNonAdminUserPtrOutput }
LabVirtualMachineNonAdminUserPtrInput is an input type that accepts LabVirtualMachineNonAdminUserArgs, LabVirtualMachineNonAdminUserPtr and LabVirtualMachineNonAdminUserPtrOutput values. You can construct a concrete instance of `LabVirtualMachineNonAdminUserPtrInput` via:
LabVirtualMachineNonAdminUserArgs{...} or: nil
func LabVirtualMachineNonAdminUserPtr ¶ added in v5.31.0
func LabVirtualMachineNonAdminUserPtr(v *LabVirtualMachineNonAdminUserArgs) LabVirtualMachineNonAdminUserPtrInput
type LabVirtualMachineNonAdminUserPtrOutput ¶ added in v5.31.0
type LabVirtualMachineNonAdminUserPtrOutput struct{ *pulumi.OutputState }
func (LabVirtualMachineNonAdminUserPtrOutput) ElementType ¶ added in v5.31.0
func (LabVirtualMachineNonAdminUserPtrOutput) ElementType() reflect.Type
func (LabVirtualMachineNonAdminUserPtrOutput) Password ¶ added in v5.31.0
func (o LabVirtualMachineNonAdminUserPtrOutput) Password() pulumi.StringPtrOutput
The password for the user.
func (LabVirtualMachineNonAdminUserPtrOutput) ToLabVirtualMachineNonAdminUserPtrOutput ¶ added in v5.31.0
func (o LabVirtualMachineNonAdminUserPtrOutput) ToLabVirtualMachineNonAdminUserPtrOutput() LabVirtualMachineNonAdminUserPtrOutput
func (LabVirtualMachineNonAdminUserPtrOutput) ToLabVirtualMachineNonAdminUserPtrOutputWithContext ¶ added in v5.31.0
func (o LabVirtualMachineNonAdminUserPtrOutput) ToLabVirtualMachineNonAdminUserPtrOutputWithContext(ctx context.Context) LabVirtualMachineNonAdminUserPtrOutput
func (LabVirtualMachineNonAdminUserPtrOutput) Username ¶ added in v5.31.0
func (o LabVirtualMachineNonAdminUserPtrOutput) Username() pulumi.StringPtrOutput
The username to use when signing in to Lab Service Lab VMs.
type LabVirtualMachineOutput ¶ added in v5.31.0
type LabVirtualMachineOutput struct{ *pulumi.OutputState }
func (LabVirtualMachineOutput) AdditionalCapabilityGpuDriversInstalled ¶ added in v5.31.0
func (o LabVirtualMachineOutput) AdditionalCapabilityGpuDriversInstalled() pulumi.BoolPtrOutput
Is flagged to pre-install dedicated GPU drivers? Defaults to `false`. Changing this forces a new resource to be created.
func (LabVirtualMachineOutput) AdminUser ¶ added in v5.31.0
func (o LabVirtualMachineOutput) AdminUser() LabVirtualMachineAdminUserOutput
An `adminUser` block as defined below.
func (LabVirtualMachineOutput) CreateOption ¶ added in v5.31.0
func (o LabVirtualMachineOutput) CreateOption() pulumi.StringPtrOutput
The create option to indicate what Lab Service Lab VMs are created from. Possible values are `Image` and `TemplateVM`. Defaults to `Image`. Changing this forces a new resource to be created.
func (LabVirtualMachineOutput) ElementType ¶ added in v5.31.0
func (LabVirtualMachineOutput) ElementType() reflect.Type
func (LabVirtualMachineOutput) ImageReference ¶ added in v5.31.0
func (o LabVirtualMachineOutput) ImageReference() LabVirtualMachineImageReferenceOutput
An `imageReference` block as defined below.
func (LabVirtualMachineOutput) NonAdminUser ¶ added in v5.31.0
func (o LabVirtualMachineOutput) NonAdminUser() LabVirtualMachineNonAdminUserPtrOutput
A `nonAdminUser` block as defined below.
func (LabVirtualMachineOutput) SharedPasswordEnabled ¶ added in v5.31.0
func (o LabVirtualMachineOutput) SharedPasswordEnabled() pulumi.BoolPtrOutput
Is the shared password enabled with the same password for all user VMs? Defaults to `false`. Changing this forces a new resource to be created.
func (LabVirtualMachineOutput) Sku ¶ added in v5.31.0
func (o LabVirtualMachineOutput) Sku() LabVirtualMachineSkuOutput
A `sku` block as defined below.
func (LabVirtualMachineOutput) ToLabVirtualMachineOutput ¶ added in v5.31.0
func (o LabVirtualMachineOutput) ToLabVirtualMachineOutput() LabVirtualMachineOutput
func (LabVirtualMachineOutput) ToLabVirtualMachineOutputWithContext ¶ added in v5.31.0
func (o LabVirtualMachineOutput) ToLabVirtualMachineOutputWithContext(ctx context.Context) LabVirtualMachineOutput
func (LabVirtualMachineOutput) ToLabVirtualMachinePtrOutput ¶ added in v5.31.0
func (o LabVirtualMachineOutput) ToLabVirtualMachinePtrOutput() LabVirtualMachinePtrOutput
func (LabVirtualMachineOutput) ToLabVirtualMachinePtrOutputWithContext ¶ added in v5.31.0
func (o LabVirtualMachineOutput) ToLabVirtualMachinePtrOutputWithContext(ctx context.Context) LabVirtualMachinePtrOutput
func (LabVirtualMachineOutput) UsageQuota ¶ added in v5.31.0
func (o LabVirtualMachineOutput) UsageQuota() pulumi.StringPtrOutput
The initial quota allocated to each Lab Service Lab user. Defaults to `PT0S`. This value must be formatted as an ISO 8601 string.
type LabVirtualMachinePtrInput ¶ added in v5.31.0
type LabVirtualMachinePtrInput interface { pulumi.Input ToLabVirtualMachinePtrOutput() LabVirtualMachinePtrOutput ToLabVirtualMachinePtrOutputWithContext(context.Context) LabVirtualMachinePtrOutput }
LabVirtualMachinePtrInput is an input type that accepts LabVirtualMachineArgs, LabVirtualMachinePtr and LabVirtualMachinePtrOutput values. You can construct a concrete instance of `LabVirtualMachinePtrInput` via:
LabVirtualMachineArgs{...} or: nil
func LabVirtualMachinePtr ¶ added in v5.31.0
func LabVirtualMachinePtr(v *LabVirtualMachineArgs) LabVirtualMachinePtrInput
type LabVirtualMachinePtrOutput ¶ added in v5.31.0
type LabVirtualMachinePtrOutput struct{ *pulumi.OutputState }
func (LabVirtualMachinePtrOutput) AdditionalCapabilityGpuDriversInstalled ¶ added in v5.31.0
func (o LabVirtualMachinePtrOutput) AdditionalCapabilityGpuDriversInstalled() pulumi.BoolPtrOutput
Is flagged to pre-install dedicated GPU drivers? Defaults to `false`. Changing this forces a new resource to be created.
func (LabVirtualMachinePtrOutput) AdminUser ¶ added in v5.31.0
func (o LabVirtualMachinePtrOutput) AdminUser() LabVirtualMachineAdminUserPtrOutput
An `adminUser` block as defined below.
func (LabVirtualMachinePtrOutput) CreateOption ¶ added in v5.31.0
func (o LabVirtualMachinePtrOutput) CreateOption() pulumi.StringPtrOutput
The create option to indicate what Lab Service Lab VMs are created from. Possible values are `Image` and `TemplateVM`. Defaults to `Image`. Changing this forces a new resource to be created.
func (LabVirtualMachinePtrOutput) Elem ¶ added in v5.31.0
func (o LabVirtualMachinePtrOutput) Elem() LabVirtualMachineOutput
func (LabVirtualMachinePtrOutput) ElementType ¶ added in v5.31.0
func (LabVirtualMachinePtrOutput) ElementType() reflect.Type
func (LabVirtualMachinePtrOutput) ImageReference ¶ added in v5.31.0
func (o LabVirtualMachinePtrOutput) ImageReference() LabVirtualMachineImageReferencePtrOutput
An `imageReference` block as defined below.
func (LabVirtualMachinePtrOutput) NonAdminUser ¶ added in v5.31.0
func (o LabVirtualMachinePtrOutput) NonAdminUser() LabVirtualMachineNonAdminUserPtrOutput
A `nonAdminUser` block as defined below.
func (LabVirtualMachinePtrOutput) SharedPasswordEnabled ¶ added in v5.31.0
func (o LabVirtualMachinePtrOutput) SharedPasswordEnabled() pulumi.BoolPtrOutput
Is the shared password enabled with the same password for all user VMs? Defaults to `false`. Changing this forces a new resource to be created.
func (LabVirtualMachinePtrOutput) Sku ¶ added in v5.31.0
func (o LabVirtualMachinePtrOutput) Sku() LabVirtualMachineSkuPtrOutput
A `sku` block as defined below.
func (LabVirtualMachinePtrOutput) ToLabVirtualMachinePtrOutput ¶ added in v5.31.0
func (o LabVirtualMachinePtrOutput) ToLabVirtualMachinePtrOutput() LabVirtualMachinePtrOutput
func (LabVirtualMachinePtrOutput) ToLabVirtualMachinePtrOutputWithContext ¶ added in v5.31.0
func (o LabVirtualMachinePtrOutput) ToLabVirtualMachinePtrOutputWithContext(ctx context.Context) LabVirtualMachinePtrOutput
func (LabVirtualMachinePtrOutput) UsageQuota ¶ added in v5.31.0
func (o LabVirtualMachinePtrOutput) UsageQuota() pulumi.StringPtrOutput
The initial quota allocated to each Lab Service Lab user. Defaults to `PT0S`. This value must be formatted as an ISO 8601 string.
type LabVirtualMachineSku ¶ added in v5.31.0
type LabVirtualMachineSku struct { // The capacity for the SKU. Possible values are between `0` and `400`. // // > **NOTE:** Once `activeDirectoryGroupId` is enabled, `capacity` wouldn't take effect, and it would be automatically set to the number of members in AAD Group by service API. So it has to use `ignoreChanges` to avoid the difference of tf plan. Capacity int `pulumi:"capacity"` // The name of the SKU. Changing this forces a new resource to be created. Name string `pulumi:"name"` }
type LabVirtualMachineSkuArgs ¶ added in v5.31.0
type LabVirtualMachineSkuArgs struct { // The capacity for the SKU. Possible values are between `0` and `400`. // // > **NOTE:** Once `activeDirectoryGroupId` is enabled, `capacity` wouldn't take effect, and it would be automatically set to the number of members in AAD Group by service API. So it has to use `ignoreChanges` to avoid the difference of tf plan. Capacity pulumi.IntInput `pulumi:"capacity"` // The name of the SKU. Changing this forces a new resource to be created. Name pulumi.StringInput `pulumi:"name"` }
func (LabVirtualMachineSkuArgs) ElementType ¶ added in v5.31.0
func (LabVirtualMachineSkuArgs) ElementType() reflect.Type
func (LabVirtualMachineSkuArgs) ToLabVirtualMachineSkuOutput ¶ added in v5.31.0
func (i LabVirtualMachineSkuArgs) ToLabVirtualMachineSkuOutput() LabVirtualMachineSkuOutput
func (LabVirtualMachineSkuArgs) ToLabVirtualMachineSkuOutputWithContext ¶ added in v5.31.0
func (i LabVirtualMachineSkuArgs) ToLabVirtualMachineSkuOutputWithContext(ctx context.Context) LabVirtualMachineSkuOutput
func (LabVirtualMachineSkuArgs) ToLabVirtualMachineSkuPtrOutput ¶ added in v5.31.0
func (i LabVirtualMachineSkuArgs) ToLabVirtualMachineSkuPtrOutput() LabVirtualMachineSkuPtrOutput
func (LabVirtualMachineSkuArgs) ToLabVirtualMachineSkuPtrOutputWithContext ¶ added in v5.31.0
func (i LabVirtualMachineSkuArgs) ToLabVirtualMachineSkuPtrOutputWithContext(ctx context.Context) LabVirtualMachineSkuPtrOutput
type LabVirtualMachineSkuInput ¶ added in v5.31.0
type LabVirtualMachineSkuInput interface { pulumi.Input ToLabVirtualMachineSkuOutput() LabVirtualMachineSkuOutput ToLabVirtualMachineSkuOutputWithContext(context.Context) LabVirtualMachineSkuOutput }
LabVirtualMachineSkuInput is an input type that accepts LabVirtualMachineSkuArgs and LabVirtualMachineSkuOutput values. You can construct a concrete instance of `LabVirtualMachineSkuInput` via:
LabVirtualMachineSkuArgs{...}
type LabVirtualMachineSkuOutput ¶ added in v5.31.0
type LabVirtualMachineSkuOutput struct{ *pulumi.OutputState }
func (LabVirtualMachineSkuOutput) Capacity ¶ added in v5.31.0
func (o LabVirtualMachineSkuOutput) Capacity() pulumi.IntOutput
The capacity for the SKU. Possible values are between `0` and `400`.
> **NOTE:** Once `activeDirectoryGroupId` is enabled, `capacity` wouldn't take effect, and it would be automatically set to the number of members in AAD Group by service API. So it has to use `ignoreChanges` to avoid the difference of tf plan.
func (LabVirtualMachineSkuOutput) ElementType ¶ added in v5.31.0
func (LabVirtualMachineSkuOutput) ElementType() reflect.Type
func (LabVirtualMachineSkuOutput) Name ¶ added in v5.31.0
func (o LabVirtualMachineSkuOutput) Name() pulumi.StringOutput
The name of the SKU. Changing this forces a new resource to be created.
func (LabVirtualMachineSkuOutput) ToLabVirtualMachineSkuOutput ¶ added in v5.31.0
func (o LabVirtualMachineSkuOutput) ToLabVirtualMachineSkuOutput() LabVirtualMachineSkuOutput
func (LabVirtualMachineSkuOutput) ToLabVirtualMachineSkuOutputWithContext ¶ added in v5.31.0
func (o LabVirtualMachineSkuOutput) ToLabVirtualMachineSkuOutputWithContext(ctx context.Context) LabVirtualMachineSkuOutput
func (LabVirtualMachineSkuOutput) ToLabVirtualMachineSkuPtrOutput ¶ added in v5.31.0
func (o LabVirtualMachineSkuOutput) ToLabVirtualMachineSkuPtrOutput() LabVirtualMachineSkuPtrOutput
func (LabVirtualMachineSkuOutput) ToLabVirtualMachineSkuPtrOutputWithContext ¶ added in v5.31.0
func (o LabVirtualMachineSkuOutput) ToLabVirtualMachineSkuPtrOutputWithContext(ctx context.Context) LabVirtualMachineSkuPtrOutput
type LabVirtualMachineSkuPtrInput ¶ added in v5.31.0
type LabVirtualMachineSkuPtrInput interface { pulumi.Input ToLabVirtualMachineSkuPtrOutput() LabVirtualMachineSkuPtrOutput ToLabVirtualMachineSkuPtrOutputWithContext(context.Context) LabVirtualMachineSkuPtrOutput }
LabVirtualMachineSkuPtrInput is an input type that accepts LabVirtualMachineSkuArgs, LabVirtualMachineSkuPtr and LabVirtualMachineSkuPtrOutput values. You can construct a concrete instance of `LabVirtualMachineSkuPtrInput` via:
LabVirtualMachineSkuArgs{...} or: nil
func LabVirtualMachineSkuPtr ¶ added in v5.31.0
func LabVirtualMachineSkuPtr(v *LabVirtualMachineSkuArgs) LabVirtualMachineSkuPtrInput
type LabVirtualMachineSkuPtrOutput ¶ added in v5.31.0
type LabVirtualMachineSkuPtrOutput struct{ *pulumi.OutputState }
func (LabVirtualMachineSkuPtrOutput) Capacity ¶ added in v5.31.0
func (o LabVirtualMachineSkuPtrOutput) Capacity() pulumi.IntPtrOutput
The capacity for the SKU. Possible values are between `0` and `400`.
> **NOTE:** Once `activeDirectoryGroupId` is enabled, `capacity` wouldn't take effect, and it would be automatically set to the number of members in AAD Group by service API. So it has to use `ignoreChanges` to avoid the difference of tf plan.
func (LabVirtualMachineSkuPtrOutput) Elem ¶ added in v5.31.0
func (o LabVirtualMachineSkuPtrOutput) Elem() LabVirtualMachineSkuOutput
func (LabVirtualMachineSkuPtrOutput) ElementType ¶ added in v5.31.0
func (LabVirtualMachineSkuPtrOutput) ElementType() reflect.Type
func (LabVirtualMachineSkuPtrOutput) Name ¶ added in v5.31.0
func (o LabVirtualMachineSkuPtrOutput) Name() pulumi.StringPtrOutput
The name of the SKU. Changing this forces a new resource to be created.
func (LabVirtualMachineSkuPtrOutput) ToLabVirtualMachineSkuPtrOutput ¶ added in v5.31.0
func (o LabVirtualMachineSkuPtrOutput) ToLabVirtualMachineSkuPtrOutput() LabVirtualMachineSkuPtrOutput
func (LabVirtualMachineSkuPtrOutput) ToLabVirtualMachineSkuPtrOutputWithContext ¶ added in v5.31.0
func (o LabVirtualMachineSkuPtrOutput) ToLabVirtualMachineSkuPtrOutputWithContext(ctx context.Context) LabVirtualMachineSkuPtrOutput
type Schedule ¶ added in v5.32.0
type Schedule struct { pulumi.CustomResourceState // The resource ID of the Lab Service Schedule. Changing this forces a new resource to be created. LabId pulumi.StringOutput `pulumi:"labId"` // The name which should be used for this Lab Service Schedule. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // The notes for the Schedule. Notes pulumi.StringPtrOutput `pulumi:"notes"` // A `recurrence` block as defined below. Recurrence ScheduleRecurrencePtrOutput `pulumi:"recurrence"` // When Lab User Virtual Machines will be started in RFC-3339 format. StartTime pulumi.StringPtrOutput `pulumi:"startTime"` // When Lab User Virtual Machines will be stopped in RFC-3339 format. StopTime pulumi.StringOutput `pulumi:"stopTime"` // The IANA Time Zone ID for the Schedule. TimeZone pulumi.StringOutput `pulumi:"timeZone"` }
Manages a Lab Service Schedule.
## Example Usage
<!--Start PulumiCodeChooser --> ```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/lab" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{ Name: pulumi.String("example-resources"), Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleLab, err := lab.NewLab(ctx, "example", &lab.LabArgs{ Name: pulumi.String("example-lab"), ResourceGroupName: example.Name, Location: example.Location, Title: pulumi.String("Test Title"), Security: &lab.LabSecurityArgs{ OpenAccessEnabled: pulumi.Bool(false), }, VirtualMachine: &lab.LabVirtualMachineArgs{ AdminUser: &lab.LabVirtualMachineAdminUserArgs{ Username: pulumi.String("testadmin"), Password: pulumi.String("Password1234!"), }, ImageReference: &lab.LabVirtualMachineImageReferenceArgs{ Publisher: pulumi.String("Canonical"), Offer: pulumi.String("0001-com-ubuntu-server-jammy"), Sku: pulumi.String("22_04-lts"), Version: pulumi.String("latest"), }, Sku: &lab.LabVirtualMachineSkuArgs{ Name: pulumi.String("Classic_Fsv2_2_4GB_128_S_SSD"), Capacity: pulumi.Int(1), }, }, }) if err != nil { return err } _, err = lab.NewSchedule(ctx, "example", &lab.ScheduleArgs{ Name: pulumi.String("example-labschedule"), LabId: exampleLab.ID(), StopTime: pulumi.String("2022-11-28T00:00:00Z"), TimeZone: pulumi.String("America/Los_Angeles"), }) if err != nil { return err } return nil }) }
``` <!--End PulumiCodeChooser -->
## Import
Lab Service Schedules can be imported using the `resource id`, e.g.
```sh $ pulumi import azure:lab/schedule:Schedule example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.LabServices/labs/lab1/schedules/schedule1 ```
func GetSchedule ¶ added in v5.32.0
func GetSchedule(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ScheduleState, opts ...pulumi.ResourceOption) (*Schedule, error)
GetSchedule gets an existing Schedule resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewSchedule ¶ added in v5.32.0
func NewSchedule(ctx *pulumi.Context, name string, args *ScheduleArgs, opts ...pulumi.ResourceOption) (*Schedule, error)
NewSchedule registers a new resource with the given unique name, arguments, and options.
func (*Schedule) ElementType ¶ added in v5.32.0
func (*Schedule) ToScheduleOutput ¶ added in v5.32.0
func (i *Schedule) ToScheduleOutput() ScheduleOutput
func (*Schedule) ToScheduleOutputWithContext ¶ added in v5.32.0
func (i *Schedule) ToScheduleOutputWithContext(ctx context.Context) ScheduleOutput
type ScheduleArgs ¶ added in v5.32.0
type ScheduleArgs struct { // The resource ID of the Lab Service Schedule. Changing this forces a new resource to be created. LabId pulumi.StringInput // The name which should be used for this Lab Service Schedule. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The notes for the Schedule. Notes pulumi.StringPtrInput // A `recurrence` block as defined below. Recurrence ScheduleRecurrencePtrInput // When Lab User Virtual Machines will be started in RFC-3339 format. StartTime pulumi.StringPtrInput // When Lab User Virtual Machines will be stopped in RFC-3339 format. StopTime pulumi.StringInput // The IANA Time Zone ID for the Schedule. TimeZone pulumi.StringInput }
The set of arguments for constructing a Schedule resource.
func (ScheduleArgs) ElementType ¶ added in v5.32.0
func (ScheduleArgs) ElementType() reflect.Type
type ScheduleArray ¶ added in v5.32.0
type ScheduleArray []ScheduleInput
func (ScheduleArray) ElementType ¶ added in v5.32.0
func (ScheduleArray) ElementType() reflect.Type
func (ScheduleArray) ToScheduleArrayOutput ¶ added in v5.32.0
func (i ScheduleArray) ToScheduleArrayOutput() ScheduleArrayOutput
func (ScheduleArray) ToScheduleArrayOutputWithContext ¶ added in v5.32.0
func (i ScheduleArray) ToScheduleArrayOutputWithContext(ctx context.Context) ScheduleArrayOutput
type ScheduleArrayInput ¶ added in v5.32.0
type ScheduleArrayInput interface { pulumi.Input ToScheduleArrayOutput() ScheduleArrayOutput ToScheduleArrayOutputWithContext(context.Context) ScheduleArrayOutput }
ScheduleArrayInput is an input type that accepts ScheduleArray and ScheduleArrayOutput values. You can construct a concrete instance of `ScheduleArrayInput` via:
ScheduleArray{ ScheduleArgs{...} }
type ScheduleArrayOutput ¶ added in v5.32.0
type ScheduleArrayOutput struct{ *pulumi.OutputState }
func (ScheduleArrayOutput) ElementType ¶ added in v5.32.0
func (ScheduleArrayOutput) ElementType() reflect.Type
func (ScheduleArrayOutput) Index ¶ added in v5.32.0
func (o ScheduleArrayOutput) Index(i pulumi.IntInput) ScheduleOutput
func (ScheduleArrayOutput) ToScheduleArrayOutput ¶ added in v5.32.0
func (o ScheduleArrayOutput) ToScheduleArrayOutput() ScheduleArrayOutput
func (ScheduleArrayOutput) ToScheduleArrayOutputWithContext ¶ added in v5.32.0
func (o ScheduleArrayOutput) ToScheduleArrayOutputWithContext(ctx context.Context) ScheduleArrayOutput
type ScheduleInput ¶ added in v5.32.0
type ScheduleInput interface { pulumi.Input ToScheduleOutput() ScheduleOutput ToScheduleOutputWithContext(ctx context.Context) ScheduleOutput }
type ScheduleMap ¶ added in v5.32.0
type ScheduleMap map[string]ScheduleInput
func (ScheduleMap) ElementType ¶ added in v5.32.0
func (ScheduleMap) ElementType() reflect.Type
func (ScheduleMap) ToScheduleMapOutput ¶ added in v5.32.0
func (i ScheduleMap) ToScheduleMapOutput() ScheduleMapOutput
func (ScheduleMap) ToScheduleMapOutputWithContext ¶ added in v5.32.0
func (i ScheduleMap) ToScheduleMapOutputWithContext(ctx context.Context) ScheduleMapOutput
type ScheduleMapInput ¶ added in v5.32.0
type ScheduleMapInput interface { pulumi.Input ToScheduleMapOutput() ScheduleMapOutput ToScheduleMapOutputWithContext(context.Context) ScheduleMapOutput }
ScheduleMapInput is an input type that accepts ScheduleMap and ScheduleMapOutput values. You can construct a concrete instance of `ScheduleMapInput` via:
ScheduleMap{ "key": ScheduleArgs{...} }
type ScheduleMapOutput ¶ added in v5.32.0
type ScheduleMapOutput struct{ *pulumi.OutputState }
func (ScheduleMapOutput) ElementType ¶ added in v5.32.0
func (ScheduleMapOutput) ElementType() reflect.Type
func (ScheduleMapOutput) MapIndex ¶ added in v5.32.0
func (o ScheduleMapOutput) MapIndex(k pulumi.StringInput) ScheduleOutput
func (ScheduleMapOutput) ToScheduleMapOutput ¶ added in v5.32.0
func (o ScheduleMapOutput) ToScheduleMapOutput() ScheduleMapOutput
func (ScheduleMapOutput) ToScheduleMapOutputWithContext ¶ added in v5.32.0
func (o ScheduleMapOutput) ToScheduleMapOutputWithContext(ctx context.Context) ScheduleMapOutput
type ScheduleOutput ¶ added in v5.32.0
type ScheduleOutput struct{ *pulumi.OutputState }
func (ScheduleOutput) ElementType ¶ added in v5.32.0
func (ScheduleOutput) ElementType() reflect.Type
func (ScheduleOutput) LabId ¶ added in v5.32.0
func (o ScheduleOutput) LabId() pulumi.StringOutput
The resource ID of the Lab Service Schedule. Changing this forces a new resource to be created.
func (ScheduleOutput) Name ¶ added in v5.32.0
func (o ScheduleOutput) Name() pulumi.StringOutput
The name which should be used for this Lab Service Schedule. Changing this forces a new resource to be created.
func (ScheduleOutput) Notes ¶ added in v5.32.0
func (o ScheduleOutput) Notes() pulumi.StringPtrOutput
The notes for the Schedule.
func (ScheduleOutput) Recurrence ¶ added in v5.32.0
func (o ScheduleOutput) Recurrence() ScheduleRecurrencePtrOutput
A `recurrence` block as defined below.
func (ScheduleOutput) StartTime ¶ added in v5.32.0
func (o ScheduleOutput) StartTime() pulumi.StringPtrOutput
When Lab User Virtual Machines will be started in RFC-3339 format.
func (ScheduleOutput) StopTime ¶ added in v5.32.0
func (o ScheduleOutput) StopTime() pulumi.StringOutput
When Lab User Virtual Machines will be stopped in RFC-3339 format.
func (ScheduleOutput) TimeZone ¶ added in v5.32.0
func (o ScheduleOutput) TimeZone() pulumi.StringOutput
The IANA Time Zone ID for the Schedule.
func (ScheduleOutput) ToScheduleOutput ¶ added in v5.32.0
func (o ScheduleOutput) ToScheduleOutput() ScheduleOutput
func (ScheduleOutput) ToScheduleOutputWithContext ¶ added in v5.32.0
func (o ScheduleOutput) ToScheduleOutputWithContext(ctx context.Context) ScheduleOutput
type ScheduleRecurrence ¶ added in v5.32.0
type ScheduleRecurrence struct { // When the recurrence will expire in RFC-3339 format. ExpirationDate string `pulumi:"expirationDate"` // The frequency of the recurrence. Possible values are `Daily` and `Weekly`. Frequency string `pulumi:"frequency"` // The interval to invoke the schedule on. Possible values are between `1` and `365`. Interval *int `pulumi:"interval"` // The interval to invoke the schedule on. Possible values are `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday` and `Saturday`. WeekDays []string `pulumi:"weekDays"` }
type ScheduleRecurrenceArgs ¶ added in v5.32.0
type ScheduleRecurrenceArgs struct { // When the recurrence will expire in RFC-3339 format. ExpirationDate pulumi.StringInput `pulumi:"expirationDate"` // The frequency of the recurrence. Possible values are `Daily` and `Weekly`. Frequency pulumi.StringInput `pulumi:"frequency"` // The interval to invoke the schedule on. Possible values are between `1` and `365`. Interval pulumi.IntPtrInput `pulumi:"interval"` // The interval to invoke the schedule on. Possible values are `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday` and `Saturday`. WeekDays pulumi.StringArrayInput `pulumi:"weekDays"` }
func (ScheduleRecurrenceArgs) ElementType ¶ added in v5.32.0
func (ScheduleRecurrenceArgs) ElementType() reflect.Type
func (ScheduleRecurrenceArgs) ToScheduleRecurrenceOutput ¶ added in v5.32.0
func (i ScheduleRecurrenceArgs) ToScheduleRecurrenceOutput() ScheduleRecurrenceOutput
func (ScheduleRecurrenceArgs) ToScheduleRecurrenceOutputWithContext ¶ added in v5.32.0
func (i ScheduleRecurrenceArgs) ToScheduleRecurrenceOutputWithContext(ctx context.Context) ScheduleRecurrenceOutput
func (ScheduleRecurrenceArgs) ToScheduleRecurrencePtrOutput ¶ added in v5.32.0
func (i ScheduleRecurrenceArgs) ToScheduleRecurrencePtrOutput() ScheduleRecurrencePtrOutput
func (ScheduleRecurrenceArgs) ToScheduleRecurrencePtrOutputWithContext ¶ added in v5.32.0
func (i ScheduleRecurrenceArgs) ToScheduleRecurrencePtrOutputWithContext(ctx context.Context) ScheduleRecurrencePtrOutput
type ScheduleRecurrenceInput ¶ added in v5.32.0
type ScheduleRecurrenceInput interface { pulumi.Input ToScheduleRecurrenceOutput() ScheduleRecurrenceOutput ToScheduleRecurrenceOutputWithContext(context.Context) ScheduleRecurrenceOutput }
ScheduleRecurrenceInput is an input type that accepts ScheduleRecurrenceArgs and ScheduleRecurrenceOutput values. You can construct a concrete instance of `ScheduleRecurrenceInput` via:
ScheduleRecurrenceArgs{...}
type ScheduleRecurrenceOutput ¶ added in v5.32.0
type ScheduleRecurrenceOutput struct{ *pulumi.OutputState }
func (ScheduleRecurrenceOutput) ElementType ¶ added in v5.32.0
func (ScheduleRecurrenceOutput) ElementType() reflect.Type
func (ScheduleRecurrenceOutput) ExpirationDate ¶ added in v5.32.0
func (o ScheduleRecurrenceOutput) ExpirationDate() pulumi.StringOutput
When the recurrence will expire in RFC-3339 format.
func (ScheduleRecurrenceOutput) Frequency ¶ added in v5.32.0
func (o ScheduleRecurrenceOutput) Frequency() pulumi.StringOutput
The frequency of the recurrence. Possible values are `Daily` and `Weekly`.
func (ScheduleRecurrenceOutput) Interval ¶ added in v5.32.0
func (o ScheduleRecurrenceOutput) Interval() pulumi.IntPtrOutput
The interval to invoke the schedule on. Possible values are between `1` and `365`.
func (ScheduleRecurrenceOutput) ToScheduleRecurrenceOutput ¶ added in v5.32.0
func (o ScheduleRecurrenceOutput) ToScheduleRecurrenceOutput() ScheduleRecurrenceOutput
func (ScheduleRecurrenceOutput) ToScheduleRecurrenceOutputWithContext ¶ added in v5.32.0
func (o ScheduleRecurrenceOutput) ToScheduleRecurrenceOutputWithContext(ctx context.Context) ScheduleRecurrenceOutput
func (ScheduleRecurrenceOutput) ToScheduleRecurrencePtrOutput ¶ added in v5.32.0
func (o ScheduleRecurrenceOutput) ToScheduleRecurrencePtrOutput() ScheduleRecurrencePtrOutput
func (ScheduleRecurrenceOutput) ToScheduleRecurrencePtrOutputWithContext ¶ added in v5.32.0
func (o ScheduleRecurrenceOutput) ToScheduleRecurrencePtrOutputWithContext(ctx context.Context) ScheduleRecurrencePtrOutput
func (ScheduleRecurrenceOutput) WeekDays ¶ added in v5.32.0
func (o ScheduleRecurrenceOutput) WeekDays() pulumi.StringArrayOutput
The interval to invoke the schedule on. Possible values are `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday` and `Saturday`.
type ScheduleRecurrencePtrInput ¶ added in v5.32.0
type ScheduleRecurrencePtrInput interface { pulumi.Input ToScheduleRecurrencePtrOutput() ScheduleRecurrencePtrOutput ToScheduleRecurrencePtrOutputWithContext(context.Context) ScheduleRecurrencePtrOutput }
ScheduleRecurrencePtrInput is an input type that accepts ScheduleRecurrenceArgs, ScheduleRecurrencePtr and ScheduleRecurrencePtrOutput values. You can construct a concrete instance of `ScheduleRecurrencePtrInput` via:
ScheduleRecurrenceArgs{...} or: nil
func ScheduleRecurrencePtr ¶ added in v5.32.0
func ScheduleRecurrencePtr(v *ScheduleRecurrenceArgs) ScheduleRecurrencePtrInput
type ScheduleRecurrencePtrOutput ¶ added in v5.32.0
type ScheduleRecurrencePtrOutput struct{ *pulumi.OutputState }
func (ScheduleRecurrencePtrOutput) Elem ¶ added in v5.32.0
func (o ScheduleRecurrencePtrOutput) Elem() ScheduleRecurrenceOutput
func (ScheduleRecurrencePtrOutput) ElementType ¶ added in v5.32.0
func (ScheduleRecurrencePtrOutput) ElementType() reflect.Type
func (ScheduleRecurrencePtrOutput) ExpirationDate ¶ added in v5.32.0
func (o ScheduleRecurrencePtrOutput) ExpirationDate() pulumi.StringPtrOutput
When the recurrence will expire in RFC-3339 format.
func (ScheduleRecurrencePtrOutput) Frequency ¶ added in v5.32.0
func (o ScheduleRecurrencePtrOutput) Frequency() pulumi.StringPtrOutput
The frequency of the recurrence. Possible values are `Daily` and `Weekly`.
func (ScheduleRecurrencePtrOutput) Interval ¶ added in v5.32.0
func (o ScheduleRecurrencePtrOutput) Interval() pulumi.IntPtrOutput
The interval to invoke the schedule on. Possible values are between `1` and `365`.
func (ScheduleRecurrencePtrOutput) ToScheduleRecurrencePtrOutput ¶ added in v5.32.0
func (o ScheduleRecurrencePtrOutput) ToScheduleRecurrencePtrOutput() ScheduleRecurrencePtrOutput
func (ScheduleRecurrencePtrOutput) ToScheduleRecurrencePtrOutputWithContext ¶ added in v5.32.0
func (o ScheduleRecurrencePtrOutput) ToScheduleRecurrencePtrOutputWithContext(ctx context.Context) ScheduleRecurrencePtrOutput
func (ScheduleRecurrencePtrOutput) WeekDays ¶ added in v5.32.0
func (o ScheduleRecurrencePtrOutput) WeekDays() pulumi.StringArrayOutput
The interval to invoke the schedule on. Possible values are `Sunday`, `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday` and `Saturday`.
type ScheduleState ¶ added in v5.32.0
type ScheduleState struct { // The resource ID of the Lab Service Schedule. Changing this forces a new resource to be created. LabId pulumi.StringPtrInput // The name which should be used for this Lab Service Schedule. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The notes for the Schedule. Notes pulumi.StringPtrInput // A `recurrence` block as defined below. Recurrence ScheduleRecurrencePtrInput // When Lab User Virtual Machines will be started in RFC-3339 format. StartTime pulumi.StringPtrInput // When Lab User Virtual Machines will be stopped in RFC-3339 format. StopTime pulumi.StringPtrInput // The IANA Time Zone ID for the Schedule. TimeZone pulumi.StringPtrInput }
func (ScheduleState) ElementType ¶ added in v5.32.0
func (ScheduleState) ElementType() reflect.Type
type ServicePlan ¶
type ServicePlan struct { pulumi.CustomResourceState // The allowed regions for the lab creator to use when creating labs using this Lab Service Plan. The allowed region's count must be between `1` and `28`. AllowedRegions pulumi.StringArrayOutput `pulumi:"allowedRegions"` // A `defaultAutoShutdown` block as defined below. DefaultAutoShutdown ServicePlanDefaultAutoShutdownPtrOutput `pulumi:"defaultAutoShutdown"` // A `defaultConnection` block as defined below. DefaultConnection ServicePlanDefaultConnectionPtrOutput `pulumi:"defaultConnection"` // The resource ID of the Subnet for the Lab Service Plan network profile. DefaultNetworkSubnetId pulumi.StringPtrOutput `pulumi:"defaultNetworkSubnetId"` // The Azure Region where the Lab Service Plan should exist. Changing this forces a new resource to be created. Location pulumi.StringOutput `pulumi:"location"` // The name of the Lab Service Plan. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // The name of the Resource Group where the Lab Service Plan should exist. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // // > **NOTE:** The built-in `Azure Lab Services` Service Principal with role needs to be assigned to the Shared Image Gallery while using this property. SharedGalleryId pulumi.StringPtrOutput `pulumi:"sharedGalleryId"` // A `support` block as defined below. Support ServicePlanSupportPtrOutput `pulumi:"support"` // A mapping of tags which should be assigned to the Lab Service Plan. Tags pulumi.StringMapOutput `pulumi:"tags"` }
Manages a Lab Service Plan.
> **Note:** Before using this resource, it's required to submit the request of registering the provider with Azure CLI `az provider register --namespace Microsoft.LabServices`.
## Example Usage
<!--Start PulumiCodeChooser --> ```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/lab" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{ Name: pulumi.String("example-resources"), Location: pulumi.String("West Europe"), }) if err != nil { return err } _, err = lab.NewServicePlan(ctx, "example", &lab.ServicePlanArgs{ Name: pulumi.String("example-lp"), ResourceGroupName: example.Name, Location: example.Location, AllowedRegions: pulumi.StringArray{ example.Location, }, }) if err != nil { return err } return nil }) }
``` <!--End PulumiCodeChooser -->
## Import
Lab Service Plans can be imported using the `resource id`, e.g.
```sh $ pulumi import azure:lab/servicePlan:ServicePlan example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.LabServices/labPlans/labPlan1 ```
func GetServicePlan ¶
func GetServicePlan(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ServicePlanState, opts ...pulumi.ResourceOption) (*ServicePlan, error)
GetServicePlan gets an existing ServicePlan resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewServicePlan ¶
func NewServicePlan(ctx *pulumi.Context, name string, args *ServicePlanArgs, opts ...pulumi.ResourceOption) (*ServicePlan, error)
NewServicePlan registers a new resource with the given unique name, arguments, and options.
func (*ServicePlan) ElementType ¶
func (*ServicePlan) ElementType() reflect.Type
func (*ServicePlan) ToServicePlanOutput ¶
func (i *ServicePlan) ToServicePlanOutput() ServicePlanOutput
func (*ServicePlan) ToServicePlanOutputWithContext ¶
func (i *ServicePlan) ToServicePlanOutputWithContext(ctx context.Context) ServicePlanOutput
type ServicePlanArgs ¶
type ServicePlanArgs struct { // The allowed regions for the lab creator to use when creating labs using this Lab Service Plan. The allowed region's count must be between `1` and `28`. AllowedRegions pulumi.StringArrayInput // A `defaultAutoShutdown` block as defined below. DefaultAutoShutdown ServicePlanDefaultAutoShutdownPtrInput // A `defaultConnection` block as defined below. DefaultConnection ServicePlanDefaultConnectionPtrInput // The resource ID of the Subnet for the Lab Service Plan network profile. DefaultNetworkSubnetId pulumi.StringPtrInput // The Azure Region where the Lab Service Plan should exist. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // The name of the Lab Service Plan. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The name of the Resource Group where the Lab Service Plan should exist. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput // // > **NOTE:** The built-in `Azure Lab Services` Service Principal with role needs to be assigned to the Shared Image Gallery while using this property. SharedGalleryId pulumi.StringPtrInput // A `support` block as defined below. Support ServicePlanSupportPtrInput // A mapping of tags which should be assigned to the Lab Service Plan. Tags pulumi.StringMapInput }
The set of arguments for constructing a ServicePlan resource.
func (ServicePlanArgs) ElementType ¶
func (ServicePlanArgs) ElementType() reflect.Type
type ServicePlanArray ¶
type ServicePlanArray []ServicePlanInput
func (ServicePlanArray) ElementType ¶
func (ServicePlanArray) ElementType() reflect.Type
func (ServicePlanArray) ToServicePlanArrayOutput ¶
func (i ServicePlanArray) ToServicePlanArrayOutput() ServicePlanArrayOutput
func (ServicePlanArray) ToServicePlanArrayOutputWithContext ¶
func (i ServicePlanArray) ToServicePlanArrayOutputWithContext(ctx context.Context) ServicePlanArrayOutput
type ServicePlanArrayInput ¶
type ServicePlanArrayInput interface { pulumi.Input ToServicePlanArrayOutput() ServicePlanArrayOutput ToServicePlanArrayOutputWithContext(context.Context) ServicePlanArrayOutput }
ServicePlanArrayInput is an input type that accepts ServicePlanArray and ServicePlanArrayOutput values. You can construct a concrete instance of `ServicePlanArrayInput` via:
ServicePlanArray{ ServicePlanArgs{...} }
type ServicePlanArrayOutput ¶
type ServicePlanArrayOutput struct{ *pulumi.OutputState }
func (ServicePlanArrayOutput) ElementType ¶
func (ServicePlanArrayOutput) ElementType() reflect.Type
func (ServicePlanArrayOutput) Index ¶
func (o ServicePlanArrayOutput) Index(i pulumi.IntInput) ServicePlanOutput
func (ServicePlanArrayOutput) ToServicePlanArrayOutput ¶
func (o ServicePlanArrayOutput) ToServicePlanArrayOutput() ServicePlanArrayOutput
func (ServicePlanArrayOutput) ToServicePlanArrayOutputWithContext ¶
func (o ServicePlanArrayOutput) ToServicePlanArrayOutputWithContext(ctx context.Context) ServicePlanArrayOutput
type ServicePlanDefaultAutoShutdown ¶
type ServicePlanDefaultAutoShutdown struct { // The amount of time a VM will stay running after a user disconnects if this behavior is enabled. This value must be formatted as an ISO 8601 string. DisconnectDelay *string `pulumi:"disconnectDelay"` // The amount of time a VM will idle before it is shutdown if this behavior is enabled. This value must be formatted as an ISO 8601 string. IdleDelay *string `pulumi:"idleDelay"` // The amount of time a VM will stay running before it is shutdown if no connection is made and this behavior is enabled. This value must be formatted as an ISO 8601 string. NoConnectDelay *string `pulumi:"noConnectDelay"` // Will a VM get shutdown when it has idled for a period of time? Possible values are `LowUsage` and `UserAbsence`. // // > **NOTE:** This property is `None` when it isn't specified. No need to set `idleDelay` when `shutdownOnIdle` isn't specified. ShutdownOnIdle *string `pulumi:"shutdownOnIdle"` }
type ServicePlanDefaultAutoShutdownArgs ¶
type ServicePlanDefaultAutoShutdownArgs struct { // The amount of time a VM will stay running after a user disconnects if this behavior is enabled. This value must be formatted as an ISO 8601 string. DisconnectDelay pulumi.StringPtrInput `pulumi:"disconnectDelay"` // The amount of time a VM will idle before it is shutdown if this behavior is enabled. This value must be formatted as an ISO 8601 string. IdleDelay pulumi.StringPtrInput `pulumi:"idleDelay"` // The amount of time a VM will stay running before it is shutdown if no connection is made and this behavior is enabled. This value must be formatted as an ISO 8601 string. NoConnectDelay pulumi.StringPtrInput `pulumi:"noConnectDelay"` // Will a VM get shutdown when it has idled for a period of time? Possible values are `LowUsage` and `UserAbsence`. // // > **NOTE:** This property is `None` when it isn't specified. No need to set `idleDelay` when `shutdownOnIdle` isn't specified. ShutdownOnIdle pulumi.StringPtrInput `pulumi:"shutdownOnIdle"` }
func (ServicePlanDefaultAutoShutdownArgs) ElementType ¶
func (ServicePlanDefaultAutoShutdownArgs) ElementType() reflect.Type
func (ServicePlanDefaultAutoShutdownArgs) ToServicePlanDefaultAutoShutdownOutput ¶
func (i ServicePlanDefaultAutoShutdownArgs) ToServicePlanDefaultAutoShutdownOutput() ServicePlanDefaultAutoShutdownOutput
func (ServicePlanDefaultAutoShutdownArgs) ToServicePlanDefaultAutoShutdownOutputWithContext ¶
func (i ServicePlanDefaultAutoShutdownArgs) ToServicePlanDefaultAutoShutdownOutputWithContext(ctx context.Context) ServicePlanDefaultAutoShutdownOutput
func (ServicePlanDefaultAutoShutdownArgs) ToServicePlanDefaultAutoShutdownPtrOutput ¶
func (i ServicePlanDefaultAutoShutdownArgs) ToServicePlanDefaultAutoShutdownPtrOutput() ServicePlanDefaultAutoShutdownPtrOutput
func (ServicePlanDefaultAutoShutdownArgs) ToServicePlanDefaultAutoShutdownPtrOutputWithContext ¶
func (i ServicePlanDefaultAutoShutdownArgs) ToServicePlanDefaultAutoShutdownPtrOutputWithContext(ctx context.Context) ServicePlanDefaultAutoShutdownPtrOutput
type ServicePlanDefaultAutoShutdownInput ¶
type ServicePlanDefaultAutoShutdownInput interface { pulumi.Input ToServicePlanDefaultAutoShutdownOutput() ServicePlanDefaultAutoShutdownOutput ToServicePlanDefaultAutoShutdownOutputWithContext(context.Context) ServicePlanDefaultAutoShutdownOutput }
ServicePlanDefaultAutoShutdownInput is an input type that accepts ServicePlanDefaultAutoShutdownArgs and ServicePlanDefaultAutoShutdownOutput values. You can construct a concrete instance of `ServicePlanDefaultAutoShutdownInput` via:
ServicePlanDefaultAutoShutdownArgs{...}
type ServicePlanDefaultAutoShutdownOutput ¶
type ServicePlanDefaultAutoShutdownOutput struct{ *pulumi.OutputState }
func (ServicePlanDefaultAutoShutdownOutput) DisconnectDelay ¶
func (o ServicePlanDefaultAutoShutdownOutput) DisconnectDelay() pulumi.StringPtrOutput
The amount of time a VM will stay running after a user disconnects if this behavior is enabled. This value must be formatted as an ISO 8601 string.
func (ServicePlanDefaultAutoShutdownOutput) ElementType ¶
func (ServicePlanDefaultAutoShutdownOutput) ElementType() reflect.Type
func (ServicePlanDefaultAutoShutdownOutput) IdleDelay ¶
func (o ServicePlanDefaultAutoShutdownOutput) IdleDelay() pulumi.StringPtrOutput
The amount of time a VM will idle before it is shutdown if this behavior is enabled. This value must be formatted as an ISO 8601 string.
func (ServicePlanDefaultAutoShutdownOutput) NoConnectDelay ¶
func (o ServicePlanDefaultAutoShutdownOutput) NoConnectDelay() pulumi.StringPtrOutput
The amount of time a VM will stay running before it is shutdown if no connection is made and this behavior is enabled. This value must be formatted as an ISO 8601 string.
func (ServicePlanDefaultAutoShutdownOutput) ShutdownOnIdle ¶
func (o ServicePlanDefaultAutoShutdownOutput) ShutdownOnIdle() pulumi.StringPtrOutput
Will a VM get shutdown when it has idled for a period of time? Possible values are `LowUsage` and `UserAbsence`.
> **NOTE:** This property is `None` when it isn't specified. No need to set `idleDelay` when `shutdownOnIdle` isn't specified.
func (ServicePlanDefaultAutoShutdownOutput) ToServicePlanDefaultAutoShutdownOutput ¶
func (o ServicePlanDefaultAutoShutdownOutput) ToServicePlanDefaultAutoShutdownOutput() ServicePlanDefaultAutoShutdownOutput
func (ServicePlanDefaultAutoShutdownOutput) ToServicePlanDefaultAutoShutdownOutputWithContext ¶
func (o ServicePlanDefaultAutoShutdownOutput) ToServicePlanDefaultAutoShutdownOutputWithContext(ctx context.Context) ServicePlanDefaultAutoShutdownOutput
func (ServicePlanDefaultAutoShutdownOutput) ToServicePlanDefaultAutoShutdownPtrOutput ¶
func (o ServicePlanDefaultAutoShutdownOutput) ToServicePlanDefaultAutoShutdownPtrOutput() ServicePlanDefaultAutoShutdownPtrOutput
func (ServicePlanDefaultAutoShutdownOutput) ToServicePlanDefaultAutoShutdownPtrOutputWithContext ¶
func (o ServicePlanDefaultAutoShutdownOutput) ToServicePlanDefaultAutoShutdownPtrOutputWithContext(ctx context.Context) ServicePlanDefaultAutoShutdownPtrOutput
type ServicePlanDefaultAutoShutdownPtrInput ¶
type ServicePlanDefaultAutoShutdownPtrInput interface { pulumi.Input ToServicePlanDefaultAutoShutdownPtrOutput() ServicePlanDefaultAutoShutdownPtrOutput ToServicePlanDefaultAutoShutdownPtrOutputWithContext(context.Context) ServicePlanDefaultAutoShutdownPtrOutput }
ServicePlanDefaultAutoShutdownPtrInput is an input type that accepts ServicePlanDefaultAutoShutdownArgs, ServicePlanDefaultAutoShutdownPtr and ServicePlanDefaultAutoShutdownPtrOutput values. You can construct a concrete instance of `ServicePlanDefaultAutoShutdownPtrInput` via:
ServicePlanDefaultAutoShutdownArgs{...} or: nil
func ServicePlanDefaultAutoShutdownPtr ¶
func ServicePlanDefaultAutoShutdownPtr(v *ServicePlanDefaultAutoShutdownArgs) ServicePlanDefaultAutoShutdownPtrInput
type ServicePlanDefaultAutoShutdownPtrOutput ¶
type ServicePlanDefaultAutoShutdownPtrOutput struct{ *pulumi.OutputState }
func (ServicePlanDefaultAutoShutdownPtrOutput) DisconnectDelay ¶
func (o ServicePlanDefaultAutoShutdownPtrOutput) DisconnectDelay() pulumi.StringPtrOutput
The amount of time a VM will stay running after a user disconnects if this behavior is enabled. This value must be formatted as an ISO 8601 string.
func (ServicePlanDefaultAutoShutdownPtrOutput) ElementType ¶
func (ServicePlanDefaultAutoShutdownPtrOutput) ElementType() reflect.Type
func (ServicePlanDefaultAutoShutdownPtrOutput) IdleDelay ¶
func (o ServicePlanDefaultAutoShutdownPtrOutput) IdleDelay() pulumi.StringPtrOutput
The amount of time a VM will idle before it is shutdown if this behavior is enabled. This value must be formatted as an ISO 8601 string.
func (ServicePlanDefaultAutoShutdownPtrOutput) NoConnectDelay ¶
func (o ServicePlanDefaultAutoShutdownPtrOutput) NoConnectDelay() pulumi.StringPtrOutput
The amount of time a VM will stay running before it is shutdown if no connection is made and this behavior is enabled. This value must be formatted as an ISO 8601 string.
func (ServicePlanDefaultAutoShutdownPtrOutput) ShutdownOnIdle ¶
func (o ServicePlanDefaultAutoShutdownPtrOutput) ShutdownOnIdle() pulumi.StringPtrOutput
Will a VM get shutdown when it has idled for a period of time? Possible values are `LowUsage` and `UserAbsence`.
> **NOTE:** This property is `None` when it isn't specified. No need to set `idleDelay` when `shutdownOnIdle` isn't specified.
func (ServicePlanDefaultAutoShutdownPtrOutput) ToServicePlanDefaultAutoShutdownPtrOutput ¶
func (o ServicePlanDefaultAutoShutdownPtrOutput) ToServicePlanDefaultAutoShutdownPtrOutput() ServicePlanDefaultAutoShutdownPtrOutput
func (ServicePlanDefaultAutoShutdownPtrOutput) ToServicePlanDefaultAutoShutdownPtrOutputWithContext ¶
func (o ServicePlanDefaultAutoShutdownPtrOutput) ToServicePlanDefaultAutoShutdownPtrOutputWithContext(ctx context.Context) ServicePlanDefaultAutoShutdownPtrOutput
type ServicePlanDefaultConnection ¶
type ServicePlanDefaultConnection struct { // The enabled access level for Client Access over RDP. Possible values are `Private` and `Public`. // // > **NOTE:** This property is `None` when it isn't specified. ClientRdpAccess *string `pulumi:"clientRdpAccess"` // The enabled access level for Client Access over SSH. Possible values are `Private` and `Public`. // // > **NOTE:** This property is `None` when it isn't specified. ClientSshAccess *string `pulumi:"clientSshAccess"` // The enabled access level for Web Access over RDP. Possible values are `Private` and `Public`. // // > **NOTE:** This property is `None` when it isn't specified. WebRdpAccess *string `pulumi:"webRdpAccess"` // The enabled access level for Web Access over SSH. Possible values are `Private` and `Public`. // // > **NOTE:** This property is `None` when it isn't specified. WebSshAccess *string `pulumi:"webSshAccess"` }
type ServicePlanDefaultConnectionArgs ¶
type ServicePlanDefaultConnectionArgs struct { // The enabled access level for Client Access over RDP. Possible values are `Private` and `Public`. // // > **NOTE:** This property is `None` when it isn't specified. ClientRdpAccess pulumi.StringPtrInput `pulumi:"clientRdpAccess"` // The enabled access level for Client Access over SSH. Possible values are `Private` and `Public`. // // > **NOTE:** This property is `None` when it isn't specified. ClientSshAccess pulumi.StringPtrInput `pulumi:"clientSshAccess"` // The enabled access level for Web Access over RDP. Possible values are `Private` and `Public`. // // > **NOTE:** This property is `None` when it isn't specified. WebRdpAccess pulumi.StringPtrInput `pulumi:"webRdpAccess"` // The enabled access level for Web Access over SSH. Possible values are `Private` and `Public`. // // > **NOTE:** This property is `None` when it isn't specified. WebSshAccess pulumi.StringPtrInput `pulumi:"webSshAccess"` }
func (ServicePlanDefaultConnectionArgs) ElementType ¶
func (ServicePlanDefaultConnectionArgs) ElementType() reflect.Type
func (ServicePlanDefaultConnectionArgs) ToServicePlanDefaultConnectionOutput ¶
func (i ServicePlanDefaultConnectionArgs) ToServicePlanDefaultConnectionOutput() ServicePlanDefaultConnectionOutput
func (ServicePlanDefaultConnectionArgs) ToServicePlanDefaultConnectionOutputWithContext ¶
func (i ServicePlanDefaultConnectionArgs) ToServicePlanDefaultConnectionOutputWithContext(ctx context.Context) ServicePlanDefaultConnectionOutput
func (ServicePlanDefaultConnectionArgs) ToServicePlanDefaultConnectionPtrOutput ¶
func (i ServicePlanDefaultConnectionArgs) ToServicePlanDefaultConnectionPtrOutput() ServicePlanDefaultConnectionPtrOutput
func (ServicePlanDefaultConnectionArgs) ToServicePlanDefaultConnectionPtrOutputWithContext ¶
func (i ServicePlanDefaultConnectionArgs) ToServicePlanDefaultConnectionPtrOutputWithContext(ctx context.Context) ServicePlanDefaultConnectionPtrOutput
type ServicePlanDefaultConnectionInput ¶
type ServicePlanDefaultConnectionInput interface { pulumi.Input ToServicePlanDefaultConnectionOutput() ServicePlanDefaultConnectionOutput ToServicePlanDefaultConnectionOutputWithContext(context.Context) ServicePlanDefaultConnectionOutput }
ServicePlanDefaultConnectionInput is an input type that accepts ServicePlanDefaultConnectionArgs and ServicePlanDefaultConnectionOutput values. You can construct a concrete instance of `ServicePlanDefaultConnectionInput` via:
ServicePlanDefaultConnectionArgs{...}
type ServicePlanDefaultConnectionOutput ¶
type ServicePlanDefaultConnectionOutput struct{ *pulumi.OutputState }
func (ServicePlanDefaultConnectionOutput) ClientRdpAccess ¶
func (o ServicePlanDefaultConnectionOutput) ClientRdpAccess() pulumi.StringPtrOutput
The enabled access level for Client Access over RDP. Possible values are `Private` and `Public`.
> **NOTE:** This property is `None` when it isn't specified.
func (ServicePlanDefaultConnectionOutput) ClientSshAccess ¶
func (o ServicePlanDefaultConnectionOutput) ClientSshAccess() pulumi.StringPtrOutput
The enabled access level for Client Access over SSH. Possible values are `Private` and `Public`.
> **NOTE:** This property is `None` when it isn't specified.
func (ServicePlanDefaultConnectionOutput) ElementType ¶
func (ServicePlanDefaultConnectionOutput) ElementType() reflect.Type
func (ServicePlanDefaultConnectionOutput) ToServicePlanDefaultConnectionOutput ¶
func (o ServicePlanDefaultConnectionOutput) ToServicePlanDefaultConnectionOutput() ServicePlanDefaultConnectionOutput
func (ServicePlanDefaultConnectionOutput) ToServicePlanDefaultConnectionOutputWithContext ¶
func (o ServicePlanDefaultConnectionOutput) ToServicePlanDefaultConnectionOutputWithContext(ctx context.Context) ServicePlanDefaultConnectionOutput
func (ServicePlanDefaultConnectionOutput) ToServicePlanDefaultConnectionPtrOutput ¶
func (o ServicePlanDefaultConnectionOutput) ToServicePlanDefaultConnectionPtrOutput() ServicePlanDefaultConnectionPtrOutput
func (ServicePlanDefaultConnectionOutput) ToServicePlanDefaultConnectionPtrOutputWithContext ¶
func (o ServicePlanDefaultConnectionOutput) ToServicePlanDefaultConnectionPtrOutputWithContext(ctx context.Context) ServicePlanDefaultConnectionPtrOutput
func (ServicePlanDefaultConnectionOutput) WebRdpAccess ¶
func (o ServicePlanDefaultConnectionOutput) WebRdpAccess() pulumi.StringPtrOutput
The enabled access level for Web Access over RDP. Possible values are `Private` and `Public`.
> **NOTE:** This property is `None` when it isn't specified.
func (ServicePlanDefaultConnectionOutput) WebSshAccess ¶
func (o ServicePlanDefaultConnectionOutput) WebSshAccess() pulumi.StringPtrOutput
The enabled access level for Web Access over SSH. Possible values are `Private` and `Public`.
> **NOTE:** This property is `None` when it isn't specified.
type ServicePlanDefaultConnectionPtrInput ¶
type ServicePlanDefaultConnectionPtrInput interface { pulumi.Input ToServicePlanDefaultConnectionPtrOutput() ServicePlanDefaultConnectionPtrOutput ToServicePlanDefaultConnectionPtrOutputWithContext(context.Context) ServicePlanDefaultConnectionPtrOutput }
ServicePlanDefaultConnectionPtrInput is an input type that accepts ServicePlanDefaultConnectionArgs, ServicePlanDefaultConnectionPtr and ServicePlanDefaultConnectionPtrOutput values. You can construct a concrete instance of `ServicePlanDefaultConnectionPtrInput` via:
ServicePlanDefaultConnectionArgs{...} or: nil
func ServicePlanDefaultConnectionPtr ¶
func ServicePlanDefaultConnectionPtr(v *ServicePlanDefaultConnectionArgs) ServicePlanDefaultConnectionPtrInput
type ServicePlanDefaultConnectionPtrOutput ¶
type ServicePlanDefaultConnectionPtrOutput struct{ *pulumi.OutputState }
func (ServicePlanDefaultConnectionPtrOutput) ClientRdpAccess ¶
func (o ServicePlanDefaultConnectionPtrOutput) ClientRdpAccess() pulumi.StringPtrOutput
The enabled access level for Client Access over RDP. Possible values are `Private` and `Public`.
> **NOTE:** This property is `None` when it isn't specified.
func (ServicePlanDefaultConnectionPtrOutput) ClientSshAccess ¶
func (o ServicePlanDefaultConnectionPtrOutput) ClientSshAccess() pulumi.StringPtrOutput
The enabled access level for Client Access over SSH. Possible values are `Private` and `Public`.
> **NOTE:** This property is `None` when it isn't specified.
func (ServicePlanDefaultConnectionPtrOutput) ElementType ¶
func (ServicePlanDefaultConnectionPtrOutput) ElementType() reflect.Type
func (ServicePlanDefaultConnectionPtrOutput) ToServicePlanDefaultConnectionPtrOutput ¶
func (o ServicePlanDefaultConnectionPtrOutput) ToServicePlanDefaultConnectionPtrOutput() ServicePlanDefaultConnectionPtrOutput
func (ServicePlanDefaultConnectionPtrOutput) ToServicePlanDefaultConnectionPtrOutputWithContext ¶
func (o ServicePlanDefaultConnectionPtrOutput) ToServicePlanDefaultConnectionPtrOutputWithContext(ctx context.Context) ServicePlanDefaultConnectionPtrOutput
func (ServicePlanDefaultConnectionPtrOutput) WebRdpAccess ¶
func (o ServicePlanDefaultConnectionPtrOutput) WebRdpAccess() pulumi.StringPtrOutput
The enabled access level for Web Access over RDP. Possible values are `Private` and `Public`.
> **NOTE:** This property is `None` when it isn't specified.
func (ServicePlanDefaultConnectionPtrOutput) WebSshAccess ¶
func (o ServicePlanDefaultConnectionPtrOutput) WebSshAccess() pulumi.StringPtrOutput
The enabled access level for Web Access over SSH. Possible values are `Private` and `Public`.
> **NOTE:** This property is `None` when it isn't specified.
type ServicePlanInput ¶
type ServicePlanInput interface { pulumi.Input ToServicePlanOutput() ServicePlanOutput ToServicePlanOutputWithContext(ctx context.Context) ServicePlanOutput }
type ServicePlanMap ¶
type ServicePlanMap map[string]ServicePlanInput
func (ServicePlanMap) ElementType ¶
func (ServicePlanMap) ElementType() reflect.Type
func (ServicePlanMap) ToServicePlanMapOutput ¶
func (i ServicePlanMap) ToServicePlanMapOutput() ServicePlanMapOutput
func (ServicePlanMap) ToServicePlanMapOutputWithContext ¶
func (i ServicePlanMap) ToServicePlanMapOutputWithContext(ctx context.Context) ServicePlanMapOutput
type ServicePlanMapInput ¶
type ServicePlanMapInput interface { pulumi.Input ToServicePlanMapOutput() ServicePlanMapOutput ToServicePlanMapOutputWithContext(context.Context) ServicePlanMapOutput }
ServicePlanMapInput is an input type that accepts ServicePlanMap and ServicePlanMapOutput values. You can construct a concrete instance of `ServicePlanMapInput` via:
ServicePlanMap{ "key": ServicePlanArgs{...} }
type ServicePlanMapOutput ¶
type ServicePlanMapOutput struct{ *pulumi.OutputState }
func (ServicePlanMapOutput) ElementType ¶
func (ServicePlanMapOutput) ElementType() reflect.Type
func (ServicePlanMapOutput) MapIndex ¶
func (o ServicePlanMapOutput) MapIndex(k pulumi.StringInput) ServicePlanOutput
func (ServicePlanMapOutput) ToServicePlanMapOutput ¶
func (o ServicePlanMapOutput) ToServicePlanMapOutput() ServicePlanMapOutput
func (ServicePlanMapOutput) ToServicePlanMapOutputWithContext ¶
func (o ServicePlanMapOutput) ToServicePlanMapOutputWithContext(ctx context.Context) ServicePlanMapOutput
type ServicePlanOutput ¶
type ServicePlanOutput struct{ *pulumi.OutputState }
func (ServicePlanOutput) AllowedRegions ¶
func (o ServicePlanOutput) AllowedRegions() pulumi.StringArrayOutput
The allowed regions for the lab creator to use when creating labs using this Lab Service Plan. The allowed region's count must be between `1` and `28`.
func (ServicePlanOutput) DefaultAutoShutdown ¶
func (o ServicePlanOutput) DefaultAutoShutdown() ServicePlanDefaultAutoShutdownPtrOutput
A `defaultAutoShutdown` block as defined below.
func (ServicePlanOutput) DefaultConnection ¶
func (o ServicePlanOutput) DefaultConnection() ServicePlanDefaultConnectionPtrOutput
A `defaultConnection` block as defined below.
func (ServicePlanOutput) DefaultNetworkSubnetId ¶
func (o ServicePlanOutput) DefaultNetworkSubnetId() pulumi.StringPtrOutput
The resource ID of the Subnet for the Lab Service Plan network profile.
func (ServicePlanOutput) ElementType ¶
func (ServicePlanOutput) ElementType() reflect.Type
func (ServicePlanOutput) Location ¶
func (o ServicePlanOutput) Location() pulumi.StringOutput
The Azure Region where the Lab Service Plan should exist. Changing this forces a new resource to be created.
func (ServicePlanOutput) Name ¶
func (o ServicePlanOutput) Name() pulumi.StringOutput
The name of the Lab Service Plan. Changing this forces a new resource to be created.
func (ServicePlanOutput) ResourceGroupName ¶
func (o ServicePlanOutput) ResourceGroupName() pulumi.StringOutput
The name of the Resource Group where the Lab Service Plan should exist. Changing this forces a new resource to be created.
func (ServicePlanOutput) SharedGalleryId ¶
func (o ServicePlanOutput) SharedGalleryId() pulumi.StringPtrOutput
The resource ID of the Shared Image Gallery attached to this Lab Service Plan. When saving a lab template virtual machine image it will be persisted in this gallery. The shared images from the gallery can be made available to use when creating new labs.
> **NOTE:** The built-in `Azure Lab Services` Service Principal with role needs to be assigned to the Shared Image Gallery while using this property.
func (ServicePlanOutput) Support ¶
func (o ServicePlanOutput) Support() ServicePlanSupportPtrOutput
A `support` block as defined below.
func (ServicePlanOutput) Tags ¶
func (o ServicePlanOutput) Tags() pulumi.StringMapOutput
A mapping of tags which should be assigned to the Lab Service Plan.
func (ServicePlanOutput) ToServicePlanOutput ¶
func (o ServicePlanOutput) ToServicePlanOutput() ServicePlanOutput
func (ServicePlanOutput) ToServicePlanOutputWithContext ¶
func (o ServicePlanOutput) ToServicePlanOutputWithContext(ctx context.Context) ServicePlanOutput
type ServicePlanState ¶
type ServicePlanState struct { // The allowed regions for the lab creator to use when creating labs using this Lab Service Plan. The allowed region's count must be between `1` and `28`. AllowedRegions pulumi.StringArrayInput // A `defaultAutoShutdown` block as defined below. DefaultAutoShutdown ServicePlanDefaultAutoShutdownPtrInput // A `defaultConnection` block as defined below. DefaultConnection ServicePlanDefaultConnectionPtrInput // The resource ID of the Subnet for the Lab Service Plan network profile. DefaultNetworkSubnetId pulumi.StringPtrInput // The Azure Region where the Lab Service Plan should exist. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // The name of the Lab Service Plan. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The name of the Resource Group where the Lab Service Plan should exist. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // // > **NOTE:** The built-in `Azure Lab Services` Service Principal with role needs to be assigned to the Shared Image Gallery while using this property. SharedGalleryId pulumi.StringPtrInput // A `support` block as defined below. Support ServicePlanSupportPtrInput // A mapping of tags which should be assigned to the Lab Service Plan. Tags pulumi.StringMapInput }
func (ServicePlanState) ElementType ¶
func (ServicePlanState) ElementType() reflect.Type
type ServicePlanSupport ¶
type ServicePlanSupport struct { // The email address for the support contact. Email *string `pulumi:"email"` // The instructions for users of the Lab Service Plan. Instructions *string `pulumi:"instructions"` // The phone number for the support contact. Phone *string `pulumi:"phone"` // The web address for users of the Lab Service Plan. Url *string `pulumi:"url"` }
type ServicePlanSupportArgs ¶
type ServicePlanSupportArgs struct { // The email address for the support contact. Email pulumi.StringPtrInput `pulumi:"email"` // The instructions for users of the Lab Service Plan. Instructions pulumi.StringPtrInput `pulumi:"instructions"` // The phone number for the support contact. Phone pulumi.StringPtrInput `pulumi:"phone"` // The web address for users of the Lab Service Plan. Url pulumi.StringPtrInput `pulumi:"url"` }
func (ServicePlanSupportArgs) ElementType ¶
func (ServicePlanSupportArgs) ElementType() reflect.Type
func (ServicePlanSupportArgs) ToServicePlanSupportOutput ¶
func (i ServicePlanSupportArgs) ToServicePlanSupportOutput() ServicePlanSupportOutput
func (ServicePlanSupportArgs) ToServicePlanSupportOutputWithContext ¶
func (i ServicePlanSupportArgs) ToServicePlanSupportOutputWithContext(ctx context.Context) ServicePlanSupportOutput
func (ServicePlanSupportArgs) ToServicePlanSupportPtrOutput ¶
func (i ServicePlanSupportArgs) ToServicePlanSupportPtrOutput() ServicePlanSupportPtrOutput
func (ServicePlanSupportArgs) ToServicePlanSupportPtrOutputWithContext ¶
func (i ServicePlanSupportArgs) ToServicePlanSupportPtrOutputWithContext(ctx context.Context) ServicePlanSupportPtrOutput
type ServicePlanSupportInput ¶
type ServicePlanSupportInput interface { pulumi.Input ToServicePlanSupportOutput() ServicePlanSupportOutput ToServicePlanSupportOutputWithContext(context.Context) ServicePlanSupportOutput }
ServicePlanSupportInput is an input type that accepts ServicePlanSupportArgs and ServicePlanSupportOutput values. You can construct a concrete instance of `ServicePlanSupportInput` via:
ServicePlanSupportArgs{...}
type ServicePlanSupportOutput ¶
type ServicePlanSupportOutput struct{ *pulumi.OutputState }
func (ServicePlanSupportOutput) ElementType ¶
func (ServicePlanSupportOutput) ElementType() reflect.Type
func (ServicePlanSupportOutput) Email ¶
func (o ServicePlanSupportOutput) Email() pulumi.StringPtrOutput
The email address for the support contact.
func (ServicePlanSupportOutput) Instructions ¶
func (o ServicePlanSupportOutput) Instructions() pulumi.StringPtrOutput
The instructions for users of the Lab Service Plan.
func (ServicePlanSupportOutput) Phone ¶
func (o ServicePlanSupportOutput) Phone() pulumi.StringPtrOutput
The phone number for the support contact.
func (ServicePlanSupportOutput) ToServicePlanSupportOutput ¶
func (o ServicePlanSupportOutput) ToServicePlanSupportOutput() ServicePlanSupportOutput
func (ServicePlanSupportOutput) ToServicePlanSupportOutputWithContext ¶
func (o ServicePlanSupportOutput) ToServicePlanSupportOutputWithContext(ctx context.Context) ServicePlanSupportOutput
func (ServicePlanSupportOutput) ToServicePlanSupportPtrOutput ¶
func (o ServicePlanSupportOutput) ToServicePlanSupportPtrOutput() ServicePlanSupportPtrOutput
func (ServicePlanSupportOutput) ToServicePlanSupportPtrOutputWithContext ¶
func (o ServicePlanSupportOutput) ToServicePlanSupportPtrOutputWithContext(ctx context.Context) ServicePlanSupportPtrOutput
func (ServicePlanSupportOutput) Url ¶
func (o ServicePlanSupportOutput) Url() pulumi.StringPtrOutput
The web address for users of the Lab Service Plan.
type ServicePlanSupportPtrInput ¶
type ServicePlanSupportPtrInput interface { pulumi.Input ToServicePlanSupportPtrOutput() ServicePlanSupportPtrOutput ToServicePlanSupportPtrOutputWithContext(context.Context) ServicePlanSupportPtrOutput }
ServicePlanSupportPtrInput is an input type that accepts ServicePlanSupportArgs, ServicePlanSupportPtr and ServicePlanSupportPtrOutput values. You can construct a concrete instance of `ServicePlanSupportPtrInput` via:
ServicePlanSupportArgs{...} or: nil
func ServicePlanSupportPtr ¶
func ServicePlanSupportPtr(v *ServicePlanSupportArgs) ServicePlanSupportPtrInput
type ServicePlanSupportPtrOutput ¶
type ServicePlanSupportPtrOutput struct{ *pulumi.OutputState }
func (ServicePlanSupportPtrOutput) Elem ¶
func (o ServicePlanSupportPtrOutput) Elem() ServicePlanSupportOutput
func (ServicePlanSupportPtrOutput) ElementType ¶
func (ServicePlanSupportPtrOutput) ElementType() reflect.Type
func (ServicePlanSupportPtrOutput) Email ¶
func (o ServicePlanSupportPtrOutput) Email() pulumi.StringPtrOutput
The email address for the support contact.
func (ServicePlanSupportPtrOutput) Instructions ¶
func (o ServicePlanSupportPtrOutput) Instructions() pulumi.StringPtrOutput
The instructions for users of the Lab Service Plan.
func (ServicePlanSupportPtrOutput) Phone ¶
func (o ServicePlanSupportPtrOutput) Phone() pulumi.StringPtrOutput
The phone number for the support contact.
func (ServicePlanSupportPtrOutput) ToServicePlanSupportPtrOutput ¶
func (o ServicePlanSupportPtrOutput) ToServicePlanSupportPtrOutput() ServicePlanSupportPtrOutput
func (ServicePlanSupportPtrOutput) ToServicePlanSupportPtrOutputWithContext ¶
func (o ServicePlanSupportPtrOutput) ToServicePlanSupportPtrOutputWithContext(ctx context.Context) ServicePlanSupportPtrOutput
func (ServicePlanSupportPtrOutput) Url ¶
func (o ServicePlanSupportPtrOutput) Url() pulumi.StringPtrOutput
The web address for users of the Lab Service Plan.
type User ¶ added in v5.31.0
type User struct { pulumi.CustomResourceState // The amount of usage quota time the Lab Service User gets in addition to the lab usage quota. Defaults to `PT0S`. AdditionalUsageQuota pulumi.StringPtrOutput `pulumi:"additionalUsageQuota"` // The email address of the Lab Service User. Changing this forces a new resource to be created. Email pulumi.StringOutput `pulumi:"email"` // The resource ID of the Lab Service Lab. Changing this forces a new resource to be created. LabId pulumi.StringOutput `pulumi:"labId"` // The name which should be used for this Lab Service User. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` }
Manages a Lab Service User.
## Example Usage
<!--Start PulumiCodeChooser --> ```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/lab" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{ Name: pulumi.String("example-resources"), Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleLab, err := lab.NewLab(ctx, "example", &lab.LabArgs{ Name: pulumi.String("example-lab"), ResourceGroupName: example.Name, Location: example.Location, Title: pulumi.String("Test Title"), Security: &lab.LabSecurityArgs{ OpenAccessEnabled: pulumi.Bool(false), }, VirtualMachine: &lab.LabVirtualMachineArgs{ AdminUser: &lab.LabVirtualMachineAdminUserArgs{ Username: pulumi.String("testadmin"), Password: pulumi.String("Password1234!"), }, ImageReference: &lab.LabVirtualMachineImageReferenceArgs{ Publisher: pulumi.String("Canonical"), Offer: pulumi.String("0001-com-ubuntu-server-jammy"), Sku: pulumi.String("22_04-lts"), Version: pulumi.String("latest"), }, Sku: &lab.LabVirtualMachineSkuArgs{ Name: pulumi.String("Classic_Fsv2_2_4GB_128_S_SSD"), Capacity: pulumi.Int(1), }, }, }) if err != nil { return err } _, err = lab.NewUser(ctx, "example", &lab.UserArgs{ Name: pulumi.String("example-labuser"), LabId: exampleLab.ID(), Email: pulumi.String("terraform-acctest@example.com"), }) if err != nil { return err } return nil }) }
``` <!--End PulumiCodeChooser -->
## Import
Lab Service Users can be imported using the `resource id`, e.g.
```sh $ pulumi import azure:lab/user:User example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.LabServices/labs/lab1/users/user1 ```
func GetUser ¶ added in v5.31.0
func GetUser(ctx *pulumi.Context, name string, id pulumi.IDInput, state *UserState, opts ...pulumi.ResourceOption) (*User, error)
GetUser gets an existing User resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewUser ¶ added in v5.31.0
func NewUser(ctx *pulumi.Context, name string, args *UserArgs, opts ...pulumi.ResourceOption) (*User, error)
NewUser registers a new resource with the given unique name, arguments, and options.
func (*User) ElementType ¶ added in v5.31.0
func (*User) ToUserOutput ¶ added in v5.31.0
func (i *User) ToUserOutput() UserOutput
func (*User) ToUserOutputWithContext ¶ added in v5.31.0
func (i *User) ToUserOutputWithContext(ctx context.Context) UserOutput
type UserArgs ¶ added in v5.31.0
type UserArgs struct { // The amount of usage quota time the Lab Service User gets in addition to the lab usage quota. Defaults to `PT0S`. AdditionalUsageQuota pulumi.StringPtrInput // The email address of the Lab Service User. Changing this forces a new resource to be created. Email pulumi.StringInput // The resource ID of the Lab Service Lab. Changing this forces a new resource to be created. LabId pulumi.StringInput // The name which should be used for this Lab Service User. Changing this forces a new resource to be created. Name pulumi.StringPtrInput }
The set of arguments for constructing a User resource.
func (UserArgs) ElementType ¶ added in v5.31.0
type UserArray ¶ added in v5.31.0
type UserArray []UserInput
func (UserArray) ElementType ¶ added in v5.31.0
func (UserArray) ToUserArrayOutput ¶ added in v5.31.0
func (i UserArray) ToUserArrayOutput() UserArrayOutput
func (UserArray) ToUserArrayOutputWithContext ¶ added in v5.31.0
func (i UserArray) ToUserArrayOutputWithContext(ctx context.Context) UserArrayOutput
type UserArrayInput ¶ added in v5.31.0
type UserArrayInput interface { pulumi.Input ToUserArrayOutput() UserArrayOutput ToUserArrayOutputWithContext(context.Context) UserArrayOutput }
UserArrayInput is an input type that accepts UserArray and UserArrayOutput values. You can construct a concrete instance of `UserArrayInput` via:
UserArray{ UserArgs{...} }
type UserArrayOutput ¶ added in v5.31.0
type UserArrayOutput struct{ *pulumi.OutputState }
func (UserArrayOutput) ElementType ¶ added in v5.31.0
func (UserArrayOutput) ElementType() reflect.Type
func (UserArrayOutput) Index ¶ added in v5.31.0
func (o UserArrayOutput) Index(i pulumi.IntInput) UserOutput
func (UserArrayOutput) ToUserArrayOutput ¶ added in v5.31.0
func (o UserArrayOutput) ToUserArrayOutput() UserArrayOutput
func (UserArrayOutput) ToUserArrayOutputWithContext ¶ added in v5.31.0
func (o UserArrayOutput) ToUserArrayOutputWithContext(ctx context.Context) UserArrayOutput
type UserInput ¶ added in v5.31.0
type UserInput interface { pulumi.Input ToUserOutput() UserOutput ToUserOutputWithContext(ctx context.Context) UserOutput }
type UserMap ¶ added in v5.31.0
func (UserMap) ElementType ¶ added in v5.31.0
func (UserMap) ToUserMapOutput ¶ added in v5.31.0
func (i UserMap) ToUserMapOutput() UserMapOutput
func (UserMap) ToUserMapOutputWithContext ¶ added in v5.31.0
func (i UserMap) ToUserMapOutputWithContext(ctx context.Context) UserMapOutput
type UserMapInput ¶ added in v5.31.0
type UserMapInput interface { pulumi.Input ToUserMapOutput() UserMapOutput ToUserMapOutputWithContext(context.Context) UserMapOutput }
UserMapInput is an input type that accepts UserMap and UserMapOutput values. You can construct a concrete instance of `UserMapInput` via:
UserMap{ "key": UserArgs{...} }
type UserMapOutput ¶ added in v5.31.0
type UserMapOutput struct{ *pulumi.OutputState }
func (UserMapOutput) ElementType ¶ added in v5.31.0
func (UserMapOutput) ElementType() reflect.Type
func (UserMapOutput) MapIndex ¶ added in v5.31.0
func (o UserMapOutput) MapIndex(k pulumi.StringInput) UserOutput
func (UserMapOutput) ToUserMapOutput ¶ added in v5.31.0
func (o UserMapOutput) ToUserMapOutput() UserMapOutput
func (UserMapOutput) ToUserMapOutputWithContext ¶ added in v5.31.0
func (o UserMapOutput) ToUserMapOutputWithContext(ctx context.Context) UserMapOutput
type UserOutput ¶ added in v5.31.0
type UserOutput struct{ *pulumi.OutputState }
func (UserOutput) AdditionalUsageQuota ¶ added in v5.31.0
func (o UserOutput) AdditionalUsageQuota() pulumi.StringPtrOutput
The amount of usage quota time the Lab Service User gets in addition to the lab usage quota. Defaults to `PT0S`.
func (UserOutput) ElementType ¶ added in v5.31.0
func (UserOutput) ElementType() reflect.Type
func (UserOutput) Email ¶ added in v5.31.0
func (o UserOutput) Email() pulumi.StringOutput
The email address of the Lab Service User. Changing this forces a new resource to be created.
func (UserOutput) LabId ¶ added in v5.31.0
func (o UserOutput) LabId() pulumi.StringOutput
The resource ID of the Lab Service Lab. Changing this forces a new resource to be created.
func (UserOutput) Name ¶ added in v5.31.0
func (o UserOutput) Name() pulumi.StringOutput
The name which should be used for this Lab Service User. Changing this forces a new resource to be created.
func (UserOutput) ToUserOutput ¶ added in v5.31.0
func (o UserOutput) ToUserOutput() UserOutput
func (UserOutput) ToUserOutputWithContext ¶ added in v5.31.0
func (o UserOutput) ToUserOutputWithContext(ctx context.Context) UserOutput
type UserState ¶ added in v5.31.0
type UserState struct { // The amount of usage quota time the Lab Service User gets in addition to the lab usage quota. Defaults to `PT0S`. AdditionalUsageQuota pulumi.StringPtrInput // The email address of the Lab Service User. Changing this forces a new resource to be created. Email pulumi.StringPtrInput // The resource ID of the Lab Service Lab. Changing this forces a new resource to be created. LabId pulumi.StringPtrInput // The name which should be used for this Lab Service User. Changing this forces a new resource to be created. Name pulumi.StringPtrInput }