Skip to content

Commit

Permalink
CodeGen from PR 21604 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 35a8c04e5a5b727d7503b6e6b70b6b60b94a07eb into be6cd9ccfcb6ba08c1c206627026eabfbff31fc1
  • Loading branch information
SDKAuto committed Nov 18, 2022
1 parent c76b028 commit 251a756
Show file tree
Hide file tree
Showing 30 changed files with 952 additions and 1,934 deletions.
77 changes: 77 additions & 0 deletions sdk/resourcemanager/workloads/armworkloads/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,82 @@
# Release History

## 0.3.0 (2022-11-18)
### Breaking Changes

- Function `*SAPVirtualInstancesClient.Update` parameter(s) have been changed from `(context.Context, string, string, UpdateSAPVirtualInstanceRequest, *SAPVirtualInstancesClientUpdateOptions)` to `(context.Context, string, string, *SAPVirtualInstancesClientUpdateOptions)`
- Function `*SAPApplicationServerInstancesClient.BeginUpdate` parameter(s) have been changed from `(context.Context, string, string, string, UpdateSAPApplicationInstanceRequest, *SAPApplicationServerInstancesClientBeginUpdateOptions)` to `(context.Context, string, string, string, *SAPApplicationServerInstancesClientBeginUpdateOptions)`
- Function `*SAPCentralInstancesClient.BeginUpdate` parameter(s) have been changed from `(context.Context, string, string, string, UpdateSAPCentralInstanceRequest, *SAPCentralInstancesClientBeginUpdateOptions)` to `(context.Context, string, string, string, *SAPCentralInstancesClientBeginUpdateOptions)`
- Function `*SAPDatabaseInstancesClient.BeginUpdate` parameter(s) have been changed from `(context.Context, string, string, string, UpdateSAPDatabaseInstanceRequest, *SAPDatabaseInstancesClientBeginUpdateOptions)` to `(context.Context, string, string, string, *SAPDatabaseInstancesClientBeginUpdateOptions)`
- Function `*SAPCentralInstancesClient.BeginCreate` parameter(s) have been changed from `(context.Context, string, string, string, SAPCentralServerInstance, *SAPCentralInstancesClientBeginCreateOptions)` to `(context.Context, string, string, string, *SAPCentralInstancesClientBeginCreateOptions)`
- Function `*SAPApplicationServerInstancesClient.BeginCreate` parameter(s) have been changed from `(context.Context, string, string, string, SAPApplicationServerInstance, *SAPApplicationServerInstancesClientBeginCreateOptions)` to `(context.Context, string, string, string, *SAPApplicationServerInstancesClientBeginCreateOptions)`
- Function `*SAPDatabaseInstancesClient.BeginCreate` parameter(s) have been changed from `(context.Context, string, string, string, SAPDatabaseInstance, *SAPDatabaseInstancesClientBeginCreateOptions)` to `(context.Context, string, string, string, *SAPDatabaseInstancesClientBeginCreateOptions)`
- Function `*SAPVirtualInstancesClient.BeginCreate` parameter(s) have been changed from `(context.Context, string, string, SAPVirtualInstance, *SAPVirtualInstancesClientBeginCreateOptions)` to `(context.Context, string, string, *SAPVirtualInstancesClientBeginCreateOptions)`

### Features Added

- New const `DiskSKUNameStandardSSDZRS`
- New const `DiskSKUNamePremiumV2LRS`
- New const `SAPVirtualInstanceStateSoftwareDetectionInProgress`
- New const `DiskSKUNameUltraSSDLRS`
- New const `SAPVirtualInstanceStateSoftwareDetectionFailed`
- New const `SSLPreferenceDisabled`
- New const `DiskSKUNameStandardLRS`
- New const `SSLPreferenceServerCertificate`
- New const `ConfigurationTypeMount`
- New const `ConfigurationTypeCreateAndMount`
- New const `DiskSKUNamePremiumLRS`
- New const `DiskSKUNamePremiumZRS`
- New const `DiskSKUNameStandardSSDLRS`
- New const `SSLPreferenceRootCertificate`
- New const `ConfigurationTypeSkip`
- New const `SAPSoftwareInstallationTypeExternal`
- New type alias `ConfigurationType`
- New type alias `SSLPreference`
- New type alias `DiskSKUName`
- New function `*MountFileShareConfiguration.GetFileShareConfiguration() *FileShareConfiguration`
- New function `PossibleConfigurationTypeValues() []ConfigurationType`
- New function `*SkipFileShareConfiguration.GetFileShareConfiguration() *FileShareConfiguration`
- New function `*CreateAndMountFileShareConfiguration.GetFileShareConfiguration() *FileShareConfiguration`
- New function `*FileShareConfiguration.GetFileShareConfiguration() *FileShareConfiguration`
- New function `*ExternalInstallationSoftwareConfiguration.GetSoftwareConfiguration() *SoftwareConfiguration`
- New function `PossibleDiskSKUNameValues() []DiskSKUName`
- New function `PossibleSSLPreferenceValues() []SSLPreference`
- New struct `CreateAndMountFileShareConfiguration`
- New struct `DiskConfiguration`
- New struct `DiskSKU`
- New struct `DiskVolumeConfiguration`
- New struct `ExternalInstallationSoftwareConfiguration`
- New struct `FileShareConfiguration`
- New struct `MountFileShareConfiguration`
- New struct `SkipFileShareConfiguration`
- New struct `StorageConfiguration`
- New field `Body` in struct `SAPVirtualInstancesClientBeginCreateOptions`
- New field `Body` in struct `SAPCentralInstancesClientBeginCreateOptions`
- New field `Body` in struct `SAPCentralInstancesClientBeginUpdateOptions`
- New field `Body` in struct `SAPApplicationServerInstancesClientBeginUpdateOptions`
- New field `SSLCertificateURI` in struct `PrometheusOSProviderInstanceProperties`
- New field `SSLPreference` in struct `PrometheusOSProviderInstanceProperties`
- New field `Body` in struct `SAPApplicationServerInstancesClientBeginCreateOptions`
- New field `DbDiskConfiguration` in struct `SingleServerConfiguration`
- New field `Body` in struct `SAPVirtualInstancesClientUpdateOptions`
- New field `DiskConfiguration` in struct `DatabaseConfiguration`
- New field `SSLCertificateURI` in struct `MsSQLServerProviderInstanceProperties`
- New field `SSLPreference` in struct `MsSQLServerProviderInstanceProperties`
- New field `SSLCertificateURI` in struct `PrometheusHaClusterProviderInstanceProperties`
- New field `SSLPreference` in struct `PrometheusHaClusterProviderInstanceProperties`
- New field `ZoneRedundancyPreference` in struct `MonitorProperties`
- New field `StorageAccountArmID` in struct `MonitorProperties`
- New field `Body` in struct `SAPDatabaseInstancesClientBeginCreateOptions`
- New field `SSLCertificateURI` in struct `HanaDbProviderInstanceProperties`
- New field `SSLPreference` in struct `HanaDbProviderInstanceProperties`
- New field `StorageConfiguration` in struct `ThreeTierConfiguration`
- New field `SSLCertificateURI` in struct `DB2ProviderInstanceProperties`
- New field `SSLPreference` in struct `DB2ProviderInstanceProperties`
- New field `SSLCertificateURI` in struct `SapNetWeaverProviderInstanceProperties`
- New field `SSLPreference` in struct `SapNetWeaverProviderInstanceProperties`
- New field `Body` in struct `SAPDatabaseInstancesClientBeginUpdateOptions`


## 0.2.0 (2022-06-30)
### Breaking Changes

Expand Down
6 changes: 3 additions & 3 deletions sdk/resourcemanager/workloads/armworkloads/autorest.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
``` yaml
azure-arm: true
require:
- https://github.com/Azure/azure-rest-api-specs/blob/45472ea9fc026c14e8962f78757a589b6586fe9d/specification/workloads/resource-manager/readme.md
- https://github.com/Azure/azure-rest-api-specs/blob/45472ea9fc026c14e8962f78757a589b6586fe9d/specification/workloads/resource-manager/readme.go.md
- /mnt/vss/_work/1/s/azure-rest-api-specs/specification/workloads/resource-manager/readme.md
- /mnt/vss/_work/1/s/azure-rest-api-specs/specification/workloads/resource-manager/readme.go.md
license-header: MICROSOFT_MIT_NO_VERSION
module-version: 0.2.0
module-version: 0.3.0

```
9 changes: 5 additions & 4 deletions sdk/resourcemanager/workloads/armworkloads/client.go

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

74 changes: 71 additions & 3 deletions sdk/resourcemanager/workloads/armworkloads/constants.go

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

14 changes: 3 additions & 11 deletions sdk/resourcemanager/workloads/armworkloads/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,12 @@ module github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/workloads/armworklo

go 1.18

require (
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.0.0
github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.1.0
)
require github.com/Azure/azure-sdk-for-go/sdk/azcore v1.0.0

require (
github.com/Azure/azure-sdk-for-go/sdk/internal v1.0.0 // indirect
github.com/AzureAD/microsoft-authentication-library-for-go v0.5.1 // indirect
github.com/golang-jwt/jwt v3.2.1+incompatible // indirect
github.com/google/uuid v1.1.1 // indirect
github.com/kylelemons/godebug v1.1.0 // indirect
github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4 // indirect
golang.org/x/crypto v0.0.0-20220511200225-c6db032c6c88 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
golang.org/x/net v0.0.0-20220425223048-2871e0cb64e4 // indirect
golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e // indirect
golang.org/x/text v0.3.7 // indirect
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
)
24 changes: 3 additions & 21 deletions sdk/resourcemanager/workloads/armworkloads/go.sum
Original file line number Diff line number Diff line change
@@ -1,33 +1,15 @@
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.0.0 h1:sVPhtT2qjO86rTUaWMr4WoES4TkjGnzcioXcnHV9s5k=
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.0.0/go.mod h1:uGG2W01BaETf0Ozp+QxxKJdMBNRWPdstHG0Fmdwn1/U=
github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.1.0 h1:QkAcEIAKbNL4KoFr4SathZPhDhF4mVwpBMFlYjyAqy8=
github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.1.0/go.mod h1:bhXu1AjYL+wutSL/kpSq6s7733q2Rb0yuot9Zgfqa/0=
github.com/Azure/azure-sdk-for-go/sdk/internal v1.0.0 h1:jp0dGvZ7ZK0mgqnTSClMxa5xuRL7NZgHameVYF6BurY=
github.com/Azure/azure-sdk-for-go/sdk/internal v1.0.0/go.mod h1:eWRD7oawr1Mu1sLCawqVc0CUiF43ia3qQMxLscsKQ9w=
github.com/AzureAD/microsoft-authentication-library-for-go v0.5.1 h1:BWe8a+f/t+7KY7zH2mqygeUD0t8hNFXe08p1Pb3/jKE=
github.com/AzureAD/microsoft-authentication-library-for-go v0.5.1/go.mod h1:Vt9sXTKwMyGcOxSmLDMnGPgqsUg7m8pe215qMLrDXw4=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/dnaeon/go-vcr v1.1.0 h1:ReYa/UBrRyQdant9B4fNHGoCNKw6qh6P0fsdGmZpR7c=
github.com/golang-jwt/jwt v3.2.1+incompatible h1:73Z+4BJcrTC+KczS6WvTPvRGOp1WmfEP4Q1lOd9Z/+c=
github.com/golang-jwt/jwt v3.2.1+incompatible/go.mod h1:8pz2t5EyA70fFQQSrl6XZXzqecmYZeUEB8OUGHkxJ+I=
github.com/golang-jwt/jwt/v4 v4.2.0 h1:besgBTC8w8HjP6NzQdxwKH9Z5oQMZ24ThTrHp3cZ8eU=
github.com/google/uuid v1.1.1 h1:Gkbcsh/GbpXz7lPftLA3P6TYMwjCLYm83jiFQZF/3gY=
github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc=
github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw=
github.com/montanaflynn/stats v0.6.6/go.mod h1:etXPPgVO6n31NxCd9KQUMvCM+ve0ruNzt6R8Bnaayow=
github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4 h1:Qj1ukM4GlMWXNdMBuXcXfz/Kw9s1qm0CLY32QxuSImI=
github.com/pkg/browser v0.0.0-20210115035449-ce105d075bb4/go.mod h1:N6UoU20jOqggOuDwUaBQpluzLNDqif3kq9z2wpdYEfQ=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY=
golang.org/x/crypto v0.0.0-20220511200225-c6db032c6c88 h1:Tgea0cVUD0ivh5ADBX4WwuI12DUd2to3nCYe2eayMIw=
golang.org/x/crypto v0.0.0-20220511200225-c6db032c6c88/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
golang.org/x/net v0.0.0-20220425223048-2871e0cb64e4 h1:HVyaeDAYux4pnY+D/SiwmLOR36ewZ4iGQIIrtnuCjFA=
golang.org/x/net v0.0.0-20220425223048-2871e0cb64e4/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk=
golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e h1:fLOSk5Q00efkSvAm+4xcoXD+RRmLmmulPn5I3Y9F2EM=
golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/text v0.3.7 h1:olpwvP2KacW1ZWvsR7uQhoyTYvKAupfQrRGBFM352Gk=
golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b h1:h8qDotaEPuJATrMmW04NCwg7v22aHH28wwpauUhK9Oo=
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
Loading

0 comments on commit 251a756

Please sign in to comment.