Skip to content

Commit

Permalink
v32.0.0 (#5380)
Browse files Browse the repository at this point in the history
* Generated from 76032c5b6d424dceb3a9b03b7df79e009eb5c183 (#5142)

Change XxxSetting to XxxSettings in private swagger

* [AutoPR netapp/resource-manager] NetApp update swagger for R4.5 (#5123)

* Generated from 3eda898774dd0ae7491c1a38535c18dd42489c18

Changing the protocolTypes example

* Generated from 3774c22dc6a9601494bd6d033406b97cb403a688

Fix params structure

* Generated from fa202ee43cd1263e159ae365977dc2bdb54eb4e3

Fix Swaggers to get the diff working

* Generated from 69314a717548234e92ed30fd6fb6caff58b5855b

Reverting accidental netapp.json changes

* Generated from d85ec8052ee09e19a904c8682ecd71d95a87bfda (#5159)

add netapp 2019-06-01 to Go SDK

* Generated from 4ad4ff02b733691ce683f3c3d2ca93b04aedefc6 (#5080)

typo: batch

Double word "Compute"

* Generated from 3066b3cc9574f2eec4f7b1a379e0875e14a37f51 (#5162)

add authorization 2018-07-01 to Go SDK

* Generated from a19a3cb3fe52a5019182778275744a9c3af43993 (#5163)

add batch 2019-04-01 to Go SDK

* Generated from 3d52a28322664ab7059521562493398366e27ad7 (#5164)

add missing alertsmanagement packages to Go SDK

* Generated from c3eda289dfe2b94eff37c1654a9abadf4ee3c8ad (#5131)

Add enum for tier, osType and filtermode

* Add sdk_generation_pull_request_base and main_branch

Add sdk_generation_pull_request_base and main_branch properties to swagger_to_sdk_config.json file.

* [AutoPR containerregistry/resource-manager] [ACR] Support Overriding Task parameters, support for ContinuationToken [NEW preview API VERSION] (#4995)

* Generated from b1e4095ff8268437a5a59a4138ff38c4e31b68f6

Merge branch 'master' into shahzzam/add-2019-06-01

* Generated from 701efa178e7cc3846724dbdb9c2cdf430c7009ce

address comments

* Generated from f98449d1950d58d1919373e5b5f456b6a3d45e58 (#5177)

introducing the SqlManagement

* [AutoPR healthcareapis/resource-manager] [Hub Generated] Review request for Microsoft.HealthcareApis to add version preview/2018-08-20-preview (#4966)

* Generated from 861e08e366cff1f1318a69d39841f25bee90c963

Merge branch 'master' into dev-healthcareapis-Microsoft.HealthcareApis-2018-08-20-preview

* Generated from 263297a3c3cec666d65515309b679913e4f9559d

Remove uuid format from subscriptionid as no other RP does this and it is causing issues with the .net SDK

* Generated from e8dd45240d9e1b579ccd155e0e6c811c764eb214 (#5079)

typo: botservice

Double word "service"

* [AutoPR migrateprojects/resource-manager] [Do not merge] Swagger closure for Azure Migration Hub (#4889)

* Generated from a43ead519af3db80da7e7705153ce3deb58a47c9

Fixing SDK errors

* Generated from a683481c06274ab035589605b5450232c2adc22f

Changing the resource names to camel case as per ARM review

* [AutoPR iothub/resource-manager] [Hub Generated] Review request for Microsoft.Devices to add version preview/2019-03-22-preview (#5149)

* Generated from a2660396e04a6551432a9f9e108956db05266023

adding locations property to iothub properties

* Generated from b11a3ac1fafc172c5933d5e07a47a7ea1d4a1c0f

adding locations property

* [AutoPR cognitiveservices/data-plane/LUIS/Runtime] Update LUIS Runtime swagger to an auto generated version (#5023)

* Generated from cf0eaa1559fc91624956e6ef26fd9880e4fa8dac

Update LUIS Runtime swagger to an auto generated version

* Generated from 8fa2dd16733bc2e5ebbd946c3ef36566eaac9173

Fix typo

* Generated from e5018e39145852f56f01cf34ba0b2d123ae43512 (#5192)

fix Go SDK build

* Generated from beed92f79dacff0ce3d1a65d3ecf42449d17a47c (#5154)

Removed extra comma

* [AutoPR alertsmanagement/resource-manager] Adding new resource type for alerts meta data (#5124)

* Generated from 54b18e08cf2128fc4e38e8df9c2265b0258f4c5b

Alerts meta data api

* Generated from 8bea075339dfa1c42ec132437a642cbfe41ba924

Added example for alerts meta data resource type

* Generated from 03b411bfd9480ec2cd1fac4ed6db766fb0fc972f

Fix value of identifier parameter in examples/AlertsMetaData_MonitorService.json file

* Generated from aae2b1fb9427ff969151bffa915ad649e8c9e1c4

Added one more enum value for identifier enum

* Generated from 2c415502c8ada9766842b9effcfbdc82705b5578

Added remove added extra enum value for identifier enum

* Generated from b687abd9d7d71ca88b49cfe0706eab2b3881efe4

Rename identifier in definitions to metadataIdentifier

* Generated from eef581efa40b065e7425c1f553ff210496728c96

Schematic changes

* Generated from f34e8084ed14abedcbd12b0270676747bdce3ade

Added defination for monitor service

* Generated from 7072efc946c175b68891d574306602640c6f3dcc

Fix error

* Generated from c944c9a2d8a2355147c3d9031b7aeadc4f63e71e (#5201)

Fix typos

* [AutoPR monitor/resource-manager] BUG fix: Fixing type of MetricValue.Count to be double instead of the incorrect int64 it had before (#5152)

* Generated from 060221716b94c8dee61681168e1bd0e0b11d6057

Fixing type of MetricValue.Count to be double instead of the incorrect int64 it had before

* Generated from 5251be8f170f543e9763efd1618d814e1df19029

Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs

# Conflicts:
#	specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/activityLogs_API.json
#	specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetActivityLogsNoParams.json
#	specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetActivityLogsSelected.json

Signed-off-by: Guillermo Calderón_Meza <[email protected]>

* Generated from dd6210272b93e1b156f4779f9efe24ff3a6d7baa

add postgresql 2017-12-01-preview to Go SDK

* Generated from 54b65d35ddc25f16a24d0d1710773f5bfe9be66f (#5218)

remove PII from examples

* Generated from 631cc8ef9ba25eddb465ba207157ff92ab4fa641 (#5182)

Task 4855805: ARM swagger update from lockedPriceTotal to billingCurrencyTotal & pricingCurrencyTotal.

* [AutoPR datamigration/resource-manager] Adding objects necessary for mapping Oracle schemas and tables to PostgreSQL databases and tables (#5121)

* Generated from 835bf096bcbb0db18081cb31338036c70108ccd5

Adding objects necessary for mapping Oracle schemas and tables to PostgreSQL databases and tables.

* Generated from 4f5182d37c4186591e8206f751be4c47bb32b08c

Adding objects necessary for mapping Oracle schemas and tables to PostgreSQL databases and tables 2

* add documentation for retry policy

* add azure devops pipeline

* Fixes to devops CI (#5239)

* Fixes to devops CI

Add devops badge to README
Fix lint and vet steps

* limit linter to subset of repo

fix golint errors

* more linter fixes

* more linter fixes

* add remaining tests

* include combined output when running git commands

* enable dotglob so hidden dirs are moved

* Generated from ac6f48cce33d61bd4fa062a14e49ca27359e3dc4 (#5215)

update the preview version for dashboards

* Generated from 38bec715e92c9f8bcd1b0e381042194d3261fe58 (#5248)

Add missing displayName and domains properties to response of Tenants_List call

* [AutoPR securityinsights/resource-manager] Adding AWS CloudTrail to swagger (#4879)

* Generated from 2076dae88a963c62b7795a2daf6a27fe8655149e

Adding AWS CloudTrail to swagger

* Generated from e5834cbce170afa6c7105817e11516a9c8a87d87

Code review notes

* Generated from 17fef9afb3f852e4c995221ca5bcc9c7413cf46b

Code review notes

* Generated from 006f63585ada13a78ac3ab4912789ca2df7186f2

Fixes after merge

* Generated from 77190f2dc72106f5ff53ae7617312f90b5b1504b (#5196)

Adding cassandra connector properties for cosmos db C* account -
enableCassandraConnector - This property, if set to true, will trigger the creation of the cassandra connector CCX pipeline which relicates data from native cassandra nodes to cosmos db C* account
connectorOffer - This property specifies the type of connector offer which will vary based on the data size of the native cassandra cluster
Validations -
        Validated cosmos-db.json with autorest from https://github.com/Azure/azure-rest-api-specs/tree/master/specification/cosmos-db/resource-manager
        Validated using the online schema validator - https://json-schema-validator.herokuapp.com

* Generated from 7c89fec7247a2f82d656c863fb37c1d76a08a797 (#5256)

Merge branch 'network-may-release' into network-merge

# Conflicts:
#	cSpell.json

* Generated from 537e9475d4ec21dcc8ede20cd45ec73f3f20c729 (#5236)

Move changes to 2019-04-15 version.

* update to latest code generator

* [AutoPR cognitiveservices/data-plane/LUIS/Authoring] Updating Authoring for roles (#5052)

* Generated from 1ebbe0756b9d941a2db55b94cef3f9350dcf4ca4

Updating Authoring for roles

* Generated from d9a45d97ef64e72d6e4f2f3230e4f3a8b5a8b300

Editing role description

* [AutoPR storage/resource-manager] [Bug fix] Remove read-only constraint for management policy (#5198)

* Generated from 00d9e1b50ab5daed68696f0b0c612e912acde7db

[Bug fix] Remove read-only constraint for management policy

* Generated from 0e6f149f5338b7fe8256adb51584a22aaecdb407

change type to number

* Generated from 870609e2d01b2e64b589a0eb07e938f19282f4f0

Modify description, remove integer

* [AutoPR cosmos-db/resource-manager] Fixing incorrectly formatted Cosmos DB list keys response (#5220)

* Generated from f8bd523610424b4f132e310df45ccbec4e828e0c

fixing Cosmos account keys response

* Generated from f8bd523610424b4f132e310df45ccbec4e828e0c

fixing Cosmos account keys response

* update from latest swaggers and generator (#5280)

* update from latest swaggers and generator

specs commit 6bb3ebb
generator version 2.1.134

* update minimum version of go-autorest to 12.3.0

* Generated from 46c41c8144620cf4589763fc14b57b3eef555edf (#5282)

Make hyperVGeneration field same as DiskRPs

* Generated from 05289ebc4b2be9d8be80218d6bfab65a9848e77a (#5285)

remove doller sign from the custome parameter

* Generated from 878390cbb0806c9194cc9ceaed923284d2d8f2ac (#5288)

Fix mistake

* Generated from b1b2d42672f41da7deb0eda1938e589a9149dc2e (#5307)

add winiotsvcs stable api

* Generated from c2786532a6bf80ceb9cddda5e2c8b8abc09d6b30 (#5305)

Update specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/DTL.json

Co-Authored-By: Nick Schonning <[email protected]>

* Generated from 3b992f9396f9c0bc7e34b11696efcffafa92575a (#5297)

add network package-2019-06 to Go SDK

* Generated from 2f94b8cf4da36f6fe98397e664c08e3ba33bbc69 (#5299)

fix: cognitive services create example

Empty schema/body for create action

* Generated from 5a1381b69f4475b40194c268dc0757b16afe14d9

fix some readme.go.md files

* Generated from a23d0bdd515690bb563e778441c8428272e222df

fix some readme.go.md files

* [AutoPR datafactory/resource-manager] [DataFactory]Add AzurePostgreSql Sink and Oracle/SapTable/Netezza Partitions and Several Relational sets (#5302)

* Generated from 286bc89ff8d226f2a683dcb48a896b8ffb3f348e

remove SapBwCube and Sybase for investigation

* Generated from 75bd5a9689dac5c2bb8f5828cfcb24e1a28a5950

will postpone SapBwSource in another coming PR.

* Generated from 7f632e8ccaca0bd5ab8a44832710d1a3cc19e39f

refine case of Oracle in description

* Merge pull request #5332 from Azure/restapi_auto_compute/resource-manager

[AutoPR] compute/resource-manager

* Generated from e960466f597159f6f1068890076fd7af6ebe5276 (#5323)

Fix readmes for new api version

* Generated from 4d76d19845c0c731f32ca830f3ae85d19aa9b90d (#5322)

remove id validation

* Update swagger_to_sdk_config.json and ignore *.zip files (#5334)

* Enable SDK Automation pull requests (#5342)

* Generated from e6f95be592d25370ff8f65f315ea6d4a0bdecc7d (#5327)

Fixed casing

* Generated from b038fea5b8d2c6dd81eed2ac64771d22084389e6 (#5347)

Add new property for CORS settings

* Generated from 0e0525cb28b7c796be9aa0958d430bc764a78ed4 (#5293)

Merge branch 'master' into michal-dev-security-Microsoft.Security-2017-08-01-preview

* Generated from 6a6baebbeba91869b69cd39c167816f33025698a

try to fix errors

* Generated from 94da1e5d069d8e2fe506b842f76ff2bce4eb76a3

more fixes

* Generated from 5bb5f32cc3be82f2a180a13dc383bfe609479bc1

merged action rule and ManagedResource to avoid error

* Generated from a1396af0177b2d22771ad22650089929bee4e43a

undo ManagedResource change, but removed required

* Generated from a8f22b87d6a3b06a6d970731514830431986bffa

revert some changes that are not essential to fix linter

* SDK v32.0.0 (#5361)

* v32.0.0
  • Loading branch information
jhendrixMSFT authored Jul 30, 2019
1 parent 98f2f9f commit 7a9d276
Show file tree
Hide file tree
Showing 3,940 changed files with 279,220 additions and 91,981 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ _testmain.go
*.exe
*.test
*.prof
*.zip

# Editor swap files
*.swp
Expand Down
53 changes: 53 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,58 @@
# CHANGELOG

## `v32.0.0`

### New Packages

| Package Name | API Version |
| -----------: | :---------: |
| aad | 2017-04-01 |
| compute | 2019-07-01 |
| datashare | 2018-11-01-preview |
| devops | 2019-07-01-preview |
| enterpriseknowledgegraphservice | 2018-12-03 |
| managedservices | 2019-06-01 |
| migrate | 2018-09-01-preview |
| mysql | 2017-12-01-preview |
| network | 2019-06-01 |
| policy | 2019-01-01 |
| portal | 2015-08-01-preview<br/>2019-01-01-preview |
| postgresql | 2017-12-01-preview |
| windowsiot | 2019-06-01 |

### Updated Packages

| Package Name | API Version |
| -----------: | :---------: |
| alertsmanagement | 2019-05-05 |
| authoring | luis |
| cdn | 2019-04-15 |
| datafactory | 2017-09-01-preview |
| datamigration | 2018-07-15-preview |
| devices | 2019-03-22-preview |
| hanaonazure | 2017-11-03-preview |
| signalr | 2018-10-01 |
| subscriptions | 2018-06-01 |

### BreakingChanges

| Package Name | API Version |
| -----------: | :---------: |
| compute | 2019-03-01 |
| contentmoderator | v1.0 |
| datafactory | 2018-06-01 |
| documentdb | 2015-04-08 |
| dtl | 2018-09-15 |
| healthcareapis | 2018-08-20-preview |
| insights | 2018-03-01<br/>2018-09-01<br/>2018-11-01-preview<br/>2019-03-01<br/>2019-06-01 |
| machinelearningservices | 2019-05-01 |
| managedservices | 2018-06-01 |
| network | 2019-04-01 |
| reservations | 2019-04-01 |
| security | v1.0<br/>v2.0<br/>v3.0 |
| securityinsight | 2017-08-01-preview |
| storage | 2019-04-01 |

## `v31.2.0`

### Updated Packages
Expand Down
47 changes: 24 additions & 23 deletions Gopkg.lock

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

29 changes: 29 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -491,6 +491,35 @@ func doAzureCalls() {
}
```

## Request Retry Policy

The SDK provides a baked in retry policy for failed requests with default values that can be configured.
Each [client](https://godoc.org/github.com/Azure/go-autorest/autorest#Client) object contains the follow fields.
- `RetryAttempts` - the number of times to retry a failed request
- `RetryDuration` - the duration to wait between retries

For async operations the follow values are also used.
- `PollingDelay` - the duration to wait between polling requests
- `PollingDuration` - the total time to poll an async request before timing out

Please see the [documentation](https://godoc.org/github.com/Azure/go-autorest/autorest#pkg-constants) for the default values used.

Changing one or more values will affect all subsequet API calls.

The default policy is to call `autorest.DoRetryForStatusCodes()` from an API's `Sender` method. Example:
```go
func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) {
return autorest.SendWithSender(client, req,
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
}
```

Details on how `autorest.DoRetryforStatusCodes()` works can be found in the [documentation](https://godoc.org/github.com/Azure/go-autorest/autorest#DoRetryForStatusCodes).

It is not possible to change the invoked retry policy without writing a custom `Sender` and its calling code.

The `PollingDelay` and `PollingDuration` values are used exclusively by [WaitForCompletionRef()](https://godoc.org/github.com/Azure/go-autorest/autorest/azure#Future.WaitForCompletionRef) when blocking on an async call until it completes.

# Resources

- SDK docs are at [godoc.org](https://godoc.org/github.com/Azure/azure-sdk-for-go/).
Expand Down
26 changes: 26 additions & 0 deletions profiles/latest/aad/mgmt/aad/aadapi/models.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
// +build go1.9

// Copyright 2019 Microsoft Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

// This code was auto-generated by:
// github.com/Azure/azure-sdk-for-go/tools/profileBuilder

package aadapi

import original "github.com/Azure/azure-sdk-for-go/services/aad/mgmt/2017-04-01/aad/aadapi"

type DiagnosticSettingsCategoryClientAPI = original.DiagnosticSettingsCategoryClientAPI
type DiagnosticSettingsClientAPI = original.DiagnosticSettingsClientAPI
type OperationsClientAPI = original.OperationsClientAPI
95 changes: 95 additions & 0 deletions profiles/latest/aad/mgmt/aad/models.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
// +build go1.9

// Copyright 2019 Microsoft Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

// This code was auto-generated by:
// github.com/Azure/azure-sdk-for-go/tools/profileBuilder

package aad

import original "github.com/Azure/azure-sdk-for-go/services/aad/mgmt/2017-04-01/aad"

const (
DefaultBaseURI = original.DefaultBaseURI
)

type Category = original.Category

const (
AuditLogs Category = original.AuditLogs
SignInLogs Category = original.SignInLogs
)

type CategoryType = original.CategoryType

const (
Logs CategoryType = original.Logs
)

type BaseClient = original.BaseClient
type DiagnosticSettings = original.DiagnosticSettings
type DiagnosticSettingsCategory = original.DiagnosticSettingsCategory
type DiagnosticSettingsCategoryClient = original.DiagnosticSettingsCategoryClient
type DiagnosticSettingsCategoryResource = original.DiagnosticSettingsCategoryResource
type DiagnosticSettingsCategoryResourceCollection = original.DiagnosticSettingsCategoryResourceCollection
type DiagnosticSettingsClient = original.DiagnosticSettingsClient
type DiagnosticSettingsResource = original.DiagnosticSettingsResource
type DiagnosticSettingsResourceCollection = original.DiagnosticSettingsResourceCollection
type Display = original.Display
type ErrorDefinition = original.ErrorDefinition
type ErrorResponse = original.ErrorResponse
type LogSettings = original.LogSettings
type OperationsClient = original.OperationsClient
type OperationsDiscovery = original.OperationsDiscovery
type OperationsDiscoveryCollection = original.OperationsDiscoveryCollection
type ProxyOnlyResource = original.ProxyOnlyResource
type RetentionPolicy = original.RetentionPolicy

func New() BaseClient {
return original.New()
}
func NewDiagnosticSettingsCategoryClient() DiagnosticSettingsCategoryClient {
return original.NewDiagnosticSettingsCategoryClient()
}
func NewDiagnosticSettingsCategoryClientWithBaseURI(baseURI string) DiagnosticSettingsCategoryClient {
return original.NewDiagnosticSettingsCategoryClientWithBaseURI(baseURI)
}
func NewDiagnosticSettingsClient() DiagnosticSettingsClient {
return original.NewDiagnosticSettingsClient()
}
func NewDiagnosticSettingsClientWithBaseURI(baseURI string) DiagnosticSettingsClient {
return original.NewDiagnosticSettingsClientWithBaseURI(baseURI)
}
func NewOperationsClient() OperationsClient {
return original.NewOperationsClient()
}
func NewOperationsClientWithBaseURI(baseURI string) OperationsClient {
return original.NewOperationsClientWithBaseURI(baseURI)
}
func NewWithBaseURI(baseURI string) BaseClient {
return original.NewWithBaseURI(baseURI)
}
func PossibleCategoryTypeValues() []CategoryType {
return original.PossibleCategoryTypeValues()
}
func PossibleCategoryValues() []Category {
return original.PossibleCategoryValues()
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}
Loading

0 comments on commit 7a9d276

Please sign in to comment.