Skip to content

Commit

Permalink
[AutoPR compute/resource-manager] [Do Not Merge] Update compute.json …
Browse files Browse the repository at this point in the history
…to include hyperVGeneration property for Virtua… (#5029)

* Generated from 5e589ea1eac49504c9d6f856b22a3d799c85a6d6

Update compute.json to include hyperVGeneration property  for  VirtualMachineInstanceView

Adds hyperVGeneration  which displays what HyperVisor Generation the VM Boots in, via the VirtualMachineInstanceView.

* Generated from 5e589ea1eac49504c9d6f856b22a3d799c85a6d6

Update compute.json to include hyperVGeneration property  for  VirtualMachineInstanceView

Adds hyperVGeneration  which displays what HyperVisor Generation the VM Boots in, via the VirtualMachineInstanceView.
  • Loading branch information
AutorestCI authored and jhendrixMSFT committed Jun 24, 2019
1 parent 07dc5f9 commit 19efa2d
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 0 deletions.
10 changes: 10 additions & 0 deletions profiles/latest/compute/mgmt/compute/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,13 @@ const (
V2 HyperVGeneration = original.V2
)

type HyperVGenerationType = original.HyperVGenerationType

const (
HyperVGenerationTypeV1 HyperVGenerationType = original.HyperVGenerationTypeV1
HyperVGenerationTypeV2 HyperVGenerationType = original.HyperVGenerationTypeV2
)

type HyperVGenerationTypes = original.HyperVGenerationTypes

const (
Expand Down Expand Up @@ -1287,6 +1294,9 @@ func PossibleDiskStorageAccountTypesValues() []DiskStorageAccountTypes {
func PossibleHostCachingValues() []HostCaching {
return original.PossibleHostCachingValues()
}
func PossibleHyperVGenerationTypeValues() []HyperVGenerationType {
return original.PossibleHyperVGenerationTypeValues()
}
func PossibleHyperVGenerationTypesValues() []HyperVGenerationTypes {
return original.PossibleHyperVGenerationTypesValues()
}
Expand Down
10 changes: 10 additions & 0 deletions profiles/preview/compute/mgmt/compute/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,13 @@ const (
V2 HyperVGeneration = original.V2
)

type HyperVGenerationType = original.HyperVGenerationType

const (
HyperVGenerationTypeV1 HyperVGenerationType = original.HyperVGenerationTypeV1
HyperVGenerationTypeV2 HyperVGenerationType = original.HyperVGenerationTypeV2
)

type HyperVGenerationTypes = original.HyperVGenerationTypes

const (
Expand Down Expand Up @@ -1287,6 +1294,9 @@ func PossibleDiskStorageAccountTypesValues() []DiskStorageAccountTypes {
func PossibleHostCachingValues() []HostCaching {
return original.PossibleHostCachingValues()
}
func PossibleHyperVGenerationTypeValues() []HyperVGenerationType {
return original.PossibleHyperVGenerationTypeValues()
}
func PossibleHyperVGenerationTypesValues() []HyperVGenerationTypes {
return original.PossibleHyperVGenerationTypesValues()
}
Expand Down
17 changes: 17 additions & 0 deletions services/compute/mgmt/2019-03-01/compute/models.go

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

0 comments on commit 19efa2d

Please sign in to comment.