Skip to content

Commit 844c85d

Browse files
azure-sdkAlancere
andauthored
[Release] sdk/resourcemanager/scvmm/armscvmm/1.0.0 (Azure#23047)
* [Release] sdk/resourcemanager/scvmm/armscvmm/1.0.0 generation from spec commit: 4ee6d9fd7687d4b67117c5a167c191a7e7e70b53 * regenerated * add removeUnreferencedTypes flag --------- Co-authored-by: ReleaseHelper <ReleaseHelper> Co-authored-by: Alancere <[email protected]>
1 parent 93e07a3 commit 844c85d

Some content is hidden

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

47 files changed

+8530
-4608
lines changed

sdk/resourcemanager/scvmm/armscvmm/CHANGELOG.md

Lines changed: 155 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,160 @@
11
# Release History
22

3+
## 1.0.0 (2024-06-28)
4+
### Breaking Changes
5+
6+
- Function `*AvailabilitySetsClient.BeginUpdate` parameter(s) have been changed from `(context.Context, string, string, ResourcePatch, *AvailabilitySetsClientBeginUpdateOptions)` to `(context.Context, string, string, AvailabilitySetTagsUpdate, *AvailabilitySetsClientBeginUpdateOptions)`
7+
- Function `*CloudsClient.BeginUpdate` parameter(s) have been changed from `(context.Context, string, string, ResourcePatch, *CloudsClientBeginUpdateOptions)` to `(context.Context, string, string, CloudTagsUpdate, *CloudsClientBeginUpdateOptions)`
8+
- Function `*InventoryItemsClient.Create` parameter(s) have been changed from `(context.Context, string, string, string, *InventoryItemsClientCreateOptions)` to `(context.Context, string, string, string, InventoryItem, *InventoryItemsClientCreateOptions)`
9+
- Function `*VirtualMachineTemplatesClient.BeginUpdate` parameter(s) have been changed from `(context.Context, string, string, ResourcePatch, *VirtualMachineTemplatesClientBeginUpdateOptions)` to `(context.Context, string, string, VirtualMachineTemplateTagsUpdate, *VirtualMachineTemplatesClientBeginUpdateOptions)`
10+
- Function `*VirtualNetworksClient.BeginUpdate` parameter(s) have been changed from `(context.Context, string, string, ResourcePatch, *VirtualNetworksClientBeginUpdateOptions)` to `(context.Context, string, string, VirtualNetworkTagsUpdate, *VirtualNetworksClientBeginUpdateOptions)`
11+
- Function `*VmmServersClient.BeginCreateOrUpdate` parameter(s) have been changed from `(context.Context, string, string, VMMServer, *VmmServersClientBeginCreateOrUpdateOptions)` to `(context.Context, string, string, VmmServer, *VmmServersClientBeginCreateOrUpdateOptions)`
12+
- Function `*VmmServersClient.BeginUpdate` parameter(s) have been changed from `(context.Context, string, string, ResourcePatch, *VmmServersClientBeginUpdateOptions)` to `(context.Context, string, string, VmmServerTagsUpdate, *VmmServersClientBeginUpdateOptions)`
13+
- Type of `AvailabilitySetProperties.ProvisioningState` has been changed from `*string` to `*ProvisioningState`
14+
- Type of `AvailabilitySetsClientBeginDeleteOptions.Force` has been changed from `*bool` to `*ForceDelete`
15+
- Type of `CloudInventoryItem.ProvisioningState` has been changed from `*string` to `*ProvisioningState`
16+
- Type of `CloudProperties.ProvisioningState` has been changed from `*string` to `*ProvisioningState`
17+
- Type of `CloudsClientBeginDeleteOptions.Force` has been changed from `*bool` to `*ForceDelete`
18+
- Type of `HardwareProfile.IsHighlyAvailable` has been changed from `*string` to `*IsHighlyAvailable`
19+
- Type of `InventoryItemProperties.ProvisioningState` has been changed from `*string` to `*ProvisioningState`
20+
- Type of `NetworkProfile.NetworkInterfaces` has been changed from `[]*NetworkInterfaces` to `[]*NetworkInterface`
21+
- Type of `NetworkProfileUpdate.NetworkInterfaces` has been changed from `[]*NetworkInterfacesUpdate` to `[]*NetworkInterfaceUpdate`
22+
- Type of `StopVirtualMachineOptions.SkipShutdown` has been changed from `*bool` to `*SkipShutdown`
23+
- Type of `VirtualMachineInventoryItem.ProvisioningState` has been changed from `*string` to `*ProvisioningState`
24+
- Type of `VirtualMachineTemplateInventoryItem.ProvisioningState` has been changed from `*string` to `*ProvisioningState`
25+
- Type of `VirtualMachineTemplateProperties.IsHighlyAvailable` has been changed from `*string` to `*IsHighlyAvailable`
26+
- Type of `VirtualMachineTemplateProperties.NetworkInterfaces` has been changed from `[]*NetworkInterfaces` to `[]*NetworkInterface`
27+
- Type of `VirtualMachineTemplateProperties.ProvisioningState` has been changed from `*string` to `*ProvisioningState`
28+
- Type of `VirtualMachineTemplatesClientBeginDeleteOptions.Force` has been changed from `*bool` to `*ForceDelete`
29+
- Type of `VirtualNetworkInventoryItem.ProvisioningState` has been changed from `*string` to `*ProvisioningState`
30+
- Type of `VirtualNetworkProperties.ProvisioningState` has been changed from `*string` to `*ProvisioningState`
31+
- Type of `VirtualNetworksClientBeginDeleteOptions.Force` has been changed from `*bool` to `*ForceDelete`
32+
- Type of `VmmServersClientBeginDeleteOptions.Force` has been changed from `*bool` to `*ForceDelete`
33+
- Function `*ClientFactory.NewVirtualMachinesClient` has been removed
34+
- Function `*InventoryItemsClient.NewListByVMMServerPager` has been removed
35+
- Function `NewVirtualMachinesClient` has been removed
36+
- Function `*VirtualMachinesClient.BeginCreateCheckpoint` has been removed
37+
- Function `*VirtualMachinesClient.BeginCreateOrUpdate` has been removed
38+
- Function `*VirtualMachinesClient.BeginDelete` has been removed
39+
- Function `*VirtualMachinesClient.BeginDeleteCheckpoint` has been removed
40+
- Function `*VirtualMachinesClient.Get` has been removed
41+
- Function `*VirtualMachinesClient.NewListByResourceGroupPager` has been removed
42+
- Function `*VirtualMachinesClient.NewListBySubscriptionPager` has been removed
43+
- Function `*VirtualMachinesClient.BeginRestart` has been removed
44+
- Function `*VirtualMachinesClient.BeginRestoreCheckpoint` has been removed
45+
- Function `*VirtualMachinesClient.BeginStart` has been removed
46+
- Function `*VirtualMachinesClient.BeginStop` has been removed
47+
- Function `*VirtualMachinesClient.BeginUpdate` has been removed
48+
- Struct `ErrorDefinition` has been removed
49+
- Struct `InventoryItemsList` has been removed
50+
- Struct `NetworkInterfaces` has been removed
51+
- Struct `NetworkInterfacesUpdate` has been removed
52+
- Struct `OsProfile` has been removed
53+
- Struct `ResourcePatch` has been removed
54+
- Struct `ResourceProviderOperation` has been removed
55+
- Struct `ResourceProviderOperationDisplay` has been removed
56+
- Struct `ResourceProviderOperationList` has been removed
57+
- Struct `StorageQoSPolicy` has been removed
58+
- Struct `StorageQoSPolicyDetails` has been removed
59+
- Struct `VMMServer` has been removed
60+
- Struct `VMMServerListResult` has been removed
61+
- Struct `VMMServerProperties` has been removed
62+
- Struct `VMMServerPropertiesCredentials` has been removed
63+
- Struct `VirtualMachine` has been removed
64+
- Struct `VirtualMachineListResult` has been removed
65+
- Struct `VirtualMachineProperties` has been removed
66+
- Struct `VirtualMachineUpdate` has been removed
67+
- Struct `VirtualMachineUpdateProperties` has been removed
68+
- Field `StorageQoSPolicies` of struct `CloudProperties` has been removed
69+
- Field `Body` of struct `InventoryItemsClientCreateOptions` has been removed
70+
- Field `ResourceProviderOperationList` of struct `OperationsClientListResponse` has been removed
71+
- Field `StorageQoSPolicy` of struct `VirtualDisk` has been removed
72+
- Field `StorageQoSPolicy` of struct `VirtualDiskUpdate` has been removed
73+
- Field `VMMServer` of struct `VmmServersClientCreateOrUpdateResponse` has been removed
74+
- Field `VMMServer` of struct `VmmServersClientGetResponse` has been removed
75+
- Field `VMMServerListResult` of struct `VmmServersClientListByResourceGroupResponse` has been removed
76+
- Field `VMMServerListResult` of struct `VmmServersClientListBySubscriptionResponse` has been removed
77+
- Field `VMMServer` of struct `VmmServersClientUpdateResponse` has been removed
78+
79+
### Features Added
80+
81+
- New enum type `ActionType` with values `ActionTypeInternal`
82+
- New enum type `DeleteFromHost` with values `DeleteFromHostFalse`, `DeleteFromHostTrue`
83+
- New enum type `ForceDelete` with values `ForceDeleteFalse`, `ForceDeleteTrue`
84+
- New enum type `IsHighlyAvailable` with values `IsHighlyAvailableFalse`, `IsHighlyAvailableTrue`
85+
- New enum type `Origin` with values `OriginSystem`, `OriginUser`, `OriginUserSystem`
86+
- New enum type `ProvisioningAction` with values `ProvisioningActionInstall`, `ProvisioningActionRepair`, `ProvisioningActionUninstall`
87+
- New enum type `ProvisioningState` with values `ProvisioningStateAccepted`, `ProvisioningStateCanceled`, `ProvisioningStateCreated`, `ProvisioningStateDeleting`, `ProvisioningStateFailed`, `ProvisioningStateProvisioning`, `ProvisioningStateSucceeded`, `ProvisioningStateUpdating`
88+
- New enum type `SkipShutdown` with values `SkipShutdownFalse`, `SkipShutdownTrue`
89+
- New function `*ClientFactory.NewGuestAgentsClient() *GuestAgentsClient`
90+
- New function `*ClientFactory.NewVMInstanceHybridIdentityMetadatasClient() *VMInstanceHybridIdentityMetadatasClient`
91+
- New function `*ClientFactory.NewVirtualMachineInstancesClient() *VirtualMachineInstancesClient`
92+
- New function `NewGuestAgentsClient(azcore.TokenCredential, *arm.ClientOptions) (*GuestAgentsClient, error)`
93+
- New function `*GuestAgentsClient.BeginCreate(context.Context, string, GuestAgent, *GuestAgentsClientBeginCreateOptions) (*runtime.Poller[GuestAgentsClientCreateResponse], error)`
94+
- New function `*GuestAgentsClient.Delete(context.Context, string, *GuestAgentsClientDeleteOptions) (GuestAgentsClientDeleteResponse, error)`
95+
- New function `*GuestAgentsClient.Get(context.Context, string, *GuestAgentsClientGetOptions) (GuestAgentsClientGetResponse, error)`
96+
- New function `*GuestAgentsClient.NewListByVirtualMachineInstancePager(string, *GuestAgentsClientListByVirtualMachineInstanceOptions) *runtime.Pager[GuestAgentsClientListByVirtualMachineInstanceResponse]`
97+
- New function `*InventoryItemsClient.NewListByVmmServerPager(string, string, *InventoryItemsClientListByVmmServerOptions) *runtime.Pager[InventoryItemsClientListByVmmServerResponse]`
98+
- New function `NewVMInstanceHybridIdentityMetadatasClient(azcore.TokenCredential, *arm.ClientOptions) (*VMInstanceHybridIdentityMetadatasClient, error)`
99+
- New function `*VMInstanceHybridIdentityMetadatasClient.Get(context.Context, string, *VMInstanceHybridIdentityMetadatasClientGetOptions) (VMInstanceHybridIdentityMetadatasClientGetResponse, error)`
100+
- New function `*VMInstanceHybridIdentityMetadatasClient.NewListByVirtualMachineInstancePager(string, *VMInstanceHybridIdentityMetadatasClientListByVirtualMachineInstanceOptions) *runtime.Pager[VMInstanceHybridIdentityMetadatasClientListByVirtualMachineInstanceResponse]`
101+
- New function `NewVirtualMachineInstancesClient(azcore.TokenCredential, *arm.ClientOptions) (*VirtualMachineInstancesClient, error)`
102+
- New function `*VirtualMachineInstancesClient.BeginCreateCheckpoint(context.Context, string, VirtualMachineCreateCheckpoint, *VirtualMachineInstancesClientBeginCreateCheckpointOptions) (*runtime.Poller[VirtualMachineInstancesClientCreateCheckpointResponse], error)`
103+
- New function `*VirtualMachineInstancesClient.BeginCreateOrUpdate(context.Context, string, VirtualMachineInstance, *VirtualMachineInstancesClientBeginCreateOrUpdateOptions) (*runtime.Poller[VirtualMachineInstancesClientCreateOrUpdateResponse], error)`
104+
- New function `*VirtualMachineInstancesClient.BeginDelete(context.Context, string, *VirtualMachineInstancesClientBeginDeleteOptions) (*runtime.Poller[VirtualMachineInstancesClientDeleteResponse], error)`
105+
- New function `*VirtualMachineInstancesClient.BeginDeleteCheckpoint(context.Context, string, VirtualMachineDeleteCheckpoint, *VirtualMachineInstancesClientBeginDeleteCheckpointOptions) (*runtime.Poller[VirtualMachineInstancesClientDeleteCheckpointResponse], error)`
106+
- New function `*VirtualMachineInstancesClient.Get(context.Context, string, *VirtualMachineInstancesClientGetOptions) (VirtualMachineInstancesClientGetResponse, error)`
107+
- New function `*VirtualMachineInstancesClient.NewListPager(string, *VirtualMachineInstancesClientListOptions) *runtime.Pager[VirtualMachineInstancesClientListResponse]`
108+
- New function `*VirtualMachineInstancesClient.BeginRestart(context.Context, string, *VirtualMachineInstancesClientBeginRestartOptions) (*runtime.Poller[VirtualMachineInstancesClientRestartResponse], error)`
109+
- New function `*VirtualMachineInstancesClient.BeginRestoreCheckpoint(context.Context, string, VirtualMachineRestoreCheckpoint, *VirtualMachineInstancesClientBeginRestoreCheckpointOptions) (*runtime.Poller[VirtualMachineInstancesClientRestoreCheckpointResponse], error)`
110+
- New function `*VirtualMachineInstancesClient.BeginStart(context.Context, string, *VirtualMachineInstancesClientBeginStartOptions) (*runtime.Poller[VirtualMachineInstancesClientStartResponse], error)`
111+
- New function `*VirtualMachineInstancesClient.BeginStop(context.Context, string, StopVirtualMachineOptions, *VirtualMachineInstancesClientBeginStopOptions) (*runtime.Poller[VirtualMachineInstancesClientStopResponse], error)`
112+
- New function `*VirtualMachineInstancesClient.BeginUpdate(context.Context, string, VirtualMachineInstanceUpdate, *VirtualMachineInstancesClientBeginUpdateOptions) (*runtime.Poller[VirtualMachineInstancesClientUpdateResponse], error)`
113+
- New struct `AvailabilitySetTagsUpdate`
114+
- New struct `CloudTagsUpdate`
115+
- New struct `GuestAgent`
116+
- New struct `GuestAgentListResult`
117+
- New struct `GuestAgentProperties`
118+
- New struct `GuestCredential`
119+
- New struct `HTTPProxyConfiguration`
120+
- New struct `InfrastructureProfile`
121+
- New struct `InfrastructureProfileUpdate`
122+
- New struct `InventoryItemListResult`
123+
- New struct `NetworkInterface`
124+
- New struct `NetworkInterfaceUpdate`
125+
- New struct `Operation`
126+
- New struct `OperationDisplay`
127+
- New struct `OperationListResult`
128+
- New struct `OsProfileForVMInstance`
129+
- New struct `StorageQosPolicy`
130+
- New struct `StorageQosPolicyDetails`
131+
- New struct `VMInstanceHybridIdentityMetadata`
132+
- New struct `VMInstanceHybridIdentityMetadataListResult`
133+
- New struct `VMInstanceHybridIdentityMetadataProperties`
134+
- New struct `VirtualMachineInstance`
135+
- New struct `VirtualMachineInstanceListResult`
136+
- New struct `VirtualMachineInstanceProperties`
137+
- New struct `VirtualMachineInstanceUpdate`
138+
- New struct `VirtualMachineInstanceUpdateProperties`
139+
- New struct `VirtualMachineTemplateTagsUpdate`
140+
- New struct `VirtualNetworkTagsUpdate`
141+
- New struct `VmmCredential`
142+
- New struct `VmmServer`
143+
- New struct `VmmServerListResult`
144+
- New struct `VmmServerProperties`
145+
- New struct `VmmServerTagsUpdate`
146+
- New field `StorageQosPolicies` in struct `CloudProperties`
147+
- New anonymous field `OperationListResult` in struct `OperationsClientListResponse`
148+
- New field `StorageQosPolicy` in struct `VirtualDisk`
149+
- New field `StorageQosPolicy` in struct `VirtualDiskUpdate`
150+
- New field `BiosGUID`, `ManagedMachineResourceID`, `OSVersion` in struct `VirtualMachineInventoryItem`
151+
- New anonymous field `VmmServer` in struct `VmmServersClientCreateOrUpdateResponse`
152+
- New anonymous field `VmmServer` in struct `VmmServersClientGetResponse`
153+
- New anonymous field `VmmServerListResult` in struct `VmmServersClientListByResourceGroupResponse`
154+
- New anonymous field `VmmServerListResult` in struct `VmmServersClientListBySubscriptionResponse`
155+
- New anonymous field `VmmServer` in struct `VmmServersClientUpdateResponse`
156+
157+
3158
## 0.4.0 (2023-11-30)
4159
### Features Added
5160

sdk/resourcemanager/scvmm/armscvmm/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ clientFactory, err := armscvmm.NewClientFactory(<subscription ID>, cred, &option
5757
A client groups a set of related APIs, providing access to its functionality. Create one or more clients to access the APIs you require using client factory.
5858

5959
```go
60-
client := clientFactory.NewCloudsClient()
60+
client := clientFactory.NewAvailabilitySetsClient()
6161
```
6262

6363
## Fakes

sdk/resourcemanager/scvmm/armscvmm/autorest.md

Lines changed: 4 additions & 4 deletions
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/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/scvmm/resource-manager/readme.md
9-
- https://github.com/Azure/azure-rest-api-specs/blob/d55b8005f05b040b852c15e74a0f3e36494a15e1/specification/scvmm/resource-manager/readme.go.md
8+
- https://github.com/Azure/azure-rest-api-specs/blob/7753cb8917f0968713c013a1f25875e8bd8dc492/specification/scvmm/resource-manager/readme.md
9+
- https://github.com/Azure/azure-rest-api-specs/blob/7753cb8917f0968713c013a1f25875e8bd8dc492/specification/scvmm/resource-manager/readme.go.md
1010
license-header: MICROSOFT_MIT_NO_VERSION
11-
module-version: 0.4.0
12-
11+
module-version: 1.0.0
12+
tag: package-2023-10
1313
```

0 commit comments

Comments
 (0)