Documentation
¶
Index ¶
- type GetVirtualNetworkAllowedSubnet
- type GetVirtualNetworkAllowedSubnetArgs
- func (GetVirtualNetworkAllowedSubnetArgs) ElementType() reflect.Type
- func (i GetVirtualNetworkAllowedSubnetArgs) ToGetVirtualNetworkAllowedSubnetOutput() GetVirtualNetworkAllowedSubnetOutput
- func (i GetVirtualNetworkAllowedSubnetArgs) ToGetVirtualNetworkAllowedSubnetOutputWithContext(ctx context.Context) GetVirtualNetworkAllowedSubnetOutput
- type GetVirtualNetworkAllowedSubnetArray
- func (GetVirtualNetworkAllowedSubnetArray) ElementType() reflect.Type
- func (i GetVirtualNetworkAllowedSubnetArray) ToGetVirtualNetworkAllowedSubnetArrayOutput() GetVirtualNetworkAllowedSubnetArrayOutput
- func (i GetVirtualNetworkAllowedSubnetArray) ToGetVirtualNetworkAllowedSubnetArrayOutputWithContext(ctx context.Context) GetVirtualNetworkAllowedSubnetArrayOutput
- type GetVirtualNetworkAllowedSubnetArrayInput
- type GetVirtualNetworkAllowedSubnetArrayOutput
- func (GetVirtualNetworkAllowedSubnetArrayOutput) ElementType() reflect.Type
- func (o GetVirtualNetworkAllowedSubnetArrayOutput) Index(i pulumi.IntInput) GetVirtualNetworkAllowedSubnetOutput
- func (o GetVirtualNetworkAllowedSubnetArrayOutput) ToGetVirtualNetworkAllowedSubnetArrayOutput() GetVirtualNetworkAllowedSubnetArrayOutput
- func (o GetVirtualNetworkAllowedSubnetArrayOutput) ToGetVirtualNetworkAllowedSubnetArrayOutputWithContext(ctx context.Context) GetVirtualNetworkAllowedSubnetArrayOutput
- type GetVirtualNetworkAllowedSubnetInput
- type GetVirtualNetworkAllowedSubnetOutput
- func (o GetVirtualNetworkAllowedSubnetOutput) AllowPublicIp() pulumi.StringOutput
- func (GetVirtualNetworkAllowedSubnetOutput) ElementType() reflect.Type
- func (o GetVirtualNetworkAllowedSubnetOutput) LabSubnetName() pulumi.StringOutput
- func (o GetVirtualNetworkAllowedSubnetOutput) ResourceId() pulumi.StringOutput
- func (o GetVirtualNetworkAllowedSubnetOutput) ToGetVirtualNetworkAllowedSubnetOutput() GetVirtualNetworkAllowedSubnetOutput
- func (o GetVirtualNetworkAllowedSubnetOutput) ToGetVirtualNetworkAllowedSubnetOutputWithContext(ctx context.Context) GetVirtualNetworkAllowedSubnetOutput
- type GetVirtualNetworkSubnetOverride
- type GetVirtualNetworkSubnetOverrideArgs
- func (GetVirtualNetworkSubnetOverrideArgs) ElementType() reflect.Type
- func (i GetVirtualNetworkSubnetOverrideArgs) ToGetVirtualNetworkSubnetOverrideOutput() GetVirtualNetworkSubnetOverrideOutput
- func (i GetVirtualNetworkSubnetOverrideArgs) ToGetVirtualNetworkSubnetOverrideOutputWithContext(ctx context.Context) GetVirtualNetworkSubnetOverrideOutput
- type GetVirtualNetworkSubnetOverrideArray
- func (GetVirtualNetworkSubnetOverrideArray) ElementType() reflect.Type
- func (i GetVirtualNetworkSubnetOverrideArray) ToGetVirtualNetworkSubnetOverrideArrayOutput() GetVirtualNetworkSubnetOverrideArrayOutput
- func (i GetVirtualNetworkSubnetOverrideArray) ToGetVirtualNetworkSubnetOverrideArrayOutputWithContext(ctx context.Context) GetVirtualNetworkSubnetOverrideArrayOutput
- type GetVirtualNetworkSubnetOverrideArrayInput
- type GetVirtualNetworkSubnetOverrideArrayOutput
- func (GetVirtualNetworkSubnetOverrideArrayOutput) ElementType() reflect.Type
- func (o GetVirtualNetworkSubnetOverrideArrayOutput) Index(i pulumi.IntInput) GetVirtualNetworkSubnetOverrideOutput
- func (o GetVirtualNetworkSubnetOverrideArrayOutput) ToGetVirtualNetworkSubnetOverrideArrayOutput() GetVirtualNetworkSubnetOverrideArrayOutput
- func (o GetVirtualNetworkSubnetOverrideArrayOutput) ToGetVirtualNetworkSubnetOverrideArrayOutputWithContext(ctx context.Context) GetVirtualNetworkSubnetOverrideArrayOutput
- type GetVirtualNetworkSubnetOverrideInput
- type GetVirtualNetworkSubnetOverrideOutput
- func (GetVirtualNetworkSubnetOverrideOutput) ElementType() reflect.Type
- func (o GetVirtualNetworkSubnetOverrideOutput) LabSubnetName() pulumi.StringOutput
- func (o GetVirtualNetworkSubnetOverrideOutput) ResourceId() pulumi.StringOutput
- func (o GetVirtualNetworkSubnetOverrideOutput) ToGetVirtualNetworkSubnetOverrideOutput() GetVirtualNetworkSubnetOverrideOutput
- func (o GetVirtualNetworkSubnetOverrideOutput) ToGetVirtualNetworkSubnetOverrideOutputWithContext(ctx context.Context) GetVirtualNetworkSubnetOverrideOutput
- func (o GetVirtualNetworkSubnetOverrideOutput) UseInVmCreationPermission() pulumi.StringOutput
- func (o GetVirtualNetworkSubnetOverrideOutput) UsePublicIpAddressPermission() pulumi.StringOutput
- func (o GetVirtualNetworkSubnetOverrideOutput) VirtualNetworkPoolName() pulumi.StringOutput
- type GlobalVMShutdownSchedule
- type GlobalVMShutdownScheduleArgs
- type GlobalVMShutdownScheduleNotificationSettings
- type GlobalVMShutdownScheduleNotificationSettingsArgs
- func (GlobalVMShutdownScheduleNotificationSettingsArgs) ElementType() reflect.Type
- func (i GlobalVMShutdownScheduleNotificationSettingsArgs) ToGlobalVMShutdownScheduleNotificationSettingsOutput() GlobalVMShutdownScheduleNotificationSettingsOutput
- func (i GlobalVMShutdownScheduleNotificationSettingsArgs) ToGlobalVMShutdownScheduleNotificationSettingsOutputWithContext(ctx context.Context) GlobalVMShutdownScheduleNotificationSettingsOutput
- func (i GlobalVMShutdownScheduleNotificationSettingsArgs) ToGlobalVMShutdownScheduleNotificationSettingsPtrOutput() GlobalVMShutdownScheduleNotificationSettingsPtrOutput
- func (i GlobalVMShutdownScheduleNotificationSettingsArgs) ToGlobalVMShutdownScheduleNotificationSettingsPtrOutputWithContext(ctx context.Context) GlobalVMShutdownScheduleNotificationSettingsPtrOutput
- type GlobalVMShutdownScheduleNotificationSettingsInput
- type GlobalVMShutdownScheduleNotificationSettingsOutput
- func (GlobalVMShutdownScheduleNotificationSettingsOutput) ElementType() reflect.Type
- func (o GlobalVMShutdownScheduleNotificationSettingsOutput) Enabled() pulumi.BoolOutput
- func (o GlobalVMShutdownScheduleNotificationSettingsOutput) TimeInMinutes() pulumi.IntPtrOutput
- func (o GlobalVMShutdownScheduleNotificationSettingsOutput) ToGlobalVMShutdownScheduleNotificationSettingsOutput() GlobalVMShutdownScheduleNotificationSettingsOutput
- func (o GlobalVMShutdownScheduleNotificationSettingsOutput) ToGlobalVMShutdownScheduleNotificationSettingsOutputWithContext(ctx context.Context) GlobalVMShutdownScheduleNotificationSettingsOutput
- func (o GlobalVMShutdownScheduleNotificationSettingsOutput) ToGlobalVMShutdownScheduleNotificationSettingsPtrOutput() GlobalVMShutdownScheduleNotificationSettingsPtrOutput
- func (o GlobalVMShutdownScheduleNotificationSettingsOutput) ToGlobalVMShutdownScheduleNotificationSettingsPtrOutputWithContext(ctx context.Context) GlobalVMShutdownScheduleNotificationSettingsPtrOutput
- func (o GlobalVMShutdownScheduleNotificationSettingsOutput) WebhookUrl() pulumi.StringPtrOutput
- type GlobalVMShutdownScheduleNotificationSettingsPtrInput
- type GlobalVMShutdownScheduleNotificationSettingsPtrOutput
- func (o GlobalVMShutdownScheduleNotificationSettingsPtrOutput) Elem() GlobalVMShutdownScheduleNotificationSettingsOutput
- func (GlobalVMShutdownScheduleNotificationSettingsPtrOutput) ElementType() reflect.Type
- func (o GlobalVMShutdownScheduleNotificationSettingsPtrOutput) Enabled() pulumi.BoolPtrOutput
- func (o GlobalVMShutdownScheduleNotificationSettingsPtrOutput) TimeInMinutes() pulumi.IntPtrOutput
- func (o GlobalVMShutdownScheduleNotificationSettingsPtrOutput) ToGlobalVMShutdownScheduleNotificationSettingsPtrOutput() GlobalVMShutdownScheduleNotificationSettingsPtrOutput
- func (o GlobalVMShutdownScheduleNotificationSettingsPtrOutput) ToGlobalVMShutdownScheduleNotificationSettingsPtrOutputWithContext(ctx context.Context) GlobalVMShutdownScheduleNotificationSettingsPtrOutput
- func (o GlobalVMShutdownScheduleNotificationSettingsPtrOutput) WebhookUrl() pulumi.StringPtrOutput
- type GlobalVMShutdownScheduleState
- type Lab
- type LabArgs
- type LabState
- type LinuxVirtualMachine
- type LinuxVirtualMachineArgs
- type LinuxVirtualMachineGalleryImageReference
- type LinuxVirtualMachineGalleryImageReferenceArgs
- func (LinuxVirtualMachineGalleryImageReferenceArgs) ElementType() reflect.Type
- func (i LinuxVirtualMachineGalleryImageReferenceArgs) ToLinuxVirtualMachineGalleryImageReferenceOutput() LinuxVirtualMachineGalleryImageReferenceOutput
- func (i LinuxVirtualMachineGalleryImageReferenceArgs) ToLinuxVirtualMachineGalleryImageReferenceOutputWithContext(ctx context.Context) LinuxVirtualMachineGalleryImageReferenceOutput
- func (i LinuxVirtualMachineGalleryImageReferenceArgs) ToLinuxVirtualMachineGalleryImageReferencePtrOutput() LinuxVirtualMachineGalleryImageReferencePtrOutput
- func (i LinuxVirtualMachineGalleryImageReferenceArgs) ToLinuxVirtualMachineGalleryImageReferencePtrOutputWithContext(ctx context.Context) LinuxVirtualMachineGalleryImageReferencePtrOutput
- type LinuxVirtualMachineGalleryImageReferenceInput
- type LinuxVirtualMachineGalleryImageReferenceOutput
- func (LinuxVirtualMachineGalleryImageReferenceOutput) ElementType() reflect.Type
- func (o LinuxVirtualMachineGalleryImageReferenceOutput) Offer() pulumi.StringOutput
- func (o LinuxVirtualMachineGalleryImageReferenceOutput) Publisher() pulumi.StringOutput
- func (o LinuxVirtualMachineGalleryImageReferenceOutput) Sku() pulumi.StringOutput
- func (o LinuxVirtualMachineGalleryImageReferenceOutput) ToLinuxVirtualMachineGalleryImageReferenceOutput() LinuxVirtualMachineGalleryImageReferenceOutput
- func (o LinuxVirtualMachineGalleryImageReferenceOutput) ToLinuxVirtualMachineGalleryImageReferenceOutputWithContext(ctx context.Context) LinuxVirtualMachineGalleryImageReferenceOutput
- func (o LinuxVirtualMachineGalleryImageReferenceOutput) ToLinuxVirtualMachineGalleryImageReferencePtrOutput() LinuxVirtualMachineGalleryImageReferencePtrOutput
- func (o LinuxVirtualMachineGalleryImageReferenceOutput) ToLinuxVirtualMachineGalleryImageReferencePtrOutputWithContext(ctx context.Context) LinuxVirtualMachineGalleryImageReferencePtrOutput
- func (o LinuxVirtualMachineGalleryImageReferenceOutput) Version() pulumi.StringOutput
- type LinuxVirtualMachineGalleryImageReferencePtrInput
- type LinuxVirtualMachineGalleryImageReferencePtrOutput
- func (o LinuxVirtualMachineGalleryImageReferencePtrOutput) Elem() LinuxVirtualMachineGalleryImageReferenceOutput
- func (LinuxVirtualMachineGalleryImageReferencePtrOutput) ElementType() reflect.Type
- func (o LinuxVirtualMachineGalleryImageReferencePtrOutput) Offer() pulumi.StringPtrOutput
- func (o LinuxVirtualMachineGalleryImageReferencePtrOutput) Publisher() pulumi.StringPtrOutput
- func (o LinuxVirtualMachineGalleryImageReferencePtrOutput) Sku() pulumi.StringPtrOutput
- func (o LinuxVirtualMachineGalleryImageReferencePtrOutput) ToLinuxVirtualMachineGalleryImageReferencePtrOutput() LinuxVirtualMachineGalleryImageReferencePtrOutput
- func (o LinuxVirtualMachineGalleryImageReferencePtrOutput) ToLinuxVirtualMachineGalleryImageReferencePtrOutputWithContext(ctx context.Context) LinuxVirtualMachineGalleryImageReferencePtrOutput
- func (o LinuxVirtualMachineGalleryImageReferencePtrOutput) Version() pulumi.StringPtrOutput
- type LinuxVirtualMachineInboundNatRule
- type LinuxVirtualMachineInboundNatRuleArgs
- func (LinuxVirtualMachineInboundNatRuleArgs) ElementType() reflect.Type
- func (i LinuxVirtualMachineInboundNatRuleArgs) ToLinuxVirtualMachineInboundNatRuleOutput() LinuxVirtualMachineInboundNatRuleOutput
- func (i LinuxVirtualMachineInboundNatRuleArgs) ToLinuxVirtualMachineInboundNatRuleOutputWithContext(ctx context.Context) LinuxVirtualMachineInboundNatRuleOutput
- type LinuxVirtualMachineInboundNatRuleArray
- func (LinuxVirtualMachineInboundNatRuleArray) ElementType() reflect.Type
- func (i LinuxVirtualMachineInboundNatRuleArray) ToLinuxVirtualMachineInboundNatRuleArrayOutput() LinuxVirtualMachineInboundNatRuleArrayOutput
- func (i LinuxVirtualMachineInboundNatRuleArray) ToLinuxVirtualMachineInboundNatRuleArrayOutputWithContext(ctx context.Context) LinuxVirtualMachineInboundNatRuleArrayOutput
- type LinuxVirtualMachineInboundNatRuleArrayInput
- type LinuxVirtualMachineInboundNatRuleArrayOutput
- func (LinuxVirtualMachineInboundNatRuleArrayOutput) ElementType() reflect.Type
- func (o LinuxVirtualMachineInboundNatRuleArrayOutput) Index(i pulumi.IntInput) LinuxVirtualMachineInboundNatRuleOutput
- func (o LinuxVirtualMachineInboundNatRuleArrayOutput) ToLinuxVirtualMachineInboundNatRuleArrayOutput() LinuxVirtualMachineInboundNatRuleArrayOutput
- func (o LinuxVirtualMachineInboundNatRuleArrayOutput) ToLinuxVirtualMachineInboundNatRuleArrayOutputWithContext(ctx context.Context) LinuxVirtualMachineInboundNatRuleArrayOutput
- type LinuxVirtualMachineInboundNatRuleInput
- type LinuxVirtualMachineInboundNatRuleOutput
- func (o LinuxVirtualMachineInboundNatRuleOutput) BackendPort() pulumi.IntOutput
- func (LinuxVirtualMachineInboundNatRuleOutput) ElementType() reflect.Type
- func (o LinuxVirtualMachineInboundNatRuleOutput) FrontendPort() pulumi.IntPtrOutput
- func (o LinuxVirtualMachineInboundNatRuleOutput) Protocol() pulumi.StringOutput
- func (o LinuxVirtualMachineInboundNatRuleOutput) ToLinuxVirtualMachineInboundNatRuleOutput() LinuxVirtualMachineInboundNatRuleOutput
- func (o LinuxVirtualMachineInboundNatRuleOutput) ToLinuxVirtualMachineInboundNatRuleOutputWithContext(ctx context.Context) LinuxVirtualMachineInboundNatRuleOutput
- type LinuxVirtualMachineState
- type LookupLabArgs
- type LookupLabResult
- type LookupVirtualNetworkArgs
- type LookupVirtualNetworkResult
- type Policy
- type PolicyArgs
- type PolicyState
- type Schedule
- type ScheduleArgs
- type ScheduleDailyRecurrence
- type ScheduleDailyRecurrenceArgs
- func (ScheduleDailyRecurrenceArgs) ElementType() reflect.Type
- func (i ScheduleDailyRecurrenceArgs) ToScheduleDailyRecurrenceOutput() ScheduleDailyRecurrenceOutput
- func (i ScheduleDailyRecurrenceArgs) ToScheduleDailyRecurrenceOutputWithContext(ctx context.Context) ScheduleDailyRecurrenceOutput
- func (i ScheduleDailyRecurrenceArgs) ToScheduleDailyRecurrencePtrOutput() ScheduleDailyRecurrencePtrOutput
- func (i ScheduleDailyRecurrenceArgs) ToScheduleDailyRecurrencePtrOutputWithContext(ctx context.Context) ScheduleDailyRecurrencePtrOutput
- type ScheduleDailyRecurrenceInput
- type ScheduleDailyRecurrenceOutput
- func (ScheduleDailyRecurrenceOutput) ElementType() reflect.Type
- func (o ScheduleDailyRecurrenceOutput) Time() pulumi.StringOutput
- func (o ScheduleDailyRecurrenceOutput) ToScheduleDailyRecurrenceOutput() ScheduleDailyRecurrenceOutput
- func (o ScheduleDailyRecurrenceOutput) ToScheduleDailyRecurrenceOutputWithContext(ctx context.Context) ScheduleDailyRecurrenceOutput
- func (o ScheduleDailyRecurrenceOutput) ToScheduleDailyRecurrencePtrOutput() ScheduleDailyRecurrencePtrOutput
- func (o ScheduleDailyRecurrenceOutput) ToScheduleDailyRecurrencePtrOutputWithContext(ctx context.Context) ScheduleDailyRecurrencePtrOutput
- type ScheduleDailyRecurrencePtrInput
- type ScheduleDailyRecurrencePtrOutput
- func (o ScheduleDailyRecurrencePtrOutput) Elem() ScheduleDailyRecurrenceOutput
- func (ScheduleDailyRecurrencePtrOutput) ElementType() reflect.Type
- func (o ScheduleDailyRecurrencePtrOutput) Time() pulumi.StringPtrOutput
- func (o ScheduleDailyRecurrencePtrOutput) ToScheduleDailyRecurrencePtrOutput() ScheduleDailyRecurrencePtrOutput
- func (o ScheduleDailyRecurrencePtrOutput) ToScheduleDailyRecurrencePtrOutputWithContext(ctx context.Context) ScheduleDailyRecurrencePtrOutput
- type ScheduleHourlyRecurrence
- type ScheduleHourlyRecurrenceArgs
- func (ScheduleHourlyRecurrenceArgs) ElementType() reflect.Type
- func (i ScheduleHourlyRecurrenceArgs) ToScheduleHourlyRecurrenceOutput() ScheduleHourlyRecurrenceOutput
- func (i ScheduleHourlyRecurrenceArgs) ToScheduleHourlyRecurrenceOutputWithContext(ctx context.Context) ScheduleHourlyRecurrenceOutput
- func (i ScheduleHourlyRecurrenceArgs) ToScheduleHourlyRecurrencePtrOutput() ScheduleHourlyRecurrencePtrOutput
- func (i ScheduleHourlyRecurrenceArgs) ToScheduleHourlyRecurrencePtrOutputWithContext(ctx context.Context) ScheduleHourlyRecurrencePtrOutput
- type ScheduleHourlyRecurrenceInput
- type ScheduleHourlyRecurrenceOutput
- func (ScheduleHourlyRecurrenceOutput) ElementType() reflect.Type
- func (o ScheduleHourlyRecurrenceOutput) Minute() pulumi.IntOutput
- func (o ScheduleHourlyRecurrenceOutput) ToScheduleHourlyRecurrenceOutput() ScheduleHourlyRecurrenceOutput
- func (o ScheduleHourlyRecurrenceOutput) ToScheduleHourlyRecurrenceOutputWithContext(ctx context.Context) ScheduleHourlyRecurrenceOutput
- func (o ScheduleHourlyRecurrenceOutput) ToScheduleHourlyRecurrencePtrOutput() ScheduleHourlyRecurrencePtrOutput
- func (o ScheduleHourlyRecurrenceOutput) ToScheduleHourlyRecurrencePtrOutputWithContext(ctx context.Context) ScheduleHourlyRecurrencePtrOutput
- type ScheduleHourlyRecurrencePtrInput
- type ScheduleHourlyRecurrencePtrOutput
- func (o ScheduleHourlyRecurrencePtrOutput) Elem() ScheduleHourlyRecurrenceOutput
- func (ScheduleHourlyRecurrencePtrOutput) ElementType() reflect.Type
- func (o ScheduleHourlyRecurrencePtrOutput) Minute() pulumi.IntPtrOutput
- func (o ScheduleHourlyRecurrencePtrOutput) ToScheduleHourlyRecurrencePtrOutput() ScheduleHourlyRecurrencePtrOutput
- func (o ScheduleHourlyRecurrencePtrOutput) ToScheduleHourlyRecurrencePtrOutputWithContext(ctx context.Context) ScheduleHourlyRecurrencePtrOutput
- type ScheduleNotificationSettings
- type ScheduleNotificationSettingsArgs
- func (ScheduleNotificationSettingsArgs) ElementType() reflect.Type
- func (i ScheduleNotificationSettingsArgs) ToScheduleNotificationSettingsOutput() ScheduleNotificationSettingsOutput
- func (i ScheduleNotificationSettingsArgs) ToScheduleNotificationSettingsOutputWithContext(ctx context.Context) ScheduleNotificationSettingsOutput
- func (i ScheduleNotificationSettingsArgs) ToScheduleNotificationSettingsPtrOutput() ScheduleNotificationSettingsPtrOutput
- func (i ScheduleNotificationSettingsArgs) ToScheduleNotificationSettingsPtrOutputWithContext(ctx context.Context) ScheduleNotificationSettingsPtrOutput
- type ScheduleNotificationSettingsInput
- type ScheduleNotificationSettingsOutput
- func (ScheduleNotificationSettingsOutput) ElementType() reflect.Type
- func (o ScheduleNotificationSettingsOutput) Status() pulumi.StringPtrOutput
- func (o ScheduleNotificationSettingsOutput) TimeInMinutes() pulumi.IntPtrOutput
- func (o ScheduleNotificationSettingsOutput) ToScheduleNotificationSettingsOutput() ScheduleNotificationSettingsOutput
- func (o ScheduleNotificationSettingsOutput) ToScheduleNotificationSettingsOutputWithContext(ctx context.Context) ScheduleNotificationSettingsOutput
- func (o ScheduleNotificationSettingsOutput) ToScheduleNotificationSettingsPtrOutput() ScheduleNotificationSettingsPtrOutput
- func (o ScheduleNotificationSettingsOutput) ToScheduleNotificationSettingsPtrOutputWithContext(ctx context.Context) ScheduleNotificationSettingsPtrOutput
- func (o ScheduleNotificationSettingsOutput) WebhookUrl() pulumi.StringPtrOutput
- type ScheduleNotificationSettingsPtrInput
- type ScheduleNotificationSettingsPtrOutput
- func (o ScheduleNotificationSettingsPtrOutput) Elem() ScheduleNotificationSettingsOutput
- func (ScheduleNotificationSettingsPtrOutput) ElementType() reflect.Type
- func (o ScheduleNotificationSettingsPtrOutput) Status() pulumi.StringPtrOutput
- func (o ScheduleNotificationSettingsPtrOutput) TimeInMinutes() pulumi.IntPtrOutput
- func (o ScheduleNotificationSettingsPtrOutput) ToScheduleNotificationSettingsPtrOutput() ScheduleNotificationSettingsPtrOutput
- func (o ScheduleNotificationSettingsPtrOutput) ToScheduleNotificationSettingsPtrOutputWithContext(ctx context.Context) ScheduleNotificationSettingsPtrOutput
- func (o ScheduleNotificationSettingsPtrOutput) WebhookUrl() pulumi.StringPtrOutput
- type ScheduleState
- type ScheduleWeeklyRecurrence
- type ScheduleWeeklyRecurrenceArgs
- func (ScheduleWeeklyRecurrenceArgs) ElementType() reflect.Type
- func (i ScheduleWeeklyRecurrenceArgs) ToScheduleWeeklyRecurrenceOutput() ScheduleWeeklyRecurrenceOutput
- func (i ScheduleWeeklyRecurrenceArgs) ToScheduleWeeklyRecurrenceOutputWithContext(ctx context.Context) ScheduleWeeklyRecurrenceOutput
- func (i ScheduleWeeklyRecurrenceArgs) ToScheduleWeeklyRecurrencePtrOutput() ScheduleWeeklyRecurrencePtrOutput
- func (i ScheduleWeeklyRecurrenceArgs) ToScheduleWeeklyRecurrencePtrOutputWithContext(ctx context.Context) ScheduleWeeklyRecurrencePtrOutput
- type ScheduleWeeklyRecurrenceInput
- type ScheduleWeeklyRecurrenceOutput
- func (ScheduleWeeklyRecurrenceOutput) ElementType() reflect.Type
- func (o ScheduleWeeklyRecurrenceOutput) Time() pulumi.StringOutput
- func (o ScheduleWeeklyRecurrenceOutput) ToScheduleWeeklyRecurrenceOutput() ScheduleWeeklyRecurrenceOutput
- func (o ScheduleWeeklyRecurrenceOutput) ToScheduleWeeklyRecurrenceOutputWithContext(ctx context.Context) ScheduleWeeklyRecurrenceOutput
- func (o ScheduleWeeklyRecurrenceOutput) ToScheduleWeeklyRecurrencePtrOutput() ScheduleWeeklyRecurrencePtrOutput
- func (o ScheduleWeeklyRecurrenceOutput) ToScheduleWeeklyRecurrencePtrOutputWithContext(ctx context.Context) ScheduleWeeklyRecurrencePtrOutput
- func (o ScheduleWeeklyRecurrenceOutput) WeekDays() pulumi.StringArrayOutput
- type ScheduleWeeklyRecurrencePtrInput
- type ScheduleWeeklyRecurrencePtrOutput
- func (o ScheduleWeeklyRecurrencePtrOutput) Elem() ScheduleWeeklyRecurrenceOutput
- func (ScheduleWeeklyRecurrencePtrOutput) ElementType() reflect.Type
- func (o ScheduleWeeklyRecurrencePtrOutput) Time() pulumi.StringPtrOutput
- func (o ScheduleWeeklyRecurrencePtrOutput) ToScheduleWeeklyRecurrencePtrOutput() ScheduleWeeklyRecurrencePtrOutput
- func (o ScheduleWeeklyRecurrencePtrOutput) ToScheduleWeeklyRecurrencePtrOutputWithContext(ctx context.Context) ScheduleWeeklyRecurrencePtrOutput
- func (o ScheduleWeeklyRecurrencePtrOutput) WeekDays() pulumi.StringArrayOutput
- type VirtualNetwork
- type VirtualNetworkArgs
- type VirtualNetworkState
- type VirtualNetworkSubnet
- type VirtualNetworkSubnetArgs
- func (VirtualNetworkSubnetArgs) ElementType() reflect.Type
- func (i VirtualNetworkSubnetArgs) ToVirtualNetworkSubnetOutput() VirtualNetworkSubnetOutput
- func (i VirtualNetworkSubnetArgs) ToVirtualNetworkSubnetOutputWithContext(ctx context.Context) VirtualNetworkSubnetOutput
- func (i VirtualNetworkSubnetArgs) ToVirtualNetworkSubnetPtrOutput() VirtualNetworkSubnetPtrOutput
- func (i VirtualNetworkSubnetArgs) ToVirtualNetworkSubnetPtrOutputWithContext(ctx context.Context) VirtualNetworkSubnetPtrOutput
- type VirtualNetworkSubnetInput
- type VirtualNetworkSubnetOutput
- func (VirtualNetworkSubnetOutput) ElementType() reflect.Type
- func (o VirtualNetworkSubnetOutput) Name() pulumi.StringPtrOutput
- func (o VirtualNetworkSubnetOutput) ToVirtualNetworkSubnetOutput() VirtualNetworkSubnetOutput
- func (o VirtualNetworkSubnetOutput) ToVirtualNetworkSubnetOutputWithContext(ctx context.Context) VirtualNetworkSubnetOutput
- func (o VirtualNetworkSubnetOutput) ToVirtualNetworkSubnetPtrOutput() VirtualNetworkSubnetPtrOutput
- func (o VirtualNetworkSubnetOutput) ToVirtualNetworkSubnetPtrOutputWithContext(ctx context.Context) VirtualNetworkSubnetPtrOutput
- func (o VirtualNetworkSubnetOutput) UseInVirtualMachineCreation() pulumi.StringPtrOutput
- func (o VirtualNetworkSubnetOutput) UsePublicIpAddress() pulumi.StringPtrOutput
- type VirtualNetworkSubnetPtrInput
- type VirtualNetworkSubnetPtrOutput
- func (o VirtualNetworkSubnetPtrOutput) Elem() VirtualNetworkSubnetOutput
- func (VirtualNetworkSubnetPtrOutput) ElementType() reflect.Type
- func (o VirtualNetworkSubnetPtrOutput) Name() pulumi.StringPtrOutput
- func (o VirtualNetworkSubnetPtrOutput) ToVirtualNetworkSubnetPtrOutput() VirtualNetworkSubnetPtrOutput
- func (o VirtualNetworkSubnetPtrOutput) ToVirtualNetworkSubnetPtrOutputWithContext(ctx context.Context) VirtualNetworkSubnetPtrOutput
- func (o VirtualNetworkSubnetPtrOutput) UseInVirtualMachineCreation() pulumi.StringPtrOutput
- func (o VirtualNetworkSubnetPtrOutput) UsePublicIpAddress() pulumi.StringPtrOutput
- type WindowsVirtualMachine
- type WindowsVirtualMachineArgs
- type WindowsVirtualMachineGalleryImageReference
- type WindowsVirtualMachineGalleryImageReferenceArgs
- func (WindowsVirtualMachineGalleryImageReferenceArgs) ElementType() reflect.Type
- func (i WindowsVirtualMachineGalleryImageReferenceArgs) ToWindowsVirtualMachineGalleryImageReferenceOutput() WindowsVirtualMachineGalleryImageReferenceOutput
- func (i WindowsVirtualMachineGalleryImageReferenceArgs) ToWindowsVirtualMachineGalleryImageReferenceOutputWithContext(ctx context.Context) WindowsVirtualMachineGalleryImageReferenceOutput
- func (i WindowsVirtualMachineGalleryImageReferenceArgs) ToWindowsVirtualMachineGalleryImageReferencePtrOutput() WindowsVirtualMachineGalleryImageReferencePtrOutput
- func (i WindowsVirtualMachineGalleryImageReferenceArgs) ToWindowsVirtualMachineGalleryImageReferencePtrOutputWithContext(ctx context.Context) WindowsVirtualMachineGalleryImageReferencePtrOutput
- type WindowsVirtualMachineGalleryImageReferenceInput
- type WindowsVirtualMachineGalleryImageReferenceOutput
- func (WindowsVirtualMachineGalleryImageReferenceOutput) ElementType() reflect.Type
- func (o WindowsVirtualMachineGalleryImageReferenceOutput) Offer() pulumi.StringOutput
- func (o WindowsVirtualMachineGalleryImageReferenceOutput) Publisher() pulumi.StringOutput
- func (o WindowsVirtualMachineGalleryImageReferenceOutput) Sku() pulumi.StringOutput
- func (o WindowsVirtualMachineGalleryImageReferenceOutput) ToWindowsVirtualMachineGalleryImageReferenceOutput() WindowsVirtualMachineGalleryImageReferenceOutput
- func (o WindowsVirtualMachineGalleryImageReferenceOutput) ToWindowsVirtualMachineGalleryImageReferenceOutputWithContext(ctx context.Context) WindowsVirtualMachineGalleryImageReferenceOutput
- func (o WindowsVirtualMachineGalleryImageReferenceOutput) ToWindowsVirtualMachineGalleryImageReferencePtrOutput() WindowsVirtualMachineGalleryImageReferencePtrOutput
- func (o WindowsVirtualMachineGalleryImageReferenceOutput) ToWindowsVirtualMachineGalleryImageReferencePtrOutputWithContext(ctx context.Context) WindowsVirtualMachineGalleryImageReferencePtrOutput
- func (o WindowsVirtualMachineGalleryImageReferenceOutput) Version() pulumi.StringOutput
- type WindowsVirtualMachineGalleryImageReferencePtrInput
- type WindowsVirtualMachineGalleryImageReferencePtrOutput
- func (o WindowsVirtualMachineGalleryImageReferencePtrOutput) Elem() WindowsVirtualMachineGalleryImageReferenceOutput
- func (WindowsVirtualMachineGalleryImageReferencePtrOutput) ElementType() reflect.Type
- func (o WindowsVirtualMachineGalleryImageReferencePtrOutput) Offer() pulumi.StringPtrOutput
- func (o WindowsVirtualMachineGalleryImageReferencePtrOutput) Publisher() pulumi.StringPtrOutput
- func (o WindowsVirtualMachineGalleryImageReferencePtrOutput) Sku() pulumi.StringPtrOutput
- func (o WindowsVirtualMachineGalleryImageReferencePtrOutput) ToWindowsVirtualMachineGalleryImageReferencePtrOutput() WindowsVirtualMachineGalleryImageReferencePtrOutput
- func (o WindowsVirtualMachineGalleryImageReferencePtrOutput) ToWindowsVirtualMachineGalleryImageReferencePtrOutputWithContext(ctx context.Context) WindowsVirtualMachineGalleryImageReferencePtrOutput
- func (o WindowsVirtualMachineGalleryImageReferencePtrOutput) Version() pulumi.StringPtrOutput
- type WindowsVirtualMachineInboundNatRule
- type WindowsVirtualMachineInboundNatRuleArgs
- func (WindowsVirtualMachineInboundNatRuleArgs) ElementType() reflect.Type
- func (i WindowsVirtualMachineInboundNatRuleArgs) ToWindowsVirtualMachineInboundNatRuleOutput() WindowsVirtualMachineInboundNatRuleOutput
- func (i WindowsVirtualMachineInboundNatRuleArgs) ToWindowsVirtualMachineInboundNatRuleOutputWithContext(ctx context.Context) WindowsVirtualMachineInboundNatRuleOutput
- type WindowsVirtualMachineInboundNatRuleArray
- func (WindowsVirtualMachineInboundNatRuleArray) ElementType() reflect.Type
- func (i WindowsVirtualMachineInboundNatRuleArray) ToWindowsVirtualMachineInboundNatRuleArrayOutput() WindowsVirtualMachineInboundNatRuleArrayOutput
- func (i WindowsVirtualMachineInboundNatRuleArray) ToWindowsVirtualMachineInboundNatRuleArrayOutputWithContext(ctx context.Context) WindowsVirtualMachineInboundNatRuleArrayOutput
- type WindowsVirtualMachineInboundNatRuleArrayInput
- type WindowsVirtualMachineInboundNatRuleArrayOutput
- func (WindowsVirtualMachineInboundNatRuleArrayOutput) ElementType() reflect.Type
- func (o WindowsVirtualMachineInboundNatRuleArrayOutput) Index(i pulumi.IntInput) WindowsVirtualMachineInboundNatRuleOutput
- func (o WindowsVirtualMachineInboundNatRuleArrayOutput) ToWindowsVirtualMachineInboundNatRuleArrayOutput() WindowsVirtualMachineInboundNatRuleArrayOutput
- func (o WindowsVirtualMachineInboundNatRuleArrayOutput) ToWindowsVirtualMachineInboundNatRuleArrayOutputWithContext(ctx context.Context) WindowsVirtualMachineInboundNatRuleArrayOutput
- type WindowsVirtualMachineInboundNatRuleInput
- type WindowsVirtualMachineInboundNatRuleOutput
- func (o WindowsVirtualMachineInboundNatRuleOutput) BackendPort() pulumi.IntOutput
- func (WindowsVirtualMachineInboundNatRuleOutput) ElementType() reflect.Type
- func (o WindowsVirtualMachineInboundNatRuleOutput) FrontendPort() pulumi.IntPtrOutput
- func (o WindowsVirtualMachineInboundNatRuleOutput) Protocol() pulumi.StringOutput
- func (o WindowsVirtualMachineInboundNatRuleOutput) ToWindowsVirtualMachineInboundNatRuleOutput() WindowsVirtualMachineInboundNatRuleOutput
- func (o WindowsVirtualMachineInboundNatRuleOutput) ToWindowsVirtualMachineInboundNatRuleOutputWithContext(ctx context.Context) WindowsVirtualMachineInboundNatRuleOutput
- type WindowsVirtualMachineState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetVirtualNetworkAllowedSubnet ¶
type GetVirtualNetworkAllowedSubnet struct { // Indicates if this subnet allows public IP addresses. Possible values are `Allow`, `Default` and `Deny`. AllowPublicIp string `pulumi:"allowPublicIp"` // The name of the subnet. LabSubnetName string `pulumi:"labSubnetName"` // The resource identifier for the subnet. ResourceId string `pulumi:"resourceId"` }
type GetVirtualNetworkAllowedSubnetArgs ¶
type GetVirtualNetworkAllowedSubnetArgs struct { // Indicates if this subnet allows public IP addresses. Possible values are `Allow`, `Default` and `Deny`. AllowPublicIp pulumi.StringInput `pulumi:"allowPublicIp"` // The name of the subnet. LabSubnetName pulumi.StringInput `pulumi:"labSubnetName"` // The resource identifier for the subnet. ResourceId pulumi.StringInput `pulumi:"resourceId"` }
func (GetVirtualNetworkAllowedSubnetArgs) ElementType ¶
func (GetVirtualNetworkAllowedSubnetArgs) ElementType() reflect.Type
func (GetVirtualNetworkAllowedSubnetArgs) ToGetVirtualNetworkAllowedSubnetOutput ¶
func (i GetVirtualNetworkAllowedSubnetArgs) ToGetVirtualNetworkAllowedSubnetOutput() GetVirtualNetworkAllowedSubnetOutput
func (GetVirtualNetworkAllowedSubnetArgs) ToGetVirtualNetworkAllowedSubnetOutputWithContext ¶
func (i GetVirtualNetworkAllowedSubnetArgs) ToGetVirtualNetworkAllowedSubnetOutputWithContext(ctx context.Context) GetVirtualNetworkAllowedSubnetOutput
type GetVirtualNetworkAllowedSubnetArray ¶
type GetVirtualNetworkAllowedSubnetArray []GetVirtualNetworkAllowedSubnetInput
func (GetVirtualNetworkAllowedSubnetArray) ElementType ¶
func (GetVirtualNetworkAllowedSubnetArray) ElementType() reflect.Type
func (GetVirtualNetworkAllowedSubnetArray) ToGetVirtualNetworkAllowedSubnetArrayOutput ¶
func (i GetVirtualNetworkAllowedSubnetArray) ToGetVirtualNetworkAllowedSubnetArrayOutput() GetVirtualNetworkAllowedSubnetArrayOutput
func (GetVirtualNetworkAllowedSubnetArray) ToGetVirtualNetworkAllowedSubnetArrayOutputWithContext ¶
func (i GetVirtualNetworkAllowedSubnetArray) ToGetVirtualNetworkAllowedSubnetArrayOutputWithContext(ctx context.Context) GetVirtualNetworkAllowedSubnetArrayOutput
type GetVirtualNetworkAllowedSubnetArrayInput ¶
type GetVirtualNetworkAllowedSubnetArrayInput interface { pulumi.Input ToGetVirtualNetworkAllowedSubnetArrayOutput() GetVirtualNetworkAllowedSubnetArrayOutput ToGetVirtualNetworkAllowedSubnetArrayOutputWithContext(context.Context) GetVirtualNetworkAllowedSubnetArrayOutput }
GetVirtualNetworkAllowedSubnetArrayInput is an input type that accepts GetVirtualNetworkAllowedSubnetArray and GetVirtualNetworkAllowedSubnetArrayOutput values. You can construct a concrete instance of `GetVirtualNetworkAllowedSubnetArrayInput` via:
GetVirtualNetworkAllowedSubnetArray{ GetVirtualNetworkAllowedSubnetArgs{...} }
type GetVirtualNetworkAllowedSubnetArrayOutput ¶
type GetVirtualNetworkAllowedSubnetArrayOutput struct{ *pulumi.OutputState }
func (GetVirtualNetworkAllowedSubnetArrayOutput) ElementType ¶
func (GetVirtualNetworkAllowedSubnetArrayOutput) ElementType() reflect.Type
func (GetVirtualNetworkAllowedSubnetArrayOutput) ToGetVirtualNetworkAllowedSubnetArrayOutput ¶
func (o GetVirtualNetworkAllowedSubnetArrayOutput) ToGetVirtualNetworkAllowedSubnetArrayOutput() GetVirtualNetworkAllowedSubnetArrayOutput
func (GetVirtualNetworkAllowedSubnetArrayOutput) ToGetVirtualNetworkAllowedSubnetArrayOutputWithContext ¶
func (o GetVirtualNetworkAllowedSubnetArrayOutput) ToGetVirtualNetworkAllowedSubnetArrayOutputWithContext(ctx context.Context) GetVirtualNetworkAllowedSubnetArrayOutput
type GetVirtualNetworkAllowedSubnetInput ¶
type GetVirtualNetworkAllowedSubnetInput interface { pulumi.Input ToGetVirtualNetworkAllowedSubnetOutput() GetVirtualNetworkAllowedSubnetOutput ToGetVirtualNetworkAllowedSubnetOutputWithContext(context.Context) GetVirtualNetworkAllowedSubnetOutput }
GetVirtualNetworkAllowedSubnetInput is an input type that accepts GetVirtualNetworkAllowedSubnetArgs and GetVirtualNetworkAllowedSubnetOutput values. You can construct a concrete instance of `GetVirtualNetworkAllowedSubnetInput` via:
GetVirtualNetworkAllowedSubnetArgs{...}
type GetVirtualNetworkAllowedSubnetOutput ¶
type GetVirtualNetworkAllowedSubnetOutput struct{ *pulumi.OutputState }
func (GetVirtualNetworkAllowedSubnetOutput) AllowPublicIp ¶
func (o GetVirtualNetworkAllowedSubnetOutput) AllowPublicIp() pulumi.StringOutput
Indicates if this subnet allows public IP addresses. Possible values are `Allow`, `Default` and `Deny`.
func (GetVirtualNetworkAllowedSubnetOutput) ElementType ¶
func (GetVirtualNetworkAllowedSubnetOutput) ElementType() reflect.Type
func (GetVirtualNetworkAllowedSubnetOutput) LabSubnetName ¶
func (o GetVirtualNetworkAllowedSubnetOutput) LabSubnetName() pulumi.StringOutput
The name of the subnet.
func (GetVirtualNetworkAllowedSubnetOutput) ResourceId ¶
func (o GetVirtualNetworkAllowedSubnetOutput) ResourceId() pulumi.StringOutput
The resource identifier for the subnet.
func (GetVirtualNetworkAllowedSubnetOutput) ToGetVirtualNetworkAllowedSubnetOutput ¶
func (o GetVirtualNetworkAllowedSubnetOutput) ToGetVirtualNetworkAllowedSubnetOutput() GetVirtualNetworkAllowedSubnetOutput
func (GetVirtualNetworkAllowedSubnetOutput) ToGetVirtualNetworkAllowedSubnetOutputWithContext ¶
func (o GetVirtualNetworkAllowedSubnetOutput) ToGetVirtualNetworkAllowedSubnetOutputWithContext(ctx context.Context) GetVirtualNetworkAllowedSubnetOutput
type GetVirtualNetworkSubnetOverride ¶
type GetVirtualNetworkSubnetOverride struct { // The name of the subnet. LabSubnetName string `pulumi:"labSubnetName"` // The resource identifier for the subnet. ResourceId string `pulumi:"resourceId"` // Indicates if the subnet can be used for VM creation. Possible values are `Allow`, `Default` and `Deny`. UseInVmCreationPermission string `pulumi:"useInVmCreationPermission"` UsePublicIpAddressPermission string `pulumi:"usePublicIpAddressPermission"` // The virtual network pool associated with this subnet. VirtualNetworkPoolName string `pulumi:"virtualNetworkPoolName"` }
type GetVirtualNetworkSubnetOverrideArgs ¶
type GetVirtualNetworkSubnetOverrideArgs struct { // The name of the subnet. LabSubnetName pulumi.StringInput `pulumi:"labSubnetName"` // The resource identifier for the subnet. ResourceId pulumi.StringInput `pulumi:"resourceId"` // Indicates if the subnet can be used for VM creation. Possible values are `Allow`, `Default` and `Deny`. UseInVmCreationPermission pulumi.StringInput `pulumi:"useInVmCreationPermission"` UsePublicIpAddressPermission pulumi.StringInput `pulumi:"usePublicIpAddressPermission"` // The virtual network pool associated with this subnet. VirtualNetworkPoolName pulumi.StringInput `pulumi:"virtualNetworkPoolName"` }
func (GetVirtualNetworkSubnetOverrideArgs) ElementType ¶
func (GetVirtualNetworkSubnetOverrideArgs) ElementType() reflect.Type
func (GetVirtualNetworkSubnetOverrideArgs) ToGetVirtualNetworkSubnetOverrideOutput ¶
func (i GetVirtualNetworkSubnetOverrideArgs) ToGetVirtualNetworkSubnetOverrideOutput() GetVirtualNetworkSubnetOverrideOutput
func (GetVirtualNetworkSubnetOverrideArgs) ToGetVirtualNetworkSubnetOverrideOutputWithContext ¶
func (i GetVirtualNetworkSubnetOverrideArgs) ToGetVirtualNetworkSubnetOverrideOutputWithContext(ctx context.Context) GetVirtualNetworkSubnetOverrideOutput
type GetVirtualNetworkSubnetOverrideArray ¶
type GetVirtualNetworkSubnetOverrideArray []GetVirtualNetworkSubnetOverrideInput
func (GetVirtualNetworkSubnetOverrideArray) ElementType ¶
func (GetVirtualNetworkSubnetOverrideArray) ElementType() reflect.Type
func (GetVirtualNetworkSubnetOverrideArray) ToGetVirtualNetworkSubnetOverrideArrayOutput ¶
func (i GetVirtualNetworkSubnetOverrideArray) ToGetVirtualNetworkSubnetOverrideArrayOutput() GetVirtualNetworkSubnetOverrideArrayOutput
func (GetVirtualNetworkSubnetOverrideArray) ToGetVirtualNetworkSubnetOverrideArrayOutputWithContext ¶
func (i GetVirtualNetworkSubnetOverrideArray) ToGetVirtualNetworkSubnetOverrideArrayOutputWithContext(ctx context.Context) GetVirtualNetworkSubnetOverrideArrayOutput
type GetVirtualNetworkSubnetOverrideArrayInput ¶
type GetVirtualNetworkSubnetOverrideArrayInput interface { pulumi.Input ToGetVirtualNetworkSubnetOverrideArrayOutput() GetVirtualNetworkSubnetOverrideArrayOutput ToGetVirtualNetworkSubnetOverrideArrayOutputWithContext(context.Context) GetVirtualNetworkSubnetOverrideArrayOutput }
GetVirtualNetworkSubnetOverrideArrayInput is an input type that accepts GetVirtualNetworkSubnetOverrideArray and GetVirtualNetworkSubnetOverrideArrayOutput values. You can construct a concrete instance of `GetVirtualNetworkSubnetOverrideArrayInput` via:
GetVirtualNetworkSubnetOverrideArray{ GetVirtualNetworkSubnetOverrideArgs{...} }
type GetVirtualNetworkSubnetOverrideArrayOutput ¶
type GetVirtualNetworkSubnetOverrideArrayOutput struct{ *pulumi.OutputState }
func (GetVirtualNetworkSubnetOverrideArrayOutput) ElementType ¶
func (GetVirtualNetworkSubnetOverrideArrayOutput) ElementType() reflect.Type
func (GetVirtualNetworkSubnetOverrideArrayOutput) ToGetVirtualNetworkSubnetOverrideArrayOutput ¶
func (o GetVirtualNetworkSubnetOverrideArrayOutput) ToGetVirtualNetworkSubnetOverrideArrayOutput() GetVirtualNetworkSubnetOverrideArrayOutput
func (GetVirtualNetworkSubnetOverrideArrayOutput) ToGetVirtualNetworkSubnetOverrideArrayOutputWithContext ¶
func (o GetVirtualNetworkSubnetOverrideArrayOutput) ToGetVirtualNetworkSubnetOverrideArrayOutputWithContext(ctx context.Context) GetVirtualNetworkSubnetOverrideArrayOutput
type GetVirtualNetworkSubnetOverrideInput ¶
type GetVirtualNetworkSubnetOverrideInput interface { pulumi.Input ToGetVirtualNetworkSubnetOverrideOutput() GetVirtualNetworkSubnetOverrideOutput ToGetVirtualNetworkSubnetOverrideOutputWithContext(context.Context) GetVirtualNetworkSubnetOverrideOutput }
GetVirtualNetworkSubnetOverrideInput is an input type that accepts GetVirtualNetworkSubnetOverrideArgs and GetVirtualNetworkSubnetOverrideOutput values. You can construct a concrete instance of `GetVirtualNetworkSubnetOverrideInput` via:
GetVirtualNetworkSubnetOverrideArgs{...}
type GetVirtualNetworkSubnetOverrideOutput ¶
type GetVirtualNetworkSubnetOverrideOutput struct{ *pulumi.OutputState }
func (GetVirtualNetworkSubnetOverrideOutput) ElementType ¶
func (GetVirtualNetworkSubnetOverrideOutput) ElementType() reflect.Type
func (GetVirtualNetworkSubnetOverrideOutput) LabSubnetName ¶
func (o GetVirtualNetworkSubnetOverrideOutput) LabSubnetName() pulumi.StringOutput
The name of the subnet.
func (GetVirtualNetworkSubnetOverrideOutput) ResourceId ¶
func (o GetVirtualNetworkSubnetOverrideOutput) ResourceId() pulumi.StringOutput
The resource identifier for the subnet.
func (GetVirtualNetworkSubnetOverrideOutput) ToGetVirtualNetworkSubnetOverrideOutput ¶
func (o GetVirtualNetworkSubnetOverrideOutput) ToGetVirtualNetworkSubnetOverrideOutput() GetVirtualNetworkSubnetOverrideOutput
func (GetVirtualNetworkSubnetOverrideOutput) ToGetVirtualNetworkSubnetOverrideOutputWithContext ¶
func (o GetVirtualNetworkSubnetOverrideOutput) ToGetVirtualNetworkSubnetOverrideOutputWithContext(ctx context.Context) GetVirtualNetworkSubnetOverrideOutput
func (GetVirtualNetworkSubnetOverrideOutput) UseInVmCreationPermission ¶
func (o GetVirtualNetworkSubnetOverrideOutput) UseInVmCreationPermission() pulumi.StringOutput
Indicates if the subnet can be used for VM creation. Possible values are `Allow`, `Default` and `Deny`.
func (GetVirtualNetworkSubnetOverrideOutput) UsePublicIpAddressPermission ¶
func (o GetVirtualNetworkSubnetOverrideOutput) UsePublicIpAddressPermission() pulumi.StringOutput
func (GetVirtualNetworkSubnetOverrideOutput) VirtualNetworkPoolName ¶
func (o GetVirtualNetworkSubnetOverrideOutput) VirtualNetworkPoolName() pulumi.StringOutput
The virtual network pool associated with this subnet.
type GlobalVMShutdownSchedule ¶ added in v3.7.0
type GlobalVMShutdownSchedule struct { pulumi.CustomResourceState // The time each day when the schedule takes effect. Must match the format HHmm where HH is 00-23 and mm is 00-59 (e.g. 0930, 2300, etc.) DailyRecurrenceTime pulumi.StringOutput `pulumi:"dailyRecurrenceTime"` // Whether to enable the schedule. Possible values are `true` and `false`. Defaults to `true`. Enabled pulumi.BoolPtrOutput `pulumi:"enabled"` // The location where the schedule is created. Changing this forces a new resource to be created. Location pulumi.StringOutput `pulumi:"location"` NotificationSettings GlobalVMShutdownScheduleNotificationSettingsOutput `pulumi:"notificationSettings"` // A mapping of tags to assign to the resource. Tags pulumi.StringMapOutput `pulumi:"tags"` // The time zone ID (e.g. Pacific Standard time). Refer to this guide for a [full list of accepted time zone names](https://jackstromberg.com/2017/01/list-of-time-zones-consumed-by-azure/). Timezone pulumi.StringOutput `pulumi:"timezone"` // The resource ID of the target ARM-based Virtual Machine. Changing this forces a new resource to be created. VirtualMachineId pulumi.StringOutput `pulumi:"virtualMachineId"` }
Manages automated shutdown schedules for Azure VMs that are not within an Azure DevTest Lab. While this is part of the DevTest Labs service in Azure, this resource applies only to standard VMs, not DevTest Lab VMs. To manage automated shutdown schedules for DevTest Lab VMs, reference the `devtest.Schedule` resource
## Example Usage
```go package main
import (
"fmt" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/compute" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/devtest" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/network" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("eastus"), }) if err != nil { return err } exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "exampleVirtualNetwork", &network.VirtualNetworkArgs{ AddressSpaces: pulumi.StringArray{ pulumi.String("10.0.0.0/16"), }, Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, }) if err != nil { return err } exampleSubnet, err := network.NewSubnet(ctx, "exampleSubnet", &network.SubnetArgs{ ResourceGroupName: exampleResourceGroup.Name, VirtualNetworkName: exampleVirtualNetwork.Name, AddressPrefixes: pulumi.StringArray{ pulumi.String("10.0.2.0/24"), }, }) if err != nil { return err } exampleNetworkInterface, err := network.NewNetworkInterface(ctx, "exampleNetworkInterface", &network.NetworkInterfaceArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, IpConfigurations: network.NetworkInterfaceIpConfigurationArray{ &network.NetworkInterfaceIpConfigurationArgs{ Name: pulumi.String("testconfiguration1"), SubnetId: exampleSubnet.ID(), PrivateIpAddressAllocation: pulumi.String("Dynamic"), }, }, }) if err != nil { return err } _, err = compute.NewLinuxVirtualMachine(ctx, "exampleLinuxVirtualMachine", &compute.LinuxVirtualMachineArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, NetworkInterfaceIds: pulumi.StringArray{ exampleNetworkInterface.ID(), }, Size: pulumi.String("Standard_B2s"), SourceImageReference: &compute.LinuxVirtualMachineSourceImageReferenceArgs{ Publisher: pulumi.String("Canonical"), Offer: pulumi.String("UbuntuServer"), Sku: pulumi.String("16.04-LTS"), Version: pulumi.String("latest"), }, OsDisk: &compute.LinuxVirtualMachineOsDiskArgs{ Name: pulumi.String(fmt.Sprintf("%v%v%v", "myosdisk-", "%", "d")), Caching: pulumi.String("ReadWrite"), ManagedDiskType: pulumi.String("Standard_LRS"), }, AdminUsername: pulumi.String("testadmin"), AdminPassword: pulumi.String("Password1234!"), DisablePasswordAuthentication: pulumi.Bool(false), }) if err != nil { return err } _, err = devtest.NewGlobalVMShutdownSchedule(ctx, "exampleGlobalVMShutdownSchedule", &devtest.GlobalVMShutdownScheduleArgs{ VirtualMachineId: pulumi.Any(azurerm_virtual_machine.Example.Id), Location: exampleResourceGroup.Location, Enabled: pulumi.Bool(true), DailyRecurrenceTime: pulumi.String("1100"), Timezone: pulumi.String("Pacific Standard Time"), NotificationSettings: &devtest.GlobalVMShutdownScheduleNotificationSettingsArgs{ Enabled: pulumi.Bool(true), TimeInMinutes: pulumi.Int(60), WebhookUrl: pulumi.String("https://sample-webhook-url.example.com"), }, }) if err != nil { return err } return nil }) }
```
func GetGlobalVMShutdownSchedule ¶ added in v3.7.0
func GetGlobalVMShutdownSchedule(ctx *pulumi.Context, name string, id pulumi.IDInput, state *GlobalVMShutdownScheduleState, opts ...pulumi.ResourceOption) (*GlobalVMShutdownSchedule, error)
GetGlobalVMShutdownSchedule gets an existing GlobalVMShutdownSchedule 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 NewGlobalVMShutdownSchedule ¶ added in v3.7.0
func NewGlobalVMShutdownSchedule(ctx *pulumi.Context, name string, args *GlobalVMShutdownScheduleArgs, opts ...pulumi.ResourceOption) (*GlobalVMShutdownSchedule, error)
NewGlobalVMShutdownSchedule registers a new resource with the given unique name, arguments, and options.
type GlobalVMShutdownScheduleArgs ¶ added in v3.7.0
type GlobalVMShutdownScheduleArgs struct { // The time each day when the schedule takes effect. Must match the format HHmm where HH is 00-23 and mm is 00-59 (e.g. 0930, 2300, etc.) DailyRecurrenceTime pulumi.StringInput // Whether to enable the schedule. Possible values are `true` and `false`. Defaults to `true`. Enabled pulumi.BoolPtrInput // The location where the schedule is created. Changing this forces a new resource to be created. Location pulumi.StringPtrInput NotificationSettings GlobalVMShutdownScheduleNotificationSettingsInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput // The time zone ID (e.g. Pacific Standard time). Refer to this guide for a [full list of accepted time zone names](https://jackstromberg.com/2017/01/list-of-time-zones-consumed-by-azure/). Timezone pulumi.StringInput // The resource ID of the target ARM-based Virtual Machine. Changing this forces a new resource to be created. VirtualMachineId pulumi.StringInput }
The set of arguments for constructing a GlobalVMShutdownSchedule resource.
func (GlobalVMShutdownScheduleArgs) ElementType ¶ added in v3.7.0
func (GlobalVMShutdownScheduleArgs) ElementType() reflect.Type
type GlobalVMShutdownScheduleNotificationSettings ¶ added in v3.7.0
type GlobalVMShutdownScheduleNotificationSettings struct { // Whether to enable pre-shutdown notifications. Possible values are `true` and `false`. Defaults to `false` Enabled bool `pulumi:"enabled"` // Time in minutes between 15 and 120 before a shutdown event at which a notification will be sent. Defaults to `30`. TimeInMinutes *int `pulumi:"timeInMinutes"` // The webhook URL to which the notification will be sent. Required if `enabled` is `true`. Optional otherwise. WebhookUrl *string `pulumi:"webhookUrl"` }
type GlobalVMShutdownScheduleNotificationSettingsArgs ¶ added in v3.7.0
type GlobalVMShutdownScheduleNotificationSettingsArgs struct { // Whether to enable pre-shutdown notifications. Possible values are `true` and `false`. Defaults to `false` Enabled pulumi.BoolInput `pulumi:"enabled"` // Time in minutes between 15 and 120 before a shutdown event at which a notification will be sent. Defaults to `30`. TimeInMinutes pulumi.IntPtrInput `pulumi:"timeInMinutes"` // The webhook URL to which the notification will be sent. Required if `enabled` is `true`. Optional otherwise. WebhookUrl pulumi.StringPtrInput `pulumi:"webhookUrl"` }
func (GlobalVMShutdownScheduleNotificationSettingsArgs) ElementType ¶ added in v3.7.0
func (GlobalVMShutdownScheduleNotificationSettingsArgs) ElementType() reflect.Type
func (GlobalVMShutdownScheduleNotificationSettingsArgs) ToGlobalVMShutdownScheduleNotificationSettingsOutput ¶ added in v3.7.0
func (i GlobalVMShutdownScheduleNotificationSettingsArgs) ToGlobalVMShutdownScheduleNotificationSettingsOutput() GlobalVMShutdownScheduleNotificationSettingsOutput
func (GlobalVMShutdownScheduleNotificationSettingsArgs) ToGlobalVMShutdownScheduleNotificationSettingsOutputWithContext ¶ added in v3.7.0
func (i GlobalVMShutdownScheduleNotificationSettingsArgs) ToGlobalVMShutdownScheduleNotificationSettingsOutputWithContext(ctx context.Context) GlobalVMShutdownScheduleNotificationSettingsOutput
func (GlobalVMShutdownScheduleNotificationSettingsArgs) ToGlobalVMShutdownScheduleNotificationSettingsPtrOutput ¶ added in v3.7.0
func (i GlobalVMShutdownScheduleNotificationSettingsArgs) ToGlobalVMShutdownScheduleNotificationSettingsPtrOutput() GlobalVMShutdownScheduleNotificationSettingsPtrOutput
func (GlobalVMShutdownScheduleNotificationSettingsArgs) ToGlobalVMShutdownScheduleNotificationSettingsPtrOutputWithContext ¶ added in v3.7.0
func (i GlobalVMShutdownScheduleNotificationSettingsArgs) ToGlobalVMShutdownScheduleNotificationSettingsPtrOutputWithContext(ctx context.Context) GlobalVMShutdownScheduleNotificationSettingsPtrOutput
type GlobalVMShutdownScheduleNotificationSettingsInput ¶ added in v3.7.0
type GlobalVMShutdownScheduleNotificationSettingsInput interface { pulumi.Input ToGlobalVMShutdownScheduleNotificationSettingsOutput() GlobalVMShutdownScheduleNotificationSettingsOutput ToGlobalVMShutdownScheduleNotificationSettingsOutputWithContext(context.Context) GlobalVMShutdownScheduleNotificationSettingsOutput }
GlobalVMShutdownScheduleNotificationSettingsInput is an input type that accepts GlobalVMShutdownScheduleNotificationSettingsArgs and GlobalVMShutdownScheduleNotificationSettingsOutput values. You can construct a concrete instance of `GlobalVMShutdownScheduleNotificationSettingsInput` via:
GlobalVMShutdownScheduleNotificationSettingsArgs{...}
type GlobalVMShutdownScheduleNotificationSettingsOutput ¶ added in v3.7.0
type GlobalVMShutdownScheduleNotificationSettingsOutput struct{ *pulumi.OutputState }
func (GlobalVMShutdownScheduleNotificationSettingsOutput) ElementType ¶ added in v3.7.0
func (GlobalVMShutdownScheduleNotificationSettingsOutput) ElementType() reflect.Type
func (GlobalVMShutdownScheduleNotificationSettingsOutput) Enabled ¶ added in v3.7.0
func (o GlobalVMShutdownScheduleNotificationSettingsOutput) Enabled() pulumi.BoolOutput
Whether to enable pre-shutdown notifications. Possible values are `true` and `false`. Defaults to `false`
func (GlobalVMShutdownScheduleNotificationSettingsOutput) TimeInMinutes ¶ added in v3.7.0
func (o GlobalVMShutdownScheduleNotificationSettingsOutput) TimeInMinutes() pulumi.IntPtrOutput
Time in minutes between 15 and 120 before a shutdown event at which a notification will be sent. Defaults to `30`.
func (GlobalVMShutdownScheduleNotificationSettingsOutput) ToGlobalVMShutdownScheduleNotificationSettingsOutput ¶ added in v3.7.0
func (o GlobalVMShutdownScheduleNotificationSettingsOutput) ToGlobalVMShutdownScheduleNotificationSettingsOutput() GlobalVMShutdownScheduleNotificationSettingsOutput
func (GlobalVMShutdownScheduleNotificationSettingsOutput) ToGlobalVMShutdownScheduleNotificationSettingsOutputWithContext ¶ added in v3.7.0
func (o GlobalVMShutdownScheduleNotificationSettingsOutput) ToGlobalVMShutdownScheduleNotificationSettingsOutputWithContext(ctx context.Context) GlobalVMShutdownScheduleNotificationSettingsOutput
func (GlobalVMShutdownScheduleNotificationSettingsOutput) ToGlobalVMShutdownScheduleNotificationSettingsPtrOutput ¶ added in v3.7.0
func (o GlobalVMShutdownScheduleNotificationSettingsOutput) ToGlobalVMShutdownScheduleNotificationSettingsPtrOutput() GlobalVMShutdownScheduleNotificationSettingsPtrOutput
func (GlobalVMShutdownScheduleNotificationSettingsOutput) ToGlobalVMShutdownScheduleNotificationSettingsPtrOutputWithContext ¶ added in v3.7.0
func (o GlobalVMShutdownScheduleNotificationSettingsOutput) ToGlobalVMShutdownScheduleNotificationSettingsPtrOutputWithContext(ctx context.Context) GlobalVMShutdownScheduleNotificationSettingsPtrOutput
func (GlobalVMShutdownScheduleNotificationSettingsOutput) WebhookUrl ¶ added in v3.7.0
func (o GlobalVMShutdownScheduleNotificationSettingsOutput) WebhookUrl() pulumi.StringPtrOutput
The webhook URL to which the notification will be sent. Required if `enabled` is `true`. Optional otherwise.
type GlobalVMShutdownScheduleNotificationSettingsPtrInput ¶ added in v3.7.0
type GlobalVMShutdownScheduleNotificationSettingsPtrInput interface { pulumi.Input ToGlobalVMShutdownScheduleNotificationSettingsPtrOutput() GlobalVMShutdownScheduleNotificationSettingsPtrOutput ToGlobalVMShutdownScheduleNotificationSettingsPtrOutputWithContext(context.Context) GlobalVMShutdownScheduleNotificationSettingsPtrOutput }
GlobalVMShutdownScheduleNotificationSettingsPtrInput is an input type that accepts GlobalVMShutdownScheduleNotificationSettingsArgs, GlobalVMShutdownScheduleNotificationSettingsPtr and GlobalVMShutdownScheduleNotificationSettingsPtrOutput values. You can construct a concrete instance of `GlobalVMShutdownScheduleNotificationSettingsPtrInput` via:
GlobalVMShutdownScheduleNotificationSettingsArgs{...} or: nil
func GlobalVMShutdownScheduleNotificationSettingsPtr ¶ added in v3.7.0
func GlobalVMShutdownScheduleNotificationSettingsPtr(v *GlobalVMShutdownScheduleNotificationSettingsArgs) GlobalVMShutdownScheduleNotificationSettingsPtrInput
type GlobalVMShutdownScheduleNotificationSettingsPtrOutput ¶ added in v3.7.0
type GlobalVMShutdownScheduleNotificationSettingsPtrOutput struct{ *pulumi.OutputState }
func (GlobalVMShutdownScheduleNotificationSettingsPtrOutput) ElementType ¶ added in v3.7.0
func (GlobalVMShutdownScheduleNotificationSettingsPtrOutput) ElementType() reflect.Type
func (GlobalVMShutdownScheduleNotificationSettingsPtrOutput) Enabled ¶ added in v3.7.0
func (o GlobalVMShutdownScheduleNotificationSettingsPtrOutput) Enabled() pulumi.BoolPtrOutput
Whether to enable pre-shutdown notifications. Possible values are `true` and `false`. Defaults to `false`
func (GlobalVMShutdownScheduleNotificationSettingsPtrOutput) TimeInMinutes ¶ added in v3.7.0
func (o GlobalVMShutdownScheduleNotificationSettingsPtrOutput) TimeInMinutes() pulumi.IntPtrOutput
Time in minutes between 15 and 120 before a shutdown event at which a notification will be sent. Defaults to `30`.
func (GlobalVMShutdownScheduleNotificationSettingsPtrOutput) ToGlobalVMShutdownScheduleNotificationSettingsPtrOutput ¶ added in v3.7.0
func (o GlobalVMShutdownScheduleNotificationSettingsPtrOutput) ToGlobalVMShutdownScheduleNotificationSettingsPtrOutput() GlobalVMShutdownScheduleNotificationSettingsPtrOutput
func (GlobalVMShutdownScheduleNotificationSettingsPtrOutput) ToGlobalVMShutdownScheduleNotificationSettingsPtrOutputWithContext ¶ added in v3.7.0
func (o GlobalVMShutdownScheduleNotificationSettingsPtrOutput) ToGlobalVMShutdownScheduleNotificationSettingsPtrOutputWithContext(ctx context.Context) GlobalVMShutdownScheduleNotificationSettingsPtrOutput
func (GlobalVMShutdownScheduleNotificationSettingsPtrOutput) WebhookUrl ¶ added in v3.7.0
func (o GlobalVMShutdownScheduleNotificationSettingsPtrOutput) WebhookUrl() pulumi.StringPtrOutput
The webhook URL to which the notification will be sent. Required if `enabled` is `true`. Optional otherwise.
type GlobalVMShutdownScheduleState ¶ added in v3.7.0
type GlobalVMShutdownScheduleState struct { // The time each day when the schedule takes effect. Must match the format HHmm where HH is 00-23 and mm is 00-59 (e.g. 0930, 2300, etc.) DailyRecurrenceTime pulumi.StringPtrInput // Whether to enable the schedule. Possible values are `true` and `false`. Defaults to `true`. Enabled pulumi.BoolPtrInput // The location where the schedule is created. Changing this forces a new resource to be created. Location pulumi.StringPtrInput NotificationSettings GlobalVMShutdownScheduleNotificationSettingsPtrInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput // The time zone ID (e.g. Pacific Standard time). Refer to this guide for a [full list of accepted time zone names](https://jackstromberg.com/2017/01/list-of-time-zones-consumed-by-azure/). Timezone pulumi.StringPtrInput // The resource ID of the target ARM-based Virtual Machine. Changing this forces a new resource to be created. VirtualMachineId pulumi.StringPtrInput }
func (GlobalVMShutdownScheduleState) ElementType ¶ added in v3.7.0
func (GlobalVMShutdownScheduleState) ElementType() reflect.Type
type Lab ¶
type Lab struct { pulumi.CustomResourceState // The ID of the Storage Account used for Artifact Storage. ArtifactsStorageAccountId pulumi.StringOutput `pulumi:"artifactsStorageAccountId"` // The ID of the Default Premium Storage Account for this Dev Test Lab. DefaultPremiumStorageAccountId pulumi.StringOutput `pulumi:"defaultPremiumStorageAccountId"` // The ID of the Default Storage Account for this Dev Test Lab. DefaultStorageAccountId pulumi.StringOutput `pulumi:"defaultStorageAccountId"` // The ID of the Key used for this Dev Test Lab. KeyVaultId pulumi.StringOutput `pulumi:"keyVaultId"` // Specifies the supported Azure location where the Dev Test Lab should exist. Changing this forces a new resource to be created. Location pulumi.StringOutput `pulumi:"location"` // Specifies the name of the Dev Test Lab. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // The ID of the Storage Account used for Storage of Premium Data Disk. PremiumDataDiskStorageAccountId pulumi.StringOutput `pulumi:"premiumDataDiskStorageAccountId"` // The name of the resource group under which the Dev Test Lab resource has to be created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // The type of storage used by the Dev Test Lab. Possible values are `Standard` and `Premium`. Defaults to `Premium`. Changing this forces a new resource to be created. StorageType pulumi.StringPtrOutput `pulumi:"storageType"` // A mapping of tags to assign to the resource. Tags pulumi.StringMapOutput `pulumi:"tags"` // The unique immutable identifier of the Dev Test Lab. UniqueIdentifier pulumi.StringOutput `pulumi:"uniqueIdentifier"` }
Manages a Dev Test Lab.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/devtest" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West US"), }) if err != nil { return err } _, err = devtest.NewLab(ctx, "exampleLab", &devtest.LabArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, Tags: pulumi.StringMap{ "Sydney": pulumi.String("Australia"), }, }) if err != nil { return err } return nil }) }
```
func GetLab ¶
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).
type LabArgs ¶
type LabArgs struct { // Specifies the supported Azure location where the Dev Test Lab should exist. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // Specifies the name of the Dev Test Lab. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The name of the resource group under which the Dev Test Lab resource has to be created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput // The type of storage used by the Dev Test Lab. Possible values are `Standard` and `Premium`. Defaults to `Premium`. Changing this forces a new resource to be created. StorageType pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput }
The set of arguments for constructing a Lab resource.
func (LabArgs) ElementType ¶
type LabState ¶
type LabState struct { // The ID of the Storage Account used for Artifact Storage. ArtifactsStorageAccountId pulumi.StringPtrInput // The ID of the Default Premium Storage Account for this Dev Test Lab. DefaultPremiumStorageAccountId pulumi.StringPtrInput // The ID of the Default Storage Account for this Dev Test Lab. DefaultStorageAccountId pulumi.StringPtrInput // The ID of the Key used for this Dev Test Lab. KeyVaultId pulumi.StringPtrInput // Specifies the supported Azure location where the Dev Test Lab should exist. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // Specifies the name of the Dev Test Lab. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The ID of the Storage Account used for Storage of Premium Data Disk. PremiumDataDiskStorageAccountId pulumi.StringPtrInput // The name of the resource group under which the Dev Test Lab resource has to be created. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // The type of storage used by the Dev Test Lab. Possible values are `Standard` and `Premium`. Defaults to `Premium`. Changing this forces a new resource to be created. StorageType pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput // The unique immutable identifier of the Dev Test Lab. UniqueIdentifier pulumi.StringPtrInput }
func (LabState) ElementType ¶
type LinuxVirtualMachine ¶
type LinuxVirtualMachine struct { pulumi.CustomResourceState // Can this Virtual Machine be claimed by users? Defaults to `true`. AllowClaim pulumi.BoolPtrOutput `pulumi:"allowClaim"` // Should the Virtual Machine be created without a Public IP Address? Changing this forces a new resource to be created. DisallowPublicIpAddress pulumi.BoolPtrOutput `pulumi:"disallowPublicIpAddress"` // The FQDN of the Virtual Machine. Fqdn pulumi.StringOutput `pulumi:"fqdn"` // A `galleryImageReference` block as defined below. GalleryImageReference LinuxVirtualMachineGalleryImageReferenceOutput `pulumi:"galleryImageReference"` // One or more `inboundNatRule` blocks as defined below. Changing this forces a new resource to be created. InboundNatRules LinuxVirtualMachineInboundNatRuleArrayOutput `pulumi:"inboundNatRules"` // Specifies the name of the Dev Test Lab in which the Virtual Machine should be created. Changing this forces a new resource to be created. LabName pulumi.StringOutput `pulumi:"labName"` // The name of a Subnet within the Dev Test Virtual Network where this machine should exist. Changing this forces a new resource to be created. LabSubnetName pulumi.StringOutput `pulumi:"labSubnetName"` // The ID of the Dev Test Virtual Network where this Virtual Machine should be created. Changing this forces a new resource to be created. LabVirtualNetworkId pulumi.StringOutput `pulumi:"labVirtualNetworkId"` // Specifies the supported Azure location where the Dev Test Lab exists. Changing this forces a new resource to be created. Location pulumi.StringOutput `pulumi:"location"` // Specifies the name of the Dev Test Machine. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // Any notes about the Virtual Machine. Notes pulumi.StringPtrOutput `pulumi:"notes"` // The Password associated with the `username` used to login to this Virtual Machine. Changing this forces a new resource to be created. Password pulumi.StringPtrOutput `pulumi:"password"` // The name of the resource group in which the Dev Test Lab resource exists. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // The Machine Size to use for this Virtual Machine, such as `Standard_F2`. Changing this forces a new resource to be created. Size pulumi.StringOutput `pulumi:"size"` // The SSH Key associated with the `username` used to login to this Virtual Machine. Changing this forces a new resource to be created. SshKey pulumi.StringPtrOutput `pulumi:"sshKey"` // The type of Storage to use on this Virtual Machine. Possible values are `Standard` and `Premium`. StorageType pulumi.StringOutput `pulumi:"storageType"` // A mapping of tags to assign to the resource. Tags pulumi.StringMapOutput `pulumi:"tags"` // The unique immutable identifier of the Virtual Machine. UniqueIdentifier pulumi.StringOutput `pulumi:"uniqueIdentifier"` // The Username associated with the local administrator on this Virtual Machine. Changing this forces a new resource to be created. Username pulumi.StringOutput `pulumi:"username"` }
Manages a Linux Virtual Machine within a Dev Test Lab.
func GetLinuxVirtualMachine ¶
func GetLinuxVirtualMachine(ctx *pulumi.Context, name string, id pulumi.IDInput, state *LinuxVirtualMachineState, opts ...pulumi.ResourceOption) (*LinuxVirtualMachine, error)
GetLinuxVirtualMachine gets an existing LinuxVirtualMachine 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 NewLinuxVirtualMachine ¶
func NewLinuxVirtualMachine(ctx *pulumi.Context, name string, args *LinuxVirtualMachineArgs, opts ...pulumi.ResourceOption) (*LinuxVirtualMachine, error)
NewLinuxVirtualMachine registers a new resource with the given unique name, arguments, and options.
type LinuxVirtualMachineArgs ¶
type LinuxVirtualMachineArgs struct { // Can this Virtual Machine be claimed by users? Defaults to `true`. AllowClaim pulumi.BoolPtrInput // Should the Virtual Machine be created without a Public IP Address? Changing this forces a new resource to be created. DisallowPublicIpAddress pulumi.BoolPtrInput // A `galleryImageReference` block as defined below. GalleryImageReference LinuxVirtualMachineGalleryImageReferenceInput // One or more `inboundNatRule` blocks as defined below. Changing this forces a new resource to be created. InboundNatRules LinuxVirtualMachineInboundNatRuleArrayInput // Specifies the name of the Dev Test Lab in which the Virtual Machine should be created. Changing this forces a new resource to be created. LabName pulumi.StringInput // The name of a Subnet within the Dev Test Virtual Network where this machine should exist. Changing this forces a new resource to be created. LabSubnetName pulumi.StringInput // The ID of the Dev Test Virtual Network where this Virtual Machine should be created. Changing this forces a new resource to be created. LabVirtualNetworkId pulumi.StringInput // Specifies the supported Azure location where the Dev Test Lab exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // Specifies the name of the Dev Test Machine. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // Any notes about the Virtual Machine. Notes pulumi.StringPtrInput // The Password associated with the `username` used to login to this Virtual Machine. Changing this forces a new resource to be created. Password pulumi.StringPtrInput // The name of the resource group in which the Dev Test Lab resource exists. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput // The Machine Size to use for this Virtual Machine, such as `Standard_F2`. Changing this forces a new resource to be created. Size pulumi.StringInput // The SSH Key associated with the `username` used to login to this Virtual Machine. Changing this forces a new resource to be created. SshKey pulumi.StringPtrInput // The type of Storage to use on this Virtual Machine. Possible values are `Standard` and `Premium`. StorageType pulumi.StringInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput // The Username associated with the local administrator on this Virtual Machine. Changing this forces a new resource to be created. Username pulumi.StringInput }
The set of arguments for constructing a LinuxVirtualMachine resource.
func (LinuxVirtualMachineArgs) ElementType ¶
func (LinuxVirtualMachineArgs) ElementType() reflect.Type
type LinuxVirtualMachineGalleryImageReference ¶
type LinuxVirtualMachineGalleryImageReference struct { // The Offer of the Gallery Image. Changing this forces a new resource to be created. Offer string `pulumi:"offer"` // The Publisher of the Gallery Image. Changing this forces a new resource to be created. Publisher string `pulumi:"publisher"` // The SKU of the Gallery Image. Changing this forces a new resource to be created. Sku string `pulumi:"sku"` // The Version of the Gallery Image. Changing this forces a new resource to be created. Version string `pulumi:"version"` }
type LinuxVirtualMachineGalleryImageReferenceArgs ¶
type LinuxVirtualMachineGalleryImageReferenceArgs struct { // The Offer of the Gallery Image. Changing this forces a new resource to be created. Offer pulumi.StringInput `pulumi:"offer"` // The Publisher of the Gallery Image. Changing this forces a new resource to be created. Publisher pulumi.StringInput `pulumi:"publisher"` // The SKU of the Gallery Image. Changing this forces a new resource to be created. Sku pulumi.StringInput `pulumi:"sku"` // The Version of the Gallery Image. Changing this forces a new resource to be created. Version pulumi.StringInput `pulumi:"version"` }
func (LinuxVirtualMachineGalleryImageReferenceArgs) ElementType ¶
func (LinuxVirtualMachineGalleryImageReferenceArgs) ElementType() reflect.Type
func (LinuxVirtualMachineGalleryImageReferenceArgs) ToLinuxVirtualMachineGalleryImageReferenceOutput ¶
func (i LinuxVirtualMachineGalleryImageReferenceArgs) ToLinuxVirtualMachineGalleryImageReferenceOutput() LinuxVirtualMachineGalleryImageReferenceOutput
func (LinuxVirtualMachineGalleryImageReferenceArgs) ToLinuxVirtualMachineGalleryImageReferenceOutputWithContext ¶
func (i LinuxVirtualMachineGalleryImageReferenceArgs) ToLinuxVirtualMachineGalleryImageReferenceOutputWithContext(ctx context.Context) LinuxVirtualMachineGalleryImageReferenceOutput
func (LinuxVirtualMachineGalleryImageReferenceArgs) ToLinuxVirtualMachineGalleryImageReferencePtrOutput ¶
func (i LinuxVirtualMachineGalleryImageReferenceArgs) ToLinuxVirtualMachineGalleryImageReferencePtrOutput() LinuxVirtualMachineGalleryImageReferencePtrOutput
func (LinuxVirtualMachineGalleryImageReferenceArgs) ToLinuxVirtualMachineGalleryImageReferencePtrOutputWithContext ¶
func (i LinuxVirtualMachineGalleryImageReferenceArgs) ToLinuxVirtualMachineGalleryImageReferencePtrOutputWithContext(ctx context.Context) LinuxVirtualMachineGalleryImageReferencePtrOutput
type LinuxVirtualMachineGalleryImageReferenceInput ¶
type LinuxVirtualMachineGalleryImageReferenceInput interface { pulumi.Input ToLinuxVirtualMachineGalleryImageReferenceOutput() LinuxVirtualMachineGalleryImageReferenceOutput ToLinuxVirtualMachineGalleryImageReferenceOutputWithContext(context.Context) LinuxVirtualMachineGalleryImageReferenceOutput }
LinuxVirtualMachineGalleryImageReferenceInput is an input type that accepts LinuxVirtualMachineGalleryImageReferenceArgs and LinuxVirtualMachineGalleryImageReferenceOutput values. You can construct a concrete instance of `LinuxVirtualMachineGalleryImageReferenceInput` via:
LinuxVirtualMachineGalleryImageReferenceArgs{...}
type LinuxVirtualMachineGalleryImageReferenceOutput ¶
type LinuxVirtualMachineGalleryImageReferenceOutput struct{ *pulumi.OutputState }
func (LinuxVirtualMachineGalleryImageReferenceOutput) ElementType ¶
func (LinuxVirtualMachineGalleryImageReferenceOutput) ElementType() reflect.Type
func (LinuxVirtualMachineGalleryImageReferenceOutput) Offer ¶
func (o LinuxVirtualMachineGalleryImageReferenceOutput) Offer() pulumi.StringOutput
The Offer of the Gallery Image. Changing this forces a new resource to be created.
func (LinuxVirtualMachineGalleryImageReferenceOutput) Publisher ¶
func (o LinuxVirtualMachineGalleryImageReferenceOutput) Publisher() pulumi.StringOutput
The Publisher of the Gallery Image. Changing this forces a new resource to be created.
func (LinuxVirtualMachineGalleryImageReferenceOutput) Sku ¶
func (o LinuxVirtualMachineGalleryImageReferenceOutput) Sku() pulumi.StringOutput
The SKU of the Gallery Image. Changing this forces a new resource to be created.
func (LinuxVirtualMachineGalleryImageReferenceOutput) ToLinuxVirtualMachineGalleryImageReferenceOutput ¶
func (o LinuxVirtualMachineGalleryImageReferenceOutput) ToLinuxVirtualMachineGalleryImageReferenceOutput() LinuxVirtualMachineGalleryImageReferenceOutput
func (LinuxVirtualMachineGalleryImageReferenceOutput) ToLinuxVirtualMachineGalleryImageReferenceOutputWithContext ¶
func (o LinuxVirtualMachineGalleryImageReferenceOutput) ToLinuxVirtualMachineGalleryImageReferenceOutputWithContext(ctx context.Context) LinuxVirtualMachineGalleryImageReferenceOutput
func (LinuxVirtualMachineGalleryImageReferenceOutput) ToLinuxVirtualMachineGalleryImageReferencePtrOutput ¶
func (o LinuxVirtualMachineGalleryImageReferenceOutput) ToLinuxVirtualMachineGalleryImageReferencePtrOutput() LinuxVirtualMachineGalleryImageReferencePtrOutput
func (LinuxVirtualMachineGalleryImageReferenceOutput) ToLinuxVirtualMachineGalleryImageReferencePtrOutputWithContext ¶
func (o LinuxVirtualMachineGalleryImageReferenceOutput) ToLinuxVirtualMachineGalleryImageReferencePtrOutputWithContext(ctx context.Context) LinuxVirtualMachineGalleryImageReferencePtrOutput
func (LinuxVirtualMachineGalleryImageReferenceOutput) Version ¶
func (o LinuxVirtualMachineGalleryImageReferenceOutput) Version() pulumi.StringOutput
The Version of the Gallery Image. Changing this forces a new resource to be created.
type LinuxVirtualMachineGalleryImageReferencePtrInput ¶
type LinuxVirtualMachineGalleryImageReferencePtrInput interface { pulumi.Input ToLinuxVirtualMachineGalleryImageReferencePtrOutput() LinuxVirtualMachineGalleryImageReferencePtrOutput ToLinuxVirtualMachineGalleryImageReferencePtrOutputWithContext(context.Context) LinuxVirtualMachineGalleryImageReferencePtrOutput }
LinuxVirtualMachineGalleryImageReferencePtrInput is an input type that accepts LinuxVirtualMachineGalleryImageReferenceArgs, LinuxVirtualMachineGalleryImageReferencePtr and LinuxVirtualMachineGalleryImageReferencePtrOutput values. You can construct a concrete instance of `LinuxVirtualMachineGalleryImageReferencePtrInput` via:
LinuxVirtualMachineGalleryImageReferenceArgs{...} or: nil
func LinuxVirtualMachineGalleryImageReferencePtr ¶
func LinuxVirtualMachineGalleryImageReferencePtr(v *LinuxVirtualMachineGalleryImageReferenceArgs) LinuxVirtualMachineGalleryImageReferencePtrInput
type LinuxVirtualMachineGalleryImageReferencePtrOutput ¶
type LinuxVirtualMachineGalleryImageReferencePtrOutput struct{ *pulumi.OutputState }
func (LinuxVirtualMachineGalleryImageReferencePtrOutput) ElementType ¶
func (LinuxVirtualMachineGalleryImageReferencePtrOutput) ElementType() reflect.Type
func (LinuxVirtualMachineGalleryImageReferencePtrOutput) Offer ¶
func (o LinuxVirtualMachineGalleryImageReferencePtrOutput) Offer() pulumi.StringPtrOutput
The Offer of the Gallery Image. Changing this forces a new resource to be created.
func (LinuxVirtualMachineGalleryImageReferencePtrOutput) Publisher ¶
func (o LinuxVirtualMachineGalleryImageReferencePtrOutput) Publisher() pulumi.StringPtrOutput
The Publisher of the Gallery Image. Changing this forces a new resource to be created.
func (LinuxVirtualMachineGalleryImageReferencePtrOutput) Sku ¶
The SKU of the Gallery Image. Changing this forces a new resource to be created.
func (LinuxVirtualMachineGalleryImageReferencePtrOutput) ToLinuxVirtualMachineGalleryImageReferencePtrOutput ¶
func (o LinuxVirtualMachineGalleryImageReferencePtrOutput) ToLinuxVirtualMachineGalleryImageReferencePtrOutput() LinuxVirtualMachineGalleryImageReferencePtrOutput
func (LinuxVirtualMachineGalleryImageReferencePtrOutput) ToLinuxVirtualMachineGalleryImageReferencePtrOutputWithContext ¶
func (o LinuxVirtualMachineGalleryImageReferencePtrOutput) ToLinuxVirtualMachineGalleryImageReferencePtrOutputWithContext(ctx context.Context) LinuxVirtualMachineGalleryImageReferencePtrOutput
func (LinuxVirtualMachineGalleryImageReferencePtrOutput) Version ¶
func (o LinuxVirtualMachineGalleryImageReferencePtrOutput) Version() pulumi.StringPtrOutput
The Version of the Gallery Image. Changing this forces a new resource to be created.
type LinuxVirtualMachineInboundNatRule ¶
type LinuxVirtualMachineInboundNatRule struct { // The Backend Port associated with this NAT Rule. Changing this forces a new resource to be created. BackendPort int `pulumi:"backendPort"` // The frontend port associated with this Inbound NAT Rule. FrontendPort *int `pulumi:"frontendPort"` // The Protocol used for this NAT Rule. Possible values are `Tcp` and `Udp`. Changing this forces a new resource to be created. Protocol string `pulumi:"protocol"` }
type LinuxVirtualMachineInboundNatRuleArgs ¶
type LinuxVirtualMachineInboundNatRuleArgs struct { // The Backend Port associated with this NAT Rule. Changing this forces a new resource to be created. BackendPort pulumi.IntInput `pulumi:"backendPort"` // The frontend port associated with this Inbound NAT Rule. FrontendPort pulumi.IntPtrInput `pulumi:"frontendPort"` // The Protocol used for this NAT Rule. Possible values are `Tcp` and `Udp`. Changing this forces a new resource to be created. Protocol pulumi.StringInput `pulumi:"protocol"` }
func (LinuxVirtualMachineInboundNatRuleArgs) ElementType ¶
func (LinuxVirtualMachineInboundNatRuleArgs) ElementType() reflect.Type
func (LinuxVirtualMachineInboundNatRuleArgs) ToLinuxVirtualMachineInboundNatRuleOutput ¶
func (i LinuxVirtualMachineInboundNatRuleArgs) ToLinuxVirtualMachineInboundNatRuleOutput() LinuxVirtualMachineInboundNatRuleOutput
func (LinuxVirtualMachineInboundNatRuleArgs) ToLinuxVirtualMachineInboundNatRuleOutputWithContext ¶
func (i LinuxVirtualMachineInboundNatRuleArgs) ToLinuxVirtualMachineInboundNatRuleOutputWithContext(ctx context.Context) LinuxVirtualMachineInboundNatRuleOutput
type LinuxVirtualMachineInboundNatRuleArray ¶
type LinuxVirtualMachineInboundNatRuleArray []LinuxVirtualMachineInboundNatRuleInput
func (LinuxVirtualMachineInboundNatRuleArray) ElementType ¶
func (LinuxVirtualMachineInboundNatRuleArray) ElementType() reflect.Type
func (LinuxVirtualMachineInboundNatRuleArray) ToLinuxVirtualMachineInboundNatRuleArrayOutput ¶
func (i LinuxVirtualMachineInboundNatRuleArray) ToLinuxVirtualMachineInboundNatRuleArrayOutput() LinuxVirtualMachineInboundNatRuleArrayOutput
func (LinuxVirtualMachineInboundNatRuleArray) ToLinuxVirtualMachineInboundNatRuleArrayOutputWithContext ¶
func (i LinuxVirtualMachineInboundNatRuleArray) ToLinuxVirtualMachineInboundNatRuleArrayOutputWithContext(ctx context.Context) LinuxVirtualMachineInboundNatRuleArrayOutput
type LinuxVirtualMachineInboundNatRuleArrayInput ¶
type LinuxVirtualMachineInboundNatRuleArrayInput interface { pulumi.Input ToLinuxVirtualMachineInboundNatRuleArrayOutput() LinuxVirtualMachineInboundNatRuleArrayOutput ToLinuxVirtualMachineInboundNatRuleArrayOutputWithContext(context.Context) LinuxVirtualMachineInboundNatRuleArrayOutput }
LinuxVirtualMachineInboundNatRuleArrayInput is an input type that accepts LinuxVirtualMachineInboundNatRuleArray and LinuxVirtualMachineInboundNatRuleArrayOutput values. You can construct a concrete instance of `LinuxVirtualMachineInboundNatRuleArrayInput` via:
LinuxVirtualMachineInboundNatRuleArray{ LinuxVirtualMachineInboundNatRuleArgs{...} }
type LinuxVirtualMachineInboundNatRuleArrayOutput ¶
type LinuxVirtualMachineInboundNatRuleArrayOutput struct{ *pulumi.OutputState }
func (LinuxVirtualMachineInboundNatRuleArrayOutput) ElementType ¶
func (LinuxVirtualMachineInboundNatRuleArrayOutput) ElementType() reflect.Type
func (LinuxVirtualMachineInboundNatRuleArrayOutput) ToLinuxVirtualMachineInboundNatRuleArrayOutput ¶
func (o LinuxVirtualMachineInboundNatRuleArrayOutput) ToLinuxVirtualMachineInboundNatRuleArrayOutput() LinuxVirtualMachineInboundNatRuleArrayOutput
func (LinuxVirtualMachineInboundNatRuleArrayOutput) ToLinuxVirtualMachineInboundNatRuleArrayOutputWithContext ¶
func (o LinuxVirtualMachineInboundNatRuleArrayOutput) ToLinuxVirtualMachineInboundNatRuleArrayOutputWithContext(ctx context.Context) LinuxVirtualMachineInboundNatRuleArrayOutput
type LinuxVirtualMachineInboundNatRuleInput ¶
type LinuxVirtualMachineInboundNatRuleInput interface { pulumi.Input ToLinuxVirtualMachineInboundNatRuleOutput() LinuxVirtualMachineInboundNatRuleOutput ToLinuxVirtualMachineInboundNatRuleOutputWithContext(context.Context) LinuxVirtualMachineInboundNatRuleOutput }
LinuxVirtualMachineInboundNatRuleInput is an input type that accepts LinuxVirtualMachineInboundNatRuleArgs and LinuxVirtualMachineInboundNatRuleOutput values. You can construct a concrete instance of `LinuxVirtualMachineInboundNatRuleInput` via:
LinuxVirtualMachineInboundNatRuleArgs{...}
type LinuxVirtualMachineInboundNatRuleOutput ¶
type LinuxVirtualMachineInboundNatRuleOutput struct{ *pulumi.OutputState }
func (LinuxVirtualMachineInboundNatRuleOutput) BackendPort ¶
func (o LinuxVirtualMachineInboundNatRuleOutput) BackendPort() pulumi.IntOutput
The Backend Port associated with this NAT Rule. Changing this forces a new resource to be created.
func (LinuxVirtualMachineInboundNatRuleOutput) ElementType ¶
func (LinuxVirtualMachineInboundNatRuleOutput) ElementType() reflect.Type
func (LinuxVirtualMachineInboundNatRuleOutput) FrontendPort ¶
func (o LinuxVirtualMachineInboundNatRuleOutput) FrontendPort() pulumi.IntPtrOutput
The frontend port associated with this Inbound NAT Rule.
func (LinuxVirtualMachineInboundNatRuleOutput) Protocol ¶
func (o LinuxVirtualMachineInboundNatRuleOutput) Protocol() pulumi.StringOutput
The Protocol used for this NAT Rule. Possible values are `Tcp` and `Udp`. Changing this forces a new resource to be created.
func (LinuxVirtualMachineInboundNatRuleOutput) ToLinuxVirtualMachineInboundNatRuleOutput ¶
func (o LinuxVirtualMachineInboundNatRuleOutput) ToLinuxVirtualMachineInboundNatRuleOutput() LinuxVirtualMachineInboundNatRuleOutput
func (LinuxVirtualMachineInboundNatRuleOutput) ToLinuxVirtualMachineInboundNatRuleOutputWithContext ¶
func (o LinuxVirtualMachineInboundNatRuleOutput) ToLinuxVirtualMachineInboundNatRuleOutputWithContext(ctx context.Context) LinuxVirtualMachineInboundNatRuleOutput
type LinuxVirtualMachineState ¶
type LinuxVirtualMachineState struct { // Can this Virtual Machine be claimed by users? Defaults to `true`. AllowClaim pulumi.BoolPtrInput // Should the Virtual Machine be created without a Public IP Address? Changing this forces a new resource to be created. DisallowPublicIpAddress pulumi.BoolPtrInput // The FQDN of the Virtual Machine. Fqdn pulumi.StringPtrInput // A `galleryImageReference` block as defined below. GalleryImageReference LinuxVirtualMachineGalleryImageReferencePtrInput // One or more `inboundNatRule` blocks as defined below. Changing this forces a new resource to be created. InboundNatRules LinuxVirtualMachineInboundNatRuleArrayInput // Specifies the name of the Dev Test Lab in which the Virtual Machine should be created. Changing this forces a new resource to be created. LabName pulumi.StringPtrInput // The name of a Subnet within the Dev Test Virtual Network where this machine should exist. Changing this forces a new resource to be created. LabSubnetName pulumi.StringPtrInput // The ID of the Dev Test Virtual Network where this Virtual Machine should be created. Changing this forces a new resource to be created. LabVirtualNetworkId pulumi.StringPtrInput // Specifies the supported Azure location where the Dev Test Lab exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // Specifies the name of the Dev Test Machine. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // Any notes about the Virtual Machine. Notes pulumi.StringPtrInput // The Password associated with the `username` used to login to this Virtual Machine. Changing this forces a new resource to be created. Password pulumi.StringPtrInput // The name of the resource group in which the Dev Test Lab resource exists. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // The Machine Size to use for this Virtual Machine, such as `Standard_F2`. Changing this forces a new resource to be created. Size pulumi.StringPtrInput // The SSH Key associated with the `username` used to login to this Virtual Machine. Changing this forces a new resource to be created. SshKey pulumi.StringPtrInput // The type of Storage to use on this Virtual Machine. Possible values are `Standard` and `Premium`. StorageType pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput // The unique immutable identifier of the Virtual Machine. UniqueIdentifier pulumi.StringPtrInput // The Username associated with the local administrator on this Virtual Machine. Changing this forces a new resource to be created. Username pulumi.StringPtrInput }
func (LinuxVirtualMachineState) ElementType ¶
func (LinuxVirtualMachineState) ElementType() reflect.Type
type LookupLabArgs ¶
type LookupLabArgs struct { // The name of the Dev Test Lab. Name string `pulumi:"name"` // The Name of the Resource Group where the Dev Test Lab exists. ResourceGroupName string `pulumi:"resourceGroupName"` }
A collection of arguments for invoking getLab.
type LookupLabResult ¶
type LookupLabResult struct { // The ID of the Storage Account used for Artifact Storage. ArtifactsStorageAccountId string `pulumi:"artifactsStorageAccountId"` // The ID of the Default Premium Storage Account for this Dev Test Lab. DefaultPremiumStorageAccountId string `pulumi:"defaultPremiumStorageAccountId"` // The ID of the Default Storage Account for this Dev Test Lab. DefaultStorageAccountId string `pulumi:"defaultStorageAccountId"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The ID of the Key used for this Dev Test Lab. KeyVaultId string `pulumi:"keyVaultId"` // The Azure location where the Dev Test Lab exists. Location string `pulumi:"location"` Name string `pulumi:"name"` // The ID of the Storage Account used for Storage of Premium Data Disk. PremiumDataDiskStorageAccountId string `pulumi:"premiumDataDiskStorageAccountId"` ResourceGroupName string `pulumi:"resourceGroupName"` // The type of storage used by the Dev Test Lab. StorageType string `pulumi:"storageType"` // A mapping of tags to assign to the resource. Tags map[string]string `pulumi:"tags"` // The unique immutable identifier of the Dev Test Lab. UniqueIdentifier string `pulumi:"uniqueIdentifier"` }
A collection of values returned by getLab.
func LookupLab ¶
func LookupLab(ctx *pulumi.Context, args *LookupLabArgs, opts ...pulumi.InvokeOption) (*LookupLabResult, error)
Use this data source to access information about an existing Dev Test Lab.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/devtest" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := devtest.LookupLab(ctx, &devtest.LookupLabArgs{ Name: "example-lab", ResourceGroupName: "example-resources", }, nil) if err != nil { return err } ctx.Export("uniqueIdentifier", example.UniqueIdentifier) return nil }) }
```
type LookupVirtualNetworkArgs ¶
type LookupVirtualNetworkArgs struct { // Specifies the name of the Dev Test Lab. LabName string `pulumi:"labName"` // Specifies the name of the Virtual Network. Name string `pulumi:"name"` // Specifies the name of the resource group that contains the Virtual Network. ResourceGroupName string `pulumi:"resourceGroupName"` }
A collection of arguments for invoking getVirtualNetwork.
type LookupVirtualNetworkResult ¶
type LookupVirtualNetworkResult struct { // The list of subnets enabled for the virtual network as defined below. AllowedSubnets []GetVirtualNetworkAllowedSubnet `pulumi:"allowedSubnets"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` LabName string `pulumi:"labName"` Name string `pulumi:"name"` ResourceGroupName string `pulumi:"resourceGroupName"` // The list of permission overrides for the subnets as defined below. SubnetOverrides []GetVirtualNetworkSubnetOverride `pulumi:"subnetOverrides"` // The unique immutable identifier of the virtual network. UniqueIdentifier string `pulumi:"uniqueIdentifier"` }
A collection of values returned by getVirtualNetwork.
func LookupVirtualNetwork ¶
func LookupVirtualNetwork(ctx *pulumi.Context, args *LookupVirtualNetworkArgs, opts ...pulumi.InvokeOption) (*LookupVirtualNetworkResult, error)
Use this data source to access information about an existing Dev Test Lab Virtual Network.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/devtest" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := devtest.LookupVirtualNetwork(ctx, &devtest.LookupVirtualNetworkArgs{ Name: "example-network", LabName: "examplelab", ResourceGroupName: "example-resource", }, nil) if err != nil { return err } ctx.Export("labSubnetName", example.AllowedSubnets[0].LabSubnetName) return nil }) }
```
type Policy ¶
type Policy struct { pulumi.CustomResourceState // A description for the Policy. Description pulumi.StringPtrOutput `pulumi:"description"` // The Evaluation Type used for this Policy. Possible values include: 'AllowedValuesPolicy', 'MaxValuePolicy'. Changing this forces a new resource to be created. EvaluatorType pulumi.StringOutput `pulumi:"evaluatorType"` // The Fact Data for this Policy. FactData pulumi.StringPtrOutput `pulumi:"factData"` // Specifies the name of the Dev Test Lab in which the Policy should be created. Changing this forces a new resource to be created. LabName pulumi.StringOutput `pulumi:"labName"` // Specifies the name of the Dev Test Policy. Possible values are `GalleryImage`, `LabPremiumVmCount`, `LabTargetCost`, `LabVmCount`, `LabVmSize`, `UserOwnedLabPremiumVmCount`, `UserOwnedLabVmCount` and `UserOwnedLabVmCountInSubnet`. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // Specifies the name of the Policy Set within the Dev Test Lab where this policy should be created. Changing this forces a new resource to be created. PolicySetName pulumi.StringOutput `pulumi:"policySetName"` // The name of the resource group in which the Dev Test Lab resource exists. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // A mapping of tags to assign to the resource. Tags pulumi.StringMapOutput `pulumi:"tags"` // The Threshold for this Policy. Threshold pulumi.StringOutput `pulumi:"threshold"` }
Manages a Policy within a Dev Test Policy Set.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/devtest" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West US"), }) if err != nil { return err } exampleLab, err := devtest.NewLab(ctx, "exampleLab", &devtest.LabArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, Tags: pulumi.StringMap{ "Sydney": pulumi.String("Australia"), }, }) if err != nil { return err } _, err = devtest.NewPolicy(ctx, "examplePolicy", &devtest.PolicyArgs{ PolicySetName: pulumi.String("default"), LabName: exampleLab.Name, ResourceGroupName: exampleResourceGroup.Name, FactData: pulumi.String(""), Threshold: pulumi.String("999"), EvaluatorType: pulumi.String("MaxValuePolicy"), Tags: pulumi.StringMap{ "Acceptance": pulumi.String("Test"), }, }) if err != nil { return err } return nil }) }
```
func GetPolicy ¶
func GetPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *PolicyState, opts ...pulumi.ResourceOption) (*Policy, error)
GetPolicy gets an existing Policy 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 NewPolicy ¶
func NewPolicy(ctx *pulumi.Context, name string, args *PolicyArgs, opts ...pulumi.ResourceOption) (*Policy, error)
NewPolicy registers a new resource with the given unique name, arguments, and options.
type PolicyArgs ¶
type PolicyArgs struct { // A description for the Policy. Description pulumi.StringPtrInput // The Evaluation Type used for this Policy. Possible values include: 'AllowedValuesPolicy', 'MaxValuePolicy'. Changing this forces a new resource to be created. EvaluatorType pulumi.StringInput // The Fact Data for this Policy. FactData pulumi.StringPtrInput // Specifies the name of the Dev Test Lab in which the Policy should be created. Changing this forces a new resource to be created. LabName pulumi.StringInput // Specifies the name of the Dev Test Policy. Possible values are `GalleryImage`, `LabPremiumVmCount`, `LabTargetCost`, `LabVmCount`, `LabVmSize`, `UserOwnedLabPremiumVmCount`, `UserOwnedLabVmCount` and `UserOwnedLabVmCountInSubnet`. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // Specifies the name of the Policy Set within the Dev Test Lab where this policy should be created. Changing this forces a new resource to be created. PolicySetName pulumi.StringInput // The name of the resource group in which the Dev Test Lab resource exists. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput // The Threshold for this Policy. Threshold pulumi.StringInput }
The set of arguments for constructing a Policy resource.
func (PolicyArgs) ElementType ¶
func (PolicyArgs) ElementType() reflect.Type
type PolicyState ¶
type PolicyState struct { // A description for the Policy. Description pulumi.StringPtrInput // The Evaluation Type used for this Policy. Possible values include: 'AllowedValuesPolicy', 'MaxValuePolicy'. Changing this forces a new resource to be created. EvaluatorType pulumi.StringPtrInput // The Fact Data for this Policy. FactData pulumi.StringPtrInput // Specifies the name of the Dev Test Lab in which the Policy should be created. Changing this forces a new resource to be created. LabName pulumi.StringPtrInput // Specifies the name of the Dev Test Policy. Possible values are `GalleryImage`, `LabPremiumVmCount`, `LabTargetCost`, `LabVmCount`, `LabVmSize`, `UserOwnedLabPremiumVmCount`, `UserOwnedLabVmCount` and `UserOwnedLabVmCountInSubnet`. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // Specifies the name of the Policy Set within the Dev Test Lab where this policy should be created. Changing this forces a new resource to be created. PolicySetName pulumi.StringPtrInput // The name of the resource group in which the Dev Test Lab resource exists. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput // The Threshold for this Policy. Threshold pulumi.StringPtrInput }
func (PolicyState) ElementType ¶
func (PolicyState) ElementType() reflect.Type
type Schedule ¶
type Schedule struct { pulumi.CustomResourceState DailyRecurrence ScheduleDailyRecurrencePtrOutput `pulumi:"dailyRecurrence"` HourlyRecurrence ScheduleHourlyRecurrencePtrOutput `pulumi:"hourlyRecurrence"` // The name of the dev test lab. Changing this forces a new resource to be created. LabName pulumi.StringOutput `pulumi:"labName"` // The location where the schedule is created. Changing this forces a new resource to be created. Location pulumi.StringOutput `pulumi:"location"` // The name of the dev test lab schedule. Valid value for name depends on the `taskType`. For instance for taskType `LabVmsStartupTask` the name needs to be `LabVmAutoStart`. Name pulumi.StringOutput `pulumi:"name"` NotificationSettings ScheduleNotificationSettingsOutput `pulumi:"notificationSettings"` // The name of the resource group in which to create the dev test lab schedule. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // The status of this schedule. Possible values are `Enabled` and `Disabled`. Defaults to `Disabled`. Status pulumi.StringPtrOutput `pulumi:"status"` // A mapping of tags to assign to the resource. Tags pulumi.StringMapOutput `pulumi:"tags"` // The task type of the schedule. Possible values include `LabVmsShutdownTask` and `LabVmAutoStart`. TaskType pulumi.StringOutput `pulumi:"taskType"` // The time zone ID (e.g. Pacific Standard time). TimeZoneId pulumi.StringOutput `pulumi:"timeZoneId"` WeeklyRecurrence ScheduleWeeklyRecurrencePtrOutput `pulumi:"weeklyRecurrence"` }
Manages automated startup and shutdown schedules for Azure Dev Test Lab.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/devtest" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West US"), }) if err != nil { return err } exampleLab, err := devtest.NewLab(ctx, "exampleLab", &devtest.LabArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, }) if err != nil { return err } _, err = devtest.NewSchedule(ctx, "exampleSchedule", &devtest.ScheduleArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, LabName: exampleLab.Name, WeeklyRecurrence: &devtest.ScheduleWeeklyRecurrenceArgs{ Time: pulumi.String("1100"), WeekDays: pulumi.StringArray{ pulumi.String("Monday"), pulumi.String("Tuesday"), }, }, TimeZoneId: pulumi.String("Pacific Standard Time"), TaskType: pulumi.String("LabVmsStartupTask"), NotificationSettings: nil, Tags: pulumi.StringMap{ "environment": pulumi.String("Production"), }, }) if err != nil { return err } return nil }) }
```
func GetSchedule ¶
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 ¶
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.
type ScheduleArgs ¶
type ScheduleArgs struct { DailyRecurrence ScheduleDailyRecurrencePtrInput HourlyRecurrence ScheduleHourlyRecurrencePtrInput // The name of the dev test lab. Changing this forces a new resource to be created. LabName pulumi.StringInput // The location where the schedule is created. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // The name of the dev test lab schedule. Valid value for name depends on the `taskType`. For instance for taskType `LabVmsStartupTask` the name needs to be `LabVmAutoStart`. Name pulumi.StringPtrInput NotificationSettings ScheduleNotificationSettingsInput // The name of the resource group in which to create the dev test lab schedule. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput // The status of this schedule. Possible values are `Enabled` and `Disabled`. Defaults to `Disabled`. Status pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput // The task type of the schedule. Possible values include `LabVmsShutdownTask` and `LabVmAutoStart`. TaskType pulumi.StringInput // The time zone ID (e.g. Pacific Standard time). TimeZoneId pulumi.StringInput WeeklyRecurrence ScheduleWeeklyRecurrencePtrInput }
The set of arguments for constructing a Schedule resource.
func (ScheduleArgs) ElementType ¶
func (ScheduleArgs) ElementType() reflect.Type
type ScheduleDailyRecurrence ¶
type ScheduleDailyRecurrence struct { // The time each day when the schedule takes effect. Time string `pulumi:"time"` }
type ScheduleDailyRecurrenceArgs ¶
type ScheduleDailyRecurrenceArgs struct { // The time each day when the schedule takes effect. Time pulumi.StringInput `pulumi:"time"` }
func (ScheduleDailyRecurrenceArgs) ElementType ¶
func (ScheduleDailyRecurrenceArgs) ElementType() reflect.Type
func (ScheduleDailyRecurrenceArgs) ToScheduleDailyRecurrenceOutput ¶
func (i ScheduleDailyRecurrenceArgs) ToScheduleDailyRecurrenceOutput() ScheduleDailyRecurrenceOutput
func (ScheduleDailyRecurrenceArgs) ToScheduleDailyRecurrenceOutputWithContext ¶
func (i ScheduleDailyRecurrenceArgs) ToScheduleDailyRecurrenceOutputWithContext(ctx context.Context) ScheduleDailyRecurrenceOutput
func (ScheduleDailyRecurrenceArgs) ToScheduleDailyRecurrencePtrOutput ¶
func (i ScheduleDailyRecurrenceArgs) ToScheduleDailyRecurrencePtrOutput() ScheduleDailyRecurrencePtrOutput
func (ScheduleDailyRecurrenceArgs) ToScheduleDailyRecurrencePtrOutputWithContext ¶
func (i ScheduleDailyRecurrenceArgs) ToScheduleDailyRecurrencePtrOutputWithContext(ctx context.Context) ScheduleDailyRecurrencePtrOutput
type ScheduleDailyRecurrenceInput ¶
type ScheduleDailyRecurrenceInput interface { pulumi.Input ToScheduleDailyRecurrenceOutput() ScheduleDailyRecurrenceOutput ToScheduleDailyRecurrenceOutputWithContext(context.Context) ScheduleDailyRecurrenceOutput }
ScheduleDailyRecurrenceInput is an input type that accepts ScheduleDailyRecurrenceArgs and ScheduleDailyRecurrenceOutput values. You can construct a concrete instance of `ScheduleDailyRecurrenceInput` via:
ScheduleDailyRecurrenceArgs{...}
type ScheduleDailyRecurrenceOutput ¶
type ScheduleDailyRecurrenceOutput struct{ *pulumi.OutputState }
func (ScheduleDailyRecurrenceOutput) ElementType ¶
func (ScheduleDailyRecurrenceOutput) ElementType() reflect.Type
func (ScheduleDailyRecurrenceOutput) Time ¶
func (o ScheduleDailyRecurrenceOutput) Time() pulumi.StringOutput
The time each day when the schedule takes effect.
func (ScheduleDailyRecurrenceOutput) ToScheduleDailyRecurrenceOutput ¶
func (o ScheduleDailyRecurrenceOutput) ToScheduleDailyRecurrenceOutput() ScheduleDailyRecurrenceOutput
func (ScheduleDailyRecurrenceOutput) ToScheduleDailyRecurrenceOutputWithContext ¶
func (o ScheduleDailyRecurrenceOutput) ToScheduleDailyRecurrenceOutputWithContext(ctx context.Context) ScheduleDailyRecurrenceOutput
func (ScheduleDailyRecurrenceOutput) ToScheduleDailyRecurrencePtrOutput ¶
func (o ScheduleDailyRecurrenceOutput) ToScheduleDailyRecurrencePtrOutput() ScheduleDailyRecurrencePtrOutput
func (ScheduleDailyRecurrenceOutput) ToScheduleDailyRecurrencePtrOutputWithContext ¶
func (o ScheduleDailyRecurrenceOutput) ToScheduleDailyRecurrencePtrOutputWithContext(ctx context.Context) ScheduleDailyRecurrencePtrOutput
type ScheduleDailyRecurrencePtrInput ¶
type ScheduleDailyRecurrencePtrInput interface { pulumi.Input ToScheduleDailyRecurrencePtrOutput() ScheduleDailyRecurrencePtrOutput ToScheduleDailyRecurrencePtrOutputWithContext(context.Context) ScheduleDailyRecurrencePtrOutput }
ScheduleDailyRecurrencePtrInput is an input type that accepts ScheduleDailyRecurrenceArgs, ScheduleDailyRecurrencePtr and ScheduleDailyRecurrencePtrOutput values. You can construct a concrete instance of `ScheduleDailyRecurrencePtrInput` via:
ScheduleDailyRecurrenceArgs{...} or: nil
func ScheduleDailyRecurrencePtr ¶
func ScheduleDailyRecurrencePtr(v *ScheduleDailyRecurrenceArgs) ScheduleDailyRecurrencePtrInput
type ScheduleDailyRecurrencePtrOutput ¶
type ScheduleDailyRecurrencePtrOutput struct{ *pulumi.OutputState }
func (ScheduleDailyRecurrencePtrOutput) Elem ¶
func (o ScheduleDailyRecurrencePtrOutput) Elem() ScheduleDailyRecurrenceOutput
func (ScheduleDailyRecurrencePtrOutput) ElementType ¶
func (ScheduleDailyRecurrencePtrOutput) ElementType() reflect.Type
func (ScheduleDailyRecurrencePtrOutput) Time ¶
func (o ScheduleDailyRecurrencePtrOutput) Time() pulumi.StringPtrOutput
The time each day when the schedule takes effect.
func (ScheduleDailyRecurrencePtrOutput) ToScheduleDailyRecurrencePtrOutput ¶
func (o ScheduleDailyRecurrencePtrOutput) ToScheduleDailyRecurrencePtrOutput() ScheduleDailyRecurrencePtrOutput
func (ScheduleDailyRecurrencePtrOutput) ToScheduleDailyRecurrencePtrOutputWithContext ¶
func (o ScheduleDailyRecurrencePtrOutput) ToScheduleDailyRecurrencePtrOutputWithContext(ctx context.Context) ScheduleDailyRecurrencePtrOutput
type ScheduleHourlyRecurrence ¶
type ScheduleHourlyRecurrence struct {
Minute int `pulumi:"minute"`
}
type ScheduleHourlyRecurrenceArgs ¶
func (ScheduleHourlyRecurrenceArgs) ElementType ¶
func (ScheduleHourlyRecurrenceArgs) ElementType() reflect.Type
func (ScheduleHourlyRecurrenceArgs) ToScheduleHourlyRecurrenceOutput ¶
func (i ScheduleHourlyRecurrenceArgs) ToScheduleHourlyRecurrenceOutput() ScheduleHourlyRecurrenceOutput
func (ScheduleHourlyRecurrenceArgs) ToScheduleHourlyRecurrenceOutputWithContext ¶
func (i ScheduleHourlyRecurrenceArgs) ToScheduleHourlyRecurrenceOutputWithContext(ctx context.Context) ScheduleHourlyRecurrenceOutput
func (ScheduleHourlyRecurrenceArgs) ToScheduleHourlyRecurrencePtrOutput ¶
func (i ScheduleHourlyRecurrenceArgs) ToScheduleHourlyRecurrencePtrOutput() ScheduleHourlyRecurrencePtrOutput
func (ScheduleHourlyRecurrenceArgs) ToScheduleHourlyRecurrencePtrOutputWithContext ¶
func (i ScheduleHourlyRecurrenceArgs) ToScheduleHourlyRecurrencePtrOutputWithContext(ctx context.Context) ScheduleHourlyRecurrencePtrOutput
type ScheduleHourlyRecurrenceInput ¶
type ScheduleHourlyRecurrenceInput interface { pulumi.Input ToScheduleHourlyRecurrenceOutput() ScheduleHourlyRecurrenceOutput ToScheduleHourlyRecurrenceOutputWithContext(context.Context) ScheduleHourlyRecurrenceOutput }
ScheduleHourlyRecurrenceInput is an input type that accepts ScheduleHourlyRecurrenceArgs and ScheduleHourlyRecurrenceOutput values. You can construct a concrete instance of `ScheduleHourlyRecurrenceInput` via:
ScheduleHourlyRecurrenceArgs{...}
type ScheduleHourlyRecurrenceOutput ¶
type ScheduleHourlyRecurrenceOutput struct{ *pulumi.OutputState }
func (ScheduleHourlyRecurrenceOutput) ElementType ¶
func (ScheduleHourlyRecurrenceOutput) ElementType() reflect.Type
func (ScheduleHourlyRecurrenceOutput) Minute ¶
func (o ScheduleHourlyRecurrenceOutput) Minute() pulumi.IntOutput
func (ScheduleHourlyRecurrenceOutput) ToScheduleHourlyRecurrenceOutput ¶
func (o ScheduleHourlyRecurrenceOutput) ToScheduleHourlyRecurrenceOutput() ScheduleHourlyRecurrenceOutput
func (ScheduleHourlyRecurrenceOutput) ToScheduleHourlyRecurrenceOutputWithContext ¶
func (o ScheduleHourlyRecurrenceOutput) ToScheduleHourlyRecurrenceOutputWithContext(ctx context.Context) ScheduleHourlyRecurrenceOutput
func (ScheduleHourlyRecurrenceOutput) ToScheduleHourlyRecurrencePtrOutput ¶
func (o ScheduleHourlyRecurrenceOutput) ToScheduleHourlyRecurrencePtrOutput() ScheduleHourlyRecurrencePtrOutput
func (ScheduleHourlyRecurrenceOutput) ToScheduleHourlyRecurrencePtrOutputWithContext ¶
func (o ScheduleHourlyRecurrenceOutput) ToScheduleHourlyRecurrencePtrOutputWithContext(ctx context.Context) ScheduleHourlyRecurrencePtrOutput
type ScheduleHourlyRecurrencePtrInput ¶
type ScheduleHourlyRecurrencePtrInput interface { pulumi.Input ToScheduleHourlyRecurrencePtrOutput() ScheduleHourlyRecurrencePtrOutput ToScheduleHourlyRecurrencePtrOutputWithContext(context.Context) ScheduleHourlyRecurrencePtrOutput }
ScheduleHourlyRecurrencePtrInput is an input type that accepts ScheduleHourlyRecurrenceArgs, ScheduleHourlyRecurrencePtr and ScheduleHourlyRecurrencePtrOutput values. You can construct a concrete instance of `ScheduleHourlyRecurrencePtrInput` via:
ScheduleHourlyRecurrenceArgs{...} or: nil
func ScheduleHourlyRecurrencePtr ¶
func ScheduleHourlyRecurrencePtr(v *ScheduleHourlyRecurrenceArgs) ScheduleHourlyRecurrencePtrInput
type ScheduleHourlyRecurrencePtrOutput ¶
type ScheduleHourlyRecurrencePtrOutput struct{ *pulumi.OutputState }
func (ScheduleHourlyRecurrencePtrOutput) Elem ¶
func (o ScheduleHourlyRecurrencePtrOutput) Elem() ScheduleHourlyRecurrenceOutput
func (ScheduleHourlyRecurrencePtrOutput) ElementType ¶
func (ScheduleHourlyRecurrencePtrOutput) ElementType() reflect.Type
func (ScheduleHourlyRecurrencePtrOutput) Minute ¶
func (o ScheduleHourlyRecurrencePtrOutput) Minute() pulumi.IntPtrOutput
func (ScheduleHourlyRecurrencePtrOutput) ToScheduleHourlyRecurrencePtrOutput ¶
func (o ScheduleHourlyRecurrencePtrOutput) ToScheduleHourlyRecurrencePtrOutput() ScheduleHourlyRecurrencePtrOutput
func (ScheduleHourlyRecurrencePtrOutput) ToScheduleHourlyRecurrencePtrOutputWithContext ¶
func (o ScheduleHourlyRecurrencePtrOutput) ToScheduleHourlyRecurrencePtrOutputWithContext(ctx context.Context) ScheduleHourlyRecurrencePtrOutput
type ScheduleNotificationSettings ¶
type ScheduleNotificationSettings struct { // The status of the notification. Possible values are `Enabled` and `Disabled`. Defaults to `Disabled` Status *string `pulumi:"status"` // Time in minutes before event at which notification will be sent. TimeInMinutes *int `pulumi:"timeInMinutes"` // The webhook URL to which the notification will be sent. WebhookUrl *string `pulumi:"webhookUrl"` }
type ScheduleNotificationSettingsArgs ¶
type ScheduleNotificationSettingsArgs struct { // The status of the notification. Possible values are `Enabled` and `Disabled`. Defaults to `Disabled` Status pulumi.StringPtrInput `pulumi:"status"` // Time in minutes before event at which notification will be sent. TimeInMinutes pulumi.IntPtrInput `pulumi:"timeInMinutes"` // The webhook URL to which the notification will be sent. WebhookUrl pulumi.StringPtrInput `pulumi:"webhookUrl"` }
func (ScheduleNotificationSettingsArgs) ElementType ¶
func (ScheduleNotificationSettingsArgs) ElementType() reflect.Type
func (ScheduleNotificationSettingsArgs) ToScheduleNotificationSettingsOutput ¶
func (i ScheduleNotificationSettingsArgs) ToScheduleNotificationSettingsOutput() ScheduleNotificationSettingsOutput
func (ScheduleNotificationSettingsArgs) ToScheduleNotificationSettingsOutputWithContext ¶
func (i ScheduleNotificationSettingsArgs) ToScheduleNotificationSettingsOutputWithContext(ctx context.Context) ScheduleNotificationSettingsOutput
func (ScheduleNotificationSettingsArgs) ToScheduleNotificationSettingsPtrOutput ¶
func (i ScheduleNotificationSettingsArgs) ToScheduleNotificationSettingsPtrOutput() ScheduleNotificationSettingsPtrOutput
func (ScheduleNotificationSettingsArgs) ToScheduleNotificationSettingsPtrOutputWithContext ¶
func (i ScheduleNotificationSettingsArgs) ToScheduleNotificationSettingsPtrOutputWithContext(ctx context.Context) ScheduleNotificationSettingsPtrOutput
type ScheduleNotificationSettingsInput ¶
type ScheduleNotificationSettingsInput interface { pulumi.Input ToScheduleNotificationSettingsOutput() ScheduleNotificationSettingsOutput ToScheduleNotificationSettingsOutputWithContext(context.Context) ScheduleNotificationSettingsOutput }
ScheduleNotificationSettingsInput is an input type that accepts ScheduleNotificationSettingsArgs and ScheduleNotificationSettingsOutput values. You can construct a concrete instance of `ScheduleNotificationSettingsInput` via:
ScheduleNotificationSettingsArgs{...}
type ScheduleNotificationSettingsOutput ¶
type ScheduleNotificationSettingsOutput struct{ *pulumi.OutputState }
func (ScheduleNotificationSettingsOutput) ElementType ¶
func (ScheduleNotificationSettingsOutput) ElementType() reflect.Type
func (ScheduleNotificationSettingsOutput) Status ¶
func (o ScheduleNotificationSettingsOutput) Status() pulumi.StringPtrOutput
The status of the notification. Possible values are `Enabled` and `Disabled`. Defaults to `Disabled`
func (ScheduleNotificationSettingsOutput) TimeInMinutes ¶
func (o ScheduleNotificationSettingsOutput) TimeInMinutes() pulumi.IntPtrOutput
Time in minutes before event at which notification will be sent.
func (ScheduleNotificationSettingsOutput) ToScheduleNotificationSettingsOutput ¶
func (o ScheduleNotificationSettingsOutput) ToScheduleNotificationSettingsOutput() ScheduleNotificationSettingsOutput
func (ScheduleNotificationSettingsOutput) ToScheduleNotificationSettingsOutputWithContext ¶
func (o ScheduleNotificationSettingsOutput) ToScheduleNotificationSettingsOutputWithContext(ctx context.Context) ScheduleNotificationSettingsOutput
func (ScheduleNotificationSettingsOutput) ToScheduleNotificationSettingsPtrOutput ¶
func (o ScheduleNotificationSettingsOutput) ToScheduleNotificationSettingsPtrOutput() ScheduleNotificationSettingsPtrOutput
func (ScheduleNotificationSettingsOutput) ToScheduleNotificationSettingsPtrOutputWithContext ¶
func (o ScheduleNotificationSettingsOutput) ToScheduleNotificationSettingsPtrOutputWithContext(ctx context.Context) ScheduleNotificationSettingsPtrOutput
func (ScheduleNotificationSettingsOutput) WebhookUrl ¶
func (o ScheduleNotificationSettingsOutput) WebhookUrl() pulumi.StringPtrOutput
The webhook URL to which the notification will be sent.
type ScheduleNotificationSettingsPtrInput ¶
type ScheduleNotificationSettingsPtrInput interface { pulumi.Input ToScheduleNotificationSettingsPtrOutput() ScheduleNotificationSettingsPtrOutput ToScheduleNotificationSettingsPtrOutputWithContext(context.Context) ScheduleNotificationSettingsPtrOutput }
ScheduleNotificationSettingsPtrInput is an input type that accepts ScheduleNotificationSettingsArgs, ScheduleNotificationSettingsPtr and ScheduleNotificationSettingsPtrOutput values. You can construct a concrete instance of `ScheduleNotificationSettingsPtrInput` via:
ScheduleNotificationSettingsArgs{...} or: nil
func ScheduleNotificationSettingsPtr ¶
func ScheduleNotificationSettingsPtr(v *ScheduleNotificationSettingsArgs) ScheduleNotificationSettingsPtrInput
type ScheduleNotificationSettingsPtrOutput ¶
type ScheduleNotificationSettingsPtrOutput struct{ *pulumi.OutputState }
func (ScheduleNotificationSettingsPtrOutput) ElementType ¶
func (ScheduleNotificationSettingsPtrOutput) ElementType() reflect.Type
func (ScheduleNotificationSettingsPtrOutput) Status ¶
func (o ScheduleNotificationSettingsPtrOutput) Status() pulumi.StringPtrOutput
The status of the notification. Possible values are `Enabled` and `Disabled`. Defaults to `Disabled`
func (ScheduleNotificationSettingsPtrOutput) TimeInMinutes ¶
func (o ScheduleNotificationSettingsPtrOutput) TimeInMinutes() pulumi.IntPtrOutput
Time in minutes before event at which notification will be sent.
func (ScheduleNotificationSettingsPtrOutput) ToScheduleNotificationSettingsPtrOutput ¶
func (o ScheduleNotificationSettingsPtrOutput) ToScheduleNotificationSettingsPtrOutput() ScheduleNotificationSettingsPtrOutput
func (ScheduleNotificationSettingsPtrOutput) ToScheduleNotificationSettingsPtrOutputWithContext ¶
func (o ScheduleNotificationSettingsPtrOutput) ToScheduleNotificationSettingsPtrOutputWithContext(ctx context.Context) ScheduleNotificationSettingsPtrOutput
func (ScheduleNotificationSettingsPtrOutput) WebhookUrl ¶
func (o ScheduleNotificationSettingsPtrOutput) WebhookUrl() pulumi.StringPtrOutput
The webhook URL to which the notification will be sent.
type ScheduleState ¶
type ScheduleState struct { DailyRecurrence ScheduleDailyRecurrencePtrInput HourlyRecurrence ScheduleHourlyRecurrencePtrInput // The name of the dev test lab. Changing this forces a new resource to be created. LabName pulumi.StringPtrInput // The location where the schedule is created. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // The name of the dev test lab schedule. Valid value for name depends on the `taskType`. For instance for taskType `LabVmsStartupTask` the name needs to be `LabVmAutoStart`. Name pulumi.StringPtrInput NotificationSettings ScheduleNotificationSettingsPtrInput // The name of the resource group in which to create the dev test lab schedule. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // The status of this schedule. Possible values are `Enabled` and `Disabled`. Defaults to `Disabled`. Status pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput // The task type of the schedule. Possible values include `LabVmsShutdownTask` and `LabVmAutoStart`. TaskType pulumi.StringPtrInput // The time zone ID (e.g. Pacific Standard time). TimeZoneId pulumi.StringPtrInput WeeklyRecurrence ScheduleWeeklyRecurrencePtrInput }
func (ScheduleState) ElementType ¶
func (ScheduleState) ElementType() reflect.Type
type ScheduleWeeklyRecurrence ¶
type ScheduleWeeklyRecurrence struct { // The time when the schedule takes effect. Time string `pulumi:"time"` // A list of days that this schedule takes effect . Possible values include `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday` and `Sunday`. WeekDays []string `pulumi:"weekDays"` }
type ScheduleWeeklyRecurrenceArgs ¶
type ScheduleWeeklyRecurrenceArgs struct { // The time when the schedule takes effect. Time pulumi.StringInput `pulumi:"time"` // A list of days that this schedule takes effect . Possible values include `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday` and `Sunday`. WeekDays pulumi.StringArrayInput `pulumi:"weekDays"` }
func (ScheduleWeeklyRecurrenceArgs) ElementType ¶
func (ScheduleWeeklyRecurrenceArgs) ElementType() reflect.Type
func (ScheduleWeeklyRecurrenceArgs) ToScheduleWeeklyRecurrenceOutput ¶
func (i ScheduleWeeklyRecurrenceArgs) ToScheduleWeeklyRecurrenceOutput() ScheduleWeeklyRecurrenceOutput
func (ScheduleWeeklyRecurrenceArgs) ToScheduleWeeklyRecurrenceOutputWithContext ¶
func (i ScheduleWeeklyRecurrenceArgs) ToScheduleWeeklyRecurrenceOutputWithContext(ctx context.Context) ScheduleWeeklyRecurrenceOutput
func (ScheduleWeeklyRecurrenceArgs) ToScheduleWeeklyRecurrencePtrOutput ¶
func (i ScheduleWeeklyRecurrenceArgs) ToScheduleWeeklyRecurrencePtrOutput() ScheduleWeeklyRecurrencePtrOutput
func (ScheduleWeeklyRecurrenceArgs) ToScheduleWeeklyRecurrencePtrOutputWithContext ¶
func (i ScheduleWeeklyRecurrenceArgs) ToScheduleWeeklyRecurrencePtrOutputWithContext(ctx context.Context) ScheduleWeeklyRecurrencePtrOutput
type ScheduleWeeklyRecurrenceInput ¶
type ScheduleWeeklyRecurrenceInput interface { pulumi.Input ToScheduleWeeklyRecurrenceOutput() ScheduleWeeklyRecurrenceOutput ToScheduleWeeklyRecurrenceOutputWithContext(context.Context) ScheduleWeeklyRecurrenceOutput }
ScheduleWeeklyRecurrenceInput is an input type that accepts ScheduleWeeklyRecurrenceArgs and ScheduleWeeklyRecurrenceOutput values. You can construct a concrete instance of `ScheduleWeeklyRecurrenceInput` via:
ScheduleWeeklyRecurrenceArgs{...}
type ScheduleWeeklyRecurrenceOutput ¶
type ScheduleWeeklyRecurrenceOutput struct{ *pulumi.OutputState }
func (ScheduleWeeklyRecurrenceOutput) ElementType ¶
func (ScheduleWeeklyRecurrenceOutput) ElementType() reflect.Type
func (ScheduleWeeklyRecurrenceOutput) Time ¶
func (o ScheduleWeeklyRecurrenceOutput) Time() pulumi.StringOutput
The time when the schedule takes effect.
func (ScheduleWeeklyRecurrenceOutput) ToScheduleWeeklyRecurrenceOutput ¶
func (o ScheduleWeeklyRecurrenceOutput) ToScheduleWeeklyRecurrenceOutput() ScheduleWeeklyRecurrenceOutput
func (ScheduleWeeklyRecurrenceOutput) ToScheduleWeeklyRecurrenceOutputWithContext ¶
func (o ScheduleWeeklyRecurrenceOutput) ToScheduleWeeklyRecurrenceOutputWithContext(ctx context.Context) ScheduleWeeklyRecurrenceOutput
func (ScheduleWeeklyRecurrenceOutput) ToScheduleWeeklyRecurrencePtrOutput ¶
func (o ScheduleWeeklyRecurrenceOutput) ToScheduleWeeklyRecurrencePtrOutput() ScheduleWeeklyRecurrencePtrOutput
func (ScheduleWeeklyRecurrenceOutput) ToScheduleWeeklyRecurrencePtrOutputWithContext ¶
func (o ScheduleWeeklyRecurrenceOutput) ToScheduleWeeklyRecurrencePtrOutputWithContext(ctx context.Context) ScheduleWeeklyRecurrencePtrOutput
func (ScheduleWeeklyRecurrenceOutput) WeekDays ¶
func (o ScheduleWeeklyRecurrenceOutput) WeekDays() pulumi.StringArrayOutput
A list of days that this schedule takes effect . Possible values include `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday` and `Sunday`.
type ScheduleWeeklyRecurrencePtrInput ¶
type ScheduleWeeklyRecurrencePtrInput interface { pulumi.Input ToScheduleWeeklyRecurrencePtrOutput() ScheduleWeeklyRecurrencePtrOutput ToScheduleWeeklyRecurrencePtrOutputWithContext(context.Context) ScheduleWeeklyRecurrencePtrOutput }
ScheduleWeeklyRecurrencePtrInput is an input type that accepts ScheduleWeeklyRecurrenceArgs, ScheduleWeeklyRecurrencePtr and ScheduleWeeklyRecurrencePtrOutput values. You can construct a concrete instance of `ScheduleWeeklyRecurrencePtrInput` via:
ScheduleWeeklyRecurrenceArgs{...} or: nil
func ScheduleWeeklyRecurrencePtr ¶
func ScheduleWeeklyRecurrencePtr(v *ScheduleWeeklyRecurrenceArgs) ScheduleWeeklyRecurrencePtrInput
type ScheduleWeeklyRecurrencePtrOutput ¶
type ScheduleWeeklyRecurrencePtrOutput struct{ *pulumi.OutputState }
func (ScheduleWeeklyRecurrencePtrOutput) Elem ¶
func (o ScheduleWeeklyRecurrencePtrOutput) Elem() ScheduleWeeklyRecurrenceOutput
func (ScheduleWeeklyRecurrencePtrOutput) ElementType ¶
func (ScheduleWeeklyRecurrencePtrOutput) ElementType() reflect.Type
func (ScheduleWeeklyRecurrencePtrOutput) Time ¶
func (o ScheduleWeeklyRecurrencePtrOutput) Time() pulumi.StringPtrOutput
The time when the schedule takes effect.
func (ScheduleWeeklyRecurrencePtrOutput) ToScheduleWeeklyRecurrencePtrOutput ¶
func (o ScheduleWeeklyRecurrencePtrOutput) ToScheduleWeeklyRecurrencePtrOutput() ScheduleWeeklyRecurrencePtrOutput
func (ScheduleWeeklyRecurrencePtrOutput) ToScheduleWeeklyRecurrencePtrOutputWithContext ¶
func (o ScheduleWeeklyRecurrencePtrOutput) ToScheduleWeeklyRecurrencePtrOutputWithContext(ctx context.Context) ScheduleWeeklyRecurrencePtrOutput
func (ScheduleWeeklyRecurrencePtrOutput) WeekDays ¶
func (o ScheduleWeeklyRecurrencePtrOutput) WeekDays() pulumi.StringArrayOutput
A list of days that this schedule takes effect . Possible values include `Monday`, `Tuesday`, `Wednesday`, `Thursday`, `Friday`, `Saturday` and `Sunday`.
type VirtualNetwork ¶
type VirtualNetwork struct { pulumi.CustomResourceState // A description for the Virtual Network. Description pulumi.StringPtrOutput `pulumi:"description"` // Specifies the name of the Dev Test Lab in which the Virtual Network should be created. Changing this forces a new resource to be created. LabName pulumi.StringOutput `pulumi:"labName"` // Specifies the name of the Dev Test Virtual Network. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // The name of the resource group in which the Dev Test Lab resource exists. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // A `subnet` block as defined below. Subnet VirtualNetworkSubnetOutput `pulumi:"subnet"` // A mapping of tags to assign to the resource. Tags pulumi.StringMapOutput `pulumi:"tags"` // The unique immutable identifier of the Dev Test Virtual Network. UniqueIdentifier pulumi.StringOutput `pulumi:"uniqueIdentifier"` }
Manages a Virtual Network within a DevTest Lab.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v3/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/devtest" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West US"), }) if err != nil { return err } exampleLab, err := devtest.NewLab(ctx, "exampleLab", &devtest.LabArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, Tags: pulumi.StringMap{ "Sydney": pulumi.String("Australia"), }, }) if err != nil { return err } _, err = devtest.NewVirtualNetwork(ctx, "exampleVirtualNetwork", &devtest.VirtualNetworkArgs{ LabName: exampleLab.Name, ResourceGroupName: exampleResourceGroup.Name, Subnet: &devtest.VirtualNetworkSubnetArgs{ UsePublicIpAddress: pulumi.String("Allow"), UseInVirtualMachineCreation: pulumi.String("Allow"), }, }) if err != nil { return err } return nil }) }
```
func GetVirtualNetwork ¶
func GetVirtualNetwork(ctx *pulumi.Context, name string, id pulumi.IDInput, state *VirtualNetworkState, opts ...pulumi.ResourceOption) (*VirtualNetwork, error)
GetVirtualNetwork gets an existing VirtualNetwork 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 NewVirtualNetwork ¶
func NewVirtualNetwork(ctx *pulumi.Context, name string, args *VirtualNetworkArgs, opts ...pulumi.ResourceOption) (*VirtualNetwork, error)
NewVirtualNetwork registers a new resource with the given unique name, arguments, and options.
type VirtualNetworkArgs ¶
type VirtualNetworkArgs struct { // A description for the Virtual Network. Description pulumi.StringPtrInput // Specifies the name of the Dev Test Lab in which the Virtual Network should be created. Changing this forces a new resource to be created. LabName pulumi.StringInput // Specifies the name of the Dev Test Virtual Network. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The name of the resource group in which the Dev Test Lab resource exists. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput // A `subnet` block as defined below. Subnet VirtualNetworkSubnetPtrInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput }
The set of arguments for constructing a VirtualNetwork resource.
func (VirtualNetworkArgs) ElementType ¶
func (VirtualNetworkArgs) ElementType() reflect.Type
type VirtualNetworkState ¶
type VirtualNetworkState struct { // A description for the Virtual Network. Description pulumi.StringPtrInput // Specifies the name of the Dev Test Lab in which the Virtual Network should be created. Changing this forces a new resource to be created. LabName pulumi.StringPtrInput // Specifies the name of the Dev Test Virtual Network. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The name of the resource group in which the Dev Test Lab resource exists. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // A `subnet` block as defined below. Subnet VirtualNetworkSubnetPtrInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput // The unique immutable identifier of the Dev Test Virtual Network. UniqueIdentifier pulumi.StringPtrInput }
func (VirtualNetworkState) ElementType ¶
func (VirtualNetworkState) ElementType() reflect.Type
type VirtualNetworkSubnet ¶
type VirtualNetworkSubnet struct { // Specifies the name of the Dev Test Virtual Network. Changing this forces a new resource to be created. Name *string `pulumi:"name"` // Can this subnet be used for creating Virtual Machines? Possible values are `Allow`, `Default` and `Deny`. UseInVirtualMachineCreation *string `pulumi:"useInVirtualMachineCreation"` // Can Virtual Machines in this Subnet use Public IP Addresses? Possible values are `Allow`, `Default` and `Deny`. UsePublicIpAddress *string `pulumi:"usePublicIpAddress"` }
type VirtualNetworkSubnetArgs ¶
type VirtualNetworkSubnetArgs struct { // Specifies the name of the Dev Test Virtual Network. Changing this forces a new resource to be created. Name pulumi.StringPtrInput `pulumi:"name"` // Can this subnet be used for creating Virtual Machines? Possible values are `Allow`, `Default` and `Deny`. UseInVirtualMachineCreation pulumi.StringPtrInput `pulumi:"useInVirtualMachineCreation"` // Can Virtual Machines in this Subnet use Public IP Addresses? Possible values are `Allow`, `Default` and `Deny`. UsePublicIpAddress pulumi.StringPtrInput `pulumi:"usePublicIpAddress"` }
func (VirtualNetworkSubnetArgs) ElementType ¶
func (VirtualNetworkSubnetArgs) ElementType() reflect.Type
func (VirtualNetworkSubnetArgs) ToVirtualNetworkSubnetOutput ¶
func (i VirtualNetworkSubnetArgs) ToVirtualNetworkSubnetOutput() VirtualNetworkSubnetOutput
func (VirtualNetworkSubnetArgs) ToVirtualNetworkSubnetOutputWithContext ¶
func (i VirtualNetworkSubnetArgs) ToVirtualNetworkSubnetOutputWithContext(ctx context.Context) VirtualNetworkSubnetOutput
func (VirtualNetworkSubnetArgs) ToVirtualNetworkSubnetPtrOutput ¶
func (i VirtualNetworkSubnetArgs) ToVirtualNetworkSubnetPtrOutput() VirtualNetworkSubnetPtrOutput
func (VirtualNetworkSubnetArgs) ToVirtualNetworkSubnetPtrOutputWithContext ¶
func (i VirtualNetworkSubnetArgs) ToVirtualNetworkSubnetPtrOutputWithContext(ctx context.Context) VirtualNetworkSubnetPtrOutput
type VirtualNetworkSubnetInput ¶
type VirtualNetworkSubnetInput interface { pulumi.Input ToVirtualNetworkSubnetOutput() VirtualNetworkSubnetOutput ToVirtualNetworkSubnetOutputWithContext(context.Context) VirtualNetworkSubnetOutput }
VirtualNetworkSubnetInput is an input type that accepts VirtualNetworkSubnetArgs and VirtualNetworkSubnetOutput values. You can construct a concrete instance of `VirtualNetworkSubnetInput` via:
VirtualNetworkSubnetArgs{...}
type VirtualNetworkSubnetOutput ¶
type VirtualNetworkSubnetOutput struct{ *pulumi.OutputState }
func (VirtualNetworkSubnetOutput) ElementType ¶
func (VirtualNetworkSubnetOutput) ElementType() reflect.Type
func (VirtualNetworkSubnetOutput) Name ¶
func (o VirtualNetworkSubnetOutput) Name() pulumi.StringPtrOutput
Specifies the name of the Dev Test Virtual Network. Changing this forces a new resource to be created.
func (VirtualNetworkSubnetOutput) ToVirtualNetworkSubnetOutput ¶
func (o VirtualNetworkSubnetOutput) ToVirtualNetworkSubnetOutput() VirtualNetworkSubnetOutput
func (VirtualNetworkSubnetOutput) ToVirtualNetworkSubnetOutputWithContext ¶
func (o VirtualNetworkSubnetOutput) ToVirtualNetworkSubnetOutputWithContext(ctx context.Context) VirtualNetworkSubnetOutput
func (VirtualNetworkSubnetOutput) ToVirtualNetworkSubnetPtrOutput ¶
func (o VirtualNetworkSubnetOutput) ToVirtualNetworkSubnetPtrOutput() VirtualNetworkSubnetPtrOutput
func (VirtualNetworkSubnetOutput) ToVirtualNetworkSubnetPtrOutputWithContext ¶
func (o VirtualNetworkSubnetOutput) ToVirtualNetworkSubnetPtrOutputWithContext(ctx context.Context) VirtualNetworkSubnetPtrOutput
func (VirtualNetworkSubnetOutput) UseInVirtualMachineCreation ¶
func (o VirtualNetworkSubnetOutput) UseInVirtualMachineCreation() pulumi.StringPtrOutput
Can this subnet be used for creating Virtual Machines? Possible values are `Allow`, `Default` and `Deny`.
func (VirtualNetworkSubnetOutput) UsePublicIpAddress ¶
func (o VirtualNetworkSubnetOutput) UsePublicIpAddress() pulumi.StringPtrOutput
Can Virtual Machines in this Subnet use Public IP Addresses? Possible values are `Allow`, `Default` and `Deny`.
type VirtualNetworkSubnetPtrInput ¶
type VirtualNetworkSubnetPtrInput interface { pulumi.Input ToVirtualNetworkSubnetPtrOutput() VirtualNetworkSubnetPtrOutput ToVirtualNetworkSubnetPtrOutputWithContext(context.Context) VirtualNetworkSubnetPtrOutput }
VirtualNetworkSubnetPtrInput is an input type that accepts VirtualNetworkSubnetArgs, VirtualNetworkSubnetPtr and VirtualNetworkSubnetPtrOutput values. You can construct a concrete instance of `VirtualNetworkSubnetPtrInput` via:
VirtualNetworkSubnetArgs{...} or: nil
func VirtualNetworkSubnetPtr ¶
func VirtualNetworkSubnetPtr(v *VirtualNetworkSubnetArgs) VirtualNetworkSubnetPtrInput
type VirtualNetworkSubnetPtrOutput ¶
type VirtualNetworkSubnetPtrOutput struct{ *pulumi.OutputState }
func (VirtualNetworkSubnetPtrOutput) Elem ¶
func (o VirtualNetworkSubnetPtrOutput) Elem() VirtualNetworkSubnetOutput
func (VirtualNetworkSubnetPtrOutput) ElementType ¶
func (VirtualNetworkSubnetPtrOutput) ElementType() reflect.Type
func (VirtualNetworkSubnetPtrOutput) Name ¶
func (o VirtualNetworkSubnetPtrOutput) Name() pulumi.StringPtrOutput
Specifies the name of the Dev Test Virtual Network. Changing this forces a new resource to be created.
func (VirtualNetworkSubnetPtrOutput) ToVirtualNetworkSubnetPtrOutput ¶
func (o VirtualNetworkSubnetPtrOutput) ToVirtualNetworkSubnetPtrOutput() VirtualNetworkSubnetPtrOutput
func (VirtualNetworkSubnetPtrOutput) ToVirtualNetworkSubnetPtrOutputWithContext ¶
func (o VirtualNetworkSubnetPtrOutput) ToVirtualNetworkSubnetPtrOutputWithContext(ctx context.Context) VirtualNetworkSubnetPtrOutput
func (VirtualNetworkSubnetPtrOutput) UseInVirtualMachineCreation ¶
func (o VirtualNetworkSubnetPtrOutput) UseInVirtualMachineCreation() pulumi.StringPtrOutput
Can this subnet be used for creating Virtual Machines? Possible values are `Allow`, `Default` and `Deny`.
func (VirtualNetworkSubnetPtrOutput) UsePublicIpAddress ¶
func (o VirtualNetworkSubnetPtrOutput) UsePublicIpAddress() pulumi.StringPtrOutput
Can Virtual Machines in this Subnet use Public IP Addresses? Possible values are `Allow`, `Default` and `Deny`.
type WindowsVirtualMachine ¶
type WindowsVirtualMachine struct { pulumi.CustomResourceState // Can this Virtual Machine be claimed by users? Defaults to `true`. AllowClaim pulumi.BoolPtrOutput `pulumi:"allowClaim"` // Should the Virtual Machine be created without a Public IP Address? Changing this forces a new resource to be created. DisallowPublicIpAddress pulumi.BoolPtrOutput `pulumi:"disallowPublicIpAddress"` // The FQDN of the Virtual Machine. Fqdn pulumi.StringOutput `pulumi:"fqdn"` // A `galleryImageReference` block as defined below. GalleryImageReference WindowsVirtualMachineGalleryImageReferenceOutput `pulumi:"galleryImageReference"` // One or more `inboundNatRule` blocks as defined below. Changing this forces a new resource to be created. InboundNatRules WindowsVirtualMachineInboundNatRuleArrayOutput `pulumi:"inboundNatRules"` // Specifies the name of the Dev Test Lab in which the Virtual Machine should be created. Changing this forces a new resource to be created. LabName pulumi.StringOutput `pulumi:"labName"` // The name of a Subnet within the Dev Test Virtual Network where this machine should exist. Changing this forces a new resource to be created. LabSubnetName pulumi.StringOutput `pulumi:"labSubnetName"` // The ID of the Dev Test Virtual Network where this Virtual Machine should be created. Changing this forces a new resource to be created. LabVirtualNetworkId pulumi.StringOutput `pulumi:"labVirtualNetworkId"` // Specifies the supported Azure location where the Dev Test Lab exists. Changing this forces a new resource to be created. Location pulumi.StringOutput `pulumi:"location"` // Specifies the name of the Dev Test Machine. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // Any notes about the Virtual Machine. Notes pulumi.StringPtrOutput `pulumi:"notes"` // The Password associated with the `username` used to login to this Virtual Machine. Changing this forces a new resource to be created. Password pulumi.StringOutput `pulumi:"password"` // The name of the resource group in which the Dev Test Lab resource exists. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // The Machine Size to use for this Virtual Machine, such as `Standard_F2`. Changing this forces a new resource to be created. Size pulumi.StringOutput `pulumi:"size"` // The type of Storage to use on this Virtual Machine. Possible values are `Standard` and `Premium`. StorageType pulumi.StringOutput `pulumi:"storageType"` // A mapping of tags to assign to the resource. Tags pulumi.StringMapOutput `pulumi:"tags"` // The unique immutable identifier of the Virtual Machine. UniqueIdentifier pulumi.StringOutput `pulumi:"uniqueIdentifier"` // The Username associated with the local administrator on this Virtual Machine. Changing this forces a new resource to be created. Username pulumi.StringOutput `pulumi:"username"` }
Manages a Windows Virtual Machine within a Dev Test Lab.
func GetWindowsVirtualMachine ¶
func GetWindowsVirtualMachine(ctx *pulumi.Context, name string, id pulumi.IDInput, state *WindowsVirtualMachineState, opts ...pulumi.ResourceOption) (*WindowsVirtualMachine, error)
GetWindowsVirtualMachine gets an existing WindowsVirtualMachine 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 NewWindowsVirtualMachine ¶
func NewWindowsVirtualMachine(ctx *pulumi.Context, name string, args *WindowsVirtualMachineArgs, opts ...pulumi.ResourceOption) (*WindowsVirtualMachine, error)
NewWindowsVirtualMachine registers a new resource with the given unique name, arguments, and options.
type WindowsVirtualMachineArgs ¶
type WindowsVirtualMachineArgs struct { // Can this Virtual Machine be claimed by users? Defaults to `true`. AllowClaim pulumi.BoolPtrInput // Should the Virtual Machine be created without a Public IP Address? Changing this forces a new resource to be created. DisallowPublicIpAddress pulumi.BoolPtrInput // A `galleryImageReference` block as defined below. GalleryImageReference WindowsVirtualMachineGalleryImageReferenceInput // One or more `inboundNatRule` blocks as defined below. Changing this forces a new resource to be created. InboundNatRules WindowsVirtualMachineInboundNatRuleArrayInput // Specifies the name of the Dev Test Lab in which the Virtual Machine should be created. Changing this forces a new resource to be created. LabName pulumi.StringInput // The name of a Subnet within the Dev Test Virtual Network where this machine should exist. Changing this forces a new resource to be created. LabSubnetName pulumi.StringInput // The ID of the Dev Test Virtual Network where this Virtual Machine should be created. Changing this forces a new resource to be created. LabVirtualNetworkId pulumi.StringInput // Specifies the supported Azure location where the Dev Test Lab exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // Specifies the name of the Dev Test Machine. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // Any notes about the Virtual Machine. Notes pulumi.StringPtrInput // The Password associated with the `username` used to login to this Virtual Machine. Changing this forces a new resource to be created. Password pulumi.StringInput // The name of the resource group in which the Dev Test Lab resource exists. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput // The Machine Size to use for this Virtual Machine, such as `Standard_F2`. Changing this forces a new resource to be created. Size pulumi.StringInput // The type of Storage to use on this Virtual Machine. Possible values are `Standard` and `Premium`. StorageType pulumi.StringInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput // The Username associated with the local administrator on this Virtual Machine. Changing this forces a new resource to be created. Username pulumi.StringInput }
The set of arguments for constructing a WindowsVirtualMachine resource.
func (WindowsVirtualMachineArgs) ElementType ¶
func (WindowsVirtualMachineArgs) ElementType() reflect.Type
type WindowsVirtualMachineGalleryImageReference ¶
type WindowsVirtualMachineGalleryImageReference struct { // The Offer of the Gallery Image. Changing this forces a new resource to be created. Offer string `pulumi:"offer"` // The Publisher of the Gallery Image. Changing this forces a new resource to be created. Publisher string `pulumi:"publisher"` // The SKU of the Gallery Image. Changing this forces a new resource to be created. Sku string `pulumi:"sku"` // The Version of the Gallery Image. Changing this forces a new resource to be created. Version string `pulumi:"version"` }
type WindowsVirtualMachineGalleryImageReferenceArgs ¶
type WindowsVirtualMachineGalleryImageReferenceArgs struct { // The Offer of the Gallery Image. Changing this forces a new resource to be created. Offer pulumi.StringInput `pulumi:"offer"` // The Publisher of the Gallery Image. Changing this forces a new resource to be created. Publisher pulumi.StringInput `pulumi:"publisher"` // The SKU of the Gallery Image. Changing this forces a new resource to be created. Sku pulumi.StringInput `pulumi:"sku"` // The Version of the Gallery Image. Changing this forces a new resource to be created. Version pulumi.StringInput `pulumi:"version"` }
func (WindowsVirtualMachineGalleryImageReferenceArgs) ElementType ¶
func (WindowsVirtualMachineGalleryImageReferenceArgs) ElementType() reflect.Type
func (WindowsVirtualMachineGalleryImageReferenceArgs) ToWindowsVirtualMachineGalleryImageReferenceOutput ¶
func (i WindowsVirtualMachineGalleryImageReferenceArgs) ToWindowsVirtualMachineGalleryImageReferenceOutput() WindowsVirtualMachineGalleryImageReferenceOutput
func (WindowsVirtualMachineGalleryImageReferenceArgs) ToWindowsVirtualMachineGalleryImageReferenceOutputWithContext ¶
func (i WindowsVirtualMachineGalleryImageReferenceArgs) ToWindowsVirtualMachineGalleryImageReferenceOutputWithContext(ctx context.Context) WindowsVirtualMachineGalleryImageReferenceOutput
func (WindowsVirtualMachineGalleryImageReferenceArgs) ToWindowsVirtualMachineGalleryImageReferencePtrOutput ¶
func (i WindowsVirtualMachineGalleryImageReferenceArgs) ToWindowsVirtualMachineGalleryImageReferencePtrOutput() WindowsVirtualMachineGalleryImageReferencePtrOutput
func (WindowsVirtualMachineGalleryImageReferenceArgs) ToWindowsVirtualMachineGalleryImageReferencePtrOutputWithContext ¶
func (i WindowsVirtualMachineGalleryImageReferenceArgs) ToWindowsVirtualMachineGalleryImageReferencePtrOutputWithContext(ctx context.Context) WindowsVirtualMachineGalleryImageReferencePtrOutput
type WindowsVirtualMachineGalleryImageReferenceInput ¶
type WindowsVirtualMachineGalleryImageReferenceInput interface { pulumi.Input ToWindowsVirtualMachineGalleryImageReferenceOutput() WindowsVirtualMachineGalleryImageReferenceOutput ToWindowsVirtualMachineGalleryImageReferenceOutputWithContext(context.Context) WindowsVirtualMachineGalleryImageReferenceOutput }
WindowsVirtualMachineGalleryImageReferenceInput is an input type that accepts WindowsVirtualMachineGalleryImageReferenceArgs and WindowsVirtualMachineGalleryImageReferenceOutput values. You can construct a concrete instance of `WindowsVirtualMachineGalleryImageReferenceInput` via:
WindowsVirtualMachineGalleryImageReferenceArgs{...}
type WindowsVirtualMachineGalleryImageReferenceOutput ¶
type WindowsVirtualMachineGalleryImageReferenceOutput struct{ *pulumi.OutputState }
func (WindowsVirtualMachineGalleryImageReferenceOutput) ElementType ¶
func (WindowsVirtualMachineGalleryImageReferenceOutput) ElementType() reflect.Type
func (WindowsVirtualMachineGalleryImageReferenceOutput) Offer ¶
func (o WindowsVirtualMachineGalleryImageReferenceOutput) Offer() pulumi.StringOutput
The Offer of the Gallery Image. Changing this forces a new resource to be created.
func (WindowsVirtualMachineGalleryImageReferenceOutput) Publisher ¶
func (o WindowsVirtualMachineGalleryImageReferenceOutput) Publisher() pulumi.StringOutput
The Publisher of the Gallery Image. Changing this forces a new resource to be created.
func (WindowsVirtualMachineGalleryImageReferenceOutput) Sku ¶
func (o WindowsVirtualMachineGalleryImageReferenceOutput) Sku() pulumi.StringOutput
The SKU of the Gallery Image. Changing this forces a new resource to be created.
func (WindowsVirtualMachineGalleryImageReferenceOutput) ToWindowsVirtualMachineGalleryImageReferenceOutput ¶
func (o WindowsVirtualMachineGalleryImageReferenceOutput) ToWindowsVirtualMachineGalleryImageReferenceOutput() WindowsVirtualMachineGalleryImageReferenceOutput
func (WindowsVirtualMachineGalleryImageReferenceOutput) ToWindowsVirtualMachineGalleryImageReferenceOutputWithContext ¶
func (o WindowsVirtualMachineGalleryImageReferenceOutput) ToWindowsVirtualMachineGalleryImageReferenceOutputWithContext(ctx context.Context) WindowsVirtualMachineGalleryImageReferenceOutput
func (WindowsVirtualMachineGalleryImageReferenceOutput) ToWindowsVirtualMachineGalleryImageReferencePtrOutput ¶
func (o WindowsVirtualMachineGalleryImageReferenceOutput) ToWindowsVirtualMachineGalleryImageReferencePtrOutput() WindowsVirtualMachineGalleryImageReferencePtrOutput
func (WindowsVirtualMachineGalleryImageReferenceOutput) ToWindowsVirtualMachineGalleryImageReferencePtrOutputWithContext ¶
func (o WindowsVirtualMachineGalleryImageReferenceOutput) ToWindowsVirtualMachineGalleryImageReferencePtrOutputWithContext(ctx context.Context) WindowsVirtualMachineGalleryImageReferencePtrOutput
func (WindowsVirtualMachineGalleryImageReferenceOutput) Version ¶
func (o WindowsVirtualMachineGalleryImageReferenceOutput) Version() pulumi.StringOutput
The Version of the Gallery Image. Changing this forces a new resource to be created.
type WindowsVirtualMachineGalleryImageReferencePtrInput ¶
type WindowsVirtualMachineGalleryImageReferencePtrInput interface { pulumi.Input ToWindowsVirtualMachineGalleryImageReferencePtrOutput() WindowsVirtualMachineGalleryImageReferencePtrOutput ToWindowsVirtualMachineGalleryImageReferencePtrOutputWithContext(context.Context) WindowsVirtualMachineGalleryImageReferencePtrOutput }
WindowsVirtualMachineGalleryImageReferencePtrInput is an input type that accepts WindowsVirtualMachineGalleryImageReferenceArgs, WindowsVirtualMachineGalleryImageReferencePtr and WindowsVirtualMachineGalleryImageReferencePtrOutput values. You can construct a concrete instance of `WindowsVirtualMachineGalleryImageReferencePtrInput` via:
WindowsVirtualMachineGalleryImageReferenceArgs{...} or: nil
func WindowsVirtualMachineGalleryImageReferencePtr ¶
func WindowsVirtualMachineGalleryImageReferencePtr(v *WindowsVirtualMachineGalleryImageReferenceArgs) WindowsVirtualMachineGalleryImageReferencePtrInput
type WindowsVirtualMachineGalleryImageReferencePtrOutput ¶
type WindowsVirtualMachineGalleryImageReferencePtrOutput struct{ *pulumi.OutputState }
func (WindowsVirtualMachineGalleryImageReferencePtrOutput) ElementType ¶
func (WindowsVirtualMachineGalleryImageReferencePtrOutput) ElementType() reflect.Type
func (WindowsVirtualMachineGalleryImageReferencePtrOutput) Offer ¶
func (o WindowsVirtualMachineGalleryImageReferencePtrOutput) Offer() pulumi.StringPtrOutput
The Offer of the Gallery Image. Changing this forces a new resource to be created.
func (WindowsVirtualMachineGalleryImageReferencePtrOutput) Publisher ¶
func (o WindowsVirtualMachineGalleryImageReferencePtrOutput) Publisher() pulumi.StringPtrOutput
The Publisher of the Gallery Image. Changing this forces a new resource to be created.
func (WindowsVirtualMachineGalleryImageReferencePtrOutput) Sku ¶
The SKU of the Gallery Image. Changing this forces a new resource to be created.
func (WindowsVirtualMachineGalleryImageReferencePtrOutput) ToWindowsVirtualMachineGalleryImageReferencePtrOutput ¶
func (o WindowsVirtualMachineGalleryImageReferencePtrOutput) ToWindowsVirtualMachineGalleryImageReferencePtrOutput() WindowsVirtualMachineGalleryImageReferencePtrOutput
func (WindowsVirtualMachineGalleryImageReferencePtrOutput) ToWindowsVirtualMachineGalleryImageReferencePtrOutputWithContext ¶
func (o WindowsVirtualMachineGalleryImageReferencePtrOutput) ToWindowsVirtualMachineGalleryImageReferencePtrOutputWithContext(ctx context.Context) WindowsVirtualMachineGalleryImageReferencePtrOutput
func (WindowsVirtualMachineGalleryImageReferencePtrOutput) Version ¶
func (o WindowsVirtualMachineGalleryImageReferencePtrOutput) Version() pulumi.StringPtrOutput
The Version of the Gallery Image. Changing this forces a new resource to be created.
type WindowsVirtualMachineInboundNatRule ¶
type WindowsVirtualMachineInboundNatRule struct { // The Backend Port associated with this NAT Rule. Changing this forces a new resource to be created. BackendPort int `pulumi:"backendPort"` // The frontend port associated with this Inbound NAT Rule. FrontendPort *int `pulumi:"frontendPort"` // The Protocol used for this NAT Rule. Possible values are `Tcp` and `Udp`. Changing this forces a new resource to be created. Protocol string `pulumi:"protocol"` }
type WindowsVirtualMachineInboundNatRuleArgs ¶
type WindowsVirtualMachineInboundNatRuleArgs struct { // The Backend Port associated with this NAT Rule. Changing this forces a new resource to be created. BackendPort pulumi.IntInput `pulumi:"backendPort"` // The frontend port associated with this Inbound NAT Rule. FrontendPort pulumi.IntPtrInput `pulumi:"frontendPort"` // The Protocol used for this NAT Rule. Possible values are `Tcp` and `Udp`. Changing this forces a new resource to be created. Protocol pulumi.StringInput `pulumi:"protocol"` }
func (WindowsVirtualMachineInboundNatRuleArgs) ElementType ¶
func (WindowsVirtualMachineInboundNatRuleArgs) ElementType() reflect.Type
func (WindowsVirtualMachineInboundNatRuleArgs) ToWindowsVirtualMachineInboundNatRuleOutput ¶
func (i WindowsVirtualMachineInboundNatRuleArgs) ToWindowsVirtualMachineInboundNatRuleOutput() WindowsVirtualMachineInboundNatRuleOutput
func (WindowsVirtualMachineInboundNatRuleArgs) ToWindowsVirtualMachineInboundNatRuleOutputWithContext ¶
func (i WindowsVirtualMachineInboundNatRuleArgs) ToWindowsVirtualMachineInboundNatRuleOutputWithContext(ctx context.Context) WindowsVirtualMachineInboundNatRuleOutput
type WindowsVirtualMachineInboundNatRuleArray ¶
type WindowsVirtualMachineInboundNatRuleArray []WindowsVirtualMachineInboundNatRuleInput
func (WindowsVirtualMachineInboundNatRuleArray) ElementType ¶
func (WindowsVirtualMachineInboundNatRuleArray) ElementType() reflect.Type
func (WindowsVirtualMachineInboundNatRuleArray) ToWindowsVirtualMachineInboundNatRuleArrayOutput ¶
func (i WindowsVirtualMachineInboundNatRuleArray) ToWindowsVirtualMachineInboundNatRuleArrayOutput() WindowsVirtualMachineInboundNatRuleArrayOutput
func (WindowsVirtualMachineInboundNatRuleArray) ToWindowsVirtualMachineInboundNatRuleArrayOutputWithContext ¶
func (i WindowsVirtualMachineInboundNatRuleArray) ToWindowsVirtualMachineInboundNatRuleArrayOutputWithContext(ctx context.Context) WindowsVirtualMachineInboundNatRuleArrayOutput
type WindowsVirtualMachineInboundNatRuleArrayInput ¶
type WindowsVirtualMachineInboundNatRuleArrayInput interface { pulumi.Input ToWindowsVirtualMachineInboundNatRuleArrayOutput() WindowsVirtualMachineInboundNatRuleArrayOutput ToWindowsVirtualMachineInboundNatRuleArrayOutputWithContext(context.Context) WindowsVirtualMachineInboundNatRuleArrayOutput }
WindowsVirtualMachineInboundNatRuleArrayInput is an input type that accepts WindowsVirtualMachineInboundNatRuleArray and WindowsVirtualMachineInboundNatRuleArrayOutput values. You can construct a concrete instance of `WindowsVirtualMachineInboundNatRuleArrayInput` via:
WindowsVirtualMachineInboundNatRuleArray{ WindowsVirtualMachineInboundNatRuleArgs{...} }
type WindowsVirtualMachineInboundNatRuleArrayOutput ¶
type WindowsVirtualMachineInboundNatRuleArrayOutput struct{ *pulumi.OutputState }
func (WindowsVirtualMachineInboundNatRuleArrayOutput) ElementType ¶
func (WindowsVirtualMachineInboundNatRuleArrayOutput) ElementType() reflect.Type
func (WindowsVirtualMachineInboundNatRuleArrayOutput) ToWindowsVirtualMachineInboundNatRuleArrayOutput ¶
func (o WindowsVirtualMachineInboundNatRuleArrayOutput) ToWindowsVirtualMachineInboundNatRuleArrayOutput() WindowsVirtualMachineInboundNatRuleArrayOutput
func (WindowsVirtualMachineInboundNatRuleArrayOutput) ToWindowsVirtualMachineInboundNatRuleArrayOutputWithContext ¶
func (o WindowsVirtualMachineInboundNatRuleArrayOutput) ToWindowsVirtualMachineInboundNatRuleArrayOutputWithContext(ctx context.Context) WindowsVirtualMachineInboundNatRuleArrayOutput
type WindowsVirtualMachineInboundNatRuleInput ¶
type WindowsVirtualMachineInboundNatRuleInput interface { pulumi.Input ToWindowsVirtualMachineInboundNatRuleOutput() WindowsVirtualMachineInboundNatRuleOutput ToWindowsVirtualMachineInboundNatRuleOutputWithContext(context.Context) WindowsVirtualMachineInboundNatRuleOutput }
WindowsVirtualMachineInboundNatRuleInput is an input type that accepts WindowsVirtualMachineInboundNatRuleArgs and WindowsVirtualMachineInboundNatRuleOutput values. You can construct a concrete instance of `WindowsVirtualMachineInboundNatRuleInput` via:
WindowsVirtualMachineInboundNatRuleArgs{...}
type WindowsVirtualMachineInboundNatRuleOutput ¶
type WindowsVirtualMachineInboundNatRuleOutput struct{ *pulumi.OutputState }
func (WindowsVirtualMachineInboundNatRuleOutput) BackendPort ¶
func (o WindowsVirtualMachineInboundNatRuleOutput) BackendPort() pulumi.IntOutput
The Backend Port associated with this NAT Rule. Changing this forces a new resource to be created.
func (WindowsVirtualMachineInboundNatRuleOutput) ElementType ¶
func (WindowsVirtualMachineInboundNatRuleOutput) ElementType() reflect.Type
func (WindowsVirtualMachineInboundNatRuleOutput) FrontendPort ¶
func (o WindowsVirtualMachineInboundNatRuleOutput) FrontendPort() pulumi.IntPtrOutput
The frontend port associated with this Inbound NAT Rule.
func (WindowsVirtualMachineInboundNatRuleOutput) Protocol ¶
func (o WindowsVirtualMachineInboundNatRuleOutput) Protocol() pulumi.StringOutput
The Protocol used for this NAT Rule. Possible values are `Tcp` and `Udp`. Changing this forces a new resource to be created.
func (WindowsVirtualMachineInboundNatRuleOutput) ToWindowsVirtualMachineInboundNatRuleOutput ¶
func (o WindowsVirtualMachineInboundNatRuleOutput) ToWindowsVirtualMachineInboundNatRuleOutput() WindowsVirtualMachineInboundNatRuleOutput
func (WindowsVirtualMachineInboundNatRuleOutput) ToWindowsVirtualMachineInboundNatRuleOutputWithContext ¶
func (o WindowsVirtualMachineInboundNatRuleOutput) ToWindowsVirtualMachineInboundNatRuleOutputWithContext(ctx context.Context) WindowsVirtualMachineInboundNatRuleOutput
type WindowsVirtualMachineState ¶
type WindowsVirtualMachineState struct { // Can this Virtual Machine be claimed by users? Defaults to `true`. AllowClaim pulumi.BoolPtrInput // Should the Virtual Machine be created without a Public IP Address? Changing this forces a new resource to be created. DisallowPublicIpAddress pulumi.BoolPtrInput // The FQDN of the Virtual Machine. Fqdn pulumi.StringPtrInput // A `galleryImageReference` block as defined below. GalleryImageReference WindowsVirtualMachineGalleryImageReferencePtrInput // One or more `inboundNatRule` blocks as defined below. Changing this forces a new resource to be created. InboundNatRules WindowsVirtualMachineInboundNatRuleArrayInput // Specifies the name of the Dev Test Lab in which the Virtual Machine should be created. Changing this forces a new resource to be created. LabName pulumi.StringPtrInput // The name of a Subnet within the Dev Test Virtual Network where this machine should exist. Changing this forces a new resource to be created. LabSubnetName pulumi.StringPtrInput // The ID of the Dev Test Virtual Network where this Virtual Machine should be created. Changing this forces a new resource to be created. LabVirtualNetworkId pulumi.StringPtrInput // Specifies the supported Azure location where the Dev Test Lab exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // Specifies the name of the Dev Test Machine. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // Any notes about the Virtual Machine. Notes pulumi.StringPtrInput // The Password associated with the `username` used to login to this Virtual Machine. Changing this forces a new resource to be created. Password pulumi.StringPtrInput // The name of the resource group in which the Dev Test Lab resource exists. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // The Machine Size to use for this Virtual Machine, such as `Standard_F2`. Changing this forces a new resource to be created. Size pulumi.StringPtrInput // The type of Storage to use on this Virtual Machine. Possible values are `Standard` and `Premium`. StorageType pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput // The unique immutable identifier of the Virtual Machine. UniqueIdentifier pulumi.StringPtrInput // The Username associated with the local administrator on this Virtual Machine. Changing this forces a new resource to be created. Username pulumi.StringPtrInput }
func (WindowsVirtualMachineState) ElementType ¶
func (WindowsVirtualMachineState) ElementType() reflect.Type