Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR compute/resource-manager] Add VMScaleSet ScaleIn Policy #5606

Merged
merged 2 commits into from
Sep 9, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions profiles/latest/compute/mgmt/compute/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,14 @@ const (
Regular VirtualMachinePriorityTypes = original.Regular
)

type VirtualMachineScaleSetScaleInRules = original.VirtualMachineScaleSetScaleInRules

const (
Default VirtualMachineScaleSetScaleInRules = original.Default
NewestVM VirtualMachineScaleSetScaleInRules = original.NewestVM
OldestVM VirtualMachineScaleSetScaleInRules = original.OldestVM
)

type VirtualMachineScaleSetSkuScaleType = original.VirtualMachineScaleSetSkuScaleType

const (
Expand Down Expand Up @@ -866,6 +874,7 @@ type RunCommandParameterDefinition = original.RunCommandParameterDefinition
type RunCommandResult = original.RunCommandResult
type SSHConfiguration = original.SSHConfiguration
type SSHPublicKey = original.SSHPublicKey
type ScaleInPolicy = original.ScaleInPolicy
type ScheduledEventsProfile = original.ScheduledEventsProfile
type Sku = original.Sku
type Snapshot = original.Snapshot
Expand Down Expand Up @@ -1508,6 +1517,9 @@ func PossibleVirtualMachineEvictionPolicyTypesValues() []VirtualMachineEvictionP
func PossibleVirtualMachinePriorityTypesValues() []VirtualMachinePriorityTypes {
return original.PossibleVirtualMachinePriorityTypesValues()
}
func PossibleVirtualMachineScaleSetScaleInRulesValues() []VirtualMachineScaleSetScaleInRules {
return original.PossibleVirtualMachineScaleSetScaleInRulesValues()
}
func PossibleVirtualMachineScaleSetSkuScaleTypeValues() []VirtualMachineScaleSetSkuScaleType {
return original.PossibleVirtualMachineScaleSetSkuScaleTypeValues()
}
Expand Down
12 changes: 12 additions & 0 deletions profiles/preview/compute/mgmt/compute/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,14 @@ const (
Regular VirtualMachinePriorityTypes = original.Regular
)

type VirtualMachineScaleSetScaleInRules = original.VirtualMachineScaleSetScaleInRules

const (
Default VirtualMachineScaleSetScaleInRules = original.Default
NewestVM VirtualMachineScaleSetScaleInRules = original.NewestVM
OldestVM VirtualMachineScaleSetScaleInRules = original.OldestVM
)

type VirtualMachineScaleSetSkuScaleType = original.VirtualMachineScaleSetSkuScaleType

const (
Expand Down Expand Up @@ -866,6 +874,7 @@ type RunCommandParameterDefinition = original.RunCommandParameterDefinition
type RunCommandResult = original.RunCommandResult
type SSHConfiguration = original.SSHConfiguration
type SSHPublicKey = original.SSHPublicKey
type ScaleInPolicy = original.ScaleInPolicy
type ScheduledEventsProfile = original.ScheduledEventsProfile
type Sku = original.Sku
type Snapshot = original.Snapshot
Expand Down Expand Up @@ -1508,6 +1517,9 @@ func PossibleVirtualMachineEvictionPolicyTypesValues() []VirtualMachineEvictionP
func PossibleVirtualMachinePriorityTypesValues() []VirtualMachinePriorityTypes {
return original.PossibleVirtualMachinePriorityTypesValues()
}
func PossibleVirtualMachineScaleSetScaleInRulesValues() []VirtualMachineScaleSetScaleInRules {
return original.PossibleVirtualMachineScaleSetScaleInRulesValues()
}
func PossibleVirtualMachineScaleSetSkuScaleTypeValues() []VirtualMachineScaleSetSkuScaleType {
return original.PossibleVirtualMachineScaleSetSkuScaleTypeValues()
}
Expand Down
15 changes: 10 additions & 5 deletions services/compute/mgmt/2016-03-30/compute/availabilitysets.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 10 additions & 5 deletions services/compute/mgmt/2017-03-30/compute/availabilitysets.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 10 additions & 5 deletions services/compute/mgmt/2017-12-01/compute/availabilitysets.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 10 additions & 5 deletions services/compute/mgmt/2018-04-01/compute/availabilitysets.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading