Skip to content

Commit b9db671

Browse files
Mitse1nfz
and
fz
authored
[Release] sdk/resourcemanager/hybridcompute/armhybridcompute/2.0.0 (#23566)
* [Release] sdk/resourcemanager/hybridcompute/armhybridcompute/2.0.0 generation from spec commit: d38a2c3ce2e2dfc38053af2f6b5fc10cb6221961 * delete unused resource structs from Breaking Change log * Update CHANGELOG.md * Update CHANGELOG.md --------- Co-authored-by: fz <[email protected]>
1 parent ac22295 commit b9db671

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+2225
-3900
lines changed

sdk/resourcemanager/hybridcompute/armhybridcompute/CHANGELOG.md

+136-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,140 @@
11
# Release History
22

3+
## 2.0.0 (2024-10-11)
4+
### Breaking Changes
5+
6+
- Type of `MachineExtensionProperties.ProtectedSettings` has been changed from `any` to `map[string]any`
7+
- Type of `MachineExtensionProperties.Settings` has been changed from `any` to `map[string]any`
8+
- Type of `MachineExtensionUpdateProperties.ProtectedSettings` has been changed from `any` to `map[string]any`
9+
- Type of `MachineExtensionUpdateProperties.Settings` has been changed from `any` to `map[string]any`
10+
11+
### Features Added
12+
13+
- New value `PublicNetworkAccessTypeSecuredByPerimeter` added to enum type `PublicNetworkAccessType`
14+
- New enum type `AccessMode` with values `AccessModeAudit`, `AccessModeEnforced`, `AccessModeLearning`
15+
- New enum type `AccessRuleDirection` with values `AccessRuleDirectionInbound`, `AccessRuleDirectionOutbound`
16+
- New enum type `AgentConfigurationMode` with values `AgentConfigurationModeFull`, `AgentConfigurationModeMonitor`
17+
- New enum type `ArcKindEnum` with values `ArcKindEnumAVS`, `ArcKindEnumAWS`, `ArcKindEnumEPS`, `ArcKindEnumGCP`, `ArcKindEnumHCI`, `ArcKindEnumSCVMM`, `ArcKindEnumVMware`
18+
- New enum type `EsuEligibility` with values `EsuEligibilityEligible`, `EsuEligibilityIneligible`, `EsuEligibilityUnknown`
19+
- New enum type `EsuKeyState` with values `EsuKeyStateActive`, `EsuKeyStateInactive`
20+
- New enum type `EsuServerType` with values `EsuServerTypeDatacenter`, `EsuServerTypeStandard`
21+
- New enum type `HotpatchEnablementStatus` with values `HotpatchEnablementStatusActionRequired`, `HotpatchEnablementStatusDisabled`, `HotpatchEnablementStatusEnabled`, `HotpatchEnablementStatusPendingEvaluation`, `HotpatchEnablementStatusUnknown`
22+
- New enum type `LastAttemptStatusEnum` with values `LastAttemptStatusEnumFailed`, `LastAttemptStatusEnumSuccess`
23+
- New enum type `LicenseAssignmentState` with values `LicenseAssignmentStateAssigned`, `LicenseAssignmentStateNotAssigned`
24+
- New enum type `LicenseCoreType` with values `LicenseCoreTypePCore`, `LicenseCoreTypeVCore`
25+
- New enum type `LicenseEdition` with values `LicenseEditionDatacenter`, `LicenseEditionStandard`
26+
- New enum type `LicenseProfileProductType` with values `LicenseProfileProductTypeWindowsIoTEnterprise`, `LicenseProfileProductTypeWindowsServer`
27+
- New enum type `LicenseProfileSubscriptionStatus` with values `LicenseProfileSubscriptionStatusDisabled`, `LicenseProfileSubscriptionStatusDisabling`, `LicenseProfileSubscriptionStatusEnabled`, `LicenseProfileSubscriptionStatusEnabling`, `LicenseProfileSubscriptionStatusFailed`, `LicenseProfileSubscriptionStatusUnknown`
28+
- New enum type `LicenseProfileSubscriptionStatusUpdate` with values `LicenseProfileSubscriptionStatusUpdateDisable`, `LicenseProfileSubscriptionStatusUpdateEnable`
29+
- New enum type `LicenseState` with values `LicenseStateActivated`, `LicenseStateDeactivated`
30+
- New enum type `LicenseStatus` with values `LicenseStatusExtendedGrace`, `LicenseStatusLicensed`, `LicenseStatusNonGenuineGrace`, `LicenseStatusNotification`, `LicenseStatusOOBGrace`, `LicenseStatusOOTGrace`, `LicenseStatusUnlicensed`
31+
- New enum type `LicenseTarget` with values `LicenseTargetWindowsServer2012`, `LicenseTargetWindowsServer2012R2`
32+
- New enum type `LicenseType` with values `LicenseTypeESU`
33+
- New enum type `OsType` with values `OsTypeLinux`, `OsTypeWindows`
34+
- New enum type `PatchOperationStartedBy` with values `PatchOperationStartedByPlatform`, `PatchOperationStartedByUser`
35+
- New enum type `PatchOperationStatus` with values `PatchOperationStatusCompletedWithWarnings`, `PatchOperationStatusFailed`, `PatchOperationStatusInProgress`, `PatchOperationStatusSucceeded`, `PatchOperationStatusUnknown`
36+
- New enum type `PatchServiceUsed` with values `PatchServiceUsedAPT`, `PatchServiceUsedUnknown`, `PatchServiceUsedWU`, `PatchServiceUsedWUWSUS`, `PatchServiceUsedYUM`, `PatchServiceUsedZypper`
37+
- New enum type `ProgramYear` with values `ProgramYearYear1`, `ProgramYearYear2`, `ProgramYearYear3`
38+
- New enum type `ProvisioningIssueSeverity` with values `ProvisioningIssueSeverityError`, `ProvisioningIssueSeverityWarning`
39+
- New enum type `ProvisioningIssueType` with values `ProvisioningIssueTypeConfigurationPropagationFailure`, `ProvisioningIssueTypeMissingIdentityConfiguration`, `ProvisioningIssueTypeMissingPerimeterConfiguration`, `ProvisioningIssueTypeOther`
40+
- New enum type `ProvisioningState` with values `ProvisioningStateAccepted`, `ProvisioningStateCanceled`, `ProvisioningStateCreating`, `ProvisioningStateDeleted`, `ProvisioningStateDeleting`, `ProvisioningStateFailed`, `ProvisioningStateSucceeded`, `ProvisioningStateUpdating`
41+
- New enum type `VMGuestPatchClassificationLinux` with values `VMGuestPatchClassificationLinuxCritical`, `VMGuestPatchClassificationLinuxOther`, `VMGuestPatchClassificationLinuxSecurity`
42+
- New enum type `VMGuestPatchClassificationWindows` with values `VMGuestPatchClassificationWindowsCritical`, `VMGuestPatchClassificationWindowsDefinition`, `VMGuestPatchClassificationWindowsFeaturePack`, `VMGuestPatchClassificationWindowsSecurity`, `VMGuestPatchClassificationWindowsServicePack`, `VMGuestPatchClassificationWindowsTools`, `VMGuestPatchClassificationWindowsUpdateRollUp`, `VMGuestPatchClassificationWindowsUpdates`
43+
- New enum type `VMGuestPatchRebootSetting` with values `VMGuestPatchRebootSettingAlways`, `VMGuestPatchRebootSettingIfRequired`, `VMGuestPatchRebootSettingNever`
44+
- New enum type `VMGuestPatchRebootStatus` with values `VMGuestPatchRebootStatusCompleted`, `VMGuestPatchRebootStatusFailed`, `VMGuestPatchRebootStatusNotNeeded`, `VMGuestPatchRebootStatusRequired`, `VMGuestPatchRebootStatusStarted`, `VMGuestPatchRebootStatusUnknown`
45+
- New function `*ClientFactory.NewExtensionMetadataClient() *ExtensionMetadataClient`
46+
- New function `*ClientFactory.NewLicenseProfilesClient() *LicenseProfilesClient`
47+
- New function `*ClientFactory.NewLicensesClient() *LicensesClient`
48+
- New function `*ClientFactory.NewNetworkProfileClient() *NetworkProfileClient`
49+
- New function `*ClientFactory.NewNetworkSecurityPerimeterConfigurationsClient() *NetworkSecurityPerimeterConfigurationsClient`
50+
- New function `NewExtensionMetadataClient(string, azcore.TokenCredential, *arm.ClientOptions) (*ExtensionMetadataClient, error)`
51+
- New function `*ExtensionMetadataClient.Get(context.Context, string, string, string, string, *ExtensionMetadataClientGetOptions) (ExtensionMetadataClientGetResponse, error)`
52+
- New function `*ExtensionMetadataClient.NewListPager(string, string, string, *ExtensionMetadataClientListOptions) *runtime.Pager[ExtensionMetadataClientListResponse]`
53+
- New function `NewLicenseProfilesClient(string, azcore.TokenCredential, *arm.ClientOptions) (*LicenseProfilesClient, error)`
54+
- New function `*LicenseProfilesClient.BeginCreateOrUpdate(context.Context, string, string, LicenseProfile, *LicenseProfilesClientBeginCreateOrUpdateOptions) (*runtime.Poller[LicenseProfilesClientCreateOrUpdateResponse], error)`
55+
- New function `*LicenseProfilesClient.BeginDelete(context.Context, string, string, *LicenseProfilesClientBeginDeleteOptions) (*runtime.Poller[LicenseProfilesClientDeleteResponse], error)`
56+
- New function `*LicenseProfilesClient.Get(context.Context, string, string, *LicenseProfilesClientGetOptions) (LicenseProfilesClientGetResponse, error)`
57+
- New function `*LicenseProfilesClient.NewListPager(string, string, *LicenseProfilesClientListOptions) *runtime.Pager[LicenseProfilesClientListResponse]`
58+
- New function `*LicenseProfilesClient.BeginUpdate(context.Context, string, string, LicenseProfileUpdate, *LicenseProfilesClientBeginUpdateOptions) (*runtime.Poller[LicenseProfilesClientUpdateResponse], error)`
59+
- New function `NewLicensesClient(string, azcore.TokenCredential, *arm.ClientOptions) (*LicensesClient, error)`
60+
- New function `*LicensesClient.BeginCreateOrUpdate(context.Context, string, string, License, *LicensesClientBeginCreateOrUpdateOptions) (*runtime.Poller[LicensesClientCreateOrUpdateResponse], error)`
61+
- New function `*LicensesClient.BeginDelete(context.Context, string, string, *LicensesClientBeginDeleteOptions) (*runtime.Poller[LicensesClientDeleteResponse], error)`
62+
- New function `*LicensesClient.Get(context.Context, string, string, *LicensesClientGetOptions) (LicensesClientGetResponse, error)`
63+
- New function `*LicensesClient.NewListByResourceGroupPager(string, *LicensesClientListByResourceGroupOptions) *runtime.Pager[LicensesClientListByResourceGroupResponse]`
64+
- New function `*LicensesClient.NewListBySubscriptionPager(*LicensesClientListBySubscriptionOptions) *runtime.Pager[LicensesClientListBySubscriptionResponse]`
65+
- New function `*LicensesClient.BeginUpdate(context.Context, string, string, LicenseUpdate, *LicensesClientBeginUpdateOptions) (*runtime.Poller[LicensesClientUpdateResponse], error)`
66+
- New function `*LicensesClient.BeginValidateLicense(context.Context, License, *LicensesClientBeginValidateLicenseOptions) (*runtime.Poller[LicensesClientValidateLicenseResponse], error)`
67+
- New function `*MachinesClient.BeginAssessPatches(context.Context, string, string, *MachinesClientBeginAssessPatchesOptions) (*runtime.Poller[MachinesClientAssessPatchesResponse], error)`
68+
- New function `*MachinesClient.BeginInstallPatches(context.Context, string, string, MachineInstallPatchesParameters, *MachinesClientBeginInstallPatchesOptions) (*runtime.Poller[MachinesClientInstallPatchesResponse], error)`
69+
- New function `PossibleLicenseProfileSubscriptionStatusValues() []LicenseProfileSubscriptionStatus`
70+
- New function `NewNetworkProfileClient(string, azcore.TokenCredential, *arm.ClientOptions) (*NetworkProfileClient, error)`
71+
- New function `*NetworkProfileClient.Get(context.Context, string, string, *NetworkProfileClientGetOptions) (NetworkProfileClientGetResponse, error)`
72+
- New function `NewNetworkSecurityPerimeterConfigurationsClient(string, azcore.TokenCredential, *arm.ClientOptions) (*NetworkSecurityPerimeterConfigurationsClient, error)`
73+
- New function `*NetworkSecurityPerimeterConfigurationsClient.GetByPrivateLinkScope(context.Context, string, string, string, *NetworkSecurityPerimeterConfigurationsClientGetByPrivateLinkScopeOptions) (NetworkSecurityPerimeterConfigurationsClientGetByPrivateLinkScopeResponse, error)`
74+
- New function `*NetworkSecurityPerimeterConfigurationsClient.NewListByPrivateLinkScopePager(string, string, *NetworkSecurityPerimeterConfigurationsClientListByPrivateLinkScopeOptions) *runtime.Pager[NetworkSecurityPerimeterConfigurationsClientListByPrivateLinkScopeResponse]`
75+
- New function `*NetworkSecurityPerimeterConfigurationsClient.BeginReconcileForPrivateLinkScope(context.Context, string, string, string, *NetworkSecurityPerimeterConfigurationsClientBeginReconcileForPrivateLinkScopeOptions) (*runtime.Poller[NetworkSecurityPerimeterConfigurationsClientReconcileForPrivateLinkScopeResponse], error)`
76+
- New struct `AccessRule`
77+
- New struct `AccessRuleProperties`
78+
- New struct `AgentUpgrade`
79+
- New struct `AvailablePatchCountByClassification`
80+
- New struct `EsuKey`
81+
- New struct `EsuProfileUpdateProperties`
82+
- New struct `ExtensionValue`
83+
- New struct `ExtensionValueListResult`
84+
- New struct `ExtensionValueProperties`
85+
- New struct `IPAddress`
86+
- New struct `License`
87+
- New struct `LicenseDetails`
88+
- New struct `LicenseProfile`
89+
- New struct `LicenseProfileArmEsuProperties`
90+
- New struct `LicenseProfileArmProductProfileProperties`
91+
- New struct `LicenseProfileMachineInstanceView`
92+
- New struct `LicenseProfileMachineInstanceViewEsuProperties`
93+
- New struct `LicenseProfileMachineInstanceViewSoftwareAssurance`
94+
- New struct `LicenseProfileProperties`
95+
- New struct `LicenseProfilePropertiesSoftwareAssurance`
96+
- New struct `LicenseProfileUpdate`
97+
- New struct `LicenseProfileUpdateProperties`
98+
- New struct `LicenseProfileUpdatePropertiesSoftwareAssurance`
99+
- New struct `LicenseProfilesListResult`
100+
- New struct `LicenseProperties`
101+
- New struct `LicenseUpdate`
102+
- New struct `LicenseUpdateProperties`
103+
- New struct `LicenseUpdatePropertiesLicenseDetails`
104+
- New struct `LicensesListResult`
105+
- New struct `LinuxParameters`
106+
- New struct `MachineAssessPatchesResult`
107+
- New struct `MachineInstallPatchesParameters`
108+
- New struct `MachineInstallPatchesResult`
109+
- New struct `NetworkInterface`
110+
- New struct `NetworkProfile`
111+
- New struct `NetworkSecurityPerimeter`
112+
- New struct `NetworkSecurityPerimeterConfiguration`
113+
- New struct `NetworkSecurityPerimeterConfigurationListResult`
114+
- New struct `NetworkSecurityPerimeterConfigurationProperties`
115+
- New struct `NetworkSecurityPerimeterConfigurationReconcileResult`
116+
- New struct `NetworkSecurityPerimeterProfile`
117+
- New struct `PatchSettingsStatus`
118+
- New struct `ProductFeature`
119+
- New struct `ProductFeatureUpdate`
120+
- New struct `ProductProfileUpdateProperties`
121+
- New struct `ProvisioningIssue`
122+
- New struct `ProvisioningIssueProperties`
123+
- New struct `ResourceAssociation`
124+
- New struct `Subnet`
125+
- New struct `VolumeLicenseDetails`
126+
- New struct `WindowsParameters`
127+
- New field `ConfigMode` in struct `AgentConfiguration`
128+
- New field `Kind`, `Resources` in struct `Machine`
129+
- New field `EnableAutomaticUpgrade` in struct `MachineExtensionUpdateProperties`
130+
- New field `AgentUpgrade`, `LicenseProfile`, `NetworkProfile`, `OSEdition` in struct `MachineProperties`
131+
- New field `Kind` in struct `MachineUpdate`
132+
- New field `AgentUpgrade` in struct `MachineUpdateProperties`
133+
- New field `Expand` in struct `MachinesClientCreateOrUpdateOptions`
134+
- New field `Expand` in struct `MachinesClientListByResourceGroupOptions`
135+
- New field `EnableHotpatching`, `Status` in struct `PatchSettings`
136+
137+
3138
## 2.0.0-beta.4 (2024-07-23)
4139
### Breaking Changes
5140

@@ -295,4 +430,4 @@ The package of `github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/hybridcomp
295430

296431
To migrate the existing applications to the latest version, please refer to [Migration Guide](https://aka.ms/azsdk/go/mgmt/migration).
297432

298-
To learn more, please refer to our documentation [Quick Start](https://aka.ms/azsdk/go/mgmt).
433+
To learn more, please refer to our documentation [Quick Start](https://aka.ms/azsdk/go/mgmt).

sdk/resourcemanager/hybridcompute/armhybridcompute/autorest.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
``` yaml
66
azure-arm: true
77
require:
8-
- https://github.com/Azure/azure-rest-api-specs/blob/b574e2a41acda14a90ef237006e8bbdda2b63c63/specification/hybridcompute/resource-manager/readme.md
9-
- https://github.com/Azure/azure-rest-api-specs/blob/b574e2a41acda14a90ef237006e8bbdda2b63c63/specification/hybridcompute/resource-manager/readme.go.md
8+
- https://github.com/Azure/azure-rest-api-specs/blob/f41d0c9332078cb2ef07b749081d94915255ada5/specification/hybridcompute/resource-manager/readme.md
9+
- https://github.com/Azure/azure-rest-api-specs/blob/f41d0c9332078cb2ef07b749081d94915255ada5/specification/hybridcompute/resource-manager/readme.go.md
1010
license-header: MICROSOFT_MIT_NO_VERSION
11-
module-version: 2.0.0-beta.4
12-
tag: package-preview-2024-05
11+
module-version: 2.0.0
12+
tag: package-2024-07
1313
```

sdk/resourcemanager/hybridcompute/armhybridcompute/client_factory.go

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

sdk/resourcemanager/hybridcompute/armhybridcompute/constants.go

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

0 commit comments

Comments
 (0)