Skip to content

Commit 7f9b387

Browse files
committed
Generated from specification/compute/resource-manager/readme.md tag package-2021-07-01 (commit hash: c8d0fd92fc71fc40f40323f2faaa281447f8bc6e)
1 parent baf447a commit 7f9b387

File tree

7 files changed

+62
-65
lines changed

7 files changed

+62
-65
lines changed

profiles/latest/compute/mgmt/compute/models.go

+13-1
Original file line numberDiff line numberDiff line change
@@ -600,10 +600,18 @@ const (
600600
RollingUpgradeStatusCodeRollingForward RollingUpgradeStatusCode = original.RollingUpgradeStatusCodeRollingForward
601601
)
602602

603+
type SecurityEncryptionTypes = original.SecurityEncryptionTypes
604+
605+
const (
606+
SecurityEncryptionTypesDiskWithVMGuestState SecurityEncryptionTypes = original.SecurityEncryptionTypesDiskWithVMGuestState
607+
SecurityEncryptionTypesVMGuestStateOnly SecurityEncryptionTypes = original.SecurityEncryptionTypesVMGuestStateOnly
608+
)
609+
603610
type SecurityTypes = original.SecurityTypes
604611

605612
const (
606-
SecurityTypesTrustedLaunch SecurityTypes = original.SecurityTypesTrustedLaunch
613+
SecurityTypesConfidentialVM SecurityTypes = original.SecurityTypesConfidentialVM
614+
SecurityTypesTrustedLaunch SecurityTypes = original.SecurityTypesTrustedLaunch
607615
)
608616

609617
type SelectPermissions = original.SelectPermissions
@@ -1137,6 +1145,7 @@ type DiskRestorePointListPage = original.DiskRestorePointListPage
11371145
type DiskRestorePointProperties = original.DiskRestorePointProperties
11381146
type DiskRestorePointRevokeAccessFuture = original.DiskRestorePointRevokeAccessFuture
11391147
type DiskSecurityProfile = original.DiskSecurityProfile
1148+
type DiskSecurityProfileProperties = original.DiskSecurityProfileProperties
11401149
type DiskSku = original.DiskSku
11411150
type DiskUpdate = original.DiskUpdate
11421151
type DiskUpdateProperties = original.DiskUpdateProperties
@@ -2443,6 +2452,9 @@ func PossibleRollingUpgradeActionTypeValues() []RollingUpgradeActionType {
24432452
func PossibleRollingUpgradeStatusCodeValues() []RollingUpgradeStatusCode {
24442453
return original.PossibleRollingUpgradeStatusCodeValues()
24452454
}
2455+
func PossibleSecurityEncryptionTypesValues() []SecurityEncryptionTypes {
2456+
return original.PossibleSecurityEncryptionTypesValues()
2457+
}
24462458
func PossibleSecurityTypesValues() []SecurityTypes {
24472459
return original.PossibleSecurityTypesValues()
24482460
}

profiles/preview/compute/mgmt/compute/models.go

+13-1
Original file line numberDiff line numberDiff line change
@@ -600,10 +600,18 @@ const (
600600
RollingUpgradeStatusCodeRollingForward RollingUpgradeStatusCode = original.RollingUpgradeStatusCodeRollingForward
601601
)
602602

603+
type SecurityEncryptionTypes = original.SecurityEncryptionTypes
604+
605+
const (
606+
SecurityEncryptionTypesDiskWithVMGuestState SecurityEncryptionTypes = original.SecurityEncryptionTypesDiskWithVMGuestState
607+
SecurityEncryptionTypesVMGuestStateOnly SecurityEncryptionTypes = original.SecurityEncryptionTypesVMGuestStateOnly
608+
)
609+
603610
type SecurityTypes = original.SecurityTypes
604611

605612
const (
606-
SecurityTypesTrustedLaunch SecurityTypes = original.SecurityTypesTrustedLaunch
613+
SecurityTypesConfidentialVM SecurityTypes = original.SecurityTypesConfidentialVM
614+
SecurityTypesTrustedLaunch SecurityTypes = original.SecurityTypesTrustedLaunch
607615
)
608616

609617
type SelectPermissions = original.SelectPermissions
@@ -1137,6 +1145,7 @@ type DiskRestorePointListPage = original.DiskRestorePointListPage
11371145
type DiskRestorePointProperties = original.DiskRestorePointProperties
11381146
type DiskRestorePointRevokeAccessFuture = original.DiskRestorePointRevokeAccessFuture
11391147
type DiskSecurityProfile = original.DiskSecurityProfile
1148+
type DiskSecurityProfileProperties = original.DiskSecurityProfileProperties
11401149
type DiskSku = original.DiskSku
11411150
type DiskUpdate = original.DiskUpdate
11421151
type DiskUpdateProperties = original.DiskUpdateProperties
@@ -2443,6 +2452,9 @@ func PossibleRollingUpgradeActionTypeValues() []RollingUpgradeActionType {
24432452
func PossibleRollingUpgradeStatusCodeValues() []RollingUpgradeStatusCode {
24442453
return original.PossibleRollingUpgradeStatusCodeValues()
24452454
}
2455+
func PossibleSecurityEncryptionTypesValues() []SecurityEncryptionTypes {
2456+
return original.PossibleSecurityEncryptionTypesValues()
2457+
}
24462458
func PossibleSecurityTypesValues() []SecurityTypes {
24472459
return original.PossibleSecurityTypesValues()
24482460
}

profiles/preview/preview/iotspaces/mgmt/iotspaces/models.go

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import (
1313
"context"
1414

1515
original "github.com/Azure/azure-sdk-for-go/services/preview/iotspaces/mgmt/2017-10-01-preview/iotspaces"
16-
"github.com/gofrs/uuid"
1716
)
1817

1918
const (

services/compute/mgmt/2021-07-01/compute/CHANGELOG.md

+6-59
Original file line numberDiff line numberDiff line change
@@ -4,73 +4,20 @@
44

55
### New Constants
66

7-
1. DiskCreateOption.DiskCreateOptionCopyStart
8-
1. DiskState.DiskStateActiveSASFrozen
9-
1. DiskState.DiskStateFrozen
10-
1. PublicNetworkAccess.PublicNetworkAccessDisabled
11-
1. PublicNetworkAccess.PublicNetworkAccessEnabled
7+
1. SecurityEncryptionTypes.SecurityEncryptionTypesDiskWithVMGuestState
8+
1. SecurityEncryptionTypes.SecurityEncryptionTypesVMGuestStateOnly
9+
1. SecurityTypes.SecurityTypesConfidentialVM
1210

1311
### New Funcs
1412

15-
1. *CommunityGallery.UnmarshalJSON([]byte) error
16-
1. *CommunityGalleryImage.UnmarshalJSON([]byte) error
17-
1. *CommunityGalleryImageVersion.UnmarshalJSON([]byte) error
18-
1. *PirCommunityGalleryResource.UnmarshalJSON([]byte) error
19-
1. CommunityGalleriesClient.Get(context.Context, string, string) (CommunityGallery, error)
20-
1. CommunityGalleriesClient.GetPreparer(context.Context, string, string) (*http.Request, error)
21-
1. CommunityGalleriesClient.GetResponder(*http.Response) (CommunityGallery, error)
22-
1. CommunityGalleriesClient.GetSender(*http.Request) (*http.Response, error)
23-
1. CommunityGallery.MarshalJSON() ([]byte, error)
24-
1. CommunityGalleryImage.MarshalJSON() ([]byte, error)
25-
1. CommunityGalleryImageVersion.MarshalJSON() ([]byte, error)
26-
1. CommunityGalleryImageVersionsClient.Get(context.Context, string, string, string, string) (CommunityGalleryImageVersion, error)
27-
1. CommunityGalleryImageVersionsClient.GetPreparer(context.Context, string, string, string, string) (*http.Request, error)
28-
1. CommunityGalleryImageVersionsClient.GetResponder(*http.Response) (CommunityGalleryImageVersion, error)
29-
1. CommunityGalleryImageVersionsClient.GetSender(*http.Request) (*http.Response, error)
30-
1. CommunityGalleryImagesClient.Get(context.Context, string, string, string) (CommunityGalleryImage, error)
31-
1. CommunityGalleryImagesClient.GetPreparer(context.Context, string, string, string) (*http.Request, error)
32-
1. CommunityGalleryImagesClient.GetResponder(*http.Response) (CommunityGalleryImage, error)
33-
1. CommunityGalleryImagesClient.GetSender(*http.Request) (*http.Response, error)
34-
1. NewCommunityGalleriesClient(string) CommunityGalleriesClient
35-
1. NewCommunityGalleriesClientWithBaseURI(string, string) CommunityGalleriesClient
36-
1. NewCommunityGalleryImageVersionsClient(string) CommunityGalleryImageVersionsClient
37-
1. NewCommunityGalleryImageVersionsClientWithBaseURI(string, string) CommunityGalleryImageVersionsClient
38-
1. NewCommunityGalleryImagesClient(string) CommunityGalleryImagesClient
39-
1. NewCommunityGalleryImagesClientWithBaseURI(string, string) CommunityGalleryImagesClient
40-
1. PirCommunityGalleryResource.MarshalJSON() ([]byte, error)
41-
1. PossiblePublicNetworkAccessValues() []PublicNetworkAccess
13+
1. PossibleSecurityEncryptionTypesValues() []SecurityEncryptionTypes
4214

4315
### Struct Changes
4416

4517
#### New Structs
4618

47-
1. CommunityGalleriesClient
48-
1. CommunityGallery
49-
1. CommunityGalleryIdentifier
50-
1. CommunityGalleryImage
51-
1. CommunityGalleryImageProperties
52-
1. CommunityGalleryImageVersion
53-
1. CommunityGalleryImageVersionProperties
54-
1. CommunityGalleryImageVersionsClient
55-
1. CommunityGalleryImagesClient
56-
1. PirCommunityGalleryResource
57-
1. SupportedCapabilities
19+
1. DiskSecurityProfileProperties
5820

5921
#### New Struct Fields
6022

61-
1. DiskAccess.ExtendedLocation
62-
1. DiskProperties.CompletionPercent
63-
1. DiskProperties.PublicNetworkAccess
64-
1. DiskProperties.SupportedCapabilities
65-
1. DiskRestorePointProperties.CompletionPercent
66-
1. DiskRestorePointProperties.DiskAccessID
67-
1. DiskRestorePointProperties.NetworkAccessPolicy
68-
1. DiskRestorePointProperties.PublicNetworkAccess
69-
1. DiskRestorePointProperties.SupportedCapabilities
70-
1. DiskUpdateProperties.PublicNetworkAccess
71-
1. DiskUpdateProperties.SupportedCapabilities
72-
1. EncryptionSetProperties.AutoKeyRotationError
73-
1. SnapshotProperties.CompletionPercent
74-
1. SnapshotProperties.PublicNetworkAccess
75-
1. SnapshotProperties.SupportedCapabilities
76-
1. SnapshotUpdateProperties.PublicNetworkAccess
23+
1. ManagedDiskParameters.SecurityProfile

services/compute/mgmt/2021-07-01/compute/_meta.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"commit": "daf57304e06ef0369f7d5d8104ae03ae78d13ca9",
2+
"commit": "c8d0fd92fc71fc40f40323f2faaa281447f8bc6e",
33
"readme": "/_/azure-rest-api-specs/specification/compute/resource-manager/readme.md",
44
"tag": "package-2021-07-01",
55
"use": "@microsoft.azure/autorest.go@2.1.187",

services/compute/mgmt/2021-07-01/compute/enums.go

+18-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

services/compute/mgmt/2021-07-01/compute/models.go

+11-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)